Support Tensorflow Lite for Windows

This change is not fully porting of Tensorflow Lite since some fixes for dependency projects are required on Windows. ex: gemmlowp, farmhash. However I could build libtensorflow-lite.a using this patch and some small fixes to the dependencies.
https://github.com/mattn/webcam-detect-tflite
This is example app to detect objects on real time camera streaming using TensorFlow Lite on Windows.

This is a patch for gemmlowp and farmhash.
diff -ur downloads.orig/farmhash/src/farmhash.cc downloads/farmhash/src/farmhash.cc
--- downloads.orig/farmhash/src/farmhash.cc	2017-09-14 05:13:37.000000000 +0900
+++ downloads/farmhash/src/farmhash.cc	2019-02-24 01:17:52.840988000 +0900
@@ -114,7 +114,7 @@

 #if defined(FARMHASH_UNKNOWN_ENDIAN) || !defined(bswap_64)

-#ifdef _MSC_VER
+#ifdef _WIN32

 #undef bswap_32
 #undef bswap_64
diff -ur downloads.orig/gemmlowp/internal/platform.h downloads/gemmlowp/internal/platform.h
--- downloads.orig/gemmlowp/internal/platform.h	2019-02-24 02:14:49.938967500 +0900
+++ downloads/gemmlowp/internal/platform.h	2019-02-24 00:53:31.840022600 +0900
@@ -69,12 +69,21 @@
   return max_threads;
 }

+#ifdef __MINGW64__
+inline double real_time_in_seconds() {
+  __int64 wintime;
+  GetSystemTimeAsFileTime((FILETIME *)&wintime);
+  wintime -=<PHONE_NUMBER>00000000;  // 1jan1601 to 1jan1970
+  return wintime / 10000000 + wintime % 10000000 * 100 * 1e-9;
+}
+#else
 inline double real_time_in_seconds() {
   __int64 wintime;
   GetSystemTimeAsFileTime((FILETIME *)&wintime);
   wintime -=<PHONE_NUMBER>00000000i64;  // 1jan1601 to 1jan1970
   return wintime / 10000000i64 + wintime % 10000000i64 * 100 * 1e-9;
 }
+#endif

 #else
 inline void *aligned_alloc(size_t alignment, size_t size) {

What compiler+version are you using? We've been able to successfully build with Visual Studio for some time now, though I believe only with more recent versions.

I use mingw64 compiler (which is bundled on msys2/mingw64)
gcc (Rev2, Built by MSYS2 project) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The changes for mmap_allocation.cc is not required. So I'll remove  this.

Taking a step back, I'm wondering if we have a broader problem. Should the //third_party/tensorflow:windows condition be satisfied when building with MinGW? Does TensorFlow support building with MinGW? I'd prefer to fix this at the build rule level, if we can, rather than sprinkling more #ifdefs int he code.

TensorFlow does not support MinGW. https://github.com/tensorflow/tensorflow/issues/22840#issuecomment-429502287
But mingw can build tensorflow-lite using tensorflow/lite/tools/make/Makefile.

@jdduke Fixed as you pointed. Thanks. Still not possible to build benchmark.
g++ -O3 -DNDEBUG -fPIC  --std=c++11 -fext-numeric-literals -D__LITTLE_ENDIAN__ -I. -Ic:/dev/tensorflow/tensorflow/lite/tools/make/../../../../../ -Ic:/dev/tensorflow/tensorflow/lite/tools/make/../../../../../../ -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/ -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/eigen -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/absl -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/gemmlowp -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/neon_2_sse -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/farmhash/src -Ic:/dev/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/include -I -I/usr/local/include \
-o c:/dev/tensorflow/tensorflow/lite/tools/make/gen/windows_x86_64/bin/benchmark_model \
 c:/dev/tensorflow/tensorflow/lite/tools/make/gen/windows_x86_64/lib/benchmark-lib.a  -lstdc++ -lpthread -lm -lz
c:/dev/tensorflow/tensorflow/lite/tools/make/gen/windows_x86_64/lib/benchmark-lib.a(benchmark_plus_flex_main.o):benchmark_plus_flex_main.cc:(.text+0x3b): undefined reference to `tflite::InitTensorFlow()'
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [tensorflow\lite\tools\make\Makefile:254: c:/dev/tensorflow/tensorflow/lite/tools/make/gen/windows_x86_64/bin/benchmark_model] Error 1

We should exclude benchmark_plus_flex_main.cc from BENCHMARK_SRCS.

Reverted change for c_api_types.h

@mattn can you please resolve conflicts

Fixed conflict. Also updated patch for third-party libraries.
diff -ur downloads.orig/farmhash/src/farmhash.cc downloads/farmhash/src/farmhash.cc
--- downloads.orig/farmhash/src/farmhash.cc	2019-05-05 22:39:31.645761900 +0900
+++ downloads/farmhash/src/farmhash.cc	2019-05-05 22:46:58.122055200 +0900
@@ -114,7 +114,7 @@

 #if defined(FARMHASH_UNKNOWN_ENDIAN) || !defined(bswap_64)

-#ifdef _MSC_VER
+#ifdef _WIN32

 #undef bswap_32
 #undef bswap_64
@@ -216,7 +216,7 @@
   return shift == 0 ? val : ((val >> shift) | (val << (64 - shift)));
 }

-#if defined(_MSC_VER) && defined(FARMHASH_ROTR)
+#if defined(_WIN32) && defined(FARMHASH_ROTR)

 STATIC_INLINE uint32_t Rotate32(uint32_t val, int shift) {
   return sizeof(unsigned long) == sizeof(val) ?

FYI, I sent small fix to farmhash https://github.com/google/farmhash/pull/32
So we will be possible to build tensorflow-lite with mingw compiler. (without patches)

https://github.com/google/farmhash/pull/32 was merged.


Account for [noexcept] in WinMD when generating functions

We should be able to author WinMD components with [noexcept] and have them project into Swift without throws

Moved from bcny-internal bug. [noexcept] might not make sense since the method could declare itself noexcept, but in order to call it we might need to resolve an activation factory and project arguments, which might involve failable operations.

i think this is already complete?

https://github.com/thebrowsercompany/swift-winrt/blob/a73deec57624d04776f0d2b97882bd330749ac39/swiftwinrt/code_writers.h#L1312


Validation function escape "[]"

Hi,
I try to create a dynamic validation function for my dynamic form. But when i try to validate checkboxes with attribute name "chkBoxName[]" to get multiple values, the validation function only returns "chkBoxName".
Is this a bug?
This is my validation function
/**
 * @file Fonction de validation de Registration / Connection Infos
 * @author Mikael Boutin
 * @version 0.0.1
 */
import consts from './consts';

let { REGEX_PHONE } = consts;

export default function(form) {

  return (values) => {
    const errors = {};

    // client side only
    if(typeof Defiant !== 'undefined') {
      let snapshot = Defiant.getSnapshot(form);

      Object.keys(values).map((key) => {
        let input = values[key];

        let formField = JSON.search(snapshot, '//*[name="'+ key +'"]')[0];

        // attribute name with [] was escaped
        if(formField === undefined){
          formField = JSON.search(snapshot, '//*[name="'+ key +'\[\]"]')[0];
        }

        if(formField.required && !input){
          errors[key] = 'Required';
        }
      });
    }

    console.log(errors);

    return errors;
  }
};

I use this function like this:
MyForm = reduxForm({
  form: 'campaign-promotion',
  fields: formFieldsNames, // a list of all your fields in your form
  validate: validation(formFields) // JSON of the form fields
})(MyForm);

Show me the jsx with your checkboxes.

/**
 * @file Component de checkboxes
 * @author Mikael Boutin
 * @version 0.0.1
 */
import React from 'react';

/**
 * Component servant à créer des checkboxes
 */
class Checkbox extends React.Component {

  /**
   * @constructor
   * @param {object} props La fonction super() appelle le parent pour y transmettre ses propriétés
   */
  constructor(props) {
    super(props);
  }

  /**
   * Render le component
   * @prop {string} id - ID de l'élément (required)
   * @prop {string} className - Nom de classes de l'élément (required)
   * @prop {string} value - Valeur de l'élément (required)
   * @prop {string} label - Label de l'élément (required)
   * @prop {string} name - Name de l'élément (required)
   * @prop {int} tabIndex - Numéro dans l'index de focus de l'élément (required)
   * @prop {object} reduxName - Objet retourné par redux-form (required)
   * @return {JSX} Rend un checkbox
   */
  render() {
    let { className, id, label, value, tabIndex, reduxName, name } = this.props;

    return (

        <input type="checkbox" className={"filled-in " + className} value={value} name={name} tabIndex={tabIndex} id={id} {...reduxName} />
        {label}

    );
  }
}

Checkbox.propTypes = {
  className: React.PropTypes.string.isRequired,
  id: React.PropTypes.string.isRequired,
  value: React.PropTypes.string.isRequired,
  label: React.PropTypes.string.isRequired,
  name: React.PropTypes.string.isRequired,
  tabIndex: React.PropTypes.number.isRequired,
  reduxName: React.PropTypes.object.isRequired
};

export default Checkbox;

Not much here... i passe as name "fieldName[]" to have multiple choices.

My checkbox group have the name attribute promotionmethods[] for all checkboxes. When it's promotionmethods[] all checkbox are independant and can be clicked alone. When i remove [] the checkboxes are linked correctly with redux-form, but when i click them, they become all checked.

You got any ideas on this? That's the last part of my validation. How can i handle correctly the checkboxes with mutliple choices?
I provide this:
RegistrationCampaignPromotion = reduxForm({
  form: 'campaign-promotion',
  fields: ["promotionmethods[]", "promoting", "promotingurl", "promotingtraffic", "monthlyrevenue", "offerinterested[]", "payouts[]", "experiencelevel", "market[]", "trafficdevice[]", "reference", "referencefirstname", "referencelastname", "referencetitle", "referenceorganization", "referencewebsite", "referenceemail", "forumusername", "timeready", "howyouhear"], // a list of all your fields in your form
  validate: validationFn,
})(RegistrationCampaignPromotion);

But i can't retrieve the redux-form fields with [] like this:
const { fields: { promotionmethods[], promoting, promotingurl, ...fields }, handleSubmit } = this.props;

Thank you for your help!

Sorry I haven't been more responsive on this. What is the data structure you are looking to attain?
Option 1:
{
  promotionMethods: {
    ownWebsite: true,
    socialMedia: false,
    buyTraffic: true
  }
}

Option 2:
{
  promotionMethods: [
    'own website',
    // no social media here because wasn't checked
    'buy traffic'
  ]
}

The second seems to be easier

Okay. Normal checkboxes are treated as booleans, a la Option 1. But Option 2 is not hard, it's just not the default behavior. You will need to handle the array additions and removals yourself.
const options = ['own website', 'social media', 'buy traffic'];
// ...
render() {
  const { fields: { promotionmethods } } = this.props;
  return (

      {options.map(option =>
        <input
          type="checkbox"
          checked={promotionmethods.value.indexOf(option) >= 0}
          onChange={event => {
            const index = promotionmethods.value.indexOf(option);
            if(index < 0) { // wasn't selected
              if(event.target.checked) { // was checked
                promotionmethods.onChange(promotionmethods.value.concat(option));
              }
            } else {
              if(event.target.checked) { // was unchecked
                const copy = [...promotionmethods.value]; // make copy to not mutate value
                copy.splice(index, 1); // remove item at index
                promotionmethods.onChange(copy);
              }
            }
          }}/>}

  );

That was hand typed pseudo code, so there might be bugs, but I think it gets the point across. Obviously you will want to write a custom ArrayCheckbox component to hide all that garbage.

  <ArrayCheckbox field={promotionmethods} value="own website"/>
  <ArrayCheckbox field={promotionmethods} value="social media"/>
  <ArrayCheckbox field={promotionmethods} value="buy traffic"/>

That help?

promotionmethods.valueis undefined. Where we provide the values for the const { fields: { promotionmethods } } = this.props; ?

Thank you for your answer! I did it!
handleChange(e) {
    const { value, reduxName } = this.props;

    if (reduxName.value !== undefined) {
      if (e.target.checked) {
        reduxName.onChange(reduxName.value.concat(value));
      } else {
        const valuesCopy = [...reduxName.value];
        const valueIndex = reduxName.value.indexOf(value);

        valuesCopy.splice(valueIndex, 1);
        reduxName.onChange(valuesCopy);
      }
    } else {
      if (e.target.checked) {
        reduxName.onChange([value]);
      }
    }
}

:+1:

Thank you very much for your support! I build a really big project with this and it helped me a lot! I'm writing a french tutorial about React, Redux and Redux-form too! If i got good feedback, i'll translate it!
Tanx again!

Génial! :+1: :fr:

Tu parles français? Je viens du Québec au Canada

No. Pero hablo Español. :smile: :es:

@erikras just for clarification, when you pass fields into reducxForm(...), you don't need to add the [] to the end promotionmethods (i.e., the following is correct).
reduxForm({
  fields: ['promotionmethods']
});

@DWboutin It does work for me of your method, thanks!

@DWboutin promotionmethods.value is undefined. how can i put it in ?

@erikras This fails for one found edge case, which is on initial validation. For initial validation, the passed in value to your validator function will be a boolean (for some reason). I tested this by shifting focus between different checkbox items. Investigating a solution atm.


PATH was wrong

It's not
export PATH=$PATH:$GOPATH/src/bin
but
export PATH=$PATH:$GOPATH/bin

hey @rascal-3 thanks for the errata corrige


Add a 2 minute session expiry on the mqtt connection

Fixes #68
This updates the project nodes to connect with a non-clean session, meaning session state is not immediately expired when the node disconnects. Alongside this, setting the session expiry to 2 minutes so we don't queue up messages indefinitely.
The choice of a 2 minute session expiry means we'll handle brief connectivity blips without discarding messages.
If the project nodes are disconnected for more than 2 minutes, we'll stop queuing up messages for it (something we didn't do at all previously).

pulling and testing with e2e flows that operate across the broker.


chore(deps): update devdependency @types/node to ^20.14.9

This PR contains the following updates:

Package
Type
Update
Change

@types/node (source)
devDependencies
patch
^20.14.8 -> ^20.14.9

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Hywax Assistant.

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

Project coverage is 100.00%. Comparing base (68fdda2) to head (b8ab427).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #46   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          146       146
  Branches        26        26
=========================================
  Hits           146       146

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


allow change of delimiters

This PR will allow you to change the template delimiters as well as switching off delimiters at all, resulting in an "unparsed" template. See README.md for details.
This also includes PR #191

Could you rebase it?

Will try.

Could you rebase it?

Done

As rebasing failed three times, I'm closing this. There will be a new PR.


feat: Tags feature.

LGTM

it would be better for commit messages to be in [imperative mood] (https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/SubmittingPatches?h=v2.36.1#n181)

LGTM


VS code does not close after git push

Hi,
Every time after pushing my work in my azure repos, I was not abble to close the editor.
Using exit under file menu does nothing either.
The problem happen
I have to kill the process in window task manager in order to close it
I recorded the issue (please find it in the zip file).
Regards,
Malik

VSCode Version: 1.41.1(system setup)
OS Version: Windows_NT x64 10.0.18362
Bug.zip

Ok I will do try

Thanks

Hi,
I had the same problem with vs insiders
Best regards,
tested on  vs insiders.zip
Version: 1.43.0-insider (system setup)
Commit: beaf391bc53136912e4f0bbdfb7844ad954247db
Date: 2020-02-07T05:29:40.363Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18362

@asmalik thanks for the video that is really helpful to understand what you do. I cannot explain this behaviour. Can you run "code --verbose" from the command line and see that you capture the output, especially when you click on the File > Exit or window close buttons?

Ok I'll do it

Thanks

Hi @bpasero,
Here is a new video after git push.
Thanks
verbose_cmd.zip

@asmalik the interesting part is the output of the window you start first, can you:

run "code --verbose" from the command line
from that window that opens get to the stuck state where exit does nothing
attach the output from the terminal you get

@bpasero when I run the commande it lunch a new instance of vs code
Here is what I got:
[main 2020-02-12T15:37:32.508Z] Sending some foreground love to the running instance: 5632
[main 2020-02-12T15:37:32.512Z] Sending env to running instance...
[main 2020-02-12T15:37:32.573Z] Sent env to running instance. Terminating...
[main 2020-02-12T15:37:32.573Z] Lifecycle#kill()

@asmalik yeah that is right, what I meant is: start the first version like that from the terminal. Ensure no other version is running. You should see a ton of output.

@bpasero
C:\WINDOWS\system32>code --verbose
[main 2020-02-12T15:44:52.073Z] Sending some foreground love to the running instance: 5632
[main 2020-02-12T15:44:52.076Z] Sending env to running instance...
[main 2020-02-12T15:44:52.140Z] Sent env to running instance. Terminating...
[main 2020-02-12T15:44:52.140Z] Lifecycle#kill()
C:\WINDOWS\system32>code --verbose
[main 2020-02-12T15:45:47.086Z] Starting VS Code
[main 2020-02-12T15:45:47.087Z] from: c:\Program Files\Microsoft VS Code\resources\app
[main 2020-02-12T15:45:47.087Z] args: {
_: [],
diff: false,
add: false,
goto: false,
'new-window': false,
'reuse-window': false,
wait: false,
version: false,
help: false,
telemetry: false,
'list-extensions': false,
'show-versions': false,
verbose: true,
status: false,
'prof-startup': false,
'disable-extensions': false,
'disable-gpu': false,
'extension-development-confirm-save': false,
logExtensionHostCommunication: false,
'skip-getting-started': false,
'skip-release-notes': false,
'sticky-quickopen': false,
'disable-restore-windows': false,
'disable-telemetry': false,
'disable-updates': false,
'disable-crash-reporter': false,
'disable-user-env-probe': false,
'skip-add-to-recently-opened': false,
'unity-launch': false,
'open-url': false,
'file-write': false,
'file-chmod': false,
'driver-verbose': false,
force: false,
trace: false,
'force-user-env': false,
'no-proxy-server': false,
nolazy: false,
'force-renderer-accessibility': false
}
[main 2020-02-12T15:45:47.090Z] Resolving machine identifier...
[main 2020-02-12T15:45:47.090Z] Resolved machine identifier: 1cbf50478655309b45ae95d6ffebbe29e51d3d1e8879e21b80d5e936ab84f0d0 (trueMachineId: undefined)
[main 2020-02-12T15:45:47.122Z] update#setState idle
[main 2020-02-12T15:45:47.124Z] [storage state.vscdb] open(c:\Users\Malik's PC\AppData\Roaming\Code\User\globalStorage\state.vscdb, retryOnBusy: true)
[main 2020-02-12T15:45:47.124Z] lifecycle (main): phase changed (value: 2)
[main 2020-02-12T15:45:47.125Z] windowsManager#open
[main 2020-02-12T15:45:47.187Z] lifecycle (main): phase changed (value: 3)
[main 2020-02-12T15:45:47.189Z] telemetry/optInStatus { optIn: true }
[main 2020-02-12T15:45:47.189Z] telemetry/update:win32SetupTarget { target: 'system' }
[main 2020-02-12T15:45:47.190Z] telemetry/machineIdFallback { usingFallbackGuid: false }
[main 2020-02-12T15:45:47.259Z] [storage state.vscdb] Trace (event): PRAGMA user_version = 1;
[main 2020-02-12T15:45:47.263Z] [storage state.vscdb] Trace (event): CREATE TABLE IF NOT EXISTS ItemTable (key TEXT UNIQUE ON CONFLICT REPLACE, value BLOB)
[main 2020-02-12T15:45:47.263Z] [storage state.vscdb] Trace (event): SELECT * FROM ItemTable
[main 2020-02-12T15:45:47.265Z] [storage state.vscdb] getItems(): 54 rows
[main 2020-02-12T15:45:47.340Z] getShellEnvironment: running on Windows, skipping
[main 2020-02-12T15:45:47.368Z] [storage state.vscdb] updateItems(): insert(Map(2) {telemetry.lastSessionDate => Wed, 12 Feb 2020 13:54:20 GMT, telemetry.currentSessionDate => Wed, 12 Feb 2020 15:45:47 GMT}), delete(Set(0) {})
[main 2020-02-12T15:45:47.369Z] [storage state.vscdb] Trace (event): BEGIN TRANSACTION
[main 2020-02-12T15:45:47.370Z] [storage state.vscdb] Trace (event): INSERT INTO ItemTable VALUES ('telemetry.lastSessionDate','Wed, 12 Feb 2020 13:54:20 GMT'),('telemetry.currentSessionDate','Wed, 12 Feb 2020 15:45:47 GMT')
[main 2020-02-12T15:45:47.372Z] [storage state.vscdb] Trace (event): END TRANSACTION
[7868:0212/164547.842:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164547.873:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164547.873:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164547.878:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164547.878:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164547.881:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164547.881:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.034:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.074:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[main 2020-02-12T15:45:48.070Z] IPC#vscode-workbenchReady
[7868:0212/164548.086:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.164:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.208:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.208:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.208:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.212:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.212:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.264:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.280:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.320:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.363:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.452:INFO:CONSOLE(333)] "Overwriting extension <<.liquid>> to now point to mime <<text/x-html>>", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (333)
[7868:0212/164548.504:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.504:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.508:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.528:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.580:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.680:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.768:INFO:CONSOLE(1572)] "%cDEBUG", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.768:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.883:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164548.883:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.423:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.483:INFO:CONSOLE(254)] "%c[Extension Host] %cLooking for parseable documents... %c(at c:\Users\Malik's PC.vscode\extensions\zignd.html-css-class-completion-1.19.0\out\src\extension.js:28:21)", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (254)
[7868:0212/164549.507:INFO:CONSOLE(254)] "%c[Extension Host] %cFound no documents %c(at c:\Users\Malik's PC.vscode\extensions\zignd.html-css-class-completion-1.19.0\out\src\extension.js:31:25)", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (254)
[7868:0212/164549.511:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.511:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.511:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.511:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.511:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.515:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.523:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.547:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164549.752:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.549:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.590:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.595:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.595:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.655:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.655:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.655:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.655:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[main 2020-02-12T15:45:50.662Z] RequestService#request https://update.code.visualstudio.com/api/update/win32-x64/stable/26076a4de974ead31f97692a0d32f90d735645c0
[7868:0212/164550.799:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.799:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.799:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)
[7868:0212/164550.956:INFO:CONSOLE(1572)] "%cTRACE", source: file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js (1572)

@bpasero
code_verbose.txt

@asmalik it also seems to me you are not on the latest version, can you update to 1.42?
That log does not contain anything after a few lines that points me into a direction unfortunately...

@bpasero
Ok i'll install the latest update.

Good, let me know if that helps.

Hello @bpasero,
Since I uninstalled the EasySettingBox software I did not ran into the the problem. I'm going to close the issue.
Thanks for your help


Can't use portals in multiplayer if distance between portal is greater than 10

If two portals are 11 or more blocks apart you will get stuck on them as according to the server you "moved too quickly" teleporting back to where you where, (the portal) which then teleports you to the other portal making you "move too quickly" teleporting you back, making an unescapable loop
The host isn't affected by this in LAN worlds

yeah makes sense
a fix for this is making the teleportation logic clientsided
problem is i dont know how to do that

fixed in 2.1.7


func start fails with Can't determine Project to build

Description
Since version 1.17, running func start fails to start a project after dotnet build.
It actually find obj/Debug/net8.0/WorkerExtensions/WorkerExtensions.csproj. This file was not present in 1.16.4.
Steps to reproduce

Create a func project with Microsoft.Azure.Functions.Worker.Sdk version 1.16.4.
Run func start multiple times without issue
Upgrade to version 1.18.1 (or any version after 1.16.4)
Run func start two times. The second time, it fails with Can't determine Project to build. Expected 1 .csproj or .fsproj but found 2

To add more information, after this assembly is updated it puts a WorkerExtensions.csproj in the obj\Debug\net8.0\WorkerExtensions folder.  That is where the conflict lies.

What version of core tools do you have? It will be emitted when you run func start. Please upgrade to latest if not already there and try again.

Hi, closing this as updating the azure-functions-core-tools-4 package to the latest version fixed the issue.
Azure Functions Core Tools
Core Tools Version:       4.0.6280 Commit hash: N/A +421f0144b42047aa289ce691dc6db4fc8b6143e6 (64-bit)
Function Runtime Version: 4.834.3.22875


Forecasting with per minute time series

Hello,
I am trying to perform time-series forecasting using scalecast. My data contains a Date column with the 10T (10 minutes) frequency.
When I try to perform Scaled Automated Forecasting, with this frequency, it always throws me a warning because I cannot perform forecasting on the dataset.
These are the warning currently I am facing.
Warning 1
WARNING:py.warnings:/usr/local/lib/python3.8/dist-packages/scalecast/Forecaster.py:2594: UserWarning: trend decomposition did not work and raised this error: freq T not understood. Please report if you think this is in error. switching to non-decomp method
warnings.warn(
Warning 2
WARNING:py.warnings:/usr/local/lib/python3.8/dist-packages/scalecast/Forecaster.py:2703: UserWarning: no seasonalities are currently associated with the 10T frequency
warnings.warn(f'no seasonalities are currently associated with the {f.freq} frequency')
I would appreciate a solution to my query.

Hi,
This shouldn't stop you from being able to forecast with the series. Some of the functions only won't know how to apply seasonality effectively to the series since it is an uncommon frequency. Let me know if you are not getting any forecast results for the series.

Hi,
Yeah !! you are correct, but the problem is that I can't generate results when I start the execution of the pipeline.fit_predit() function, it just keeps on running. My longest execution time was 1 hr 45 mins nearly.

Depending on the length of the series and the complexity of the model being evaluated, it can take a long time to evaluate a model. Can you share your code?

Sorry, I can't share my code with you. But yeah I have got this thing. I reduced the length of the series and then tried. It worked perfectly.
There is one more query I would like to ask. After using the automated scale pipeline, (pipeline.fit_predict() method) multiple models are created. I want to test those models on unseen data. Can you please help me how to execute that?


Made CryptoException extend IOException

Modified CryptoException such that it no longer extends RuntimeException and extends IOException instead. Initially I was going to modify it to extend GeneralSecurityException but that touched a lot of code and caused issues with Accumulo classes that implemented other interfaces that declared only IOException.

Merging this issue should complete the subtask "Make CryptoException extend GeneralSecurityException" in #2930

This is a nice clarification from Oracle docs: "If a client can reasonably be expected to recover from an exception, make it a checked exception. If a client cannot do anything to recover from the exception, make it an unchecked exception."

Do you think this should not be merged then and leave CryptoException as a RuntimeException. I was thinking that having a known checked Exception in the SPI methods makes sense so that errors specific to crypto can be handled.

Do you think this should not be merged then and leave CryptoException as a RuntimeException. I was thinking that having a known checked Exception in the SPI methods makes sense so that errors specific to crypto can be handled.

For most situations, I don't think there will be much we can do if we catch a CryptoException (coming from a TabletServer, for example) other than restart the server. Since these interfaces are in the SPI, the "client" who handles the exception will usually be server code. And with the way the CryptoService runs within the tserver, there is a good chance a restart will have to happen to reload the service. Eventually, once the Crypto is properly tested we could drop the experimental tag and be able to determine a better way of handling the errors. Or if we create a designated Server running just for Crypto, there may be better ways to handle the errors. The RFile API may be a good place to throw a checked exception for example, allowing the client to handle encryption errors.
I do think there is room for improving the overall error handling though. But maybe changing the exception type isn't the right approach.

We are going to leave CryptoException as a RuntimeException per comment in #2930


Fixes

!testme

!bullseyetestme

!bullseyetestme

added min yunohost version 11.0.7

!bullseyetestme

!bullseyetestme

!testme

All the errors seems to be because of Postgres -_

!testme !bullseyetestme


Add XLSform import

Roughly, this would look something like this:

get one of the xlsform => xform converters running as a webservice in a container and integrate it into the docker-compose setup (preferably it also works off of a local host/port directly so you don't have to use docker for local development; see how postgres and email are wired up for different examples of this)
have the /v1/projects/:id/forms POST endpoint detect excel files and forward the file to the service for transformation into xml before resuming the rest of the form creation flow
update the frontend to accept excel files
forward any errors output by the xlsform convertor to the user interface, probably with help from @matthew-white and some UI thought by @issa-tseng

.


stars misclassified as galaxies

On our validation set, the Celeste w/ MOG PSF confidently misclassifies 22 "stars" as galaxies that primary gets right. Celeste w/FFT PSF confidently misclassifies 15 "stars" as galaxies that primary gets right.
quasars, not stars

1237663784734490670
1237663784734490687
1237663784734490883
1237663784734491085
1237663784734491111 -- suspected quasar, no spectograph
1237663784734491839 -- suspected quasar, no spectograph
1237663784734490960 -- suspected quasar, no spectograph
1237663784734491528 -- suspected quasar, no spectograph

bright neighbor

1237663784734490825

MOG PSF misfit, fixed by FFT

1237663784734491044
1237663784734490936
1237663784734490973
1237663784734491144
1237663784734490976
1237663784734490895 -- colors have low prob for all types
1237663784734490668
1237663784734490787
1237663784734490672
1237663784734490884
1237663784734490962

unknown reason -- mog and fft are both wrong

1237663784734490924 -- color is ~90x more likely a star than a galaxy
1237663784734490927 -- color is ~90x more likely a star than a galaxy
1237663784734490644 -- color is only 6x more likely a star than a galaxy

misclassifications introduced by the FFT

1237663784734490886
1237663784734490855 -- bright neighbor
1237663784734490856 -- the neighbor
1237663784734490950 -- star & galaxy equally likely in terms of color
1237663784734491082 -- possibly a quasar
1237663784734491609 -- possibly a quasar
1237663784734491895 -- possibly a quasar

With #505, after running validate_on_stripe82.jl -fft, just 11 stars are confidently classified as galaxies.
julia> rae = load("results_and_errors.jld");
julia> off = rae["celeste_err"][:, :missed_stars] & !rae["primary_err"][:, :missed_stars] & (rae["celeste_df"][:, :is_star] .< 0.01);
julia> sum(off)
11

They are
julia> rae["celeste_df"][off, :objid]
11-element DataArrays.DataArray{String,1}:
 "1237663784734490644"
 "1237663784734490692"
 "1237663784734490825"
 "1237663784734490855"
 "1237663784734490856"
 "1237663784734490927"
 "1237663784734490950"
 "1237663784734491082"
 "1237663784734491202"
 "1237663784734491609"
 "1237663784734491839"


feat: allow setting of fixed columns in the list of issues, epics and sprints

Allow setting the number of locked (not scrolling) columns in the issue list, epic list and sprint list.
You can do e.g.:
jira issues list -s~Closed --fixed-columns 2

And the "Type" and "KEY" columns will not disappear as you press the right arrow.

@ankitpokhrel : Updated as you requested.
Thx for the review!

Hi @martinpovolny thanks!
I noticed slightly different behavior in explorer view for jira epic list, the fixed-columns option doesn't seem to work there. jira sprint list works as expected with fixed-columns tho. Could you please fix this inconsistency, looks good otherwise.

Yes! Good find! The epic explorer view did not respect the new option.
e.g.
jira epic list --fixed-columns=2 --project APPSRE`
```

now works as expected.


Docs: --sourceMap is not defaulting to false

Page URL: https://www.typescriptlang.org/docs/handbook/compiler-options.html
Issue: I think  --sourceMap is not defaulting to false. Can someone check my math before I PR and look dumb? I had to explicitly set --sourceMap false to not have source maps.
Recommended Fix: I will PR.

Yeah, it is definitely defaulting to false - tsc --init also keeps it as false. Maybe you had something like webpack generating them?


inplace operation

one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 1024, 1, 1]] is at version 2; expected version 1 instead. Hint: the backtrace further above shows the operation that failed to compute its gradient. The variable in question was changed in there or anywhere later. Good luck!
How can i deal with? please

I just got this error too when I tried to train.
Pytorch version is 1.7.1, GPU is rtx 3070, OS is unbuntu 20.04

It maybe because of the version of pytorch(my version is 1.5 gtx1660ti windows).
I debuged step by step, but i can' t find any problems😭 if you deal with it successfully, please tell me how should I do. Thank you.
---Original---
From<EMAIL_ADDRESS>Date: Wed, Dec 16, 2020 06:42 AM
To<EMAIL_ADDRESS>Cc: "Author"<author<EMAIL_ADDRESS>Subject: Re: [leftthomas/SRGAN] inplace operation (#93)
I just got this error too when I tried to train.
Pytorch version is 1.7.1, GPU is rtx 3070, OS is unbuntu 20.04
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@Sam-Yuan
Duplicate of #89


Support PHP 8.3

Q
A

New Feature
yes

Description
Needs #199

Thanks @gsteel!

Thanks for reviewing @Ocramius :)


Depthwise and separable convolutions almost do not work

Depthwise and separable convolutions are very slow on CUDA. Tested on multiple systems and looks like they are not optimized at all or maybe not implemented. Calculations with same shape may take 20 times more time in comparison to normal convolution.
Tested on dl4j examples MNIST convolution example by changing layers. Also tested on almost single layer neural network.
I guess they should take a lot less time than normal convolution.

I'm closing this. Nothing is really reproducible here. If you can claim something more specific, like "here are some performance graphs, I think it should run xyz faster" or "here's some code that reproduces an edge case" that is actionable and worth discussing. This is too vague for us to do anything with.


Add examples

I would really appretiate it if you assign this to me

It'll have to be me, I already have a couple of Jupyter notebooks I've been working on

Thank you for the interest though!


[GSoC] Project 5: Integrate JAX with Kubeflow Training Operator to Support JAX Distributed Processes

Contributor: @sandipanpanda - LinkedIn
Mentors: @tenzen-y, @andreyvelich, @terrytangyuan, @shravan-achar
Organization: Kubeflow
Project: Integrate JAX with Kubeflow Training Operator
Work Product Submission: https://sandipanpanda.github.io/gsoc2024/

Introduction
During the Google Summer of Code (GSoC) 2024, I had the incredible opportunity to contribute to the Kubeflow open-source project by working on the integration of JAX with the Kubeflow Training Operator. The goal of this project was to provide a seamless and efficient way to run distributed computations on CPU using the JAX framework on Kubernetes. Throughout the summer, I worked to build out this feature by extending the Training Operator.
Project Overview
JAX, a powerful ML framework developed by Google, is highly valued for its flexibility and performance in large-scale distributed computations, especially with its native support for automatic differentiation and hardware accelerators like GPUs and TPUs. The Kubeflow Training Operator is a popular Kubernetes component that allows users to run distributed ML training jobs across various frameworks (such as TensorFlow, PyTorch, and XGBoost). However, until now, it lacked direct support for JAX.
Objectives

Create a Custom Resource for JAX (JaxJob):
We needed to introduce a new Kubernetes Custom Resource Definition (CRD) for JAX, called JAXJob, that would allow users to define distributed JAX training jobs in Kubernetes clusters. This was crucial for enabling the integration of JAX into the Training Operator.

Update the Training Operator Controller:
The Training Operator controller had to be updated to support the new JAXJob resource, handling the creation, scheduling, and management of distributed JAX training jobs on Kubernetes.

Enhance the Training Operator Python SDK:
We aimed to extend the Training Operator Python SDK to provide easy-to-use APIs for data scientists and ML practitioners to define and launch JAXJob on Kubernetes, simplifying the process of running distributed JAX jobs.

Key Contributions
Progress and Achievements
By the end of the project, the following milestones were successfully achieved:

Creation of enhancemnet proposal for JAX integration with the Training Operator: https://github.com/kubeflow/training-operator/pull/2125
Defined a fully functional Custom Resource for JAX jobs, complete with relevant fields and schema: https://github.com/kubeflow/training-operator/pull/2163
Updated the Training Operator controller to manage JAX-specific jobs, ensuring smooth scheduling and execution across distributed nodes.
Implement webhook validations for the JAXJob
Add JAX controller, controller tests, webhook validations, examples, e2e tests for JAXJob
Extend the Training Operator Python SDK to simplify the creation and management of JAXJob resources.
https://github.com/kubeflow/training-operator/pull/2194
https://github.com/kubeflow/training-operator/pull/2264
https://github.com/kubeflow/website/pull/3877

Future Work

Extending support for hardware accelerators like GPU and Cloud TPU would be beneficial to the community. Additional documentation and tutorials would also be beneficial to onboard new users to the JAX + Kubeflow ecosystem.
Add support for distributed training for JAX in Training V2 API

Lessons Learned
Throughout this project, I gained valuable insights into distributed systems, Kubernetes resource management, and the inner workings of machine learning frameworks like JAX. Some key takeaways include:

Kubernetes Deep Dive: I deepened my understanding of Kubernetes, particularly Custom Resource Definitions (CRDs) and controllers, which are the backbone of extending Kubernetes functionality.
Collaboration in Open Source: Working in a collaborative environment with experienced mentors was one of the highlights of this project. Their feedback and guidance helped me improve not only my technical skills but also my ability to communicate and collaborate effectively.
Distributed Training at Scale: This project gave me a deeper appreciation for the complexities of distributed training and the importance of tools like Kubernetes in managing large-scale machine learning workloads.

Conclusion
Integrating JAX with the Kubeflow Training Operator has been a challenging but rewarding experience. The project successfully enables distributed training for JAX on Kubernetes, providing an easy-to-use interface for data scientists and machine learning engineers.
I am grateful to my mentors — @tenzen-y, @andreyvelich, @terrytangyuan, and @shravan-achar — for their support and guidance throughout the summer.
I look forward to seeing how this feature evolves and benefits the Kubeflow community in the future.

@sandipanpanda Are we ready to close it ?
Adding the blog post about this work into Kubeflow website would be also nice: https://github.com/kubeflow/blog/pulls

Yes, I'll am getting the draft ready, will open a PR to add the blog post about this work shortly.

This has been completed.
Thanks for the great contributions @sandipanpanda!


Improve messaging screen UI in web app

Description:
To improve the UI of the messaging or chatting screens
Problem:
The UI is not interactive. Need to make more interactive
Additional Context:
I am a GSSOC'24 contributor and would like to work on the issue.

can I work on it? @Ijaiswalshivam

@adinathraut assigned


doc：Add a diagram of the distributed transaction AT pattern.

What is the purpose of the change
Add a diagram of the distributed transaction AT pattern to make the AT pattern content easier to understand.
补充一下分布式事务 AT 模式的示意图，使得 AT 模式内容更加容易理解。
Brief changelog
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change(usually before you start working on it).  Trivial changes such as typos do not necessitate a GITHUB issue. Your pull request should solely focus on addressing this specific issue without incorporating any other modifications. Each PR should resolve a single issue.
[x] Format the pull request title like doc: add an operations guide document. Each commit within the pull request should contain a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Test your code locally by running npm run build, and make sure it works as expected.
[x] Ensure that no files under the build folder are included in the commit, as well as the package-lock.json and yarn.lock files.

Okay, thank you.

@DIDA-lJ I will close this PR, thank you very much for your feedback.


Revert "Update and rename _post/0000-01-02-BuRamirez.md to posts/0000-01-02-B…"

Reverts BuRamirez-Valeria/github-slideshow#5

I did it


Some SVG files of drawio are not displayed on Grafana-flowcharting, how to solve

Some SVG files of drawio are not displayed on Grafana-flowcharting, how to solve

Hi @JulierHappy
Can you give me an example ? xml ?

Hi @JulierHappy
Can you give me an example ? xml ?

Hey @algenty,
I had this issue as well with some battery illustrations:

solve

I need to update drawio lib for new shape


Fix id and all endpoints

Coverage increased (+0.8%) to 85.014% when pulling 7e528ea4f6a034beb02e064ee481947411c1b15f on Fix_id_and_all_endpoints into 6195ca4c9905fc873e854a6fecebbb89cb88c337 on master.


board_builder.py

Create a 'board' class to use in the main.py
Initialise the object with the create_board method below

Function: create_board
Purpose: Creates a blank board ready for use
Acceptance Criteria:

Function that builds the base scrabble board including locations of bonus point tiles such as double/triple word and letter score tiles
Must include letter/number labelling to allow a user to select a tile location later

Function: view_board
Purpose: When called, this displays the state of the current board
Acceptance Criteria:

Displays the board in the console

Can I propose we change the top-level function create_board to just Board()?

If you like, but it might conflict with the class name?
I thought functions were supposed to be named for what they are doing, usually with a verb - but there are so many different rules for languages that I might have mixed that up with java or c# lol

@nakulkd has made some great changes to the board_builder file that can create/build/view a board.
@webdotorg has started a board build using pygame (Word_Game_Board.py) which also looks awesome.
That gives us a couple of options to play with - is there a preference? pygame might have more sustainability?

I'll look over the code and see if I can create some sort of structure, but in general, we should prefer OOP instead of global functions. Once you get into "magic methods", OOP is absolutely fantastic.

I've got the skeleton of the board built using pygame. With a lot of help from Jiggs, we sped up the program so it won't crash.
I'd like to overlay the text on the tiles now, e.g.,  "Triple Word Score" on each red tile. I've hit a few roadblocks, so help is welcomed.

I'm working on the text display and am almost there - should be able to do a PR this weekend for it... I hope

Once the PR is merged the board will display the words on the multiplier tiles - now need to figure out how to get our console app part into a pygame app....


Add SSR reproduction app

A debug app setup in an attempt to diagnose https://artsyproduct.atlassian.net/browse/PLATFORM-1201.
Adds a couple routes:

/ssr-experiments
/ssr-experiments/stitch
/ssr-experiments/router
/ssr-experiments/all

Thanks!

@joeyAghion @alloy - going to merge this just to keep things tidy. When we return the app can be reached by going to http://localhost:5000/ssr-experiments.


[Bug Report] ELDialog layout broken on scrolling in 2.0.2

Element UI version
2.0.2
OS/Browsers version
Win10/Chromium53.0.2785.104 (QQ browser) | (Chrome 61.0.3163.91 is OK)
Vue version
2.5.2
Steps to reproduce
Create a ELDialog, Place multiple components, and make it too high to scroll.
Add an ElSWitch or ElSelect component
Open the dialog
change the switch or  select component
Scroll to end

What is Expected?
Layout remain unchanged
What is actually happening?
Broken

Issues without a reproduction link will be closed directly.


It should be possible to call executeInUiThread on shared instances of Window/Widget

As this method is allowed to be called from different threads (e.g. background thread, as stated in the documentation) this should be a shared method (otherwise the background thread has to get a shared instance of a Window or Widget and cast the shared away).

I'm just calling it from other thread and do not bother

Will close this issue, I am not familiar enough with shared. It seems, as if there is no such thing as a shared method, so the thing I suggested is not even possible. Thanks for answering.


[FIX] improve HED documentation

This request makes some editorial improvements in HED.md such as adding subsections. It also adds the specification of how to document in machine-actionable form the meaning of columns in *_events.tsv files containing values rather than categorical values. There will be an accompanying pull request for the bids-validator incorporating the implementation of this feature.

Thanks @VisLab

regarding the "spaces" instead of "tabs" in the TSV examples, I am okay with them being spaces. We don't have a policy for that right now, and if we want one, we should discuss it in a separate, dedicated issue.

sorry for coming late to the game:  by the definition of TSV (tab-separated values) TAB must be used as a separator, or it is not a TSV, and tools reading TSV file might not read it correctly if spaces are used.  There is IMHO no need to re-iterate that it must be TAB, like there is no need to provide a full description of JSON syntax while talking about JSON files.

We were talking only about how to format examples in the flow text of the spec. Markdown Codeblocks either containing spaces to look nice out tabs to be accurately reflecting tsv

I changed to spaces because the unaligned columns made the table very
difficult to understand the table. I don't think this implies that tsv
files shouldn't be tab-separated.  We could explicitly put an indication
that the table has been solumn-aligned to improve readability.  We could
also put a link to a file containing the actual tab separated information.
I don't think anyone actually cuts and pastes these examples into a file.
They should probably be looking at the examples repository for that.
On Thu, Oct 8, 2020 at 10:46 AM Stefan Appelhoff<EMAIL_ADDRESS>wrote:

We were talking only about how to format examples in the flow text of the
spec. Markdown Codeblocks either containing spaces to look nice out tabs to
be accurately reflecting tsv
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bids-standard/bids-specification/pull/619#issuecomment-705658122,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJCJOUWUYAFDX4FZ6XN773SJXNFZANCNFSM4RSKUTGQ
.

Thank you for the explanation!  Indeed a larger issue. Filed: #644 (hopefully someone would get interested to harvest the kudos for the "large git blame" with such a contribution ;) ) and submitted #643 as a temporary measure ;)


Retain flag reset by the server?

Hi,
I would like to know if a message is published with retained flag set inside the IMqttApplicationMessageReceivedHandler.HandleApplicationMessageReceivedAsync(MqttApplicationMessageReceivedEventArgs arg) handler.
I think the same issue was already open (and should be fixed), but my experience with latest nuget MQTTNet package is that all the messages have retained flag not set.
The already existing issue is "Receiving retained message from server doesn't set retain flag to true #482"
Can you please clarify, what is the expected behaviour regarding resetting retained flag by the server?
Ultimately, is there a way for a client to cache all received messages, if the messages were published with retain flag set?
Thanks

Which version do you use? Latest stable or newer? In 3.0.9-rc2 is some code which sets the flag to true for all retained messages which are sent to a client.

Thanks for the reply.
I've updated to the latest (3.0.9) and I can confirm that retained messages are handled according to specification:
"When sending a PUBLISH Packet to a Client the Server MUST set the RETAIN flag to 1 if a message is
sent as a result of a new subscription being made by a Client [MQTT-3.3.1-8]. It MUST set the RETAIN
flag to 0 when a PUBLISH Packet is sent to a Client because it matches an established subscription
regardless of how the flag was set in the message it received [MQTT-3.3.1-9]."
I'm closing the issue.
Thanks again and keep up :)


Tx stuck forever in pending status

Describe the bug
After sending it, Tx stuck forever in pending status
To Reproduce
Steps to reproduce the behavior:

Send amount from multisig vault
Check  tx details
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser  chrome
Version 123

Additional context
reproducible on dev branch
https://aescan.io/transactions/th_LRr3gbvJ2mkmEpA4TqFQmH3NijnaGWvotZctzQCChkuBtZ5v3
https://github.com/superhero-com/superhero-wallet/assets/69896204/f42c9eb9-1c73-4ef8-93e0-e12d65a3b171

@Liubov-crypto  may you check if you can reproduce it?

@smaroudasunicorn @CedrikNikita  Tried sent a couple of Tx, not reproducible for me. Can be closed.

Closing issue as cannot reproduce


Decorator hides parameter

Description
The decorator hides the parameters of the function

Operating System
Windows 10
Python Version
Python 3.8
nava Version (Use : nava.__version__)
Nava 0.1
We should use @wraps from functools module like here

Although this is not an issue in VSCode using Python extension. Parameter suggestion working OK there.
BTW, I will work on this issue to fix it in Python interpreter.


Only run tests for changed modules in CI

This will help us conserve build resources and significantly speed up CI.
Probably involves this command:
npx lerna ls --since $SYSTEM_PULLREQUEST_TARGETBRANCH
Note: $SYSTEM_PULLREQUEST_TARGETBRANCH is provided by Azure CI pipelines.
...
I implemented a first round of this in the monorepo, will only run tests based on files changed in the last commit. Still in testing phase.
-petong

This is done via conditionals in the azure pipeline configuration.


psql_basebackup problem

Job type: "psql_basebackup"
A user without a database cannot connect to the server.

This issue has been fixed in version 3.8.1.

Issue has been fixed in version 3.8.2.


Any license?

I'd like to use it in a project, but without any explicit license the default copyright laws apply. If this is intended, that's fine too! Is it ISC as package.json indicates?
Awesome library :+1:

LICENSE file I suppose would be ideal, but I see it is ISC here as well: https://www.npmjs.com/package/react-player-controls.
Thanks!

I added a LICENSE file and published version 0.5.13 to npm.


Milestone 1 Feedback

Marking
Great job!
Suggestion:
Great job, I really like the design. I like the country layout that is the focus in the middle. I think that this is a good level of complexity, anymore would be too much. You can implement a simpler version without all the functionalities for milestone 2, and the rest for Milestone 3 and Milestone 4. All in all, great job, one of the best designs I’ve seen! Please add research questions in the next iteration of the proposal.

Hi @andytai7 ,
Thank you very much for your feedback, it has lightened up my day!
Regarding your comment about add research questions in the next iteration of the proposal., could you please elaborate on it? As we believe that some research questions are already added to the proposal at
Thank you very much.
Best,
Mai

Hi @andytai7 ,
Thank you very much for your feedback, it has lightened up my day!
Regarding your comment about add research questions in the next iteration of the proposal., could you please elaborate on it? As we believe that some research questions are already added to the proposal at
Thank you very much.
Best,
Mai


pip install works only as root or single user

Usually, when I install a module with pip as root, all users can access it. Installing cleverhans with
pip install -e git+http://github.com/tensorflow/cleverhans.git#egg=cleverhans
works as root, but as another user, I get :
In [1]: import cleverhans
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-754f8ba0e85b> in <module>()
----> 1 import cleverhans

ModuleNotFoundError: No module named 'cleverhans'

I can install it specifically for a user (pip --user), but this is not what I want. Is it on my side that there is something wrong, or is there a problem in the bundle rights management on your side?

If you want to install for a particular user, you can use pip --user as you pointed out.
Alternatively, you could also clone the repository and append a path to it in the PYTHONPATH variable.
Feel free to re-open if this does not solve your problem.


Updated UI to be a bit nicer than before

Here are some screenshots of the new UI:
Homescreen:
Challenge board:
Challenge:
Login:
Login text entered:
Profile:

I prefer the current interface.

what do you prefer about the current interface?

I prefer the black header. Also I'm not a big fan of the h1 heading being included in the coloured section, makes the navbar seem a bit fat and doesn't seperate ou the nav section from the title.
I do however like that you've changed the top right hand menu, i don't like it as a dropdown

Since I used sass the site colors can be controlled with a single variable so getting a black header would be pretty simple and the header can be smaller

Let's remove some of these files like nohup.out, change the color to something a little more neutral (black, dark gray, etc.), and apply the theme to admin panel before we merge.
But I like the changes overall.

Admin panel is done

Updated to reflect desired changes

This is the money commit

Closed due to request.


USHIFT-565: Update RPM package build cadence and download doc

Closes USHIFT-565

/assign @vfreex
@vfreex, please confirm that the new instructions are correct.

/lgtm


feat: support clustering without partitioning

fixes: #20673

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

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.

fixes: #20673

[x] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

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

We have a similar logic that has to be changed here too:
https://github.com/apache/beam/blob/644f5399dce646ba9b6b0146b44ff7778fc0a8c1/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/UpdateSchemaDestination.java#L288-L294
Maybe at other locations too.

Also this should be extended with false, true and false, false.
https://github.com/apache/beam/blob/644f5399dce646ba9b6b0146b44ff7778fc0a8c1/sdks/java/io/google-cloud-platform/src/test/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIOWriteTest.java#L523-L529

@amo12937 Any plans of reviving this?


Creating issue templates

I think it will be a lot easier for people to contribute to the repo if there are issue templates they can use.
Here is a guide for creating templates: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository
I'm thinking a couple of useful templates to begin with:

Discussion (a more open discussion/question about the specification)
Feature/content request (more specific issue for a feature of the specification)
Governance & management (how best to manage this repository & contributions going forwards

Any other thoughts?

@manics @arronlacey how do I assign issues to people?

Thinking about creating YAML issue templates to make them as easy as possible, and possibly a more general issue in MarkDown that is more flexible.
Suggested issue templates:
Issue templates
Discussion
Please use this template to start a general discussion with the community.
Discussion point
A brief summary of what you would like to discuss
Detail
Some more detail on what you want to discuss
Intended output
What do you want to happen as a result of this discussion?
Who can help?
Please tag relevant people by typing @ followed by their GitHub username!

Proposed change
Please use this template to start a proposed change to the specification.
Proposition summary
A brief summary of what you would like to change
Detail
Some more detail on what you want to change
Proposed change
Please draft the wording for the proposed change here
Who can help?
Please tag relevant people by typing @ followed by their GitHub username!

Governance & management
Please use this template to discuss, or propose a change to, the governance of this repository & community.
Summary
A brief summary of what you would like to discuss/change
Detail
Some more detail on what you want to discuss/change
Intended output
What do you want to happen as a result of this discussion?
Who can help?
Please tag relevant people by typing @ followed by their GitHub username!

@arronlacey @manics @edwardchalstrey1 @JimMadge any thoughts? Otherwise will get creating!


Don’t decelerate the scroll view if the user had stopped dragging

Previously, the scroll view would always do a deceleration animation when the user finished dragging, even if the user had stopped dragging and held at a point; whereas UIScrollView will simply pause at that point in such a case.
This problem is because pan gesture recognizers always report a non-zero terminal velocity. To fix this, we now discard the terminal velocity if it has been sufficiently long since the user last dragged.
Passing .zero to completeGesture(withVelocity:) does not affect whether the scroll view bounces when the gesture ends—it still will, if it needs to in order to return the content offset to within the scroll view’s bounds.

Thank you!


adding dragToClose variable for showCustom function

Is your feature request related to a problem? Please describe.
I cannot use dragToClose variable when I'm using showCustom method
Describe the solution you'd like
dragToClose variable can be added  to showCustom method

Hi @berk-can,
Thank you for your suggestion!
While I understand your perspective, I believe that this behavior might not align with the preferences of the majority of users. However, what we can do is make the BuiltInContainer class public, allowing developers to utilize it directly. This way, they can wrap their custom widgets within it and take advantage of the drag-to-close feature and other functionalities.
Let me know your thoughts on this!
https://github.com/payam-zahedi/toastification/blob/953f938ecb693be6ec9c6f1df960cf75d2b89f5d/lib/src/widget/built_in/built_in_builder.dart#L367

Hi thanks for response, while looking to library I figured that I can use show function with changing type to simple and giving my custom widget to title with zero padding margin etc. so actually library support showing custom widget with functionalities in show function. Thats why this subject was not a problem for me to begin with. Thank you for library have a good day


undefined method `value_before_type_cast' in Rails 4.2

I just updated Rails from 4.1.8 to 4.2. When I .destroy an entry, I get this error:
undefined method `value_before_type_cast' for 1000:Fixnum

where 1000 is the ID of my entry.
I only get this error when the permanent_records gem is in use.
The backtrace:
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/before_type_cast.rb:46:in `read_attribute_before_type_cast'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:155:in `block in original_raw_attribute'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:154:in `original_raw_attribute'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:73:in `attribute_changed_in_place?'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:149:in `block in changed_in_place'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:148:in `changed_in_place'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:141:in `attributes_changed_in_place'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb:62:in `changed_attributes'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/associations/builder/belongs_to.rb:66:in `touch_record'
gems/ruby-2.1.2/gems/activerecord-4.2.0/lib/active_record/associations/builder/belongs_to.rb:103:in `block in add_touch_callbacks'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:443:in `block in make_lambda'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:225:in `block in halting_and_conditional'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in `block in halting_and_conditional'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in `block in halting_and_conditional'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:219:in `block in halting_and_conditional'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_destroy_callbacks'
gems/ruby-2.1.2/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'
gems/ruby-2.1.2/bundler/gems/permanent_records-ea027de935e7/lib/permanent_records.rb:80:in `destroy_with_permanent_records'
gems/ruby-2.1.2/bundler/gems/permanent_records-ea027de935e7/lib/permanent_records.rb:40:in `destroy'
app/controllers/entries_controller.rb:112:in `destroy'

https://github.com/JackDanger/permanent_records/tree/rails-4-2 fixes this. Thanks!

Ok nice! Thanks for testing!


Organize config.toml options

Description
As a first cut at nailing down the config.toml options I am proposing something like this:
[node]
# networkMode options:
# "mock": use MockP2PNetwork
# "jvmlibp2p" : use JvmLibP2PNetwork
networkMode = "mock"
identity = "0x00"
timer="QuartzTimer"
networkInterface = "<IP_ADDRESS>"
port = 9000
discovery = "static"
bootnodes = ""
isBootnode = true
advertisedPort = 9000
contractAddr = "0x77f7bED277449F51505a4C54550B074030d989bC"
nodeUrl = "http://localhost:7545"

[dev]
constants = "minimal"
# when genesis time is set to 0, artemis takes genesis time as currentTime + 5 seconds.
genesisTime = 0
ownedValidatorStartIndex = 0
ownedValidatorCount = 16
startState = ""
#this.privKey.bytes().toHexString() who's corresponding sha2(publicKey) == 16Uiu2HAm8cQB9DcwMtaSVuHNiJEPSq9mXM6FHho7c55M6XN2P3EQ
privateKey = "0x08021221008166B8EF20C11F3A18F8774BF834173B07F64BAEDA981766896B4A8F53B52EDF"
#validatorsKeyFile = "keys.yaml"
naughtinessPercentage = 0
# normal, test, simulation
# "test" pre-production
# "simulation" to run a simulation of deposits with ganache-cli, if a inputFile is included the file will replay the deposits
# "normal" production, must include contractAddr and nodeUrl
mode = "test"
inputFile = "validator_test_data.json"
numValidators = 16
numNodes = 1

[output]
logPath = "."
logFile = "artemis.log"
transitionRecordDir = "/tmp/artemis"

[metrics]
enabled = false
port = 8008
metricsNetworkInterface = "<IP_ADDRESS>"
metricsCategories = [ "BEACONCHAIN", "JVM", "PROCESS" ]

contractAddr should not be in dev should it?

The interop header disappeared, does it means that it's now enabled/implemented_for_good by default?

contractAddr should not be in dev should it?

good call

The interop header disappeared, does it means that it's now enabled/implemented_for_good by default?

it will be. correct

@ajsutton - I'm planning to leave the [dev] options out of the doc.  Does that make sense or will they need to be included?

They may need to be included but not as the top priority.  They're useful for other client development teams trying to test interop with Artemis, but not for "normal" users.

Closing this as this round of tidy up is done. A bigger set of work on how to configure Teku needs to be planned out and added as individual issues.


Change text on start page, incorrect information

URL: https://dreams.kiezburn.org/
Issue mentioned by Waldo in this talk comment: https://talk.kiezburn.org/d/1b7JY3Wr/dreams-2020-stage-1-launch-dreamers-submit-dreams/16?fbclid=IwAR2_Z7pXTcc5Z2fnggAAdo1uEQPmP8rgih2Egnpcv1_W8MHQn3ajx0ciBso

This statement is incorrect. I believe this is also a blocker for release. Dreamers can register on the platform and submit their Dream. They just should register with the same email as used on Burner Tickets.
Suggested text: "Please register on this platform by using the same email as you will use to purchase a ticket. The ticketing team is working hard to start the ticket sale soon. Stay updated by signing up for the Kiez Burn Newsletter! Click here!"

Now I do understand... That this is actually currently the case. Only people who have a ticket can register. If that is the case, that needs to be changed. Everybody should be able to register / upload a dream, regardless of them having a 2019 ticket.

Yep, this has been fixed

Issue has not been fixed. Old text is still on platform.


Gradle JDK automanagement

Before this PR
No automanagement for the JDK used by Gradle.
After this PR
The initial PR for Gradle JDK automanagement, see: https://github.com/palantir/gradle-jdks/issues/333
A project will now contain the extra directory structure in the gradle/ directory.
project-root/
├── gradle/
│   ├── wrapper/
│   │   ├── gradle-wrapper.jar
│   │   ├── gradle-wrapper.properties
│   ├── jdks/
│   │   ├── <jdkMajorVersion eg.11>/
│   │   │   ├── <os eg. linux>/
│   │   │   │   ├── <arch eg. aarch64>/
│   │   │   │   │   ├── download-url
│   │   │   │   │   ├── local-path
│   ├── certs/
│   │   ├── Palantir3rdGenRootCa.serial-number # the fileName represents the certificate alias, the content is the serial number
│   ├── gradle-jdk-major-version
│   ├── gradle-jdks-setup.jar
├── subProjects/...

Based on the above scripts, we will install & setup the JDK using the following scripts/classes:
Adds a new script ./gradle-jdk-setup.sh that does the following:

Downloads the corresponding JDK distribution based on the majorVersion=gradle/gradle-jdk-major-version and the distribution_url=gradle/jdks/${majorVersion}/${os}/${arch}/download_url
Installs the distribution in a temporary directory
Calls the java class GradleJdkInstallationSetup with the currently installed java distribution; it will move the installation directory to$GRADLE_USER_HOME/${local_path} based on the local_path=gradle/jdks/${majorVersion}/${os}/${arch}/local_path and it will set up the certificates based on gradle/certs entries for the locally installed distribution
Sets up the JAVA_HOME and PATH env variables to the currently installed JDK

Adds the new class GradleJdkInstallationSetup that does the following:

moves the current java installation directory into the destination directory sent as an argument
sets up the certificates: it imports in the trustore of the dest JDK only the requested cert hat were found in the system trustore (based on the serial numbers);

==COMMIT_MSG==
[Part 1] Gradle JDK automanagement
==COMMIT_MSG==
next FLUPS:

patching ./gradlew to call ./gradle-jdk-setup.sh
if curl & wget are not installed, we could try to search for an installed java and use it to download & then set-up the desired jdk distribution (see: https://github.com/palantir/gradle-jdks/pull/305/files#diff-b43a6a48890fa88a6f76f47d3b3ac00c70432c5451f9551ee0d81e1f5db6ec7eR125)

Possible downsides?

:+1: Given the test name changes

:+1:


android how do build?

android how do build?

This should be easy but, since I was trying some time ago, I can say it isn't :smile:
Let me determine what needs to be done to compile against android:

First of all, we need to answer the following question:

:heavy_check_mark:  does glfw and sdl support android?ChatGPT: Yes, both GLFW and SDL support Android.
SDL has an official Android port and provides a simple interface for developing games and applications that run on Android devices. GLFW also has an Android port, which allows for the creation of cross-platform applications that run on multiple platforms, including Android.
Both libraries provide support for input handling, audio, graphics, and window management, making them suitable for game development and other interactive applications on the Android platform.

now we need to find android C and C++ compiler
we need to compile shared library for android (these from lib folder as well as glfw/sdl)
and finally some additional cgo flags may be necessary

and the command should be as follows
GOOS=android GOARCH=arm64 CC="<android c compiler>" CXX="android C++ compiler" go build .

ref: https://developer.android.com/ndk/guides/

@gucio321 Did you find an answer on this?

nope as I didn't need it yet
However I suppose it wouldn't work with glfw... (we'd need to add some other backend

should work with ebiten now just need to compile


Incorporate imported csv data into DataStore

After figuring out loading csv data, we need to put it to use. This includes finding values in our code that correspond to fastsim variables that have been loaded.

Rather, we incorporate the data into electric_car_properties/track_properties, and then into DataStore.

closing, imported data is passed around in a dict which is good enough for now


renderDotContent for multiple data sets

As per this issue
https://github.com/indiespirit/react-native-chart-kit/issues/210
I've managed to implement more of a hacky way to display the value of the point above the dot using the renderDotContent method I can do something like this:
data = [10,22,38,42,59,12]
...
renderDotContent={({ x, y, index }) => {
            return (
              <View
                style={{
                  height: 24,
                  width: 24,
                  backgroundColor: "#abc",
                  position: "absolute",
                  top: y - 36, // <--- relevant to height / width (
                  left: x - 12, // <--- width / 2
                }}
              >
                <Text style={{ fontSize: 10 }}>{data[index]}</Text>
              </View>
            );
          }}

however when the data set is a multiple set:
dataSet = [
{data: [1, 7, 6, 4, 2, 5]},
{data: [2, 4, 6, 8, 8, 2]},
{data: [9, 4, 7, 8, 2, 4]}
]

renderDotContent={({ x, y, index }) => {
            return (
              <View
                style={{
                  height: 24,
                  width: 24,
                  backgroundColor: "#abc",
                  position: "absolute",
                  top: y - 36, // <--- relevant to height / width (
                  left: x - 12, // <--- width / 2
                }}
              >
                <Text style={{ fontSize: 10 }}>{????}</Text>
              </View>
            );
          }}

There isnt an obvious way to know which dataset this renderDotContent belongs to - even better to solve this properly would be an additional prop passed with x,y,index of value

I know this is a complete crime, but you could add another index that initiates on every render and increments when rendering the dot content:
const MyChart = () => {
  const datasetIndex = -1;

  return (
    <LineChart
       ...
       renderDotContent={({ x, y, index }) => {
           if (index % 2 === 0) datasetIndex++;
           return ...; # using dataset[datasetIndex].data[index]
        }}
     />
  );
};

Thats worked perfectly - as said before its kind of hacky but it does work

As per this issue
#210
I've managed to implement more of a hacky way to display the value of the point above the dot using the renderDotContent method I can do something like this:
data = [10,22,38,42,59,12]
...
renderDotContent={({ x, y, index }) => {
            return (
              <View
                style={{
                  height: 24,
                  width: 24,
                  backgroundColor: "#abc",
                  position: "absolute",
                  top: y - 36, // <--- relevant to height / width (
                  left: x - 12, // <--- width / 2
                }}
              >
                <Text style={{ fontSize: 10 }}>{data[index]}</Text>
              </View>
            );
          }}

however when the data set is a multiple set:
dataSet = [
{data: [1, 7, 6, 4, 2, 5]},
{data: [2, 4, 6, 8, 8, 2]},
{data: [9, 4, 7, 8, 2, 4]}
]

renderDotContent={({ x, y, index }) => {
            return (
              <View
                style={{
                  height: 24,
                  width: 24,
                  backgroundColor: "#abc",
                  position: "absolute",
                  top: y - 36, // <--- relevant to height / width (
                  left: x - 12, // <--- width / 2
                }}
              >
                <Text style={{ fontSize: 10 }}>{????}</Text>
              </View>
            );
          }}

There isnt an obvious way to know which dataset this renderDotContent belongs to - even better to solve this properly would be an additional prop passed with x,y,index of value

hey @Trashpants when I use your code, the value of the point is render at x=0 y=0, but the code is identical to yours (and the X,Y is correct from the renderDotContent. Do you have any idea of how can I fix this?


Add 'CheckIndex' DDL to check data files without indices

What changes were proposed in this pull request?
Add DDL to check index:  check oindex on table
List data files which have no index files in each partition directory;
Check index of the same name between different partition directories
How was this patch tested?
unit tests

BTW, please also update the detailed PR description with correct grammar.

@Moonlit-Sailor
Seems code in the PR has been all covered by your recent PRs. Can we close it?

I will close this PR, since it is split and implemented by several prs #362,  #363, #364 and #371


Manifest Verification

Before materializing a schema1 manifest from JSON, ensure that contains equal
length History and FSLayer arrays.
This is required to prevent malformed manifests being put to the registry and
failing external verification checks.
Closes #1153
Signed-off-by: Richard Scothern<EMAIL_ADDRESS>

@endophage @stevvooe

Other than my one comment LGTM

LGTM

LGTM


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.15 to before v5.15.11",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c8a6153b6c59d95c0e091f053f6f180952ade91e",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e6c67560b4341914bec32ec536e931c22062af65"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "c8a6153b6c59d95c0e091f053f6f180952ade91e",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "e6c67560b4341914bec32ec536e931c22062af65",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "vduse: fix memory corruption in vduse_dev_ioctl()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.11 by commit e6c67560b4341914bec32ec536e931c22062af65, it was introduced in version v5.15 by commit c8a6153b6c59d95c0e091f053f6f180952ade91e. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002732


Remove version: 7S2P.Effie.CN version 3.0.5

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Response status code does not indicate success: 404 (Not Found).
(Automated message - build 553)

Hi @Exorcism0666,
This manifest adds Apps and Features entries that aren't present in previous PR versions. Should these entries also be added to the previous versions?
(Automated response - build 552.)


List of Azure services that support Managed Service Identity

I think the List of Azure services that support Managed Service Identity (first list) is not complete,
Azure SQL, Azure Storage (e. g. blob storage), data lake store support it as well..with -assignIdentiy you can provide an identity to these services

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

ID: 726adac9-1848-01a6-9586-842c81f820f7
Version Independent ID: 249db438-8c95-8e69-f69e-8e48fcd0b359
Content: Azure Services that support Managed Service Identity
Content Source: articles/active-directory/managed-service-identity/services-support-msi.md
Service: active-directory
GitHub Login: @daveba
Microsoft Alias: daveba

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

@jochenschroeer Thanks for reporting! I have assigned the issue to the author to investigate and update as appropriate.

@jochenschroeer Thanks for opening this issue.  I've opened an item in our backlog to update this document.  I'll respond to this issue once the table is updated.


Training as own collection

DESC

create as own collection
link primarily from collection --> to training
use netlify CMS relation https://www.netlifycms.org/docs/widgets/relation/
link to relation: https://answers.netlify.com/t/link-to-collection-item-specified-with-relation-widget/2493/5
https://dev.to/patricksevat/how-to-retrieve-all-fields-of-a-netlify-cms-relation-in-gatsby-5b36
(would need to work with hidden fields I guess - like date? --> maybe better is path?)

Conclusion(s)

linking to relation is not really supported by Netlify CMS --> req for workaround
as of  https://dev.to/patricksevat/how-to-retrieve-all-fields-of-a-netlify-cms-relation-in-gatsby-5b36 need to query during buildtime and pass markdownId during build time
titles HAVE TO BE UNIQUE - internal resolving via id is not well supported sadly -- relations will be resolved via title
links during production phase are not stable / guaranteed

TODOs

[x] check how to implement linking to other resources!
[x] implement relation toolkit-tool --> 1,* --> training

implemented


Release 1.1.0

Coordination

[x] develop has been posted to the CASE website prerelease builds.
[x] make check in case-utils has tested the prerelease state.
[ ] Documentation rendering workflow has been tested with the commit that bumps the versions.

I've done some testing offline with the documentation system, which got some updates deployed today but still needs some fixes to get 1.0.0 deployed.
Adding the analysis namespace requires an added copy-paste step, but there is otherwise nothing that will need to be done especially for 1.1.0.


Docs/Help:  persist installed packages configuration (not just values)

Hi everyone.
I am new in Helm and sorry to bother you. Maybe I am blind, but didn't find anything about how to persist installed packages configuration (not just values).
In my mind it should be something like:
- package: example/wordpress
  version: x.y.z
  namespace: wordpress-example
  values: # ...

Obviously I found info about storing values in files, but not packages (at least names and versions). Something like should be opportunity to call helm apply -f packages.yaml and restore cluster configuration.
Am I missing something? Shall I just contribute and create PR for that?

Found project: https://github.com/roboll/helmfile


Add support for RapidWright

Add support for using RapidWright instead of Vivado for design database querying.

Support for Design Querying via Rapidwright added. README includes new instructions for installing setring up, and running BFAT with the new functionality.


Require PhaseCreators in SoftwareDeliveryMachine constructor

They are required, so the builder pattern isn't a perfect fit.
Also, update README.md to reflect this.

Fixed


Standalone Kepler

Deploy Kepler in environment without Kubernetes
(0.5 release)

Able to monitor containerized as well as non containerized workloads.


fix: disabled customfield hide and historical view

Clickup
https://app.clickup.com/t/86cwvqd9b
Code Coverage
Please add code coverage here
UI Preview
Changed UI

Summary by CodeRabbit

New Features

Enhanced flexibility in retrieving expense fields by making parameters optional.
Improved handling of custom properties to include all inputs regardless of their enabled status.

Bug Fixes

Updated logic to ensure disabled custom inputs are correctly identified and marked with "(Deleted)".

Documentation

Added mock data for testing purposes to facilitate better development and testing processes.

Tests

Expanded test coverage for various components to ensure robust handling of custom properties and policy violations.
Updated tests to reflect changes in method signatures and enhance validation scenarios.

@sret-farhan2021 fix tests before merging in if they are not flaky


adding taucharts support

@jarutis this is for you :-D
Could you elaborate on the example, so we can get the interests. Also there will be other things to include like reactivity (using dataO.subscribe).
A few documentation line in the details.md, until we refactor it, would be lovely ^^

Many thanks. I'll add proper examples.


Data Pipeline and Path-Based Dependency Diagrams

Is there any time schedule for the features Data Pipeline and Path-Based Dependency Diagrams?

Approximately Q4'17 and Q1'18, respectively.

slightly off-topic but now we have a spak job which processes spans and creates dependency links: https://github.com/jaegertracing/spark-dependencies

Any update on this?

Is there any update on this issue ?

I am closing this as the path-based dependency diagram has been removed from the roadmap https://github.com/jaegertracing/documentation/pull/337/files#diff-589f45af23c715bf85555e66e549daa0L41.
@yurishkuro can provide more details.
Regarding the data pipeline Jaeger already supports Kafka which can be used as a data source for analytics pipeline. There is also a new project https://github.com/jaegertracing/jaeger-analytics-java which provides data analytics components for Jaeger.