Error calc. gradient? ValueError: None values not supported.

Traceback (most recent call last):
  File "cnn_mnist.py", line 140, in <module>
    adv_x = fgsm(batch_xs[0], y_conv, 0.3)
  File "cnn_mnist.py", line 43, in fgsm
    signed_grad = tf.sign(grad)
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\ops\math_ops.py", line 452, in sign
    return gen_math_ops.sign(x, name=name)
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\ops\gen_math_ops.py", line 2447, in sign
    result = _op_def_lib.apply_op("Sign", x=x, name=name)
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 504, in apply_op
    values, as_ref=input_arg.is_ref).dtype.name
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 716, in internal_convert_to_tensor
    ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\constant_op.py", line 176, in _constant_tensor_conversion_function
    return constant(v, dtype=dtype, name=name)
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\constant_op.py", line 165, in constant
    tensor_util.make_tensor_proto(value, dtype=dtype, shape=shape, verify_shape=verify_shape))
  File "C:\Users\soone\AppData\Local\Programs\Python\Python35\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 360, in make_tensor_proto
    raise ValueError("None values not supported.")
ValueError: None values not supported.

Hi guys. I'm new to tensorflow and is trying to work on a project for creating adversarial samples for fooling an MNIST classifier.
I found there was a fast gradient sign method and I tried to implement this in my code. However whenever I try to calculate the gradient I would always get "None values" even though I'm sure all the weights are loaded properly.
Any help is appreciated. Thank you!

Were you able to solve it? I am facing the same problem

I believe I solved the issue by passing the placeholder X instead of batch_xs[0]


Multiple runtimes [v3-v4]

Fix LookUpSource type definition and routing for V3 and V4 in parser.c
Fix keys type
Updated testcases for V3 and V4.
Bump major version

Awesome work! :cocktail:

:bird:

Thanks!
all suggested commits are applied


[turbopack] Warnings reported when compiling the application.

What version of Next.js are you using Turbopack in?
13.4.13
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Windows
Describe the Bug
Today I updated the creat-next-app as I always use npx create-next-app@latest    and after updating it, I created a nextjs project with :
Project name: batchfrontend
Typescript: Yes
Eslint: Yes
Tailwind Css : yes
src directory : yes
App router : yes
customize default import aliases: no
After creating nextjs project i edited package.json  and added    "dev": "next dev --turbo",
After running npm run dev, I am getting:

Warnings reported when compiling the application.
The application will probably work regardless, but these issues should be addressed eventually.
1 of 6
lint TP1004 fs.readFileSync(???*0*) is very dynamic
warning - [parse] [project]/node_modules/next/dist/server/lib/node-fs-methods.js  /node_modules/next/dist/server/lib/node-fs-methods.js:19:23  lint TP1004 fs.readFileSync(???*0*) is very dynamic
      15 |     };
      16 | }
      17 | const nodeFs = {
      18 |     readFile: (f)=>_fs.default.promises.readFile(f),
         +                        v
      19 +     readFileSync: (f)=>_fs.default.readFileSync(f),
         +                        ^
      20 |     writeFile: (f, d)=>_fs.default.promises.writeFile(f, d),
      21 |     mkdir: (dir)=>_fs.default.promises.mkdir(dir, {
      22 |             recursive: true
      23 |         }),

  - *0* f
    ⚠  pattern without value

Expected Behavior
I never faced such issue on the previous version of create-next-app even withturbopack. This issue appeared just after updating create-next-app to latest.
To Reproduce
I have attatched a link to my github repo that has issue. You can also create a nextjs project with :
Project name: demofront
Typescript: Yes
Eslint: Yes
Tailwind Css : yes
src directory : yes
App router : yes
customize default import aliases: no
After creating nextjs project i edited package.json  and added    "dev": "next dev --turbo",
My package.json file:
{
  "name": "batchfrontend",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev --turbo",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@types/node": "20.4.8",
    "@types/react": "18.2.18",
    "@types/react-dom": "18.2.7",
    "autoprefixer": "10.4.14",
    "eslint": "8.46.0",
    "eslint-config-next": "13.4.13",
    "next": "13.4.13",
    "postcss": "8.4.27",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "tailwindcss": "3.3.3",
    "typescript": "5.1.6"
  }
}

Reproduction Repo
https://github.com/ChetSocio/batchfrontend

The short-term solution to this problem is not to use turbopack. I think recent version of postcss or create-next-app conflicts with turbopack in any way (I can't tell deeply as I am a junior dev) . But still after removing --turbopack in package.json and re running the app doesnot shows the error!

@NicholasLYang Take a look at this fast

continue follow

Encountering the same issue.

Note: The error can be ignored and the code will still compile on turbopack. But this error really needs to be fixed.

Hi @ChetSocio, thanks for the issue. I'm on the Turborepo team, not on the Turbopack team. I'll be sure to forward this issue to the Turbopack team.

This should be addressed in the next release as of https://github.com/vercel/next.js/pull/54022


Revert "Revert "move stdio higher to fix build on rhat linux jpeg issue""

Reverts anshuman23/tensorflex#45, reopening pull request as we would like to resolve in your branch so that we get future updates to this repo. As indicated in previous comments the errors seemed to be a travis-cli that was having the issues.

@anshuman23 travis-ci build was quick and successful today.


Implement adaptive RMC

Implement the additive increase additive decrease RMC adaptation algorithm.
Add to the mana manager or as a new component.

Suggested initial parameters from research:
minRMC = 500 mana
RMCincrease = 500 mana
RMCdecrease = 500 mana
increaseThreshold  = 0.80 (= 80% of the throughput)
decreaseThreshold = 0.50 (= 50% of the throughput)


Add some gamified interface to make visualisation even more easier

Requesting feature to create some kind of gamified interface to make Linear Search Visualisation even more easier for beginners.
Something that can be embedded in the same webpage, built using HTML , CSS , JS , JQUERY

Yes I can try making something similar matching to the theme of project


Switch to Gradle Plugin Portal Badge

...not Maven Central, as this repo contains a Gradle plugin.
Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 97.833%. Remained the same when pulling 3ac7b40f571a8bc1f05c62daaad54321e137cc7a on portal-badge into 0bad7932bb4a64e88fc2602355cae0795f509184 on main.


runtests.py --bench-compare seems to assume that benchmarks do not change

This is probably a user error / UI enhancement request.
Found while trying to measure the overhead in gh-4486
I wrote a trivial benchmark to measure the evaluation time for a PPoly object. Ran
$ python runtests.py --bench-compare master interpolate.BenchPPoly, which worked fine.
Then I decided to tweak the benchmark, to make the size of some arrays smaller etc. So I change the benchmark code, commit, and...
$ python runtests.py --bench-compare master interpolate.BenchPPoly
· Fetching recent changes
· Creating environments
·· Creating virtualenv for py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six.
·· Cloning project
· Installing dependencies.....................
· Discovering benchmarksException RuntimeError: RuntimeError('cannot join current thread',) in <Finalize object, dead> ignored
..
·· Uninstalling from py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six
·· Building for py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six.............................................................................................................................................................................
·· Installing into py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six..
· Running 1 total benchmarks (1 commits * 1 environments * 1 benchmarks)
· Fetching recent changes
· Creating environments
· Installing dependencies..
· Discovering benchmarksException RuntimeError: RuntimeError('cannot join current thread',) in <Finalize object, dead> ignored
..
·· Uninstalling from py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six..
·· Installing into py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six..
· Running 1 total benchmarks (1 commits * 1 environments * 1 benchmarks)

All benchmarks:

    before     after       ratio
  [e3f5273f] [a1ebeb91]
-  671.37μs    30.13μs      0.04  interpolate.BenchPPoly.time_evaluation

I don't know what these RuntimeErrors are, but a 22x speedup is completely spurious. I'd guess the result from master got cached somewhere with the old parameters, while the feature branch benchmark was actually run anew.

Yes, --bench-compare uses asv run without the -n flag so it saves
the result. It probably should use asv continuous instead to always
rerun the benchmarks.

Where does it store it? I tried rm -rf benchmarks/env/<long-hex-string> but that only triggered a full rebuild (twice, I believe) and fetched the same stored result.
Maybe it could somehow eg store the checksum of the benchmark code?

@ev-br: under benchmarks/results
Anyway gh-4592 is probably the proper fix.

Checksumming benchmarked code perhaps helps tracking changes, but on the other hand
it is not sufficient (at least unless you do complicated dependency analysis, e.g. on changes in test functions for optimizer benchmarks).
On the other hand, you don't want to throw away a long history of benchmark results if there is a cosmetic change in the benchmark.
So the current situation of using asv rm to manually remove results
Also, with gh-4592 you don't need to read ASV documentation if you are only using runtests.py.
(It needs to rebuild twice, since you are benchmarking two different commits. If you have ccache, the rebuild times should not be too bad. Moreover, previous builds are cached.)


Video quality limited to 480p

Hi, thanks for making this app ... I find it really useful. But the video on YT is limited to 480p no matter what video I play.
Is this a chromecast v1 limitiation or is there some tweaks I can make to make it work 1080p?
Here's the video quality options I have:

I just dug out it is due to proprietary codecs

I had a similar problem and I found a solution, it's implemented in my fork of this app. Your screen size + window size + zoom factor are things that somehow affect available quality. So increasing zoomFactor in code and opening window in fullscreen mode, allows you to get up to 4K.


Merge pull request #809 from Netflix/fix/large-payload-crash

Fixes crash on large payloads for MGET/MSET/SCAN

Just a formal catch-up to the main repo. We have this code diff already.


Improve file structure view

File structure (aka imenu) lists things, declared in a file. It is accessible via Alt-7 or Ctrl-F12.
Currently it only supports a flat list of functions and methods. It should support hierarchical view of structs, traits, mods and impls.
Relevant code is here: https://github.com/alexeykudinkin/intellij-rust/tree/master/src/org/rust/lang/structure

@Turbo87 there is now a way to get items out of mod: https://github.com/alexeykudinkin/intellij-rust/blob/master/src/org/rust/lang/core/psi/extensions.kt#L8. Implementation may change, but it should be possible to add mods to structure view

Kudos to @Turbo87 !


Numba not vectorizing 2d copy loop

import numpy as np
import numba
import llvmlite.binding as llvm

llvm.set_option('', '--debug-only=loop-vectorize,iv-descriptors')

@numba.njit("void(float64[:, ::1], float64[:, ::1])", fastmath=True, boundscheck=False)
def foo(a, out):
    n, m = a.shape
    assert out.shape == (n, m)
    for i in range(n):
        for j in range(m):
            out[i, j] = a[i, j]

This reports that the loop can not be vectorized, due to "an unidentified PHI".
LV: Checking a loop in "_ZN8__main__3fooB3v11B54c8tJTIcFHzwl2ILiXkcBV0KBSsOcbovu9mp1kJR6rSYw_2bIogqjUBE5ArrayIdLi2E1C7mutable7alignedE5ArrayIdLi2E1C7mutable7alignedE" from foo
LV: Loop hints: force=? width=0 unroll=0
LV: Found a loop: B52.us
LV: PHI is not a poly recurrence.
LV: PHI is not a poly recurrence.
LV: Not vectorizing: Found an unidentified PHI   %.319.sroa.0.021.us = phi i64 [ 0, %B40.endif.us ], [ %.319.sroa.0.0.us, %B52.us ]
LV: Interleaving disabled by the pass manager
LV: Can't vectorize the instructions or CFG
LV: Not vectorizing: Cannot prove legality.
LV: PHI is not a poly recurrence.
LV: PHI is not a poly recurrence.

This is using the development version of numba and the llvmlite package from the numba dev channel:
icc_rt                    2020.2                intel_254    numba/label/dev
llvmlite                  0.40.0dev0       py39he1b5a44_9    numba/label/dev
numba                     0.57.0.dev0+170.gce9bdacc7           dev_0    <develop>

@aseyboldt thank you, I can confirm I am able to reproduce the LV output.

Debugging with Numba modified to use the new remarks capturing interface...
--- !Analysis
Pass:            loop-vectorize
Name:            NonReductionValueUsedOutsideLoop
DebugLoc:        { File: bug.py, Line: 13, Column: 1 }
Function:        _ZN8__main__3foo<mangling>
Args:
  - String:          'loop not vectorized: '
  - String:          value that could not be identified as reduction is used outside the loop
...
--- !Analysis
Pass:            loop-vectorize
Name:            CantIdentifyArrayBounds
DebugLoc:        { File: bug.py, Line: 13, Column: 1 }
Function:        _ZN8__main__3foo<mangling>
Args:
  - String:          'loop not vectorized: '
  - String:          cannot identify array bounds
...
--- !Missed
Pass:            loop-vectorize
Name:            MissedDetails
DebugLoc:        { File: bug.py, Line: 13, Column: 1 }
Function:        _ZN8__main__3foo<mangling>
Args:
  - String:          loop not vectorized

in the above, line 13 is the inner loop for j in range(m). Two observations:

If the inner loop is changed to a while loop, the vectorizer works as expected.
Running loop rotation at the end of the "cheap" optimisation pass also makes the inner loop vectorize:diff --git a/numba/core/codegen.py b/numba/core/codegen.py
--- a/numba/core/codegen.py
+++ b/numba/core/codegen.py
@@ -1223,6 +1223,7 @@ class CPUCodegen(Codegen):
             # slightly higher cost:
             pm.add_licm_pass()
             pm.add_cfg_simplification_pass()
+            pm.add_loop_rotate_pass()
         if config.LLVM_REFPRUNE_PASS:
             pm.add_refprune_pass(_parse_refprune_flags())
         return pm

https://github.com/numba/numba/pull/9428 fixed this. With it, the OP's code prints:
LV: Checking a loop in "_ZN8__main__3fooB2v1B60c8tJTIcFKzyF2ILShI4CrgQElYZ5yRbdT9XqICn1Wk1gsBZBVGsCAA_3d_3dE5ArrayIdLi2E1C7mutable7alignedE5ArrayIdLi2E1C7mutable7alignedE" from foo
LV: Loop hints: force=? width=0 interleave=0
LV: Found a loop: B52.us
LV: Found an induction variable.
LV: We can vectorize this loop (with a runtime bound check)!
LV: Found trip count: 0
LV: The max safe fixed VF is: 33554432.
LV: The max safe scalable VF is: vscale x 0.
LV: The Smallest and Widest types: 64 / 64 bits.
LV: The Widest register safe to use is: 128 bits.
LV: The Widest register safe to use is: vscale x 0 bits.
LV: The target has no scalable vector registers.
LV: Found uniform instruction:   %exitcond.not = icmp eq i64 %.349.us, %arg.out.5.1
LV: Found uniform instruction:   %.448.us = getelementptr double, double* %arg.a.4, i64 %.447.us
LV: Found uniform instruction:   %.503.us = getelementptr double, double* %arg.out.4, i64 %.447.us
LV: Found uniform instruction:   %.447.us = add i64 %.298.07.us, %.444.us
LV: Found uniform instruction:   %.447.us = add i64 %.298.07.us, %.444.us
LV: Found uniform instruction:   %.298.07.us = phi i64 [ 0, %B40.endif.us ], [ %.349.us, %B52.us ]
LV: Found uniform instruction:   %.349.us = add nuw nsw i64 %.298.07.us, 1
LV: Found scalar instruction:   %.298.07.us = phi i64 [ 0, %B40.endif.us ], [ %.349.us, %B52.us ]
LV: Found scalar instruction:   %.349.us = add nuw nsw i64 %.298.07.us, 1
LV: Scalarizing:  %.447.us = add i64 %.298.07.us, %.444.us
LV: Scalarizing:  %.448.us = getelementptr double, double* %arg.a.4, i64 %.447.us
LV: Scalarizing:  %.449.us = load double, double* %.448.us, align 8
LV: Scalarizing:  %.503.us = getelementptr double, double* %arg.out.4, i64 %.447.us
LV: Scalarizing:  store double %.449.us, double* %.503.us, align 8
LV: Scalarizing:  %.447.us = add i64 %.298.07.us, %.444.us
LV: Scalarizing:  %.448.us = getelementptr double, double* %arg.a.4, i64 %.447.us
LV: Scalarizing:  %.503.us = getelementptr double, double* %arg.out.4, i64 %.447.us
VPlan 'Initial VPlan for VF={1},UF>=1' {
Live-in vp<%0> = vector-trip-count

<x1> vector loop: {
  B52.us:
    EMIT vp<%1> = CANONICAL-INDUCTION
    WIDEN-INDUCTION %.298.07.us = phi 0, %.349.us
    CLONE ir<%.447.us> = add ir<%.298.07.us>, ir<%.444.us>
    CLONE ir<%.448.us> = getelementptr ir<%arg.a.4>, ir<%.447.us>
    CLONE ir<%.449.us> = load ir<%.448.us>
    CLONE ir<%.503.us> = getelementptr ir<%arg.out.4>, ir<%.447.us>
    CLONE store ir<%.449.us>, ir<%.503.us>
    EMIT vp<%8> = VF * UF +(nuw)  vp<%1>
    EMIT branch-on-count  vp<%8> vp<%0>
  No successors
}
No successors
}
VPlan 'Initial VPlan for VF={2},UF>=1' {
Live-in vp<%0> = vector-trip-count

<x1> vector loop: {
  B52.us:
    EMIT vp<%1> = CANONICAL-INDUCTION
    WIDEN-INDUCTION %.298.07.us = phi 0, %.349.us
    CLONE ir<%.447.us> = add ir<%.298.07.us>, ir<%.444.us>
    CLONE ir<%.448.us> = getelementptr ir<%arg.a.4>, ir<%.447.us>
    WIDEN ir<%.449.us> = load ir<%.448.us>
    CLONE ir<%.503.us> = getelementptr ir<%arg.out.4>, ir<%.447.us>
    WIDEN store ir<%.503.us>, ir<%.449.us>
    EMIT vp<%8> = VF * UF +(nuw)  vp<%1>
    EMIT branch-on-count  vp<%8> vp<%0>
  No successors
}
No successors
}
LV: Found an estimated cost of 0 for VF 1 For instruction:   %.298.07.us = phi i64 [ 0, %B40.endif.us ], [ %.349.us, %B52.us ]
LV: Found an estimated cost of 1 for VF 1 For instruction:   %.349.us = add nuw nsw i64 %.298.07.us, 1
LV: Found an estimated cost of 1 for VF 1 For instruction:   %.447.us = add i64 %.298.07.us, %.444.us
LV: Found an estimated cost of 0 for VF 1 For instruction:   %.448.us = getelementptr double, double* %arg.a.4, i64 %.447.us
LV: Found an estimated cost of 1 for VF 1 For instruction:   %.449.us = load double, double* %.448.us, align 8
LV: Found an estimated cost of 0 for VF 1 For instruction:   %.503.us = getelementptr double, double* %arg.out.4, i64 %.447.us
LV: Found an estimated cost of 1 for VF 1 For instruction:   store double %.449.us, double* %.503.us, align 8
LV: Found an estimated cost of 1 for VF 1 For instruction:   %exitcond.not = icmp eq i64 %.349.us, %arg.out.5.1
LV: Found an estimated cost of 0 for VF 1 For instruction:   br i1 %exitcond.not, label %B50.B38.loopexit_crit_edge.us, label %B52.us
LV: Scalar loop costs: 5.
LV: Found an estimated cost of 0 for VF 2 For instruction:   %.298.07.us = phi i64 [ 0, %B40.endif.us ], [ %.349.us, %B52.us ]
LV: Found an estimated cost of 1 for VF 2 For instruction:   %.349.us = add nuw nsw i64 %.298.07.us, 1
LV: Found an estimated cost of 1 for VF 2 For instruction:   %.447.us = add i64 %.298.07.us, %.444.us
LV: Found an estimated cost of 0 for VF 2 For instruction:   %.448.us = getelementptr double, double* %arg.a.4, i64 %.447.us
LV: Found an estimated cost of 1 for VF 2 For instruction:   %.449.us = load double, double* %.448.us, align 8
LV: Found an estimated cost of 0 for VF 2 For instruction:   %.503.us = getelementptr double, double* %arg.out.4, i64 %.447.us
LV: Found an estimated cost of 1 for VF 2 For instruction:   store double %.449.us, double* %.503.us, align 8
LV: Found an estimated cost of 1 for VF 2 For instruction:   %exitcond.not = icmp eq i64 %.349.us, %arg.out.5.1
LV: Found an estimated cost of 0 for VF 2 For instruction:   br i1 %exitcond.not, label %B50.B38.loopexit_crit_edge.us, label %B52.us
LV: Vector loop of width 2 costs: 2.
LV: Selecting VF: 2.

LV: Found a vectorizable loop (2) in foo
LV: Interleave Count is 2
LEV: Epilogue vectorization is not profitable for this loop
Executing best plan with VF=2, UF=2
LV: Interleaving disabled by the pass manager

Actually, it's fixed on main https://github.com/numba/numba/commit/59adb07109d75745a93591fb77513d5f5c44c8ae


[SPARK-38563][PYTHON] Upgrade to Py4J <IP_ADDRESS>

What changes were proposed in this pull request?
This PR is a retry of https://github.com/apache/spark/pull/35871 with bumping up the version to <IP_ADDRESS>.
It was reverted because of Python 3.10 is broken, and Python 3.10 was not officially supported in Py4J.
In Py4J <IP_ADDRESS>, the issue was fixed (https://github.com/py4j/py4j/pull/475), and it added Python 3.10 support officially with CI set up (https://github.com/py4j/py4j/pull/477).
Why are the changes needed?
See https://github.com/apache/spark/pull/35871
Does this PR introduce any user-facing change?
See https://github.com/apache/spark/pull/35871
How was this patch tested?
Py4J sets up Python 3.10 CI now, and I manually tested PySpark with Python 3.10 with this patch:
./bin/pyspark

import py4j
py4j.__version__
spark.range(10).show()

Using Python version 3.10.0 (default, Mar  3 2022 03:57:21)
Spark context Web UI available at http://<IP_ADDRESS>:4040
Spark context available as 'sc' (master = local[*], app id = local-1647571387534).
SparkSession available as 'spark'.
>>> import py4j
>>> py4j.__version__
'<IP_ADDRESS>'
>>> spark.range(10).show()
+---+
| id|
+---+
...

cc @dongjoon-hyun @wangyum FYI

SPARK-38563 solved the resource leakage and new JIRA adds Python 3.10 support.

Oh no. That's not released yet. i reverted it from branch-3.2 too.

BTW, Python 3.10 already works with Spark 3.2 too

Technically what you said is correct because branch-3.2 only officially supports Python up to 3.9 but I will port this together to branch-3.2 if you don't mind just to reduce the breakage (although it's not official). The risk here is very small.

Oh, got it. If you reverted cleanly from all branches, there is no problem.

Merged to master, branch-3.3 and branch-3.2.


chore: rename project

Maintain "fishing" nomenclature but dismiss "foldseek" (its just 1 step in the whole protocol).
Maybe something that mentions what is fished: residues with conservation in the form of sequence, structure and physicochemical properties

Closed by baf9ac5a39e7c499bc60cac77b25a5ee6cc41cb8

Closed by baf9ac5a39e7c499bc60cac77b25a5ee6cc41cb8


Some Outlook versions are blocked

Modify note accordingly:
https://techcommunity.microsoft.com/t5/microsoft-365-blog/new-minimum-outlook-for-windows-version-requirements-for/ba-p/2684142

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

ID: e86f8d4f-3eb1-6763-0f10-a0b637f3035c
Version Independent ID: a6642647-dc4d-30a9-e962-76f7cd1f5089
Content: Office versions and connectivity to Microsoft 365 services - Deploy Office
Content Source: DeployOffice/endofsupport/microsoft-365-services-connectivity.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@trudolf-msft We updated that section of the article to just point to the blog post, since the blog post is being updated with the latest information.

See https://github.com/MicrosoftDocs/OfficeDocs-DeployOffice/issues/1156


az apim api import resets User authorization from OAuth 2.0 to None

When the "az apim api import" command is run, the Security -> User authorization setting for the API is reset from OAuth 2.0 to None.

route to CXP team

@marc-ellis-dev Thank you for reaching out, we are looking into it

@marc-ellis-dev We use this command to import new apis, therefore it wont be having any security settings for that API to reset. May be i am missing something. Can you please share more details or debug logs please?

Hey @RakeshMohanMSFT, we are also having the same issue. We use Terraform to create our APIM and the API structure (which includes the OAuth settings) and run a pipeline on our API to import the swagger file for endpoints (when there are updates to the code). This pipeline uses the az command listed above. When the az import command runs, it overrides our OAuth settings to null and this is causing issues as there is no user authorization parameter on the az command to restore our original Auth settings on the API. Below is the output of the above command.
***   "apiRevision": "1",   "apiRevisionDescription": "",   "apiType": null,   "apiVersion": "1.0",   "apiVersionDescription": "",   "apiVersionSet": null,   "apiVersionSetId": "*******",   "authenticationSettings": ***     "oAuth2": null,     "openid": null   ***,   "description": "******",   "displayName": "*****",   "id": "**********",   "isCurrent": true,   "isOnline": null,   "name": "********",   "path": "*******",   "protocols": [     "https"   ],   "resourceGroup": "**********",   "serviceUrl": "***************",   "sourceApiId": null,   "subscriptionKeyParameterNames": ***     "header": "Ocp-Apim-Subscription-Key",     "query": "subscription-key"   ***,   "subscriptionRequired": true,   "type": "Microsoft.ApiManagement/service/apis" ***
*Note: masked the fields for privacy.

@RakeshMohanMSFT Can we get any update on this? We are having issues in our prod environments and having to manually update the OAuth settings every single time a pipeline is run, because of this command.

There hasn't been a response on this but I was previously experiencing the behavior described by @pavanabhange and it seems to have begun functioning as I expected about 1 week ago, authenticationSettings is no longer being overwritten with null values.

@marc-ellis-dev @tgrnwd Apologies for the delay, we are working on it. Should be fixed soon, can we please upgrade to the latest version of azure cli? https://docs.microsoft.com/en-us/cli/azure/install-azure-cli


Allow both native text selection and mouse wheel scrolling

I tried using either WithMouseCellMotion or WithMouseAllMotion and they both seem to allow for scrolling a viewport with the mouse wheel but disable text selection/highlighting completely. Tried passing different flags to muesli's termenv to facilitate this, to no avail.
Would it be possible to allow both scrolling with mouse and text selection?

Hi! Unfortunately, when the mouse is enabled in a terminal native text selection is no longer possible. It’s a limitation of pretty much all terminals.
The plan is to implement text selection in Bubble Tea to overcome this limitation (similar to how it’s done in tmux) however it will take some time to implement it as it’s a rather large endeavor.

@meowgorithm I see. Thank you for considering adding it as a feature in bubbletea. Looking forward to it.


the sql query become slowed

i use go-micro write three servers gateway,upload,policy
and threes servers and mysql are deploy on the same centos
in policy sever,there is a sql :select * from store where oid = 2 limit 1,the table store have only two rows,the time quey this sql is 300us~2ms,i think this is normal
when upload server is busy,do sql frequently(cpu can be 150%),and rpc request policy server to do this sql,
loop this every 5 minute,the time query this sql become more big,2ms,3ms,....10ms ,20ms...,even 1s
i do not know why,because ,the upload is busy,but not always busy,and Most of the time  is  not busy,
the time can not be recoverd even i stop the upload
can you give me some suggestion?
think you very much

I don't think this is issue of go micro, check your mysql server or go client package.


Will there be a swift 3 version of this?

Will there be a swift 3 version of this?

You can use for now the branch from pull request #23

For example this way:
pod 'CollectionViewWaterfallLayout', :git => 'https://github.com/ostatnicky/CollectionViewWaterfallLayout.git', :branch => 'feature/swift3'

@ostatnicky When will the release be out?

Do you merge the Swift 3 support sometime?

Sorry for all the delays. Just opened a PR for Swift 5 so closing the issue


Icon request: OKEx

URL of the site or app (required): https://www.okex.com/
Logo resources for the icon (optional): https://seeklogo.com/vector-logo/373746/okex / https://worldvectorlogo.com/logo/okex-2

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/OKEx.svg

❓ How to add icon(s) to Aegis?
⭐ Support this project by giving a star! Just adding like to this comment is also appreciated.


Error

Free domain user.

Advised not to provide support.
Even More Proof: https://panel.mrjbotlab.ml/auth/login
Same theme and the domain matches with the user's name.

Freenom domains and free trial based hosting are not supported here. You will not receive support for Dashactyl or be granted access to DashactylManager if you are using any of these services. Trying to bypass this rule will result in you being support-banned.

Clearly states that anything related with Freenom, you will not be given support.

skid trys to get support on a freenom domain and making an alt

this is not a reson to open a request like this just cuz you are mad that you got banned skid so yeah stop whit you free shity hosts on oracel and frenomdomain and go toch some grass


Also publish @jeremybanks/speedruns in NPM and GitHubPM if simple

ideally:
npm: speedruns
npm: @jeremybanks/speedruns
github: @jeremybanks/speedruns

https://stackoverflow.com/questions/57931479/can-a-package-be-published-to-both-github-and-npm-with-a-single-npm-publish

giving it a shot in 2e7f75ba7fa171b51d9636de1756db7eef1d8398

https://www.npmjs.com/package/speedruns
https://www.npmjs.com/package/@jeremybanks/speedruns
https://github.com/jeremyBanks/speedruns/packages/120812/

done as of 0c1f3b36073519213ade95afd80ad734386f4d20
i think it's working


timestamp

I've just updated homebridge on my RPi. My terminal background is black and therefore the timestamp isn't visible.
Removing chalk.black() for the timestamp should work for all terminals:
logger.js:
-  msg = chalk.black("[" + date.toLocaleString() + "]") + " " + msg;
+  msg = "[" + date.toLocaleString() + "]" + " " + msg;

fixed with 620c847


This repo is dead again ?

@hoerresb Hi can you tell me if you are still able to work on pr / issues for this repo?
Thanks

@predorock It is dead. Hasn't been updated in yonks.

@arsenal942 I made some changes in order to fix the naming of the plugin.
Here there is my company repo reference https://github.com/IOOOTASrl/WifiWizard

@predorock Any chance you are working on iOS11 connectivity?

@arsenal942 At the moment we have other priorities. But why you ask me about iOS11 connectivity? There are problems with that ? Thanks.

As of iOS11, you can finally use the private API and programatically connect to networks for iOS.
I've gone ahead and made this plugin: https://github.com/arsenal942/iOSWifiConnect
(Albeit I just need to fix the nullable passphrase going in).

Well this is a good news. But I don't know Objective-C, I am more familiar with Swift. Did you have any reference (docs / examples) about the private WiFi API for swift ? Maybe I can look to it . Thanks again.

You bet. I just followed the Apple docs (albeit they're pretty crap).
https://developer.apple.com/documentation/networkextension/nehotspotconfiguration/2866705-init
https://stackoverflow.com/questions/36303123/ios-how-to-programmatically-connect-to-a-wifi-network-given-the-ssid-and-passw

I'd refork what I've got in the plugin by the way:
https://github.com/arsenal942/iOS-Cordova-Network-Manager


PR to fix broken urls of GitHub Training Lab Link on Introduction to GitHub module

Changes

URLs change from lab.github.com to skills.github.com

Issues
This will solve #1023 and #1018

Thanks for making these updates @31Sanskrati! The same changes were also resolved in #1042 which I believes includes the changes you have here. Would be great to get your 👀 on the updates (https://github.com/microsoft/Web-Dev-For-Beginners/tree/main/1-getting-started-lessons/2-github-basics) to make sure it resolves the items you found.
If you don't spot any updates, we can close this PR as the changes were previously resolved. Thanks!

I'm sorry for not getting back to you sooner. Yes, the issue is entirely resolved. Thankyou you for reviewing my PR.


purr data help patches for cyclops classes contain unsupported comment class

Help patches for objects like [==~] contain the [comment] object, which is still unsupported in Purr Data. This leads to a bunch of legacy tcl commands being output to the console.

done


Create command line tool that can set all parameters

I was in need of a CLI tool that did what the original entrypoint did but with some specific parameters different from defaults. So I decided to make it available for anybody and contribute it back.
This PR adds a slugify command that can take as arguments any of the parameters of the function with the same name.
I've added tests that verify that different combinations of command-line arguments result in the expected parameters passed to the function. They do not re-test the functionality.

Coverage increased (+2.3%) to 94.839% when pulling 71d9399893b9209e0cfe3be31981305774dbc300 on jdevera:full_cli into e785874f0ea053cea393d396b615235e7c0ad179 on un33k:master.

This is create, could you add one section to the readme.md before Running the tests, call it Command Line Options.  Thank you for your great contribution.

Thanks for the feedback. I added the suggested section to the README and, in the process, I found I had left one change uncommitted 🤦♂ so I pushed that too. Plus one more test :)

For almost a month I did not realise that I had not pushed the change I said to have done. Now the PR should have the additions you asked for.

Yeah, I knew the situation was not good in Spain, and I was hoping that you were doing OK, and would find time to make the change.  I am glad you are fine and healthy and thank you for your contribution.


Disable eslint rules for event types

This should unblock https://github.com/seamapi/seam-connect/pull/6499

Why are these rules blocking the event types?

@razor-x see failing PR attempt here


[CF-791] Preference service

Updating alternateId on post (update)
Failing post when x-tenant-id header is not present
Failing post when nast id used in payload does not match value present in x-tenant-id header

lgtm

lgtm 2


Manjaro errors?

Getting a usbg_init() No such file or directory : couldn't init gadget state
Any clues? My error maybe?
Chris Olson

You're either missing dtoverlay=dwc2 from /boot/config.txt (or the Manjaro equivalent) or Manjaro's kernel doesn't support USB OTG/dwc.

Pretty sure I put the line in the config.txt... maybe I misspelled it?
Thanks for getting back to me so quickly!
Chris Olson
On Sat, Jan 22, 2022 at 7:42 AM Philip Howard @.***>
wrote:

You're either missing dtoverlay=dwc2 from /boot/config.txt (or the
Manjaro equivalent) or Manjaro's kernel doesn't support USB OTG/dwc.
—
Reply to this email directly, view it on GitHub
https://github.com/Gadgetoid/pi400kb/issues/20#issuecomment-1019270670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMRZGUZCLZKLRFXBGD54ILUXKX6DANCNFSM5MQCNKOQ
.
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, got it figured out!  Add 'modprobe dwc2' for manjaro linux!
Chris Olson
On Sat, Jan 22, 2022 at 10:05 AM Chris Olson @.***>
wrote:

Pretty sure I put the line in the config.txt... maybe I misspelled it?
Thanks for getting back to me so quickly!
Chris Olson
On Sat, Jan 22, 2022 at 7:42 AM Philip Howard @.***>
wrote:

You're either missing dtoverlay=dwc2 from /boot/config.txt (or the
Manjaro equivalent) or Manjaro's kernel doesn't support USB OTG/dwc.
—
Reply to this email directly, view it on GitHub
https://github.com/Gadgetoid/pi400kb/issues/20#issuecomment-1019270670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMRZGUZCLZKLRFXBGD54ILUXKX6DANCNFSM5MQCNKOQ
.
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:
@.***>


More docs for DataFrame.partitions

Closes #9951

Oh, also just noticed that doctests are failing
______________ [doctest] dask.dataframe.core._Frame.get_partition ______________
686         Returns
687         -------
688         Dask DataFrame or Series
689             The same type as the original object.
690
691         Examples
692         --------
693         >>> import dask
694         >>> ddf = dask.datasets.timeseries(start="2021-01-01", end="2021-01-07", freq="1H")
695         >>> ddf.get_partition(0)
Differences (unified diff with -expected +actual):
    @@ -1,5 +1,5 @@
     Dask DataFrame Structure:
                      name     id        x        y
    -npartitions=1
    +npartitions=1
     2021-01-01     object  int64  float64  float64
     2021-01-02        ...    ...      ...      ...

/home/runner/work/dask/dask/dask/dataframe/core.py:695: DocTestFailure

Dockets is fixed (the npartitions=1 has a bunch of whitespace in the repr)


RenderDoc doesn't recognize the API

Description
RenderDoc doesn't recognize the API, as it does on both of my computers

The log is here：
https://github.com/tongchenGithub/MarkDownPhotos/blob/master/RD_log.log

Steps to reproduce

Start the Unity
The GameView - & gt;LoadRenderDoc
Click the frame capture button to start RenderDoc
RenderDoc does not recognize the API

Environment

RenderDoc version: 1.8
Operating System: Windows 10
Graphics API: DX11

Does this reproduce if you launch Unity's editor through RenderDoc directly rather than using the Unity integration? You may have to disable or workaround the "unity hub" as it can interfere with directly launching a Unity editor process.
If it doesn't reproduce that way, this seems like it's most likely caused by a Unity bug in the RenderDoc integration, which must load RenderDoc before creating any graphics device. If it loads RenderDoc after creating a graphics device then no API will be identified. There have been a number of such bugs in the past so make sure you're running the latest Unity version to get any such fixes.

Hello, I'm not sure if this is relevant, but after a Win10 reinstall I am getting the same issue. After launching our application in render doc, the UI says "API: None" but the application is already swapping frames and rendering as usual. We have never had the integration and were always using render doc in the "Launch Application" mode. The "Diagnostic Log" says it is adding a D3D11 device and frame capturer but our application is DX12 (and I am sure that it worked with my old installation). It also complains about some GUIDs:

Hope that this will help (also that you can help us with this issue :))
Tomas

Please do not hijack unrelated issues. Please create a new issue outlining your problem and providing a reproducible test case.

Sorry, I was not sure if it is unrelated.

Closing due to lack of information/activity from original reporter.


libtiff: don't propagate unnecessary build inputs

Description of changes
During a review of #290556 we discovered, that libtiff is unncecessary
propagating some build inputs. This change is solving this issue and is fixing
packages which depended on those propagated dependencies (such as libgeotiff
depending on propagated zlib).

libtiff: don't propagate unnecessary build inputs
libtiff: adopt package under geospatial team maintenance
libgeotiff: add missing build dependency

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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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.

When I look at the .pc file, I think that static builds are at most risk here:
Libs: -L${libdir} -ltiff
Libs.private: -llzma -ljpeg -ldeflate -lz -lm
Cflags: -I${includedir}
Requires.private: liblzma libjpeg libdeflate zlib

I successfully ran libtiff passthru tests on top of latest master branch with imread disabled (which is broken since 2024-01-14).
diff --git a/pkgs/development/libraries/libtiff/default.nix b/pkgs/development/libraries/libtiff/default.nix
index d291be76627c..9e38322863cf 100644
--- a/pkgs/development/libraries/libtiff/default.nix
+++ b/pkgs/development/libraries/libtiff/default.nix
@@ -77,7 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
   passthru = {
     tests = {
       inherit libgeotiff imagemagick graphicsmagick gdal openimageio freeimage;
-      inherit (python3Packages) pillow imread;
+      inherit (python3Packages) pillow;
       pkg-config = testers.hasPkgConfigModules {
         package = finalAttrs.finalPackage;
       };

nix-build -A libtiff.tests
/nix/store/lisq5y6r0vi0d8b8cbi08cy43dx7wbda-freeimage-unstable-2021-11-01
/nix/store/byijifay3w72j97f16crcymigwz51swb-gdal-3.8.4
/nix/store/iw8pj2lyb1almbnw9drf37rmrrlkqb5v-graphicsmagick-1.3.42
/nix/store/hy92fr0xbq19xs64vxdkrphv0ibhba22-imagemagick-7.1.1-29
/nix/store/v5a7ccwfmfkns7yp94ks5sx0r8l27ww4-libgeotiff-1.7.1
/nix/store/rn3d7lq7c4i1mm8qdccjlmrzdcqy4dcp-openimageio-<IP_ADDRESS>-bin
/nix/store/jwxzs2kwm8in88hmwf4kfq7rqwpjhsl5-python3.11-pillow-10.2.0
/nix/store/9i8zxxxmdq7bn95l1s3c5y1acb8gw37z-check-pkg-config-libtiff-4

I tried to run nixpkgs-review on top of nixpkgs-unstable branch (in hope of reducing number of packages to build), but it still wants to build 30k of packages and needs to download 60k :). I can't do that.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/week-in-geospatial-team/37035/8

(note: I haven't rebased nor tested)


Fix displayed URL when successfully adding a mod version

Dupe #587

My bad, @skwerlman, I'll close this one. Thank you for pointing it out.


Possible fix for peekVar

I don't understand what's going on enough to be fully confident that this is the right approach, but the test I added does fail with the current code, and passes with this change.
I noticed that in the loop in _putVar, in the case where the consumers array contains just one consumer where the peek property is true, it would go through the loop once, and then repeat the loop without checking the new length of the consumers array. This commit essentially expands that loop to include the check of the consumers array's length.

There's something still not quite right here unfortunately... I think some consumers are being run multiple times now, or not being removed or something. Will try and figure out exactly what is going on, and a test case!

The issue is that the loop does not consider the fact that any synchronous consumers might make additional mutations to the AVar queue. I have a fix for this, just need to write some more test cases.

Closing since #83 was merged. :tada:


Servant generics

Closes #45

Todo: don't require SOP.Generics, SOP.HasDatatypeInfo

[ ] Ensure we only need to define GHC generics
[ ] Have a default implementation for ApiTagFromLabel (just id)
[ ] Rename Cmd to Cmd' and define Cmd as type Cmd model event a = Cmd' model event (Post '[JSON] a)
[ ] Write clear documentation for TaggedSumOfApis and RecordOfServers
[ ] I think TaggedSumOfApis is not a very descriptive name. I'd like to communicate why it exists in the name. Something like WithNamedRoutes


feat: add expect.closeTo() API

https://github.com/vitest-dev/vitest/issues/2809

can you retrigger pipelines? @sheremet-va

I will!

This would be a great addition and would help with the adoption of Vitest. Thank you.

@sheremet-va @Dunqing any chance this could be picked up by one of you and completed? It doesn't look like the original author has time to complete this PR and Jest already has this feature as expect.closeTo(number, numDigits)

@sheremet-va @Dunqing any chance this could be picked up by one of you and completed? It doesn't look like the original author has time to complete this PR and Jest already has this feature as expect.closeTo(number, numDigits)

Feel free to open a separate PR 😄

I knew you were going to say that but I don't feel comfortable to take this one over

I will take this one over


Overhaul Experiments Script

Purpose
 Uses a single script to run any FLUXNET site experiment and simplifies the process of adding a new FLUXNET site to run on. For each new site, we now just need to add a parameters file with all site specific variable values and a link to download the data from somewhere as a CSV.
To-do

[x] Implement the bug fix from #366
[x] Include some data validation code, i.e check the necessary columns are included in the given data file
[ ] Fix bug in Harvard site?
[x] For data used only for initial conditions/plotting, use more general values if data absent
[x] For comparison plots - only plot comparison if data quality flag not "missing"
[x] Add Vaira Ranch Site (with this PR, just add parameters!)

Content

Removes the old Ozark experiment
Creates one script, run_fluxnet_jl which can be run on any FLUXNET site
For each site which we want to run the model on, creates a directory named with the site ID, and a parameters file for each site ID needed
Abstracts the plotting utility functions and data utility functions to new files
Does all data comparison based on interpolation to fix previous bugs

[ ] I have read and checked the items on the review checklist.

Under this PR the process to run on a new site is now just:

Create a directory within experiments/integrated/fluxnet titled with the site ID
Create a parameters file inside that directory and specify all the variables for the site as well as the data download link
Run the script with julia --project=experiments experiments/integrated/fluxnet/run_fluxnet.jl {SITE ID}
(Add save as a second arg if you want to save to a csv)
Saves all plots to experiments/integrated/fluxnet/{SITE_ID}/out/

This will check the necessary data is there, fill missing values with the mean, and inform you if data was filled, then run the model with the site parameters.

I think one problem here that I wasn't anticipating was working with sites where LAI has to come from an external data source, i.e the Vaira Ranch site. This site has an external LAI file with a different timestep. I am going to need to rethink the data processing pipeline a little bit since this means we won't be able to just always collect the data from the fluxnet file that we need.

Planning on a followup PR to this one which will:

Make running the met_drivers and running the experiment function calls taking site_ID as arg
Create PFTs which set the values of the canopy parameters for the model
Use a system to assign PFTs to each site and set up the site parameters based on PFTs
Also parameterize the soil model in terms of soil types?

Not entirely sure what's going on with the buildkite

I dont know about the CUDA error, but it runs after that. further down, there are additional errors which seem to cause it to fail:
https://buildkite.com/clima/climalsm-ci/builds/2702#018c5a57-2fda-4617-9c74-aea5afabfbec/160-172
and another path issue.
BTW - feel free to add the NR and Harvard params in another, smaller follow-up PR

Last few things to clean up before this can be merged:

Harvard site results in a negative exponent domain error and I'm not sure what's happening
Once this is merged we will have 4 experiments up and running... How many experiments should be included in the buildkite? Ozark for sure, and Vaira is currently there, but would we want to add the Harvard site since it will test the ability for the experiment script to run with a different timestep?

Otherwise I think we will be ready to merge. Cleaning up the constants and the way the parameters are given as well as the correct parameters for Harvard Forest and the Ridge site to come in a followup PR

Harvard site results in a negative exponent domain error and I'm not sure what's happening

It could be that the timestep is too large (for these parameters/forcings). If it is happening in the winter, it could be because we dont model snow? If you want, we can merge this, and then also address this in the follow-up PR.
re: which sites to include in buildkite, probably it would be good to have a few (up to four?) representative sites (grassland, forests of different types, etc, with different climates. eventually, a site with snow when we have the snow model). For now we could include H and NR and we can swap them out in the future if we want.

Harvard site results in a negative exponent domain error and I'm not sure what's happening

It could be that the timestep is too large (for these parameters/forcings). If it is happening in the winter, it could be because we dont model snow? If you want, we can merge this, and then also address this in the follow-up PR. If you want to fix it now, we could meet tomorrow during the land meeting spot (I think we will cancel the meeting since Julia and Renato are at AGU).
re: which sites to include in buildkite, probably it would be good to have a few (up to four?) representative sites (grassland, forests of different types, etc, with different climates. eventually, a site with snow when we have the snow model). For now we could include H and NR and we can swap them out in the future if we want.

The odd thing about it is that it happens in the initialization (make_set_initial_aux) but I can't fins anything wrong with the initial data. we give it. Meeting tomorrow would be great. It wil have to be via Zoom though, the semester ended so I'm working from home in Texas for a few weeks.

Harvard site results in a negative exponent domain error and I'm not sure what's happening

It could be that the timestep is too large (for these parameters/forcings). If it is happening in the winter, it could be because we dont model snow? If you want, we can merge this, and then also address this in the follow-up PR. If you want to fix it now, we could meet tomorrow during the land meeting spot (I think we will cancel the meeting since Julia and Renato are at AGU).
re: which sites to include in buildkite, probably it would be good to have a few (up to four?) representative sites (grassland, forests of different types, etc, with different climates. eventually, a site with snow when we have the snow model). For now we could include H and NR and we can swap them out in the future if we want.

The odd thing about it is that it happens in the initialization (make_set_initial_aux) but I can't fins anything wrong with the initial data. we give it. Meeting tomorrow would be great. It wil have to be via Zoom though, the semester ended so I'm working from home in Texas for a few weeks.

I can meet tomorrow!
Negative exponent could be from porosity different for soil and respiration (I haven't checked your code but had this issue before)

Not really sure what happened, following the rebase Niwot ridge site no longer runs either with a negative exponential part of the way through solving

Not really sure what happened, following the rebase Niwot ridge site no longer runs either with a negative exponential part of the way through solving

we'll figure it out!

All 4 experiments running and part of the pipeline. Ready for merge on my end as soon as there's an approving review!


Header: extMin and extMax out of range values

Hi,
First of all thanks for your job, is awesome.

How you can see, the header object has wrong values, I'm unable to parse some files like this.
This is my code
router.post('/dxf', s3Upload.single('dxf'), function (req, res, next) {
    var fileInfo = req.file.key.split("/");
    var params = {Bucket: 'bucketname', Key: req.file.key};
    s3.getObject(params, function(err, data) {
        if (err)
            return err;

        let objectData = data.Body.toString('utf-8');
        const parsed = dxf.parseString(objectData);

        const entities = dxf.denormalise(parsed);

        const groups = dxf.groupEntitiesByLayer(entities);
        const svg = dxf.toSVG(parsed);
        res.send({
            header: parsed.header,
            data: groups,
            svg: svg,
            filename: fileInfo[1]
        });
    });
});

Any help please?
Thanks in advanced.

Lemme look...

If you look in the DXf file, those are the values specified as the extents:
$EXTMIN
 10
1.000000000000000E+20
 20
1.000000000000000E+20
 30
1.000000000000000E+20
  9
$EXTMAX
 10
-1.000000000000000E+20
 20
-1.000000000000000E+20
 30
-1.000000000000000E+20

so the values are being parsed correctly according to the DXF contents.

Thanks a lot @bjnortier

Pleasure :)


Add an ability to retreieve address where the exception happened

Inside the SEH __catch handler, you can retrieve the address of instruction where the exception happened, like so:
__try
{
    int x = 0;
    x = 1 / x;
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
    EXCEPTION_POINTERS* pExceptionPointers = GetExceptionInformation();
    EXCEPTION_RECORD* pExceptionRecord = pExceptionPointers->ExceptionRecord;

    DWORD exceptionCode = pExceptionRecord->ExceptionCode;
    PVOID exceptionAddress = pExceptionRecord->ExceptionAddress;
}

It would be useful if both exceptionCode and  exceptionAddress is available from the Rust side

Good suggestion, thank you! I'm going to work on this. 👍🏼

MicroSEH v0.2.0 now includes the exception address!
crates.io / microseh

Thank you 🙂


Angular template and scope injection.

I missed the functionality to be able to inject variables into the message, bound to a scope. So I added that. This also means there is a jQuery dependency now.

Gonna hold off on merging this in.  I think it's a solid feature, but I'd like to refrain from adding more dependencies if we can.  This might be worth having around on a forked version.


Still active and a println

Hi Jeff,
Just checking to see if this project is being maintained. (We had an issue in the past where a library that we were critically dependent on got renamed and changed into something completely different. So now I am paranoid. :) )
Also, there is an IO.inspect here: https://github.com/jeffweiss/forcex/blob/master/lib/forcex/client.ex#L63 that seems to just be a debugging println. If the output is desired, maybe it should be a Logger.debug?
Sorry if I am being a pain,
--
geoff

@baldmountain I have changed positions where I no longer interact w/ SFDC on a daily basis and thus don't have quite the same imperative for self-directed updates as before. That said, I will continue to merge pull requests.

I understand completely. I have a project or two like that too. I'll close this issue since it was more of a "Hi, how are you" kind of request.
Thanks for getting back to me.
--
geoff


[front] - refactor(poke): remove PokeLabel

Description
This PR removes the custom PokeLabel component and replaces it with the Label component from sparkle. This change is part of an ongoing effort to unify and standardize UI components across the application, reducing the need for maintaining duplicate components.
Key changes include:

Removal of the PokeLabel component
Replacement of PokeLabel usage with Label from sparkle

Risk
Low, only touches poke
Deploy Plan
Deploy front

LTGM :pray


Informational endpoint for variant parameters

While the /filtering_terms endpoint provides a standard way to inform about terms being used/queryable for a beacon there is currently no information about supported genomic variation query parameters or the possible values for some of them.  Especially w/ view towards aggregators & networks it would make sense to provide this information through a dedicated endpoint or as part of info.
Examples:
referenceName
  RefSeqId:
    description: >-
      Reference sequence id for genomic reference sequence in which variant
      coordinates are given, e.g. "refseq:NC_000009.12" for human chromosome 9 in the
      GRCh38 assembly. The use of the assembly specific RefSeqId is recommended
      although alternatively names, synonymous or aliases e.g. "chr9" could be
      used in conjunction with an `Assembly` parameter.
    type: string
    example:
      - refseq:NC_000009.12
      - chr9
      - NC_012920.1

... is rather polymorphic - it is not clear what a instance (has to) support(s) - in Progenetix we support 9, chr9, refseq:NC_000009.12, NC_000009.12 and CM000671.2 ... for human chromosome 9, GRCh38; but nothing else (and I guess other implementations may not even go that far).

variantType
      description: >-
        The `variantType` is used to query variants which are not defined through
        a sequence of one or more bases using the `alternateBases` parameter.
        Examples here are e.g. structural variants:
        * DUP
          - increased allelic count of material from the genomic region between
            `start` and `end` positions
          - no assumption about the placement of the additional sequences is being
            made (i.e. no _in situ_ requirement as tandem duplications)
        * DEL: deletion of sequence following `start`
        The Beacon model is not prescriptive with regard to the values allowed
        for `variantType` with use of extended types (such as from `EFO:0030063`)
        being permitted. However, a support for the basic CNV types above - where
        represented in the data - is recommended.
      type: string
      examples:
        - EFO:0030070
        - DUP
        - DEL
        - EFO:0030069

Which variant types and which vocabularies for expressing them are supported by a beacon?

start, end and their use
Does the beacon support range (1 start, 1 end) or bracket (2 starts, 2 ends) queries?

Extended / alternative variant parameters
Does the beacon support the use of:
*variantMinLength, variantMaxLength

mateName
geneId
aminoacidChange
genomicAlleleShortForm

Hi all,
This is the problem of polymorphic types definition in JSON schema.
genomicVariations endpoint points to the "common" parameters which is just JSON Object
We have (syntactically erroneous) requestParameters.json defined in the model, but because of polymorphism these are not reflected. I agree that logical solution would be having ´/parameters´ endpoint along the ´/filtering_terms´ ... or no parameters at all.
Actually, from the implementation point of view I see no much difference between parameters and filters. We can use filters as they were parameters.
Cheers,
Dmitry

Actually, from the implementation point of view I see no much difference between parameters and filters. We can use filters as they were parameters.

Exactly.


linux-s390x is not able to download boot JDK version 14.

Platform:
jdk-linux-s390x-hotspot
jdk-aix-ppc64-openj9
jdk-aix-ppc64-hotspot
Architecture:
{
04:30:58      "ARCHITECTURE": "s390x",
04:30:58      "TARGET_OS": "linux",
04:30:58      "VARIANT": "hotspot",
04:30:58      "JAVA_TO_BUILD": "jdk",
04:30:58      "TEST_LIST": [
04:30:58          false
04:30:58      ],
04:30:58      "SCM_REF": "",
04:30:58      "BUILD_ARGS": "",
04:30:58      "NODE_LABEL": "build&&linux&&s390x",
04:30:58      "CONFIGURE_ARGS": "--disable-ccache --enable-dtrace",
04:30:58      "OVERRIDE_FILE_NAME_VERSION": "",
04:30:58      "RELEASE": false,
04:30:58      "PUBLISH_NAME": "",
04:30:58      "ADOPT_BUILD_NUMBER": "",
04:30:58      "ENABLE_TESTS": true,
04:30:58      "CLEAN_WORKSPACE": false
04:30:58  }
04:30:58  {
04:30:58      "ARCHITECTURE": "ppc64",
04:30:58      "TARGET_OS": "aix",
04:30:58      "VARIANT": "openj9",
04:30:58      "JAVA_TO_BUILD": "jdk",
04:30:58      "TEST_LIST": [
04:30:58          false
04:30:58      ],
04:30:58      "SCM_REF": "",
04:30:58      "BUILD_ARGS": "",
04:30:58      "NODE_LABEL": "xlc16&&aix715&&build&&aix&&ppc64",
04:30:58      "CONFIGURE_ARGS": "",
04:30:58      "OVERRIDE_FILE_NAME_VERSION": "",
04:30:58      "RELEASE": false,
04:30:58      "PUBLISH_NAME": "",
04:30:58      "ADOPT_BUILD_NUMBER": "",
04:30:58      "ENABLE_TESTS": true,
04:30:58      "CLEAN_WORKSPACE": false
04:30:58  }
Please describe the issue that you are having with our binaries and if possible how to recreate it.
https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk/job/jdk-linux-s390x-hotspot/135/console
04:31:14  Downloading GA release of boot JDK version 14... 04:31:14   04:31:14  gzip: stdin: unexpected end of file 04:31:14  tar: Child returned status 1 04:31:14  tar: Error is not recoverable: exiting now 04:31:14  Downloading GA release of boot JDK version 14 failed. 04:31:14  Attempting to download EA release of boot JDK version 14 ... 04:31:15   04:31:15  gzip: stdin: unexpected end of file 04:31:15  tar: Child returned status 1 04:31:15  tar: Error is not recoverable: exiting now 04:31:13   > /usr/local/bin/git rev-parse origin/master^{commit} # timeout=10 04:31:13   > /usr/local/bin/git config core.sparsecheckout # timeout=10 04:31:13   > /usr/local/bin/git checkout -f 6a5ffb79321034b8a001aed7ef805a1dd40c57f2 # timeout=10

The API went down this morning so I'll let the builds go over the weekend and see if we see this again

AdoptOpenJDK APi server fell over last night  and is now back so this is not arepeatable problem (although we should perhaps mention in it ithe intermittent failures issue

The API went down this morning so I'll let the builds go over the weekend and see if we see this again

I don't think that's the right approach going into the weekend - we need to re-run and try and be stable going into the weekend especially since this appears to be masking other problems that we need to fix at the moment (I have kicked off new JDK11 and 14 pipelines)


[E2B-463] Unexpected errors with WS

Following errors were reported:
No close frame received or sent

For this code snippet
import os
from langchain.tools import E2BDataAnalysisTool

os.environ["E2B_API_KEY"] = "..."

e2b_data_analysis_tool = E2BDataAnalysisTool(
    # Pass environment variables to the sandbox
    env_vars={"MY_SECRET": "secret_value"},
    on_stdout=lambda stdout: print("stdout:", stdout),
    on_stderr=lambda stderr: print("stderr:", stderr),
)

with open("./netflix.csv") as f:
    remote_path = e2b_data_analysis_tool.upload_file(
        file=f,
        description="Data about Netflix tv shows including their title, category, director, release date, casting, age rating, etc.",
    )
    print(remote_path)

This error was received
WebSocket timed out while waiting for: {"jsonrpc": "2.0", "method": "process_subscribe", "params": ["onStdout", "h2FwoI4ouvxF"], "id": 2}

E2B-463

Probably only python by the message, but needs to be checked

We stopped using websockets in the new (beta) SDK, so this issue is no longer relevant.


Log tailer is very slow / induces browser lag

I've noticed that the Singularity log tailer is often not very responsive, and simply having it open (even in a background tab) can negatively affect browser performance.  Closing the window offers immediate relief.  I wonder if there is something obvious, maybe a memory leak, that causes poor performance.  It seems to get worse the longer you have the log file open.

tailer improvements are already coming in https://github.com/HubSpot/Singularity/pull/1253

New log tailer code has been merged and will be in next release 👍


auto deduces type as reference even without &

auto will deduce the type as a reference type, even without the &. This means that:
bit::bit_vector<unsigned char> bvec{"110110"};
auto b = bvec.front() // Should be copied, auto -> bit_value, but instead auto -> bit_reference
b = ~b;
std::cout << bvec.debug_string() << std::endl; // Outputs 010110

front() should return a reference, so this is as expected


<EMAIL_ADDRESS>fails in Sveltekit (ERR_PACKAGE_PATH_NOT_EXPORTED)

Description
I tried to run knip in SvelteKit (even completely new project) but it fails.
Minimal example
https://github.com/vojtechsimetka/knip-demo
How to reproduce
npm create svelte@latest knip-demo
cd knip-demo
npm i
npx knip

System
 System:
    OS: macOS 13.2.1
    CPU: (8) arm64 Apple M1
    Memory: 88.92 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.15.0 - ~/.nvm/versions/node/v18.15.0/bin/node
    npm: 9.5.0 - ~/.nvm/versions/node/v18.15.0/bin/npm
  Knip version:
    2.0.0

Error
><EMAIL_ADDRESS>knip
> knip

Analyzing workspace (.)...
file:///Users/redacted/knip-demo/node_modules/knip/dist/util/loader.js:28
        throw new LoaderError(`Error loading ${filePath}`, { cause: error });
              ^

LoaderError: Error loading /Users/redacted/knip-demo/vite.config.ts
    at load (file:///Users/redacted/knip-demo/node_modules/knip/dist/util/loader.js:28:15)
    at Module.findVitestDependencies (file:///Users/redacted/knip-demo/node_modules/knip/dist/plugins/vitest/index.js:10:26)
    at WorkspaceWorker.findDependenciesByPlugins (file:///Users/redacted/knip-demo/node_modules/knip/dist/workspace-worker.js:217:59)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async WorkspaceWorker.findAllDependencies (file:///Users/redacted/knip-demo/node_modules/knip/dist/workspace-worker.js:236:9)
    at async main (file:///Users/redacted/knip-demo/node_modules/knip/dist/index.js:119:30)
    at async run (file:///Users/redacted/knip-demo/node_modules/knip/dist/cli.js:26:46)
    at async file:///Users/redacted/knip-demo/node_modules/knip/dist/cli.js:57:1 {
  [cause]: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './vite' is not defined by "exports" in<EMAIL_ADDRESS>      at new NodeError (node:internal/errors:387:5)
      at throwExportsNotFound (node:internal/modules/esm/resolve:365:9)
      at packageExportsResolve (node:internal/modules/esm/resolve:589:7)
      at resolveExports (node:internal/modules/cjs/loader:554:36)
      at Function.Module._findPath (node:internal/modules/cjs/loader:594:31)
      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27)
      at Function.resolve (node:internal/modules/cjs/helpers:114:19)
      at _resolve (/Users/redacted/knip-demo/node_modules/jiti/dist/jiti.js:1:241025)
      at jiti (/Users/redacted/knip-demo/node_modules/jiti/dist/jiti.js:1:243309)
      at /Users/redacted/knip-demo/vite.config.ts:1:175 {
    code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
  }
}

BTW I absolutely love knip!!! Thank you very much for creating it and I'd happily contribute!

Thanks for the detailed report, Vojtech! I think I see the issue and will release a patch soon.

Should be fixed in v2.1.0


Port Description
Programmable completion functions for bash
Upstream Repository URL
https://github.com/scop/bash-completion
Additional Information (Optional)
No response

Repository created: https://github.com/zopencommunity/bash-completionport


Add password type support to input prop types

It actually worked already, but gave a prop type warning.

Gj!


Overlayed FS is needlessly fscked due to init

When running in overlay mode, it is pointless to fsck the overlain root.

Fixed in 4853e4d2eb40e22a4c6c8e847ebec2f2db784ace


Use newer version of ex_doc to make it buildable.

Coverage remained the same at 84.101% when pulling 79e2ad0b25f515a94341d0acda08df7b8f9df841 on fix-docs into c1abf7510c22085eeaaf7634c4f0532255618518 on master.


#42  converter 추가

Resolved #42

Codecov Report

Merging #50 (e10f8c9) into main (7b9e610) will decrease coverage by 0.68%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main      #50      +/-   ##
============================================
- Coverage     15.46%   14.77%   -0.69%
  Complexity        9        9
============================================
  Files            14       14
  Lines           194      203       +9
============================================
  Hits             30       30
- Misses          164      173       +9

Impacted Files
Coverage Δ

...domain/enterprise/code/EnterpriseDivisionCode.java
0.00% <0.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 7b9e610...e10f8c9. Read the comment docs.


NoClassDefFoundError error upon accessing inventory.

Versions:
CookingForBlockheads_1.10.2-4.2.35.jar
MouseTweaks-2.7.3-mc1.10.2.jar
This stracktrace mentions this mod and mousetweaks as cause, so I'm unsure which one of those causes it.
Other issue link: https://bitbucket.org/YaLTeR/mouse-tweaks/issues/6/noclassdeffounderror-error-upon-accessing
Stacktrace: https://paste.ubuntu.com/24098307/

That's kind of my fault, in update to 1.11 I completely reworked the API and removed the old class, and forgot to restore it when backporting the latest version back to Minecraft 1.10.2 (I was also pretty sure no one used it). I should probably add the old class back to the 1.10.2 version.

I just started having this same crash.  Hopefully an update is coming soon?

Edit: In fact I'm having trouble getting the interface implemented in 1.11 at all. It's referencing Minecraft classes via notch names rather than srg names, causing this to happen.

Doesn't it work if you implement it using the deobfuscated .java API interface from my bitbucket repo? I'm pretty sure Forge can handle all the obfuscation business.

On the topic of reworking APIs, since you're here right now, I'd love if it was easier to disable Mouse Tweaks in a gui container. Like with an annotation or something. Having to implement a huge interface just to return false in one function is very cluttery. :(

I'm not sure how to detect an annotation, do you have some link where I can read about it? Also why would you want to disable MT for the whole container?

Doesn't it work if you implement it using the deobfuscated .java API interface from my bitbucket repo?

That would work if I shipped the API in my jar (unless you know how to make Gradle include it in compiling but not in the final jar). At the moment I'm adding it as a compile-time dependency.
In order for me to ship the API in my jar safely you need to put a package.info with the API annotation into your api package. That way Forge knows which mod owns the API and will prefer that one when loading.
@API(owner = "mousetweaks", apiVersion = "1.0", provides = "MouseTweaksAPI")
package yalter.mousetweaks.api;

import net.minecraftforge.fml.common.API;

Java ignores unknown annotations so it should still work fine in a non-forge environment.

Also why would you want to disable MT for the whole container?

The mouse wheel tweak was causing the scrolling list in my recipe book to go wonky on fake slots with canTakeStack() == false (where you'd expect nothing to happen, but I think it still set inventoryChanged to true or something, causing my mod to update the list) and there isn't really any need for MouseTweaks to work inside that GUI so I took the easy route out.

I'm not sure how to detect an annotation, do you have some link where I can read about it?

// MouseTweaksIgnore.java
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MouseTweaksIgnore {
}

// To check if a class is annotated
guiContainer.getClass().getAnnotation(MouseTweaksIgnore.class) != null

That would work if I shipped the API in my jar (unless you know how to make Gradle include it in compiling but not in the final jar). At the moment I'm adding it as a compile-time dependency.

I'm not sure if that works, but what about adding the Source JAR as a compile-time dependency? Or maybe I should be buiding another API jar with forge obf (can LiteLoader gradle even do that)?

In order for me to ship the API in my jar safely you need to put a package.info with the API annotation into your api package. That way Forge knows which mod owns the API and will prefer that one when loading.
@API(owner = "mousetweaks", apiVersion = "1.0", provides = "MouseTweaksAPI")
package yalter.mousetweaks.api;

import net.minecraftforge.fml.common.API;

Hmm I'll try this. Are there good docs available on this?

The mouse wheel tweak was causing the scrolling list in my recipe book to go wonky on fake slots with canTakeStack() == false (where you'd expect nothing to happen, but I think it still set inventoryChanged to true or something, causing my mod to update the list) and there isn't really any need for MouseTweaks to work inside that GUI so I took the easy route out.

What if you just set them as ignored slots with MT_isIgnored()? That's what I did for GuiContainerCreative and it allows both scrolling the view properly and using RMB tweak and whatnot in the player inventory.

Annotation stuff
I'll definitely check this out, I always thought having to implement the whole interface to just disable the mod was stupid.

I'm not sure if that works, but what about adding the Source JAR as a compile-time dependency?

I tried that, but since the .java files are not compiled they'll just be available as resources, rather than classes.

Are there good docs available on this?

Not sure if there's anything official, but this basically covers it: https://github.com/Minalien/BlogArchive/blob/master/ForgeTutorials/Spotlight__API_Annotation.md

What if you just set them as ignored slots with MT_isIgnored()?

I haven't tried that. It's just that you really don't need to move items around in my screen, the inventory part is more for visual feedback. It's all based on clicking on fake slots rather than moving items. Also looking at the video again it doesn't seem to be the mousewheel tweak after all, rather it just likes to break with MouseTweaks enabled for some reason.

Ok, I added the old API interface, the annotations and package-info.java here. Could you check if I did the package-info.java part right before switching to annotations? Built MouseTweaks JAR

Looks good!

I think I managed to get gradle to output an API JAR with compiled classes without obfuscation (looking at this repo as an example mainly). Could you check if you can use this properly for a compile time dependency? Mod and API

Yup, class names are correct in the API jar.

So if everything works on that last .jar I'm gonna upload it to CurseForge along with a minecraft 1.10.2 version.

Awesome, thanks.

The same crash happens with Farming For Blockheads.

Try updating to MouseTweaks 2.8. The issue should be solved.


Gray to binary equivalent solution added

Related Issue
Fixed : #410
Description
i have added solution of "Gray to Binary Equivalent" under gfg solution "0021 Gray to Binary Equivalent "
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)

Checklist

[x] I have performed a self-review of my code.
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:

Code Harbor Hub Community Features
Docusaurus Documentation
React.js Documentation
Markdown Guide
MDX Documentation
Mermaid Documentation

Resources for DSA Features on Our Site:

Tabs: Switch Languages
Line Numbering
Math Equations

hey @Ajay-Dhangar , i have added solution to paths to reach origin .
can please make it level 3
Reason:

make same as "Two sum Problem" as @Ajay-Dhangar (you ) suggested
added 4 Approach


Fix version printing to the crate version

closes #74

while we are here, should we also add a version flag to tremor-server?

we a;readu got that:
     Running `target/debug/tremor-server --version`
tremor version: 0.7.3
rd_kafka version: 0x000000ff, 1.3.0
tremor-runtime 0.7.3


ordering of authors (citations) shown on project (study) page does not reflect actual ordering

The ordering of authors (and citations) on the project (study) page does not reflect the actual ordering. Example:
Project (study) page:

Actual ordering of the authors:

Same applies for the citations.

Dear @tilfischer ,
This issue is already addressed and fixed in our dev branch as part of the Issue
But to be fixed in prod, it will take time as the deployment to prod is on hold (unless there are any breaking changes) until Chandu is back from leave.
For now to overcome this reloading the page will help.
Thanks for reporting this.


CLI hangs on sweep validation errors

Weights and Biases version:  0.6.34
Python version: 3.6.4
Operating System: Linux

Description
Create a sweep config with an invalid parameters and try to initialize a sweep.  The client will hang retrying the invalid config.
What I Did
Example bad sweep exerpt
parameters:
  dropout_1:
    min: 0
    #max: 0.4

wandb sweep badsweep.yaml

Fixed in 0.6.35


Getting TM1 Dimensions into PBI

Describe what did you try to do with TM1py
Following the example on the CubeWise website, I have the following code in a py file:
Run the code:
version = tm1.power_bi.get_member_properties(
dimension_name="Version",
hierarchy_name="Version",
#1        member_selection="{Tm1SubsetAll([Version])}",
member_selection="{Tm1SubsetToSet([Version],"Act vs WB")}",
skip_consolidations=False)
version
print(version)
Describe what's not working the way you expect
Running this code with line "#1" works.
Running this code with the line under "#1" does not work. It returns "SyntaxError: invalid syntax. Perhaps you forgot a comma?"
Version

TM1py:  3.12.1
TM1 Server Version: 11.8.02200.2

Hello,
Please consider using single quotes.
Either:
member_selection='{Tm1SubsetToSet([Version],"Act vs WB")}',
either:
member_selection="{Tm1SubsetToSet([Version],'Act vs WB')}",

Best regards / Beste groeten,
Wim Gielis
IBM Champion 2024
MS Excel MVP 2011-2014
https://www.wimgielis.com http://www.wimgielis.be
Op vr 26 jan 2024 om 19:43 schreef richenners @.***>:

Describe what did you try to do with TM1py
Following the example on the CubeWise website, I have the following code
in a py file:
Run the code:
version = tm1.power_bi.get_member_properties(
dimension_name="Version",
hierarchy_name="Version",
#1 https://github.com/cubewise-code/tm1py/pull/1
member_selection="{Tm1SubsetAll([Version])}",
member_selection="{Tm1SubsetToSet([Version],"Act vs WB")}",
skip_consolidations=False)
version
print(version)
Describe what's not working the way you expect
Running this code with line "#1
https://github.com/cubewise-code/tm1py/pull/1" works.
Running this code with the line under "#1
https://github.com/cubewise-code/tm1py/pull/1" does not work. It
returns "SyntaxError: invalid syntax. Perhaps you forgot a comma?"
Version

TM1py: 3.12.1
TM1 Server Version: 11.8.02200.2

—
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/tm1py/issues/1043, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDHULLD62CJQMWEGGKSISTYQP2LLAVCNFSM6AAAAABCMSD7B6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEYDENZRHAZTMNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you! Both worked. Is it possible to return the consolidated elements and their children?

Basically, all non-string elements ?

Best regards / Beste groeten,
Wim Gielis
IBM Champion 2024
MS Excel MVP 2011-2014
https://www.wimgielis.com http://www.wimgielis.be
Op vr 26 jan 2024 om 21:37 schreef richenners @.***>:

Thank you! Both worked. Is it possible to return the consolidated elements
and their children?
—
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/tm1py/issues/1043#issuecomment-1912665165,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDHULMGTYX3Y2WWJM3BYFTYQQHZRAVCNFSM6AAAAABCMSD7B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGY3DKMJWGU
.
You are receiving this because you commented.Message ID:
@.***>

There is a non consolidated element "Working Budget CY" underneath "Current Budget" as an example - see attached snip.

Also, I copied a working py script into Power BI but it is unable to connect. Is there a work-around for this?

An MDX like this ?
{[Version].[Act vs. Budget]} + TM1FilterByLevel( Descendants(
{[Version].[Act vs. Budget]} ), 0 )

Best regards / Beste groeten,
Wim Gielis
IBM Champion 2024
MS Excel MVP 2011-2014
https://www.wimgielis.com http://www.wimgielis.be
Op vr 26 jan 2024 om 21:57 schreef richenners @.***>:

There is a non consolidated element "Working Budget CY" underneath
"Current Budget" as an example - see attached snip.
Version.Example.png (view on web)
https://github.com/cubewise-code/tm1py/assets/124631528/242a99da-46aa-4d29-bdb2-e156b19599c0
Also, I copied a working py script into Power BI but it is unable to
connect. Is there a work-around for this?
Version.PBI.Error.png (view on web)
https://github.com/cubewise-code/tm1py/assets/124631528/b6818606-dafa-4e9e-87ba-0b1812b79717
—
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/tm1py/issues/1043#issuecomment-1912686128,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDHULJKKDTT4ONR2WJPIBLYQQKDPAVCNFSM6AAAAABCMSD7B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGY4DMMJSHA
.
You are receiving this because you commented.Message ID:
@.***>

Yes, that's awesome, thank you very much. I now understand better how this works.
Have you seen the PBI error before?

No, I haven't used TM1py for the purposes of PBI.
We usually replace PBI with CA.

Best regards / Beste groeten,
Wim Gielis
IBM Champion 2024
MS Excel MVP 2011-2014
https://www.wimgielis.com http://www.wimgielis.be
Op vr 26 jan 2024 om 22:07 schreef richenners @.***>:

Yes, that's awesome, thank you very much. I now understand better how this
works.
Have you seen the PBI error before?
—
Reply to this email directly, view it on GitHub
https://github.com/cubewise-code/tm1py/issues/1043#issuecomment-1912696931,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDHULPW5SMLXQMKMD3OLNLYQQLIBAVCNFSM6AAAAABCMSD7B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGY4TMOJTGE
.
You are receiving this because you commented.Message ID:
@.***>

Got it. Thanks for you help, have a good weekend!


openpilot 0.3.3

This is the space for public comment before we merge into release.

After installing 0.3.3 and rebooting I get a blank screen after the NEO splash screen.  After several reboots the NEO then would not even connect to Wifi.  I ended up having to reflash the NEOS onto the phone and reinstalling OpenPilot.
Now everything comes up however it's not logging into Google.  After logging in and allowing access to Chffr it stays logged out.

How did you install it? When this happens, you can also use adb to connect to the phone to recover.

I had my branch running but also had the release repo on the phone in another folder so I renamed the release folder back to /data/openpilot and did git pull; git checkout devel; reboot.
It looks like now it's back to normal. It finally was able to log into google.

+1, having same issue.
oneplus3t, volt branch (issue happened after merging latest develop changes)
Do we have two separate issues here, 1) Google login and 2) phone getting unresponsive to a point it requires flashing / reset?
@geohot, does sign-in logic require board to be connected & powered on?
@geohot, after I couldn't ssh into phone over WiFi, I couldn't connect to it with adb either. Had to do a factory reset (without flashing) to be able to do anything.

sign-in logic shouldn't require board.
unplug and replug to after boot up to have the phone adb

@geohot, re-plugging didn't fix adb connectivity.
I could still ping Neo over wifi, but not ssh into it.
For me, it was a gradual decline in responsiveness. From visibly lagging visiond ('top'  was showing plenty of idle CPU though), to a totally unusable system day after.
I'll do more troubleshooting tonight, anything specific you'd want me to look into?

For me, when I noticed wifi wasn't working on the NEO I was still able to adb into the phone and when I looked at top I didn't see any of the OpenPilot services running.

Still driving on it , had few intermittent issues trying to ssh to it , but was able to manage to connect to it in the end. Had theses with previous versions before.
Going from the driving mode to the wallpaper screen seem slower . Also the whole system seem to lag a tiny bit, again more than previous.
Finally , saw a difference with new visiond when a car cut me close in a lane , the path planning is jerking left and right a bit and I have to take control back for a couple of seconds. Don't recall seeing this with 0.3.1. I will put it back and give a try to see if I get the same behavior.

@pjlao307 You can forward the ssh port over adb and attach to the tmux session. If someone can repro and paste the tmux contents we can debug a lot better.
@vntarasov Huh, never seen this gradual decline before. Out of space?

@geohot I'm not sure how to do that.  Not really familiar with adb or tmux.  Would it be easier from a user perspective to maybe have a debug switch in the code that can log all the tmux output to a file that can then be sent to comma.ai?


ADD MORE AND MORE LINKS

Every time you click 'Home','counter','API','Bootstrap'，'Link' will add two.
After a few times...
<link rel="canonical" href="http://blogs.example.com/chat/something"> \<link rel="alternate" hreflang="es" href="http://es.example.com/users"> \<link rel="canonical" href="http://blogs.example.com/counter/something"> \<link rel="alternate" hreflang="es" href="http://es.example.com/counter"> \<link rel="canonical" href="http://blogs.example.com/chat/something"> \<link rel="alternate" hreflang="es" href="http://es.example.com/users"> \<link rel="canonical" href="http://blogs.example.com/counter/something"> \<link rel="alternate" hreflang="es" href="http://es.example.com/counter"> \<link rel="canonical" href="http://blogs.example.com/chat/something">

This is a client only issue and will be fixed soon when there's an overall DocumentService.
Link canonical and such only matters for initial server renders as its used by blogs for SEO and such.
I'll clos this one out as we have a duplicate at #172 but thanks for letting us know! We'll get a better LinkService out there soon enough. It'll all work fine for now though.


Add function type mismatch

GCC doesn't complain if I don't have this, but clang does, so that's why I added it

Sorry for the late merge of your pull request, I've just been overcome with laziness, unfortunately. Good catch, by the way, I didn't notice it before. Thank you for the pull request!

I've just been overcome with laziness

Nah don't worry about it, just try and be less lazy :^)


Improve controller status

But there are 2 more meanings known -
57 for reduce (25 according to cumulumbus - maybe under other conditions) and
0 for standby (or off)
its a good idea to show the numbers instead of "unknown" so the meanings can be assigned (hopefully).

See https://github.com/syssi/esphome-votronic/discussions/1#discussioncomment-4851143

//Batteriestatus
if (msg.payload[13] & (1 << 0)){
        i_phase = true
}
if (msg.payload[13] & (1 << 1)){
        u1_phase = true
}
if (msg.payload[13] & (1 << 2)){
        u2_phase = true
}
if (msg.payload[13] & (1 << 3)){
        u3_phase = true
}

//Reglerstatus
if (msg.payload[14] & (1 << 3)){
        standby = true
}
if (msg.payload[14] & (1 << 4)){
        abregelung = true
}
if (msg.payload[14] & (1 << 5)){
        AES = true
}

Reference: https://github.com/SirReal-surreal/SirReal-surreal/blob/main/2021_08_16_Votronic.json


Sort star bams using samtools (resolves #177)

resolves #177
Changes the output name of genomic RNA bam to rna_genome_sorted.bam

Jenkins, test this please.

Jenkins, test this please.


Add datetime.time handler to fitdump

My watch (Forerunner 735) includes two time entries which crashed the fitdump tool. I've added the datetime.time  handler to the RecordJSONEncoder class.

Fixed by 4a9c719 which is included in v1.2.0