[Missing SNMP Polling Profile] ServerTech Sentry4 PDU

Device Vendor: ServerTech
Device Model: Sentry4?
System Object Identifier (SysOID): <IP_ADDRESS>.4.1.1718.4
List of critical metrics that you expect in the profile (does not need to be all-inclusive, just a general idea of your expectations):

Uptime
Current/Wattage on a per port basis if possible
Power port status
Humidity sensor values
Model number
Serial number

Vendor MIB Download: https://www.servertech.com/support/sentry-mib-oid-tree-downloads
Gist Link:  https://gist.github.com/travisroberts-sf/65e7ddc8db5b3d4af87fd9139c6c7e17

@travisroberts-sf - can you please re-run your SNMP walk with the formatting applied to create numeric output so we can parse the results?
Instead of this:
SNMPv2-MIB::sysDescr.0 = STRING: Sentry Switched PDU

We need this:
.<IP_ADDRESS>.<IP_ADDRESS>.0 =  = STRING: Sentry Switched PDU

# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

Sorry about that.  The gist has been updated.
*TRAVIS ROBERTS *
Sr. Site Reliability Engineer | Salesforce
Mobile:<PHONE_NUMBER>
https://smart.salesforce.com/sig/travis.roberts//us_mb/default/link.html
On Fri, May 27, 2022 at 1:18 PM Zack Mutchler @.***>
wrote:

@travisroberts-sf https://github.com/travisroberts-sf - can you please
re-run your SNMP walk with the formatting applied to create numeric output
so we can parse the results?
Instead of this:
SNMPv2-MIB::sysDescr.0 = STRING: Sentry Switched PDU
We need this:
.<IP_ADDRESS>.<IP_ADDRESS>.0 =  = STRING: Sentry Switched PDU

v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out
v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out
—
Reply to this email directly, view it on GitHub
https://github.com/kentik/snmp-profiles/issues/321#issuecomment-1140003214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQX2ZZYSN7QFGSQMD6ZALFTVMEUZTANCNFSM5W7MRNWQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Possible to have two sources that do not mix?

I have found that in my workflow, the results from the nvim-lsp and the buffer sources are only useful in different and exclusive contexts. If there are results from the lsp source, I never want to autocomplete with something from the buffer.
Is it possible to add both of these soruces, but to only show results from the buffer source if there are no results from the nvim-lsp source?
When using for example gopls, this would allow me to autocomplete from the buffer when writing raw text in strings or comments, but not having to scroll through buffer results when autocompleting function names or variables.
Thanks

I think it is a good feature but we should consider it.
The candidate of the API is the following.
require('cmp').setup {
  sources = {
    {
      { name = 'nvim_lsp' },
    },
    {
      { name = 'buffer' },
    }
  }
}

Should we show all grouped sources if completion is invoked manually?
I wouldn't implement switching groups. Is this feature still useful?
Did you try set pumheight=10? Isn't this solution enough?

@hrsh7th  sometime I want a key to trigger 1 source only. It is similar to what completefunc on neovim did.
Sample if I  press <c-x><c-b> it will display item on buffer only  and <c-x><c-s> for snippet.
Thank you.


I think LibrePhotos just crashed my server

I have LibrePhotos running in a docker container and while connected to the box by SSH suddenly got disconnected. The machine has 8GBs of RAM and running an i5-8250u.
The box had to be rebooted by holding the power-on button. Checking journalctl -r -b -1 determined this:
jan 28 20:24:57 roy-SERVER kernel: oom_reaper: reaped process 474878 (python), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
jan 28 20:24:57 roy-SERVER kernel: Out of memory: Killed process 474878 (python) total-vm:6544688kB, anon-rss:3913448kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:9392kB oom_score_adj:0
jan 28 20:24:57 roy-SERVER kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/docker/d3e31e594b63d9b5fc939dd42cd3864ff90c03726f11f58>

Do you have a memory leak somewhere? I was scanning photos.

How many workers do you have? Do you have a very large picture? Both could cause a spike in ram usage.

How many workers do you have? Do you have a very large picture? Both could cause a spike in ram usage.

Just the default of 2 workers.
My pictures are not massive, all below 10MB.
I just installed librephotos and am still scanning them all for the first time. It has taken me about four days to scan all 50000 photos. The task seems to stall after a couple of hours so I stopped the scanning an restarted it.
It might be that some resources are not being releases/destroyed after I stop the scan.

Just the default of 2 workers.
My pictures are not massive, all below 10MB.
I just installed librephotos and am still scanning them all for the first time. It has taken me about four days to scan all 50000 photos. The task seems to stall after a couple of hours so I stopped the scanning an restarted it.
It might be that some resources are not being releases/destroyed after I stop the scan.

You know what? I think it did the same to my unRaid server.
8GB of RAM
2 workers
Lost all remote access and services. Will check when I get home

If this error occurs again and when you have some steps on how to reproduce the error, then please reopen the ticket.


fix command complete issues

Fix these issues:

:Pckr st<Tab> " will clear st
:Telescope buf<Tab> " will clear buf when Telescope was cond loaded by cmd('Telescope')

Thanks


Failing build Mraa

I'm trying to Install mraa on the Intel Edison running Miniconda with Python 3.7
I Clone the Repository, create the Build folder and execute following command:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=DEBUG -DJSON-C_INCLUDE_DIR=/home/root/miniconda3/envs/test/include/json-c/ ..
When running the Make command, i get the following Error:

/home/root/mraa/src/json/jsonplatform.c:31:25: fatal error: json-c/json.h: No such file or directory
#include <json-c/json.h>
^
compilation terminated.
src/CMakeFiles/mraa.dir/build.make:231: recipe for target
'src/CMakeFiles/mraa.dir/json/jsonplatform.c.o' failed
make[2]: *** [src/CMakeFiles/mraa.dir/json/jsonplatform.c.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'src/CMakeFiles/mraa.dir/all' failed
make[1]: *** [src/CMakeFiles/mraa.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

The error occurs with or without the -DJSON-C_INCLUDE_DIR=/home/root/miniconda3/envs/test/include/json-c/ option
Any Help please ?
Full Output.txt

Hi @Paraphase, for the Edison you don't need JSON platforms or the library so it's likely easiest to simply turn the option off completely with -DJSONPLAT=OFF.

Hi Propanu
Thanks for your reply, i'll test it tomorrow


Add explicit PortablePipelineOptions.enableHeapDumps to control heap dumping.

This changed to be enabled by default for portable MemoryMonitor class compared to Dataflow MemoryMonitor class.
This can lead to heaps being dumped and written when not intended if the common tempFileLocation is set for other reasons such as BigQueryIO.
Heap dumping can cause issues if the disk fills up due to them.
fixes #26979

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

[ ] 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.
[ ] 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.

Run Java_Pulsar_IO_Direct PreCommit


Fix self hosted yaml validation + new Kubeadm clusterIP range errors

depends on https://github.com/projectcalico/calico-containers/pull/1298
fixes #137
Fixes the following errors:
root@calico-01:/home/vagrant/kubeadm# kubectl apply -f calico.yaml
...
Error from server: error when creating "calico.yaml": Service "calico-etcd" is invalid: spec.clusterIP: Invalid value: "<IP_ADDRESS>": provided IP is not in the valid range

and
root@calico-01:/home/vagrant/kubeadm# kubectl apply -f calico.yaml
...
error validating "calico.yaml": error validating data: found invalid field annotations for v1.PodTemplateSpec; if you choose to ignore these errors, turn validation off with --validate=false

I think we should port the Service IP fix back to v1.6 to it works with the latest kubeadm.

OK - LGTM.


How add delimiter "/" in params with ?

Hi all,
I want to add params with delimiter "/":
<router-link :to="{name: 'abc', params: {slug: 'test1/test2'}}"></router-link>

or router.push
But It render /test1%2Ftest2 not test1/test2
Please help me force it.

You cannot use / as a delimiter inside a param because it's already used by URLs, so vue-router encodes it. You should use something else  like -, _, etc or split up the params in the route definition: path: '/route/:param1/:param2' so you can then do params: { param1: 'test1', param2: 'test2' }

Please, next time ask questions on the forum or StackOverflow.

Thanks very much.
I solved with params: {slug: ['test1', 'test2'].


Hook does not work

The hook descibed in the guides does not work (any more?) as it is documented. I called:
const auth = useAuth();

This is the result of auth, and as you can see, there is no profile, which is used in the hook-guide:

In the onSignIn after the login I do see the profile.

Did you set loadUserInfo to true?
<AuthProvider /* (Other options) */ loadUserInfo>
    <App />
</AuthProvider>

This issue seems to have gone stale.
I'm closing this now, but feel free to open a new issue or let me know if this should be reopened :)


Different Animation Interpolations and Funky Results

Got this example from DonMcCurry: 4 types of interpolations:
Archive.zip
When converted to USDZ:

Surprisingly Stepped Keys works!
Error message:
cubic spline interpolation not yet implemented!  Defaulting to linear for now...
There are few animations where up-down become left-right.
I think this is worth looking into.

Actually "stepped keys" is still not exactly stepped in USDZ. But as GLTF, it is really stepped. Maybe keying visibility is still not possible. I want to have 3D animation that works like GIF.

@enzyme69 I think the issue is because the source glTF file is using cubic spline interpolation, but that is not supported in usdz.  Technically, it only supports linear animation.  I bake the animation to support stepped animations, though I would have to add some additional logic to try baking cubic spline animations.  Though, since usdz is using linear animation, there may be some "jumping" behavior based on the frame rate set since this is kind of a workaround.
I'll make a separate issue to bake out cubic spline animations.


Test files missing from sdist tarball

Seems like some of the test files were forgotten in extra-source-files:
Running 1 test suites...
Test suite xdg-test: RUNNING...

XDG
  pure interpreter
    finds the data home
    finds the config home
    finds the state home
    opens a data file
    merges data files
    opens a config file
    merges config files
    opens a state file
    opens a cache file
    opens a runtime file
  IO interpreter
    opens a data file FAILED [1]
    merges data files FAILED [2]

Failures:

  test/Spec.hs:108:26:
  1) XDG, IO interpreter, opens a data file
       uncaught exception: ErrorCall
       Maybe.fromJust: Nothing
       CallStack (from HasCallStack):
         error, called at libraries/base/Data/Maybe.hs:148:21 in base:Data.Maybe
         fromJust, called at test/Spec.hs:108:26 in main:Main

  To rerun use: --match "/XDG/IO interpreter/opens a data file/"

  test/Spec.hs:112:53:
  2) XDG, IO interpreter, merges data files
       expected: Sum {getSum = 3}
        but got: Sum {getSum = 0}

  To rerun use: --match "/XDG/IO interpreter/merges data files/"

Randomized with seed<PHONE_NUMBER>

Finished in 0.0017 seconds
12 examples, 2 failures
Test suite xdg-test: FAIL
Test suite logged to: dist/test/xdg-basedir-compliant-1.0.2-xdg-test.log
0 of 1 test suites (0 of 1 test cases) passed.

Thanks a lot for the report, sorry I missed it for so long!


Remove GranadaLayout #2657

Project URL

Category

Description

Why it should be included to awesome-ios (mandatory)
Remove GranadaLayout #2657 (Lack of swift support).
Checklist

[ ] Only one project/change is in this pull request
[ ] Has unit tests, integration tests or UI tests
[ ] Addition in chronological order (bottom of category)
[ ] Supports iOS 9 / tvOS 10 or later
[ ] Supports Swift 4 or later
[ ] Has a commit from less than 2 years ago
[ ] Has a clear README in English

          1 Warning

:warning:
Found 3 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

1687
301
https://github.com/VirgilSecurity/virgil-foundation-x redirects tohttps://github.com/VirgilSecurity/crypto-x

2046
404
https://github.com/shubh10/JustHUD

2627
301
http://holko.pl/2016/01/05/typed-table-view-controller/ redirects tohttps://holko.pl/2016/01/05/typed-table-view-controller/

  Generated by :no_entry_sign: Danger


Send feature

Sometimes sending does not work, it just says network error.

Mostly sending works.
It fails if coin explorer api call meets limitation.


Alternative way to add onboarding steps

Maybe this could be useful to design each step on it's own class (extending OnboardingStep).

Thanks!


Fix active tab in settings under themes with dynamic backgrounds

Example of working correctly:

Example wrong background: (due to setting background as transparent gets the header background instead of the body background).

Also, a side note, the "Interface Options" icon shouldn't be an "email" icon.

[ ] Make interface icon something more relevant.


Fix test with proxy

What problem does this PR solve?
#299
What is changed and how does it work?
Check List
Tests

No code

Code changes

Has CI related scripts change

Side effects
Related changes
Does this PR introduce a user-facing change?:

NONE

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b2dfff0). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #309   +/-   ##
=========================================
  Coverage          ?   60.62%
=========================================
  Files             ?       40
  Lines             ?     2494
  Branches          ?        0
=========================================
  Hits              ?     1512
  Misses            ?      882
  Partials          ?      100

Continue to review full report at Codecov.

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

/merge

/merge

/merge

/merge

The score is updated, check it out at https://pingcap.com/community-cn/tidb-usability-challenge/


DeviceInfo.isHeadphonesConnected() always return false on Redmi 6

Bug
I'm wondering if this is related to some kind of version incompatibility or just whether I can expect it to work - does it look like isHeadphonesConnected() should return true under these circumstances? Thanks very much!

Environment info

react-native info output:
    OS: macOS Mojave 10.14.5
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 26.63 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.3.1 - /usr/local/bin/node
    Yarn: 1.16.0 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
  IDEs:
    Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
    Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4
  npmGlobalPackages:
    react-native-cli: 2.0.1
    react-native-rename: 2.4.1

Library version: 5.5.4
Steps To Reproduce

Plug in wired headphones to Redmi 6 running Android 8
run React Native application and log return value of DeviceInfo.isHeadphonesConnected()
...

Describe what you expected to happen:

DeviceInfo.isHeadphonesConnected() to return true

Reproducible sample code

import DeviceInfo from 'react-native-device-info';

areHeadphonesConnected();

export const areHeadphonesConnected = () => {
  DeviceInfo.isHeadphonesConnected().then(enabled => {
    // true or false
    console.log('areHeadphonesConnected', enabled);
  })
}

well, you certainly have a minimal reproducible example!
The sample app itself should reproduce this as well (it'll log that value) - have you tried with the example app? To be clear: I expect it to also have the problem - I do not actually think it will work where the code you posted above has a problem - just that if we know the example app shows it then I can test a few devices I have here as well, and you might be able to test others

Any more results?

Hi @mikehardy sorry for not replying sooner - I had problems getting the example app up and running - I'm going to try and test this asap, please leave the issue open and I'll come back to it as soon as I'm back on audio.

@mikehardy and @whenmoon
I am having this same issue on my iPhone XR. iOS 13.4. React native 60.5
I've tried all sorts of stuff and its always returned false. Let me know if you want me to test any certain circumstances.

Strange - I don't use this method personally so I have no experience with it. I'd check stack overflow and compare any recommendations there with our code to see if there's something wrong. Do you have it working with any other hardware + software combos? In the end if there's a problem someone on this thread will need to generate a PR for the fix

Yeah i actaully have already played aroudn with a few of hte suggestions that I have found on stackoverflow and continue to get false with different objective-c API's
But i'm going to keep playing around and I'll create a PR if I end up figuring it out

@mikehardy this actually seems to be related to being on a VOIP call at the same time.
This code works otherwise but when I'm on a call (I'm using https://github.com/blackuy/react-native-twilio-video-webrtc) it always returns false. I'm guessing there is something related to which audio track is being inspected

Fascinating! I know with Android you can enumerate devices and iterate to check status, I know that's totally different but is it possible to enumerate all tracks on iOS? I'm just thinking out loud and you've likely thought of everything in this area already since you're deep in it :-)
Am I correct in understanding that with the app not doing anything else and the phone just engaged in playing media or not, the current code works then? (just so I know where we are at)
Worst case if this isn't fixable we could at least update docs to reflect limitations

Ahh @mikehardy it was an easier fix that I would have thought
https://github.com/react-native-community/react-native-device-info/pull/1020
The portType changes when the VOIP call starts from a Bluetooth A2DP device to a Bluetooth Hands-Free Profile device and our check only accounted for A2DP. There are probably others we could/should include but there aren't clear examples of when those are returned so I left them out

@CaptainJeff solved at least one more class of headphone connectivity that was not handled on the iOS side but the original report here for Redmi 6 is still not handled. I will leave this open but it is tagged as needs information so it won't advance unless people help identify root cause and propose PRs - cheers

No response from submitter


Fix: multi-resource file convert to manifests.

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>

/assign @qiujian16

/assign @zhiweiyin318

/approve
/lgtm


Doesn't work if the Monaco editor is initialised with loader.js like CDN

Every example you have written, node js compile, then it works in brower.
I'm using the loader.js method to initialize Monaco Editor. Which doesn't compile, instead it loads files like cdn.
Here you can see it in action How to initialize Microsoft Monaco editor in a browser using simple JavaScript or jQuery
How do I use monaco-tailwindcss with this method?
This plugin https://www.npmjs.com/package/@monaco-editor/loader also does the same thing but in different style than the one mentioned above.
Here is also another example How to run the Monaco editor from a CDN like cdnjs?

configureMonacoTailwindcss accepts the Monaco editor module as its first argument. I see this is missing from the documentation in the readme. Based on the examples you linked, you should be able to use the following:
import { configureMonacoTailwindcss } from 'monaco-tailwindcss';

require(['vs/editor/editor.main'], () => {
  configureMonacoTailwindcss(monaco, { /* options */ })
})

I personally don’t use it like that, so I’m curious to see if it works for you.
It’s the same when using @monaco-editor/loader:
import loader from '@monaco-editor/loader';

loader.init().then((monaco) => {
  configureMonacoTailwindcss(monaco, { /* options */ })
})

Just wondering, don't I need the worker also to work? or will it work without the worker?

Just as I suspected. Tailwindcss worker not found.
zone.js:1061 Unhandled Promise rejection: Not Found ; Zone: <root> ; Task: Promise.then ; Value: Error: Not Found
    at workerMain.js:6:14682 Error: Not Found
    at http://localhost:4200/assets/monaco-editor/min/vs/base/worker/workerMain.js#tailwindcss:6:14682

Ah yes, as you found out you really do need to configure the worker. It contains most logic.
I suspect Monaco editor from the CDN already sets MonacoEnvironment, so you need to patch it.

Yes, Since I work on Angular, I was finally able to make it work without webpack.config.js by setting the window.MonacoEnvironment.
There is just one issue.
require(['vs/editor/editor.main'], () => {
  configureMonacoTailwindcss(monaco, { /* options */ })
})

Since I'm loading after the editor.main file load, it's working perfectly.
But when I call the configureMonacoTailwindcss function again to update the tailwind config, it regenerates the color picker and autocomplete list multiple times. In this case, I updated it twice, so it's showing three color pickers. First time when it loads, then every time when I update the tailwind config.

Good to hear!
To update the tailwind config, you could simply call setTailwindConfig. I.e.:
require(['vs/editor/editor.main'], () => {
  const monacoTailwindcss = configureMonacoTailwindcss(monaco, { /* options */ })
  monacoTailwindcss.setTailwindConfig({
    theme: {
      extend: {
        colors: {
          lava: '#b5332e',
          ocean: {
            50: '#f2fcff',
            100: '#c1f2fe',
            200: '#90e9ff',
            300: '#5fdfff',
            400: '#2ed5ff',
            500: '#00cafc',
            600: '#00a3cc',
            700: '#007c9b',
            800: '#00546a',
            900: '#002d39'
          }
        }
      }
    }
  })
})

I'm facing some issues by using monaco from cdn, because the monaco is trying to fetch worker from cdnjs instead. Do you have something in mind that I could set to monaco to fetch monaco-tailwind worker from<EMAIL_ADDRESS>?
The error:
errors.ts:26 Uncaught Error: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at
'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.47.0/min/monaco-tailwindcss/tailwindcss.worker.js'
failed to load.

let configureMonacoTailwindcss, tailwindcssData;
if (IS_BROWSER) {
  // need this because deno import the module and document isn't defined in the server.
  const monacoTailwind = await import(
<EMAIL_ADDRESS>  );
  configureMonacoTailwindcss = monacoTailwind.configureMonacoTailwindcss;
  tailwindcssData = monacoTailwind.tailwindcssData;
}

const VERSION = "0.47.0";
const MONACO_CDN = "https://cdnjs.cloudflare.com/ajax/libs/monaco-editor";

const init = () => {
  const id = "monaco-loader";
  const elem = document.getElementById(id);

  if (elem) return;

  const script = document.createElement("script");
  script.id = id;
  script.src = `${MONACO_CDN}/${VERSION}/min/vs/loader.min.js`;
  script.type = "text/javascript";
  script.onload = () => {
    // runs on second load
    if (monaco.value) {
      return;
    }

    globalThis.window.require.config({
      paths: { vs: `${MONACO_CDN}/${VERSION}/min/vs` },
    });

    globalThis.window.require(["vs/editor/editor.main"], () => {
      const m = globalThis.window.monaco;

      window.MonacoEnvironment = {
        getWorkerUrl(moduleId, label) {
          if (label === "tailwindcss") {
            return<EMAIL_ADDRESS>          }

          return `${MONACO_CDN}/${VERSION}/min/vs/language/${label}/${label}Worker.min.js`;
        },
      };

      configureMonacoTailwindcss && configureMonacoTailwindcss(m);

      monaco.value = m;
    });
  };

  document.body.appendChild(script);
};

I'm also trying it to work here: https://codepen.io/Igor-Brasileiro/pen/vYMWPKo?editors=0011

The error:
errors.ts:26 Uncaught Error: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at
'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.47.0/min/monaco-tailwindcss/tailwindcss.worker.js'
failed to load.

Have you found a solution to this? I'm facing the same issue. It seems to be coming from monaco's worker. I guess that tailwindcss is communicating its worker's url to monaco's but somehow, monaco decides to append it to its own baseUrl. Or for some reason, monaco picks up the presence of tailwindcss, when it shouldn't, and does thing as if it was supposed to handle it.
Something to note is that the tailwindcss worker's url in the error is the default one. In my implementation, I use a custom worker file. I would expect to find that file's path appended to the failed request, but it's not.


Swap Lastcheckin and lastevent (Motion/press/open etc)

Doing so means the the recently tab will look complete (My OCD is kicking in) as we can add the heart beat icon
            tileAttribute("device.lastCheckin", key: "SECONDARY_CONTROL") {                 attributeState("default", label:'Last Update: ${currentValue}',icon: "st.Health & Wellness.health9")             }
Example of DH will look like

Current Recently Tab looks like

What it will look like with the change

Battery checkin now removed from recently tab in #83


Please Update To 1.20.1

Please update this mod to 1.20.1 when you have time.

I did an update myself, have a look:
https://github.com/FireInstall/BackTools/releases/tag/1.20

I updated it a few days ago.


Find Location for Meetup January 2023

Candidate 1:

Provider: IDCloudHost
Location: Elitery Data Center
Capacity: 30 Person

Candidate 2:

https://www.instagram.com/indigospace.bogor
initiate by DM on IG


#14930 bigquery support for pk, fk and column view description

Describe your changes:
Fixes #14930

I worked on adding primary , foreign key constraint and column view description.

Type of change:

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

this line already handles column view description.


Disable Color for Compare and Compare Headers

This PR adds feature that disables color for the "Compare" and "Compare Headers" functions in the application.
Issue Fixed:#4
@shivamsouravjha, could you please review this PR?

Hi @ayush3160 @shivamsouravjha , I hope you're doing well! Could you kindly let me know if there’s anything I can improve  to help get it merged?


Map Rework

Map rework, setting as draft for now as we may change stuff using graphics from the upcoming league.
This is mostly setting the stage for those changes.
Example:

Not sure if you've seen, but Mod West just posted an updated pixel map on twitter, would be amazing if you could use it for the rework
https://x.com/JagexWest/status/1861743301818286413


[FIX] Handle responses errors

I think json_decode is better to handle responses APIs .
"toArray" method will throw exception when status code >= 300 .

So, first of all thanks and I do agree that error handling is currently not in great shape.
the code that you added is mostly sitting on top of the expected json/array structure - which is a valid addition, but i doesn't help with 4xx/5xx situations, since everything is converted to a runtime exception and context of the original error or unexpected behavior would get lost.
i consider the structural changes that you check and error handling with RuntimeException a valuable addition, but would still keep the toArray() with throwing exceptions. nevertheless, this should be improved but rather in a different layer. and without loosing the original exception information.
this was the original handling, which is broken since i introduced the AsyncResponse i guess...
https://github.com/php-llm/llm-chain/blob/main/src/Platform.php#L44-L54

Thank you for your review and your feedbacks @chr-hertel. I applied your suggestions


Missing documentation for 'formValuesToJsonValues'

It looks like yall are trying to put this function in to the repo so it simplifies for those looking to implement your library. I have come across your library and I am using it for my SaaS platform. Its been good so far pretty straight forward with good enough documentation. How ever I am stuck on shaping the jsonValues in regards to the group-array type so I can get some validation running. Everything else is working fine with validation and errors for my form except for the nested inputs inside my group-arrays. How should I approach this or can you get me a developer preview on what the 'formValuesToJsonValues' function is going to look like that y'all are planning to ship with the library.
Example of Json Values I'm passing to handleValidation:
{     "club_code": "Dallas - Uptown",     "team_member_last_name": "d",     "team_member_email"<EMAIL_ADDRESS>    "team_member_street_address": "409 St",     "team_member_city": "Bville",     "team_member_state": "AK",     "expense_details": [         {             "amount": "32324",             "receipt": "<redacted url>"         }     ] }
The group array expense_details has 5 required fields and the overall form has many required fields and returns back
{     "team_member_first_name": "Required field" }
Which is accurate for the main part of the form its just not validating my group-array.
Any assistance on this would be greatly appreciated. Also happy to provide more details as needed. Thanks.

The issue came down to me missing the type: "array" property on the group-array object when defining the form. But some better documentation around how the formValuesToJsonValues should work as well as the expected shape of the data getting passed into the handleValidation function would definitely be beneficial to the DX of when using your library.

Hi @rymeier!
You are totally right, the formValuesToJsonValues needs better docs and examples.
But I must confess I didn't understand clearly your question. Was it about knowing the return shape of formValuesToJsonValues() or was it about knowing how to write the JSON Schema itself?
Could you share a sample of the JSON Schema that you have built?
If I understood correctly, you found out the bug: in your json schema it was missing type: "array" in the group-array field (expense_details).
Our backlog has a task to add more dev validations to the JSON Schemas structure (eg warn when a type is missing). That would have saved you from being stuck.

Oh ya some more schema validation for missing properties definitely would have caught the silly mistake.
What I was originally asking for was the shape of the object returned by the formValuesToJson but seeing as it's really just looking for json maybe just some clarity and an example input into the function and how it should look after the fact. Something more real world would add confidence to the developer that they are understanding and building out that function correctly. Also sounds like you all might be adding that functionality into the library which would be stellar.

Yes, we will. For transparency, I'll keep this issue open until the formValuesToJson is documented and/or released.


Create a Tweet Bot that Tweets When a Tree is Adopted

To help amplify engagement there should be a tweet bot created that tweets every time a tree is adpoted. You could even add the geo coords to the tweet...maybe?

We will need an adopt-a-tree Twitter account setup, then we can get an API key, then we can tweet for many different events.
Do we have a Twitter account to use?
http://blog.benmorgan.io/post/79339120263/how-to-use-the-twitter-api-for-ruby-on-rails

This could also be managed by polling for events


adds code to generate data for upgrade test

Adds a disabled integration test that will generate data for an upgrade test.  This is intended to be used manually in the following way.

Checkout version 3.1.x
Run UpgradeGenerateIT which will generate instances test/target/upgrade-test
Checkout version 4.0.x
Run mvn package (not clean)
Run UpgradeIT which will upgrade and verify the instances in test/target/upgrade-test

UpgradeIT does not exist in this commit, its added in #4719

I attempted the approach of zpping the output of generating an accumulo instance for upgrade testing so that it could be placed in test/resources.  However this was problematic because accumulo metadata contains absolute paths making it not relocatable.  So decided to go with the approach of running the 3.1 and 4.0 code on the same system and same directory manually now for upgrade testing.


Not sure if this is an issue

I was looking for some Unity Scene transitions and came across this and it looked interesting.  Downloaded, unzipped and opened it in Unity 2017.1.1f1

Unity warned me that this was last opened with Unity 2017.2 and I could have problems
When it opened I received 47 errors such as
"Assets/Examples/Sequencit/Sequencing1.cs(3,15): error CS0234: The type or namespace name Extensions' does not exist in the namespace Silphid'. Are you missing an assembly reference?"

"Assets/Examples/Sequencit/Sequencing1.cs(4,15): error CS0234: The type or namespace name Sequencit' does not exist in the namespace Silphid'. Are you missing an assembly reference?"
"Assets/Examples/Sequencit/Sequencing1.cs(6,7): error CS0246: The type or namespace name `UniRx' could not be found. Are you missing an assembly reference?"
"Assets/Examples/Showzup/Application/AppInstaller.cs(1,7): error CS0246: The type or namespace name `log4net' could not be found. Are you missing an assembly reference?"
Essentially the following could not be found:

namespace name `Extensions'
namespace name `Sequencit'
namespace name `UniRx'
namespace name `log4net'
namespace name `Loadzup'
namespace name `Injexit'
namespace name `RootInstaller'
namespace name `Variant'
namespace name `ViewModel'
namespace name `View'
namespace name `IInjectionAdapter'
namespace name `SerialDisposable'
namespace name `BoolReactiveProperty'
namespace name `Unit'
namespace name `ILog'
namespace name `Manifest'
namespace name `NavigationControl'
namespace name `SelectionControl'
namespace name `IContainer'

plus the following:
Assets/Examples/Showzup/Application/AppInstaller.cs(28,33): error CS0115: `App.AppInstaller.Configure()' is marked as an override but no suitable method found to override
Assets/Examples/Showzup/Application/AppInstaller.cs(105,33): error CS0115: `App.AppInstaller.Complete()' is marked as an override but no suitable method found to override
Not sure if I did something wrong, but I gave up.  I will leave it to you to figure this out.
Let me know if I missed doing something.
Regards,

Hello TG-one!
You seem to be using a very outdated version of the framework. I just released yesterday the first production-ready version of the framework (v2017.3.1), which should be much easier to setup and use:
https://github.com/silphid/silphid.unity/releases/latest
There is also a new documentation website here, with improved setup instructions:
http://silphid.com/silphid.unity/
If you are looking for a system to transition between arbitrary scenes, this might not be the solution your are looking for. The transition system in Silphid.Unity is intended to transition between different UI pages, not arbitrary scenes with 3D object.
Hope this helps! :)
Regards,
Mathieu


Replaced Text in content and footer with Link button for DMs

Replaced text in message content / embed footer in DMs with a link button as it is done across other popular bots on discord, making dms look cleaner.
The link button  takes the user to the server and has the name of the server

Will this allow the use of footers within a DM embed?

Will this allow the use of footers within a DM embed?

Yes.

Update:
I have moved it to a much neater method where every dm will have a permanent button attached to it, and clicking it will send an ephemeral response with details


Allow override of webpackJsonp behavior

Feature request: provide API to hook into webpackJsonp
What is the current behavior?
When using code splitting, Webpack uses webpackJsonp function to load chunks asynchronously in a browser when a code path that requires that chunk is invoked. On the server Webpack does not do anything for loading async chunks because it doesn't know what to do.
What is the expected behavior?
Provide an API for overriding webpackJsonp behavior so users can hook into it and inject async chunks in HTML that server returns.
If this is a feature request, what is motivation or use case for changing the behavior?
Making code splitting with async routes is very hard. Solutions like webpack-flush-chunks seems way too hacky for doing something simple like this.
Question: when targeting node does web pack do anything different for async chunks?

when targeting node does web pack do anything different for async chunks?

yes, it uses require (target node) or fs + vm (target async-node) to load chunks.

You can override the __webpack_chunk_load__ function in a bundle to hook into the chunk loading behavior.

@sokra Thanks a lot of pointing to __webpack_chunk_load__ I was able to hook into it and generate my side-effects (adding chunk scripts to index.html).
The only problem is, once a chunk is loaded, webpack won't call my __webpack_chunk_load__ again. How can I unload a chunk? I see installedChunks object in Webpack bootstrap but there isn't a public API to it.

__webpack_chunk_load__ is always called.
import("abc") generates code like this: __webpack_chunk_load__(17)

@mohsen1 could you go a bit into detail on how you overrode __webpack_chunk_load__?
thanks in advance

You can check https://github.com/lyft/universal-async-component for that

@mohsen1 I don't see any usage of __webpack_chunk_load__ in that repo


Found some issues, Not sure if it is pickle or JSON

There are a few issues still, namely flakey and one about recursvie dictionaries. Pushing up to sync with the team

While it contains some error, we almost have to accept them to continue moving forward. Merging.


[Request for External] "Master Data Full Synch. R. Ln." - Generate() and Start()

Describe the request
We would like to request the change of function scope from Internal to Global.
Currently the Master Data Managenent extension has a lot of internal procedures and can hardly be used for extension development. We would like to setup the tool for our customers from code. For this we need 2 function scopes changed.
Extension: Master Data Management
Object: table 7233 "Master Data Full Synch. R. Ln."
We would like to request the following 2 interal function to be changed to global so that they can be used for extension development.
internal procedure Generate(var InitialSynchRecommendations: Dictionary of [Code[20], Integer]; SkipEntitiesNotFullSyncReady: Boolean; DeletedLines: List of [Code[20]])

internal procedure Start()

Additional context
We would like to setup the tool for our customers from code. Currently the extension Master Data Mangement is very closed and extensibility is very limited.
Internal work item: AB#500603

This is checked in and will be available in Business Central 24.1. I have also added an event in codeunit "Master Data Management". This is raised when Master Data Full Synch Review Lines are generated. Append your custom mappings to the filter so that the custom tables are included in the initial synch. Remember to set "Dependency Filter" on the mapping, to specify which one should it run after (this applies only to the initial synch - delta synch runs randomly, as changes happen in the source).
[IntegrationEvent(false, false)]
internal procedure OnAfterSetIntegrationTableMappingFilterForInitialSynch(var IntegrationTableMappingFilter: Text)
begin
    // append the names of the custom table mappings to the IntegrationTableMappingFilter: it is an 'or' filter, so concatenate the names by |
end;

Availability update: We will publish a fix for this issue in the next update for release 24.
Build ID to track: 18092.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 18090.


ESP32 MAC not reacting to received signals (IDFGH-11399)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hi,
For a project I am using the lan8671 phy for SPE 10base-T1S in point to point mode but, I have some issues. I am using the ESP32 devkitc V4 with ESP-IDF V5.1.1.
The issue is when I am trying to ping another board I can see the rmii TX signals with the oscilloscope and can see them arrive on the other board so it looks the phy is working but the ESP doesn't react to it. I think I configure the mac the correct way following the example from the esp-idf website. the signals look like arp request is it maybey possible that there are more configurations needed for point to point?
`
static eth_mac_config_t mac_config = ETH_MAC_DEFAULT_CONFIG();
mac_config.flags = ETH_MAC_FLAG_PIN_TO_CORE;
static eth_esp32_emac_config_t esp32_emac_config = ETH_ESP32_EMAC_DEFAULT_CONFIG();
esp32_emac_config.smi_mdc_gpio_num = 4;
esp32_emac_config.smi_mdio_gpio_num = 5;
esp32_emac_config.interface = EMAC_DATA_INTERFACE_RMII;
esp32_emac_config.clock_config.rmii.clock_gpio = 0;
esp32_emac_config.clock_config.rmii.clock_mode = EMAC_CLK_EXT_IN;

mac->set_speed(mac, 0); //Configure mac speed to 10Mbit
mac->set_duplex(mac, 0); //Configure mac to half duplex

eth_phy_config_t phy_config = ETH_PHY_DEFAULT_CONFIG();
phy_config.phy_addr = 0x00;
phy_config.reset_gpio_num = 15;

esp_eth_phy_t *phy = esp_eth_phy_new_lan867x(&phy_config);

esp_eth_config_t config = ETH_DEFAULT_CONFIG(mac, phy);

static esp_eth_handle_t eth_handle = NULL;

esp_err_t err = esp_eth_driver_install(&config, &eth_handle);
ESP_LOGI(TAG, "Ethernet Driver install: %s", esp_err_to_name(err));

esp_event_loop_create_default();
esp_netif_init();
esp_netif_config_t cfg = ESP_NETIF_DEFAULT_ETH();
esp_netif_t *eth_netif = esp_netif_new(&cfg);

err = esp_netif_attach(eth_netif, esp_eth_new_netif_glue(eth_handle));
ESP_LOGI(TAG, "esp_netif_attach: %s", esp_err_to_name(err));

esp_netif_ip_info_t ip;
const char* ip4 = "<IP_ADDRESS>";
const char* gw = "<IP_ADDRESS>";
const char* netmask = "<IP_ADDRESS>";
esp_netif_dhcpc_stop(eth_netif);
memset(&ip, 0, sizeof(esp_netif_ip_info_t));
ipaddr_aton((const char *)ip4, &ip.ip.addr);
ipaddr_aton((const char *)gw, &ip.gw);
ipaddr_aton((const char *)netmask, &ip.netmask);
esp_netif_set_ip_info(eth_netif, &ip);`

The event does trigger that it got an IP address.
Thanks in advance

What is the source of the REF RMII CLK for the PHY?
BTW: just a teaser, we are preparing a demo with 10base-T1S. It will be ready soon :)

Oh nice. but the only difference is the phy right?
I am using a external 50mhz clock source (https://www.we-online.com/components/products/datasheet/831056249.pdf).
I also desolderd it and tried to clock it from the esp itself but no difference. the MDIO lines are working and I can write and read to the registers.

We use LAN8670 for the demo.
Regarding your issue,  what is you test setup? Two ESP32's with LAN8671 - one ESP as DHCP server and the other one as DHCP Client? If so, you need to start DHCP server in ETHERNET_EVENT_CONNECTED event. I don't see the DHCP start in your code snipped.

I don't use DHCP. my test setup is indeed two esp's connected together one doing icmp and the other one programmed like above.

Try to increase debug level or change this line to see if your device receives Ethernet frames.

If i change that line it doesn't print anything. I changed it to ESP_LOGE(TAG, "receive len= %d", recv_len);

So i changed that line to ESP_LOGI(TAG, "receive len= %d", recv_len); but it didn't print anything so added ESP_LOGI(TAG, "RX-task running"); to here and it also doens't print that so does that mean the whole rx task isn't running?

The Rx task is blocked and it waits for interrupt form EMAC and it is released once the EMAC receives a data. It indicates you that no data is received.
Unfortunately, I cannot help you without seeing your complete code. However, going over it would be duplication of work for me since we're working on the driver too. We're almost there, we're able to send/receive. We just need to polish it and prepare demo. Could you please wait a week?

Okay thanks for the help. I can wait a week could you please inform me or something when it is ready and how i can test it out?

@ThijsvanBovene, I'll let you know once the driver is ready.

@kostaond Hi, Just want to ask how it is going with the driver. is there maybey a beta version?

@ThijsvanBovene, please check https://github.com/bogdankolendovskyy/esp-eth-drivers/tree/lan867x/lan867x. However, keep in mind that it's work in progress.

@ThijsvanBovene, please check https://github.com/bogdankolendovskyy/esp-eth-drivers/tree/lan867x/lan867x.
However, keep in mind that it's work in progress. If you have any questions or suggestions, they are very welcomed.

https://github.com/bogdankolendovskyy/esp-eth-drivers/pull/1
We already have devices on esp32 with lan8671 and can do any tests :)

@adeepn what silicon revision do you have?

@adeepn what silicon revision do you have?

B1

So i used the server example for the lan867x but,  when i upload it the got ip event doesn't trigger. But it does say ethernet attached to netif.

So i used the server example for the lan867x but, when i upload it the got ip event doesn't trigger. But it does say ethernet attached to netif.

You wouldn't see IP event on server... It has static IP and it is not reported.
Once you connect the second device, the client, you should see:
I (402) esp_eth.netif.netif_glue: ethernet attached to netif
I (3102) ethernet_init: Ethernet(LAN867x[23,18]) Started
I (3102) ethernet_init: Ethernet(LAN867x[23,18]) Link Up
I (3102) ethernet_init: Ethernet(LAN867x[23,18]) HW Addr 08:3a:f2:31:20:f7
I (67852) esp_netif_lwip: DHCP server assigned IP to a client, IP is: <IP_ADDRESS>
I (67852) lan867x_example: Assigned ip <IP_ADDRESS> to a connected device.

ohh oke I will try that thank you

Hi,
So i have tried getting the examples to work but no success yet. I have a few questions.
when I run the server example I have added that it needs to blink a LED but, it doesn't do that so it doesn't come in the while loop. is that normal like is it waiting for a first client and than it continues to the while?
what K config settings are you using? I changed my mdio pins and it does come through the init so it looks like it is working but maybey there are other settings i need to change.
what version of ESP-IDF are you using? i am using 5.1.1

IT WORKSSSS!!!!

@ThijsvanBovene what was the issue?

@kostaond I have 3 boards i think 1 is broken(it still doesn’t work). And i added a 100ohm resistor on both cable ends and uploaded and it started working.
Although i still have a question about the driver: i see that with custom_crtl it is should be possible to set plca and other registers but those register acording to the datasheet need to be controlled via MMD. But i don’t see that in the software.

@hijsvanBovene very good point. I'll discuss with my colleague. We haven't tested PLCA yet because we also started with 3 boards and one is broken :D We're waiting for new one, it's slow process... Anyway, really appreciate your input!

@ThijsvanBovene, @adeepn, feel free to review - https://github.com/espressif/esp-eth-drivers/pull/19

The LAN867x is available at https://github.com/espressif/esp-eth-drivers


Bigger article thumbnails

up articles thumbnail picture size
if perf issue, see:
https://github.com/web2py/web2py/issues/2023

this is a «cosmetic» change that caters for the storage of better quality thumbnails for articles ; the code currently performs image size reduction to 150x150 prior to storing in a blob in the db ; we could store bigger images.

Closing: obsoleted by PR#256


i3: support for workspace_layout option (default container layout)

Thanks! Rebased to master in 15bca92b2c7d8f0a709bbc9fcb8a005c7c38c092.


PR review DAG pinging on PRs with requested changes

Description

https://github.com/WordPress/openverse-frontend/pull/1405#issuecomment-1214477746
This doesn't seem like it should happen, if the requested changes aren't dismissed or addressed yet.
We could add the check with the approval count check: https://github.com/WordPress/openverse-catalog/blob/main/openverse_catalog/dags/maintenance/pr_review_reminders/pr_review_reminders.py#L212-L216
Resolution

[ ] 🙋 I would be interested in resolving this bug.

We've decided to solve this via process changes, namely, drafting PRs in this situation. The repeated pings are still useful in this situation and drafting is an explicit change, rather than just suddenly going silent on the reminders.


HDFS-15047. Document the new decommission monitor (HDFS-14854).

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
2m 48s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  1s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
18m 30s
trunk passed

+1 :green_heart:
mvnsite
1m  9s
trunk passed

+1 :green_heart:
shadedclient
32m 17s
branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  6s
the patch passed

+1 :green_heart:
mvnsite
1m  4s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
13m 21s
patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 31s
The patch does not generate ASF License warnings.

52m 51s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1755/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1755

Optional Tests
dupname asflicense mvnsite markdownlint

uname
Linux 4906467b7026 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / c174d50

Max. process+thread count
412 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1755/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
18m  2s
trunk passed

+1 :green_heart:
mvnsite
1m 19s
trunk passed

+1 :green_heart:
shadedclient
31m 57s
branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  2s
the patch passed

+1 :green_heart:
mvnsite
1m  4s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
13m  8s
patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 32s
The patch does not generate ASF License warnings.

50m  1s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1755/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1755

Optional Tests
dupname asflicense mvnsite markdownlint

uname
Linux a5f77dcc62cf 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / b56c08b

Max. process+thread count
419 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1755/2/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Thanks for the review, @goiri .


chore: bump version to 0.86

Checklist

[X] Used a personal fork of the feedstock to propose changes

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Dockerize this

Hi,
I really like the project, however it would be awesome if this would be dockerized.

dockerized in v0.1-b.10, instructions for setting up in Docker are in the readme


Can I train the model using my custom dataset?

Good Job, Bro!
Can I train the model using my custom dataset?

Yes, you can. Pre-trained weights are stored in HOME/.deepface/weights/ folder. If you update pre-trained weights in this folder, then you will use your own model.


More detailed testing 1st step

Currently, the Groovy tests with the Contract object perform very weak testing. By using the Sample Project it is possible to do some integration testing. Enable this in the CI to ensure the project works also when it is actually being used.

This is done. Now, we have a test helper class that performs equals on all child members that are important.


Refactor symbol names in MQTTESP8266

Many function names in the MQTT client port don't have a common prefix (NewNetwork, ConnectNetwork, Network, expired, left_ms), and they all reside in a global namespace. This can lead to confusion, and overshadowing by local variables and functions. If it's okay with maintainers, I can open a PR with these symbols renamed to either camelcase format (MQTTNetwork, MQTTNetworkNew, MQTTNetworkConnect) or “snake case” (mqtt_network_t, mqtt_network_new, mqtt_network_connect).

I think that is a good idea. Please sync with @baoshi who did the MQTT port.

Could you please elaborate on syncing? Should I ask @baoshi to do the renaming? Or create a PR against his MQTT repo and port the changes here afterwards?

FWIW, I agree on both counts, but I think some of this also goes back to the Eclipse Paho MQTT C port which provides names for some of the functions. So I think we need to change both esp port-specific names and the names used by that project.
@baoshi may have some ideas on the best way to go forward with this. I guess just renaming everything and moving away from the Paho MQTT names is the best option for clean namespacing.

I guess just renaming everything and moving away from the Paho MQTT names is the best option for clean namespacing

I guess we can have “snake case” names then, because e-o-r core API uses it.

#204


v3 migration behavior difference

given a schema such as

type Query {
    hello: String

    migrationDefaultQuery: MigrationDefaultType
}

type MigrationDefaultType {
    firstField:String
    default:String
}

and a query such as
query Bug{
    migrationDefaultQuery {
        firstField
        default
    }
}

We have a difference in generated classes comparing apollo v2 vs v3
v3 with codegenModels.set("compat")
app/build/generated/source/apollo/sse_poc/au/com/woolworths/example/graphqlsse/ssepoc/BugQuery.kt

  public data class MigrationDefaultQuery(
    public val firstField: String?,
    public val default: String?
  )

v2:

  data class MigrationDefaultQuery(
    val __typename: String = "MigrationDefaultType",
    val firstField: String?,
    val default_: String?
  ) {
    fun marshaller(): ResponseFieldMarshaller = ResponseFieldMarshaller.invoke { writer ->
      writer.writeString(RESPONSE_FIELDS[0]<EMAIL_ADDRESS>      writer.writeString(RESPONSE_FIELDS[1]<EMAIL_ADDRESS>      writer.writeString(RESPONSE_FIELDS[2]<EMAIL_ADDRESS>    }

Apparently skipping codegenModels.set("compat") does not change behavior
======
Such difference may seem minor at first glance, but since we use kapt to inspect apollo generated classes, there seems to exist some special treatment by the kotlin language itself if there's a data class with a field called default. I expect to get more details on bytecode surprises soon.

Good catch. default is a reserved word in Java but not in Kotlin. The escaping in v3 is done for Kotlin reserved words only but you're right that might confuse kapt.
kapt in general has multiple issues so if you can I'd recommend trying to move to ksp instead but I understand this might not always possible.
For the cases where it's not possible, we could add a escapeJavaKeyWords option, maybe even detect kapt automatically in the Gradle plugin and set the option accordingly.

Also, as a quick workaround, you can use aliases:
query Bug{
    migrationDefaultQuery {
        firstField
        # default is reserved in Java but Apollo does not escape it in Kotlin models
        # This makes kapt unhappy so escape it here
        default_: default
    }
}

the alias seems to be the cleaner and faster solution :)  apparently I ran into 2 quirks, one on apollo code generation side (already dealt with in my code) but with the upgrade it seemed to be about kapt/bytecode for java/kotlin details.


[Bug] Canvas Widgets have rounded borders and shadows

Description
Canvas widgets, by design, are not supposed to have styles like rounded borders and shadows.
Steps to reproduce the behaviour:
Add steps to reproduce this behaviour, include console / network logs & screenshots

Add a tabs widget
The default tabs generated have rounded borders in the Canvas Widgets

Important Details

Version: All
OS: Any
Browser Any

Duplicate of #990


Unicode characters in response body does not encoded correctly

When response data contains unicode characters  response.json() and response.text() does not convert unicode character correctly. We should check if the response data is a valid UTF8 string before encode it to BASE64 string. When it's valid, use URL encoding before BASE64.

[x] Android
[x] IOS
[x] Test case

close on 0.9.0 release


Procedure names reset to "procedure" when stored in the backpack

Describe the bug
Community thread: https://community.appinventor.mit.edu/t/copy-block-to-backpack-renamed-to-procedure/93214
Affects

[ ] Designer
[X] Blocks editor
[ ] Projects Explorer
[ ] Companion
[ ] Compiled apps
[ ] Buildserver
[ ] Debugging
[ ] Other... (please describe)

This one is my fault. I should have a fix shortly.
On Mon, Sep 18, 2023 at 7:15 PM Susan Rati Lane @.***>
wrote:

Describe the bug
Community thread:
https://community.appinventor.mit.edu/t/copy-block-to-backpack-renamed-to-procedure/93214
Affects

Designer
Blocks editor
Projects Explorer
Companion
Compiled apps
Buildserver
Debugging
Other... (please describe)

—
Reply to this email directly, view it on GitHub
https://github.com/mit-cml/appinventor-sources/issues/2994, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKFANPUZ2GCAD4BE7CD6S3X3DIYHANCNFSM6AAAAAA45NV7D4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


dynamic: -vv API details hard to see (color)

can we configure / use colors that are (always) good to see?

We color the output using the 16 named ANSI colors here:
https://github.com/mandiant/capa/pull/1697/files#diff-fe1c2d3620e13ab3bc93755b55f86a8a561bbb45000da79a1b31de56fb40cde6R29
def bold(s: str) -> str:
    """draw attention to the given string"""
    return termcolor.colored(s, "cyan")

def bold2(s: str) -> str:
    """draw attention to the given string, within a `bold` section"""
    return termcolor.colored(s, "green")

def mute(s: str) -> str:
    """draw attention away from the given string"""
    return termcolor.colored(s, "dark_grey")

def warn(s: str) -> str:
    return termcolor.colored(s, "yellow")

So, we don't pick a specific RGB color (since this might conflict with a user's theme). Rather, we use these named colors so that themes can provide a reasonable set of values that work well together. When they don't, like above, there's not too much we can do.
Alternatives:

use hardcoded RGB colors, which gives us perfect control over colors, but won't work well with background colors (which we can't query/inspect).
don't use colors (unfortunate).
use other named colors.

For (3) we could use, e.g., light_grey instead of dark_grey and see if that looks better. We'd have to sample a bunch of themes and configurations to see what worked most consistently.  I think we would give the most weight to default terminal settings (like freshly installed Windows Terminal, Gnome Terminal, etc.).
I wonder if we can find any published resources on how to use terminal colors in a consistent and portable way. Like, "use ANSI yellow to do this, and ANSI grey to do that".

show color theme colors:
https://paste.xinu.at/oeP93l/

default gnome:

default gnome light:

tango dark:

solarized dark:

gnome black on light yellow:

in summary:

Wow, thanks, that's a good overview.
I agree that we can highlight things fairly reliably but muting isn't ideal. So maybe we don't mute for now / in the CLI.
And preferably, we use red/yellow only for warnings/errors.


Docs: Type Alias vs. Interface guidance seems outdated

Page URL: https://www.typescriptlang.org/docs/handbook/advanced-types.html#interfaces-vs-type-aliases
Issue: The following description:
In older versions of TypeScript, type aliases couldn’t be extended or implemented from (nor could they extend/implement other types). As of version 2.7, type aliases can be extended by creating a new intersection type e.g. type Cat = Animal & { purrs: true }.

seems to contradict the next paragraph:
Because an ideal property of software is being open to extension, you should always use an interface over a type alias if possible.

It seems like the first paragraph implies that type aliases are now "open to extension", so the justification for interfaces does not make sense.
Recommended Fix: I'm not sure, I'm just looking for some updated guidance on using a type alias vs an interface.
Browser: Chrome

Agree, this isn't a great way to pitch it, we do a better job in the playground examples https://www.staging-typescript.org/play?q=276#example/types-vs-interfaces

I've taken a look at this twice, and I think I've got a better explanation in staging now.


Respect required status of form parameters.

When merging form parameters to one schema for the response body, the information about whether a parameter is taken over to the merged schema.

Thanks!


Allow reporting with uniform time step

Allow uniform time step
These changes allow transformation and reporting of results (events) with a user-specified, uniform time step. The time step is specified on the command line with the option -t or ---time_step_h, followed by a (positive), floating-point value for the time step (in hours) to be applied, e.g.:
run ex03.toml -e ex03_mod-out.csv -t 100.
Power values are interpreted as instantaneous, such that the reported values are those of the most recent event. Stored energies are interpreted as cumulative, so linear interpolation is applied between the most recent event and the next event.
A test was added, containing only a series-connected PV system, battery, and load.

Great job on this PR, Phil. I reviewed it and made some minor changes to the code to match the existing code base style and also to remove a debug print statement for infinity but otherwise it looks great!
Merging.


Solution explorer shows deleted directory

Like #1851, Solution Explorer shows deleted directory on 0.4.

There were fixes made in 0.5 for this.

Closing as fixed, will verify in 0.5

I'm sorry for my slow response (I'm a bit busy on my work now...).
Thanks for the fix. I'm awaiting for the next release!


Doesn't work with grunt-contrib-watch

I use the following code:
require('grunt-lazyload')(grunt);

grunt.initConfig({
	watch: {my_config_here}
});

grunt.lazyLoadNpmTasks('grunt-contrib-watch', 'watch');

When I run grunt watch I get this error:
Running "watch" task
Warning: Task "watch" not found. Use --force to continue.

Nevermind. This was an issue with grunt-newer. grunt-contrib-watch works just fine.


cannot locate the core or legacy core snap

Hello, I'm trying to run wekan on Oracle Linux 7.5, following CentOS instructions I was able to install snapd then:
sudo snap install wekan
error: cannot perform the following tasks:
- Run install hook of "wekan" snap if present (run hook "install":
-----
cannot locate the core or legacy core snap (current symlink missing?): No such file or directory
cannot read expected data from eventfd: Interrupted system call
-----)

What file or directory is it trying to access?

Let's check some basics, do you have
what do you get from $ snap list?
What is content of:
/snap/
If core snap is missing, are you able to install it manually:
$ snap install core

$ snap list
Name  Version  Rev   Developer  Notes
core  16-2.35  5328  canonical  core

$ ls -la /snap
total 8
drwxr-xr-x.  4 root root   43 Set  6 08:28 .
dr-xr-xr-x. 18 root root 4096 Set  5 11:05 ..
drwxr-xr-x.  2 root root    6 Set  6 08:28 bin
drwxr-xr-x.  3 root root   33 Set  5 14:16 core
-r--r--r--.  1 root root  548 Set  5 11:05 README

Thanks for quick reply.

Hi.
Have you solved this problem?

sudo yum install yum-plugin-copr -y
sudo yum copr enable ngompa/snapcore-el7 -y
sudo yum install snapd -y
sudo systemctl enable --now snapd.socket
sudo ln -s /usr/libexec/snapd /usr/lib/
sudo ln -s /var/lib/snapd/snap /snap
sudo systemctl start snapd
sudo systemctl status snapd
sudo snap install core
snap info wekan
sudo snap install wekan

You can close the problem.


Support wider range of Subquery, handle the Count bug

Which issue does this PR close?

Closes #6428
Closes #5808
Closes  #6497
Rationale for this change
The existing de-correlation rules DecorrelatePredicateSubquery only support Projection or Distinct as the top level plan in the Subquery and the Filter is the child of the top plan.  And the rule ScalarSubqueryToJoin also assumes
the top level plan of the Subquery is a Projection and the child is a Aggregation.
But actually the shape of the Subquery plans can be very flexible and the Filters which include the correlated expressions(out reference columns) can be nested in very deep plans.
This PR re-implement the correlation expressions pull-up process and support as much case as possible no matter the shape of the Subquery plans. It covers almost all the case that the subquery plan can be covered to Left Semi/Left Anti(for In/Exists Subquery) or Left Join or Cross Join(Scalar Subquery).
After this PR, the remaining unsupported Subquery cases:

Uncorrelated Exists Subquery
Correlated In Subquery contains Limit clause  or Order By clause(can not pull up correlated expressions)
Correlated  Scalar Subquery contains Limit clause  or Order By clause(can not pull up correlated expressions)
There is Union in the Subquery plan and the Union's children contain correlated expressions.
The correlated expressions are not in the Filter clause, but in Join conditions, aggregation expressions or window expressions etc.

The above 2), 3), 4), 5) cases can not be converted to simple joins, need add another new rule and use a difference approach to  de-correlate them.
Some TPC-DS queries are impacted also and they can generate runnable physical plans now.

What changes are included in this PR?
The alias logic is also changed, we can not simply alias the Subquery Projections or Aggregations output's Expr to some internal alias column like __scalar_value , the Expr might be used by some top level plan, like Having clause or
used as a Join conditions..

Are these changes tested?
Yes. Added serval UTs.
I will add more UT tomorrow to cover the count aggregation cases(there is bug here).

Are there any user-facing changes?

I added additional logic to handle the count() aggregations in subquery, the logic is quite ugly.
I'm not sure whether there are other good ways to handle this.
@jackwener
Could you please help to check how this SQL was rewritten in Apache Doris?
SELECT t1_id, (SELECT count(*) + 2 as _cnt FROM t2 WHERE t2.t2_int = t1.t1_int) from t1

@mingmwang doris don't support project correlated subquery

@alamb @jackwener
I'm going to mark this PR as draft, I need more time to think and make the count() aggregation handling logic more generic. Although the current correlation expression pull up and subquery rewrite is more generic, but the count aggregation handling is ugly.

Why we don't implement the unnesting arbitrary subquery paper? I think it's state of art.🤔

What this PR and the previous PRs I implemented/refactored still belong to the simple Unnesting method,  they covers the Predicate(In/Exists) Subquery and Scalar Subquery cases in which the correlated expressions can be pull up and correlation can be converted to out joins or semi/anti joins.
For other more complex cases, they can be de-correlated using the methods mentioned in the unnesting arbitrary subquery paper. I will try to implement it later this year. Why not implement the unnesting arbitrary subquery paper directly is because this method might introduce additional joins compared to the simple unnesting method. The additional join comes from the inner table join with the distinct set(magic set).
You can play with the Hyper web interface(Hyper implemented this unnesting arbitrary subquery paper) and check the plan.

@mingmwang doris don't support project correlated subquery

@jackwener
Could you please to check this query in Apache Dorics ?
select t1.t1_int from t1 where (select count(*) from t2 where t1.t1_id = t2.t2_id) < t1.t1_int
        "Projection: t1.t1_int [t1_int:UInt32;N]",
        "  Filter: CASE WHEN __scalar_sq_1.__always_true IS NULL THEN Int64(0) ELSE __scalar_sq_1.COUNT(UInt8(1)) END < CAST(t1.t1_int AS Int64) [t1_int:UInt32;N, COUNT(UInt8(1)):Int64;N, __always_true:Boolean;N]",
        "    Projection: t1.t1_int, __scalar_sq_1.COUNT(UInt8(1)), __scalar_sq_1.__always_true [t1_int:UInt32;N, COUNT(UInt8(1)):Int64;N, __always_true:Boolean;N]",
        "      Left Join: t1.t1_id = __scalar_sq_1.t2_id [t1_id:UInt32;N, t1_int:UInt32;N, COUNT(UInt8(1)):Int64;N, t2_id:UInt32;N, __always_true:Boolean;N]",
        "        TableScan: t1 projection=[t1_id, t1_int] [t1_id:UInt32;N, t1_int:UInt32;N]",
        "        SubqueryAlias: __scalar_sq_1 [COUNT(UInt8(1)):Int64;N, t2_id:UInt32;N, __always_true:Boolean]",
        "          Projection: COUNT(UInt8(1)), t2.t2_id, __always_true [COUNT(UInt8(1)):Int64;N, t2_id:UInt32;N, __always_true:Boolean]",
        "            Aggregate: groupBy=[[t2.t2_id, Boolean(true) AS __always_true]], aggr=[[COUNT(UInt8(1))]] [t2_id:UInt32;N, __always_true:Boolean, COUNT(UInt8(1)):Int64;N]",
        "              TableScan: t2 projection=[t2_id] [t2_id:UInt32;N]",

I think this might also lead to the count bug if not handled correctly even it is the predicate scalar subquery.

@alamb
Do you having time to review this PR next week?
I think subquery unnesting is important in TPS-DS and OLAP workload,  and support wider ranger of subqueries will make DataFusion more competitive with other products.

Do you having time to review this PR next week?

Yes, I will find time. Thank you for the contribution -- I just don't have enough review bandwidth to keep up with everything!

This is on my list for review today

@alamb
I will resolve the conflicts tomorrow.

I will resolve the conflicts tomorrow.

I believe https://github.com/apache/arrow-datafusion/pull/6642 may also conflict -- I will try and review that one today and get it merged too

I will resolve the conflicts tomorrow.

I believe #6642 may also conflict -- I will try and review that one today and get it merged too

Conflicts resolved.

Thanks again @mingmwang


masked object turn into black.

tried 40 steps, 80 steps, etc and nothing changed

Duplicate of #93

Duplicate of #93

tried delete venv and didnt work. tried check update and it said it is the latest version. any tips?


Set up ifort without C/C++ compiler?

I currently have a project which uses Fortran and C++. The problem is that I want to compile the C++ code with MSVC and this action makes the Intel compiler the default for C++ and I can't find a way to unset it.
Any ideas?

Is invoking cl directly not an option? Does setting CC/CXX=cl not work for your build system?

I'd set CXX=cl but I'd forgotten about CC. My bad. Thanks for your response!

Np! Glad it's working for you


How to rebuild the result of CARS196

  Thanks for releasing the code of your work. I have tested on CARS196, but I cannot achieve the performance of your public paper. The highest Recall@1 is 82.4%. I think my setting is wrong so that I cannot achieve the similar performance of your paper. Could you share the setting on CARS196?

The setting is:
python train.py --dataset CARS --feature BNInception --embedding 512 512 512 512 512 --ho-dim 8192 8192 8192 8192 --use_horde --trainable --cascaded
config.json:
{
"n_classes_per_batch": 5,
"images_per_class": 8,
"steps_per_epoch": 200,
"test_batch_size": 100,
"train_lr": 1e-5,
"train_epoch": 80,
"workers": 8,
"max_queue_size" : 32,
"train_im_size": [256, 256],
"test_im_size": [256, 256],
"multi_res_min_ratio": 0.8,
"multi_res_max_ratio": 1.8,
"prob_keep_ratio": 1.0,
"proba_multi_res": 1.0,
"proba_random_crop": 1.0,
"proba_horizontal_flip": 0.5,
"resume_training" : null,
"compute_scores_freq" : 1
}
And the setting of my PC is Ubuntu18.04, CUDA10.0 with GTX1080ti, Tensorflow 1.14.

Hi,
Sorry for the delay! After our discussion by e-mail, I retrained the network on the Cars dataset and get the reported results. I used the following parameters that differ from yours:

loss binomial (add --loss binomial)
images_per_class = 10
n_classes_per_batch = 8
steps_per_epoch = 1000

Training on Cars is slower than Cub, thus the number of steps has to be increased. I suspect that your network was not trained enough. Let me know if this works for you!

Since this issue has been opened few months ago, and is not active anymore, I hope the given answer has solved this reproducibility issue.
Fell free to re-open an issue otherwise.


Chameleon accessibility is breaking in safari

Bug report

[x] I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I’ve read and agree to the Code of Conduct.
[x] I’ve searched for any related issues and avoided creating a duplicate issue.

What happened
The components can easily change there colorblindness with svg filters in safari. For some reason the full page templates are experiencing issues.
What I expected to happen
Lets try and fix that ^

After some investigating with @alex-page we've concluded that Safari is unable to apply SVG filters to iframes with external src or external filter files w/ the srcdoc attribute.
We've submitted a bug report to Apple 😆 and put together a live demo here: https://github.com/adamzerella/bug-safari-iframe-svgfilter

Solid day of bug hunting :gun:


luminous-ttv: init at 0.5.7

Description of changes
Add new package: luminous-ttv
A Rust server to retrieve and relay a playlist for Twitch livestreams/VODs.
Homepage URL: https://github.com/AlyoshaVasilieva/luminous-ttv
Licenses: GPL-3.0-Only, MIT

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

I tried to squash the commits into one, but clearly I failed. I'm not well-versed in using git.
Instead of trying again I think it's easier to just cancel this PR and to start a fresh one where I do it correctly from the start.

No need. The easiest way to do this (without rebasing) is to reset your changes and re-commit.
Run the following:
git reset --soft HEAD~3 # This will undo the last three commits, including the original init one.
git commit -m "luminous-ttv: init at 0.5.7" -s -S # Commit all changes together.


Screenshots for previous 2.8 version no longer accessible

Where to find the issue

https://www.coronawarn.app/en/screenshots-archive/2-8.html
https://www.coronawarn.app/de/screenshots-archive/2-8.html

Describe the issue
When selecting screenshot version 2.8, only the text about the version is shown, not the screenshots themselves
Steps to reproduce

Open https://www.coronawarn.app/en/screenshots/
Select 2.8 in Versions drop-down menu
Note that no images are shown

@MikeMcC399  thanks for reporting

@MikeMcC399 FYI https://github.com/corona-warn-app/cwa-website/pull/1723

Closing. Fixed with PR #1723.


rescope class names

Jira: https://issues.redhat.com/browse/RHCLOUD-16357

Rename class prefixes with "adv-" in place of "ins-" where possible
general cleanup

Codecov Report

Merging #59 (5fc6470) into main (49e4b3f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #59   +/-   ##
=======================================
  Coverage   37.53%   37.53%
=======================================
  Files          55       55
  Lines         650      650
  Branches      139      139
=======================================
  Hits          244      244
  Misses        363      363
  Partials       43       43

Impacted Files
Coverage Δ

src/App.js
0.00% <ø> (ø)

src/components/analytics/analytics-card.js
8.57% <ø> (ø)

src/components/automation-hub/hub-card.js
89.28% <ø> (ø)

src/components/catalog/catalog-card.js
6.12% <ø> (ø)

src/components/shared/error-card.js
60.00% <ø> (ø)

src/components/shared/marketing-banner.js
50.00% <ø> (ø)

Continue to review full report at Codecov.

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

cc @John-dupuy @jjaquish


Question about behavior of accelerator.unwrap_model()

Hi, all, I have a small question about accelerator.unwrap_model(): I'm using DeepSpeed ZeRO-3 for training, and I want to save the model or make generations during training, then I use accelerator.unwrap_model().
The question is does accelerator.unwrap_model() collect and copy the whole model to each process/gpu? if so, do I need to manually release such memory afterwards?

You do not, it does not copy it just removes the wrappers that exist on the model when it's already on the GPU (such as DistributedDataParallel in the case of native DDP)

@muellerzr Thanks for your reply. From my understanding, ZeRO-3 partitions the model parameters, so it is save_pretrained method that collects partitions from all gpus while unwrap_model() not, is that correct?


brackets-electron reports itself as 1.5 dev

This is a problem because some extensions require 1.6. I kind of looked but cannot find where we set the version.

Thanks @MarcelGerber


introduce result.Unzip

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 45 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 12.505%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

result/unzip_gen.go
0
45
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
331

Relevant Lines:
2647

💛  - Coveralls


Any help using jk

I'm trying to setup jk, so far I get it running with a first message in mqtt with status and config, then nothing after.
Do the .js script are required ? how to write them any tutorial or sample appreciated.
What are the vars included in the script, found agent and this, but they doesn't contains my BMS data.
Tried a jk variable, but not defined.
How do I found them ? here is my command line
sudo ./jk -d 10 -v  -m <IP_ADDRESS> -t bt,C8:47:8C:F6:63:51
Maybe some other configuration files are needed.
Thanks

Alex, I haven't updated this agent in a while - simply because I'm (currently) unable to update the bms settings (I can with the android app).   In fact, I don't currently have this BMS in my system right now.   I'll dig it out and hook it up to one of my battery packs today and then update this agent.
I've been using the JS scripts to actually format and publish the data.  It's a change from my previous design where everything was done using C.  By using JS I can update the script (and output) without having to recompile the program or restart the service.
What are you looking to do exactly?

I'd like to get all the bms data sent to mqtt, as I'm using homeassistant,
grafana & influxdb.
Only reading is required.
I'll change settings via app.
I also have a pip 5048 mg, that I can already poll.
I just need to get bms data.
Le sam. 19 févr. 2022 à 15:23, sshoecraft @.***> a
écrit :

Alex, I haven't updated this agent in a while - simply because I'm
(currently) unable to update the bms settings (I can with the android app).
In fact, I don't currently have this BMS in my system right now. I'll dig
it out and hook it up to one of my battery packs today and then update this
agent.
I've been using the JS scripts to actually format and publish the data.
It's a change from my previous design where everything was done using C. By
using JS I can update the script (and output) without having to recompile
the program or restart the service.
What are you looking to do exactly?
—
Reply to this email directly, view it on GitHub
https://github.com/sshoecraft/solardirector/issues/2#issuecomment-1046028438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AELQTJNJTOBUHPLNRWFXIMLU36RX3ANCNFSM5O2FVYTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

OK I didn't have a lot of time to work on this over the weekend, but I got the JK agent working
By default it will use the C code to publish data.  If you want to use javascript, rename the pub.js.example script to pub.js.
I also added a -T option so you can have the data published to whatever topic you want

Wonderfull works like a charm, thanks for the update and for your time.
Regards,


Attempting to filter cross-domain iframe contents will cause security…

… errors on some browsers (IE & Edge)

Hello Milwaukee!

Looks good. Thanks!
I'll work on getting a new version pushed out tonight.


AST/Sema/SILGen: Implement tuple conversions

TupleShuffleExpr could not express the full range of tuple conversions that
were accepted by the constraint solver; in particular, while it could re-order
elements or introduce and eliminate labels, it could not convert the tuple
element types to their supertypes.
This was the source of the annoying "cannot express tuple conversion"
diagnostic.
Replace TupleShuffleExpr with DestructureTupleExpr, which evaluates a
source expression of tuple type and binds its elements to OpaqueValueExprs.
The DestructureTupleExpr's result expression can then produce an arbitrary
value written in terms of these OpaqueValueExprs, as long as each
OpaqueValueExpr is used exactly once.
This is sufficient to express conversions such as (Int, Float) => (Int?, Any),
as well as the various cases that were already supported, such as
(x: Int, y: Float) => (y: Float, x: Int).
https://bugs.swift.org/browse/SR-2672, rdar://problem/12340004

I still need to add some tests, but I'm going to check source compat first.

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please test source compatibility

The source compat failure is an unexpected pass from a swiftpm change:
23:53:19   UPASS: https://bugs.swift.org/browse/SR-8234, Lark, 4.0, 7604f9, Swift Package


Improve admin bar

Added _admin_bar.scss
Moved .logged-in.admin-bar from _header.scss to _admin_bar.scss
Added _footer.scss
Moved sticky footer from _markups.scss to _footer.scss

We can handle sticky footer if user is logged in in _admin_bar.scss later.

We can handle sticky footer if user is logged in in _admin_bar.scss later.

What do you mean by that? The footer should already be at the bottom of the user is logged in.

The footer should already be at the bottom of the user is logged in.

Sorry, wrong communication, my mistake. What I mean is, when you are logged in, the admin bar pushes the content down. In result the footer is some pixels below the bottom of the browser. But that's super neatpicky and not possible to solve  because html is above the <body class="logged-in admin-bar"....
So just ignore it. This PR is just a tiny improvement in scss files, nothing special.


keyToLegacyUrlsafe running on Cloud Functions uses wrong projectId?

Environment details

OS: Google Cloud Functions
Node.js version: 8.16.0
npm version: 6.10.3
@google-cloud/datastore version: 4.2.0

Steps to reproduce
I'm using keyToLegacyUrlsafe to convert keys to the legacy App Engine format so I can interact with my legacy Python 2.7 App Engine code via API.
I am calling this from a Cloud Function, triggered by Pub/Sub.
My App Engine code receives the urlsafe string but complains that the project is not in the correct format - the error states Application Id (app) format is invalid: '{{projectId}}'. The key's path is correct.
I have worked around the problem in my Python App Engine code for now, but I believe the root cause of this is in either the node module or Cloud Functions itself. At no point do I set the project ID myself in the code, it's picked up from the runtime environment.
Let me know if you need more details, I'll be investigating further on my side today and I'll update this if I find anything relevant.

One thing of note is that I'm using a query to get objects from the datastore, then using keyToLegacyUrlsafe to get those objects' keys.


flux rebrand

Description
Rebrant Zelcash (Zel) to Flux
Change list:

new explorer
new symbol
new name
new url

Please also create a PR for the assets repository (file blockchains/zelcash/info/info.json, folder can be renamed).
For name we should keep the old value, as various code elements are generated from it.

@catenocrypt let's keep ID as is, or it could break things.
Name should stay as is, but use preferredName field instead, as we did for bnb and couple of others

i already created pr for blockchains/zelcash/info/info.json it was merged but i set there name Flux

Hello Trust Wallet team. I have updated the tests because they were failing, but they continue to fail, but none information is given, can you help us? Thank you.

Hello Trust Wallet team. I have updated the tests because they were failing, but they continue to fail, but none information is given, can you help us? Thank you.

[  FAILED  ] 1 test, listed below:
[  FAILED  ] TWZelcashCoinType.TWCoinType

 1 FAILED TEST
Error: Process completed with exit code 1.

This is the error in the CI

Codecov Report

Merging #1372 (6e815ab) into master (edee0ed) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1372      +/-   ##
==========================================
- Coverage   95.39%   95.38%   -0.02%
==========================================
  Files         443      443
  Lines       13354    13302      -52
==========================================
- Hits        12739    12688      -51
+ Misses        615      614       -1

Impacted Files
Coverage Δ

src/Bitcoin/CashAddress.cpp
82.22% <0.00%> (-2.40%)
:arrow_down:

src/interface/TWStoredKey.cpp
91.57% <0.00%> (-1.06%)
:arrow_down:

src/NEO/Witness.h
85.71% <0.00%> (-0.96%)
:arrow_down:

src/NEO/Address.cpp
77.77% <0.00%> (-0.80%)
:arrow_down:

src/NEO/ReadData.cpp
76.66% <0.00%> (-0.76%)
:arrow_down:

src/Algorand/Address.cpp
87.09% <0.00%> (-0.41%)
:arrow_down:

src/Stellar/Address.cpp
88.88% <0.00%> (-0.31%)
:arrow_down:

src/Nimiq/Address.cpp
91.30% <0.00%> (-0.25%)
:arrow_down:

src/EOS/Asset.cpp
84.61% <0.00%> (-0.24%)
:arrow_down:

src/Decred/Signer.cpp
71.20% <0.00%> (-0.23%)
:arrow_down:

... and 28 more

Continue to review full report at Codecov.

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

Thanks @vikmeup I think it's all good now.
Cheers!


menu bar tooltip quickly getting closed in recaf (javafx gui)

Hyprland Version
 Archlinux, Hyprland version 0.39.1
Hyprland, built from branch  at commit fe7b748eb668136dd0558b7c8279bfcd7ab4d759  (props: bump version to 0.39.1).
Date: Tue Apr 16 16:01:03 2024
Tag: v0.39.1, commits: 4460

flags: (if any)

System Information:
System name: Linux
Node name: arch
Release: 6.8.9-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 02 May 2024 17:48:53 +0000

GPU information:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] [1002:9851] (rev 05) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
menu bar tooltip is not staying open after clicking, and it is quickly automatically getting closed so i am not able to select any item in the menu. the application which i am having problems with is recaf, it is a java bytecode editor written in javafx.
How to reproduce

download recaf from here
launch it with java -jar recaf.jar
wait till recaf complete downloading javafx library
it will automatically launch with its GUI
try to click on menu bar

Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/37395721/2b799a41-aa61-453a-a391-c498c9a488be

Is there any  resolution / follow up. I need to develop JavaFX for school and i have exactly this issue.
thanks in advance