fix(app): adjust positioning of floating components

📝 Description

Add a brief description

Adjust positioning of the widgets within floating components in the media queries large-to-2xl for improving ui and ux.
⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

In the media queries large-to-2xl, the widgets are arranged in a different way, In addition, the image hides one of the features in the GridFeatures component (for this, only need to set z-index to the GridFeatures div) but I chose to offer a different arrangement for those media-queries, which might be suitable for you.
🚀 New behavior

Please describe the behavior or changes this PR adds

Here is a demonstration video showing how it looks before and after. (on 1920x1080 display)
💣 Is this a breaking change (Yes/No):

No.

Summary by CodeRabbit

New Features

Enhanced responsiveness for Floating Components and Floating Tabs to improve display across larger screens.

Style

Updated positioning, animations, and sizes of various elements to adapt better to different screen sizes.

the demo video is not available. please attach a before and after screenshot.

here👍

I think your forked repo is pretty outdated. Can you sync once with our latest canary and check if the fix is still required?

I think your forked repo is pretty outdated. Can you sync once with our latest canary and check if the fix is still required?

Yeah the fix is still required, the vid I uploaded yestetday - recorded yesterday. The PR have no conflicts, so I think it's okay merge this PR.

This branch is 1 commit ahead of, 183 commits behind nextui-org/nextui:canary.

Please sync once so that I could review on PR build.

This branch is 1 commit ahead of, 183 commits behind nextui-org/nextui:canary.

Please sync once so that I could review on PR build.

My mistake, I thought I had already synced it yesterday. I just did. 👍

With width = 1920, the current documentation looks different than your video. Also We don't use max-2xl given the mobile first principle.


vector subtraction +- symbol come together

Describe the bug
vector subtraction +- symbol come together
Possible solution

Describe the solution you thought of.

Screenshots

If applicable, add screenshots to help explain your problem.

@sairish2001 i would like to work on this issue

Go ahead
Deadline 6 May,2021
Also convert the output equation to LaTeX Text


new adapter letrika_comgw

Please fix:

And do not add to stable together with latest. Did the application was tested by users?

The only User to test it is me, because this gateway is brand new, i got one of the first.


Cityscapes datastructure

Hi,
I want to replicate some results, however, I have some issues with loading in the Cityscapes dataset and I can't find anywhere how the dataset structure should be. I saw the list_file and labels_csv_path are needed, but I don't know how to obtain these.

Hi @S-Beers,
The files that are required in list_file and labels_csv_path actually need to be downloaded here  and this was not documented, thanks for raising this issue!
The dataset description was just updated in this PR. Here is a copy of what was added, let me know if it is not clear :)

To run this Dataset you need two folders:
- Cityscape dataset (download here: https://www.cityscapes-dataset.com/downloads/)
    root_dir (in recipe default to /data/cityscapes)
        ├─── gtFine
        │       ├── test
        │       │     ├── berlin
        │       │     │   ├── berlin_000000_000019_gtFine_color.png
        │       │     │   ├── berlin_000000_000019_gtFine_instanceIds.png
        │       │     │   └── ...
        │       │     ├── bielefeld
        │       │     │   └── ...
        │       │     └── ...
        │       ├─── train
        │       │     └── ...
        │       └─── val
        │             └── ...
        └─── leftImg8bit
                ├── test
                │     └── ...
                ├─── train
                │     └── ...
                └─── val
                      └── ...
- Metadata folder (Download here: https://deci-pretrained-models.s3.amazonaws.com/cityscape_lists.zip)
    lists
        ├── labels.csv
        ├── test.lst
        ├── train.lst
        ├── trainval.lst
        └── val.lst
Example:
    >> CityscapesDataset(root_dir='.../root_dir', list_file='.../lists/train.lst', labels_csv_path='.../labels.csv')

I am closing this issue down as dataset setup instructions  were added.


Is encouraging binary encoding/decoding a good idea? Should it be so prominent?

I found the arguments at https://github.com/whatwg/html/issues/6811#issuecomment-870161594 by @Kaiido somewhat persuasive. Basically, if you're encoding your bytes to and from a string, you're probably doing something wrong, and you should instead modify your APIs or endpoints to accept bytes anyway.
There are definitely cases where it's useful, mostly around parsing and serializing older file formats. But I'm not sure they need to be promoted to the language (or web platform).
Relatedly, even if we think this is a capability worth including, I worry that putting it on ArrayBuffer makes it seem too prominent. It makes base64 decoding/encoding feel "promoted" on the same level as fundamental binary-data operations such as slicing or indexed access. From this perspective something like https://github.com/lucacasonato/proposal-binary-encoding (with static methods) seems nicer in that it silos off this functionality to a separate utility class.

you should instead modify your APIs or endpoints to accept bytes anyway

I don't know about you, but a substantial portion of the code I write talks to APIs which I am not in a position to modify. I think that's probably the case for many developers. Just to pick a few examples I've encountered: Google's speech to text API, the Google Drive API, and Github's API all expect you to provide binary data encoded with base64 in some circumstances.
In the other direction a great many APIs return data in base64, usually as part of a larger response - for example, JSON-based APIs generally base64-encode binary data which they wish to return as part of the response (what else could you do?).

It makes base64 decoding/encoding feel "promoted" on the same level as fundamental binary-data operations such as slicing or indexed access.

Ehh... I don't think the fact that two APIs are exposed in the same way implies they are equally promoted. (Though actually indexing is done with syntax, not a method call, so indexing is strictly more promoted than this would be.) I have wanted Array.prototype.map approximately a thousand times more frequently than I've wanted Array.prototype.copyWithin, for example.
And ASCII serialization/deserialization is a pretty fundamental operation on binary data, so ArrayBuffer seems like the right place to put those methods. Certainly I as a developer would not think to look for a class outside of ArrayBuffer to find the method for base64-encoding an ArrayBuffer.

JSON is a fundamental part of the language, and JSON requires that array buffers to be stored as ASCII, so I think Base64 is fundamental enough to be this prominent.

Not disagreeing with the conclusion, but there are other ways to represent binary data in JSON and the suitability varies. Strings are often the most practical option, but for small binary values, arrays of numbers are usually better. A real world example of where strings are the worst option is the “challenge” and “user handle” binary values that get exchanged in WebAuthn.
Every demo of WebAuthn I’ve seen encodes these (tiny — 64 bytes or less) binaries as urlsafe base64 strings in JSON during interchange. (I’m not sure why they add the extra steps for urlsafe given it’s sent in a JSON body — any flavor of base64 would be fine — but they all seem to do it.)
Encoding those values as ordinary JSON arrays of numbers is more direct, less error-prone, and the size doesn’t make a material difference:
// JSON-serializable representation:
[ ...new Uint8Array(buffer) ];

// Simpler and safer restoration from JSON:
Uint8Array.from(array);

I would like to point out that there are a few encoding/decoding types that are practically everywhere both client-side and server-side:

Base64 string ↔ raw binary, due to JSON, XML, and URLs not supporting arbitrary data without lots of escaping

The "URL-safe" encoding simply replaces + and / with _ and - - this would be a good candidate for an encoder option, but that's about it as a single decoder could easily decode both by simply changing a lookup table slightly.

Hex string ↔ raw binary, used both for raw data (Base64 would be better, but some people are just lazy) and for cryptographic constants
Native string ↔ raw UTF-8 due to all the basically everything that requires it (it's been the default text-to-binary conversion for Node's buffers since the moment .toString was added, and WHATWG's TextDecoder/TextEncoder has never supported anything other than UTF-8 to/from strings)

I've had a WIP transcoding proposal sitting privately, and there is a very significant performance boost to be had by having this done within the engine: they can iterate strings via their native representation (whether it be a cons string or a flat string) and build it with zero unnecessary copies. Additionally, while this isn't in of itself an argument for using JS engines, they're all three embarassingly parallel tasks very well-suited to SSE vectorization, and JS engines are much more likely to look into those and similar where possible than embedders as they already have to care a lot about architectural specifics between their JIT and WebAssembly.

I do agree with original commenter that base64 url should be discouraging. it's wasteful to send 33% more bandwith and wasting unnecessary processing time encoding/decoding to and from strings.
and the WebAuthn/json reason sending things back and forth between api's can be dealt with other communication strategies such as FormData + Blob
I have abuse fetch power to retrieve multiple files back from a server to the browser by doing something like
const fd = await response.formData()
const files = fd.getAll('files')

much quicker and easier than having to use any zip/tar stuff. there isn't any reason you can do the same thing on the server now either when NodeJS and Deno can do now using the same fetch api on the backend.
just send the webauthn binary using something like:
fd.append('challange', new Blob([uint8array]))
fetch(url, { body: fd })
// and do this on the backend:
const fd = await req.formData()

this way of sending formdata works both ways.
As such i am -1 on implementing new binary encoder
The platform have involved to better handle binary data nowdays that don't require things to be sent via base64 or json
we have things such as bson and protobuf and other binary representation. JSON isn't the only solution and it isn't the best solution for doing everything with it.

speaking of formdata (of topic)... would it be a great idea to have something like: formdata.append('stuff', typedArray)?

I am in retrospect growing of the opinion that @domenic is right that this doesn't belong on the array buffer itself, but in maybe a built-in module or something. It's also worth mentioning a built-in module or separate global would be a lot easier for those maintaining embedded runtimes like XS to implement.

@jimmywarting Nice, I’d never considered FormData here. It seems pretty well-suited and (relatively) direct. I’m curious if you know whether there are any gotchas attached to it? Sometimes those characteristics are deceptive with APIs like this*.
* I might be unduly novel usage of FormData cause I proposed %Object.fromEntries% a few years back and today one of the most common waus I see it used in the wild is Object.fromEntries(new FormData(form)) ... which is unsafe for duplicate keys & doesn’t do what people imagine for e.g. checkbox inputs. I now feel partly responsible for some untold but prob large number of sporadic bugs on the open web ._.

@bathos

I’m curious if you know whether there are any gotchas attached to it?

well, IE don't support fetch at all so, there is that...
but other than that i don't see any problem with responding with a FormData back to the client/browser from the server and vice versa. also, there isn't any reason why you can't just send pure raw binary directly also fetch(url, {body: arrayBuffer})
Deno have a pretty well spec'ed fetch+FormData built in.
latest node-fetch@3 have support for taking a stream and convert it into back into a formdata using something like:
import { Response, FormData } from 'node-fetch'
reg.post('path', (req, res) => {
  const fd = await new Response(req).formData()
  new Response(fd).arrayBuffer().then(Buffer.from).then(res.send)
})

doe undici fetch impl don't yet support decoding formdata yet: (see https://github.com/nodejs/undici/issues/974)
formdata-polyfill comes with a neat way of converting FormData into blobs for furderer usage in other ways.
But this is all just of topic so i'm going to hide this.

It is the opinion of the committee that this is worth doing. It's true that it's better to avoid the overhead when possible, but often it simply isn't, and we should make accommodations for that reality.


set_shape is not loaded from saved model

System information

TensorFlow version (use command below): 2.1.0
Python version: 3.6.10

Describe the current behavior
When loading a saved keras model that contains .set_shape on a tensor, this is not loaded.
import tensorflow as tf

inp = tf.keras.Input((None, 3))
inp.set_shape((None, 2, 3))
x = tf.keras.layers.Dense(3)(inp)

model = tf.keras.Model(inp, x)
model.summary()

model.save("test.h5")
loaded = tf.keras.models.load_model("test.h5")
loaded.summary()

model.summary():
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_1 (InputLayer)         [(None, None, 3)]         0
_________________________________________________________________
dense (Dense)                (None, 2, 3)              12
=================================================================

loaded.summary():
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_1 (InputLayer)         [(None, None, 3)]         0
_________________________________________________________________
dense (Dense)                (None, None, 3)           12
=================================================================

--> Shape is not identical!

Was able to reproduce the reported issue with Tf 2.1 and Tf-nightly==2.2.0.dev20200316..
Please find the gist here. Thanks!

Why not just set the correct shape in tf.keras.Input? I understand that this is a toy example, but is there a valid use case for this?

In my case, I'm using some operations which end up leaving the last dimension of the output tensor as a '?', even though I actually know the shape. So I set it manually in order to feed it into a dense layer (which requires the last dimension to be known).
In fact, I found out which operation left the dimension unknown: It's tf.shape, which is apparently also not properly loaded from a saved model:
import tensorflow as tf

inp = tf.keras.Input((2, 3))
x = tf.zeros(tf.shape(inp)[:2])

model = tf.keras.models.Model(inp, x)
model.summary()
model.save("test.h5")
loaded = tf.keras.models.load_model("test.h5")
loaded.summary()

model.summary():
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_1 (InputLayer)         [(None, 2, 3)]            0
_________________________________________________________________
tf_op_layer_Shape (TensorFlo [(3,)]                    0
_________________________________________________________________
tf_op_layer_strided_slice (T [(2,)]                    0
_________________________________________________________________
tf_op_layer_zeros (TensorFlo [(None, 2)]               0
=================================================================

loaded.summary():
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_1 (InputLayer)         [(None, 2, 3)]            0
_________________________________________________________________
tf_op_layer_Shape (TensorFlo (3,)                      0
_________________________________________________________________
tf_op_layer_strided_slice (T (2,)                      0
_________________________________________________________________
tf_op_layer_zeros (TensorFlo (None, None)              0
=================================================================

As you can see, the output has an unknown shape after loading the model.

Why not just set the correct shape in tf.keras.Input? I understand that this is a toy example, but is there a valid use case for this?

I strongly support this view. it's not advisable to freewheeling like such model building idea.

I strongly support this view. it's not advisable to freewheeling like such model building idea.

set_shape (and tf.shape apparently) are public, documented functions, and saving + loading is a very basic use case, so I don't see what you mean by 'freewheeling'.

I strongly support this view. it's not advisable to freewheeling like such model building idea.

set_shape (and tf.shape apparently) are public, documented functions, and saving + loading is a very basic use case, so I don't see what you mean by 'freewheeling'.

Sorry, I didn't mean to offend. My opinion is that "just set the correct shape in tf.keras.Input" already works well, while it's uncommon that you define inp first and then inp.set_shape().

I strongly support this view. it's not advisable to freewheeling like such model building idea.

set_shape (and tf.shape apparently) are public, documented functions, and saving + loading is a very basic use case, so I don't see what you mean by 'freewheeling'.

Sorry, I didn't mean to offend. My opinion is that "just set the correct shape in tf.keras.Input" already works well, while it's uncommon that you define inp first and then inp.set_shape().

Ah I see, sorry for the confusion. I just broke it down to a minium example for this issue. In my actual use case, I do define the input fully, but there are many layers and operations in between the input and set_shape which result in unknown dimensions, something like this:
inp = tf.keras.Input((3, 4))
x = ...  # many layers, output shape is (None, None, None)
x.set_shape((None, 2, 3))
x = tf.keras.layers.Dense(3)(x)

set_shape doesn't actually produce any ops, so it can't be saved in the SavedModel. You could create a custom layer that runs set_shape, and pass the layer as a custom object when loading.


CPU usage glitch

Hi,
How do I stop the CPU usage module 'glitching' left/right on transition from single digit usage to double digit usage?
I have tried some of the module adjustments but I am unable to remove this glitch.
All ideas most welcome.

Thank you so much.


ctrl+a also selects the "about" tab

Hi there,
Pressing ctrl+a selects all images, thats great!
But it does also selects all information in the "about "tab

Please fix it :)

Fixed in the next version of Lychee (v3.0).


Rate posts

The user wants to rate an existing post and view the current rating on a post/

PATCH does not work. May require a backend update.


ODESystem output of SInDy

Add ODESystem for basis to resolve #17 .

Adding
sys = ODESystem(basis)

to the tests produces a strange error.  Without this, no error is produced and everything checks out.
@ChrisRackauckas  can you confirm this on your machine?
(DataDrivenDiffEq) pkg> test
   Testing DataDrivenDiffEq
 Resolving package versions...
WARNING: both Convex and ModelingToolkit export "Variable"; uses of it in module DataDrivenDiffEq must be qualified
Basis: Error During Test at C:\Users\juliu\Documents\julia\DataDrivenDiffEq.jl\test\runtests.jl:7
  Got exception outside of a @test
  UndefVarError: Variable not defined
  Stacktrace:
   [1] ODESystem(::Basis{Array{Operation,1},Array{Operation,1},Array{Operation,1}}) at C:\Users\juliu\Documents\julia\DataDrivenDiffEq.jl\src\basis.jl:85
   [2] top-level scope at C:\Users\juliu\Documents\julia\DataDrivenDiffEq.jl\test\runtests.jl:27
   [3] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Test\src\Test.jl:1107
   [4] top-level scope at C:\Users\juliu\Documents\julia\DataDrivenDiffEq.jl\test\runtests.jl:8
   [5] include at .\boot.jl:328 [inlined]
   [6] include_relative(::Module, ::String) at .\loading.jl:1105
   [7] include(::Module, ::String) at .\Base.jl:31
   [8] include(::String) at .\client.jl:424
   [9] top-level scope at none:6
   [10] eval(::Module, ::Any) at .\boot.jl:330
   [11] exec_options(::Base.JLOptions) at .\client.jl:263
   [12] _start() at .\client.jl:460

Test Summary: | Pass  Error  Total
Basis         |    6      1      7
ERROR: LoadError: Some tests did not pass: 6 passed, 0 failed, 1 errored, 0 broken.

It's because it's no longer shadowing. They should both probably be used by import as much as possible.

I don't know if this is the solution you had in mind, I never really encountered this problem with using. Otherwise this can be merged from my perspective.


Windows builds

Fixing the GDAL issues with Windows
Creating a working windows test build in GitHub actions

PackagesNotFoundError: The following packages are not available from current channels:

  - octave
  - openblas-devel

Could switch to a calculated set of fields and not compare directly against cats


Dev 09

Improves code comments and re-usability of the gh-pages workflow action

Merging to master as need to test the actino on master branch due to way the workflwo is configured
Note that several tests fail, will be fixed in other issues


Wrong cache result returned for same key but different fetch function

Bug report
Description / Observed Behavior
Using different fetch functions but with overlapping keys makes the cache confused.
Expected Behavior
Each fetch function I provide should have its own isolated cache. i.e. the function should be part of the cache key, as if you would do (see repro steps)
function applyFn(fn, ...args) {
  return fn(...args)
}

useSWR([fetchHello, 'swr'], applyFn)
useSWR([fetchGoodbye, 'swr'], applyFn)

Repro Steps / Code Example
import useSWR from "swr";

function fetchHello(name) {
  return `hello ${name}`;
}

function fetchGoodbye(name) {
  return `goodbye ${name}`;
}

export default function IndexPage() {
  const { data: hello } = useSWR("swr", fetchHello);
  const { data: goodbye } = useSWR("swr", fetchGoodbye);

  return (

      hello: {hello}

      goodbye: {goodbye}

  );
}

https://codesandbox.io/s/swr-issue-overlapping-cache-9xuqs
Notice how it displays

hello: hello swr
goodbye: hello swr

instead of

hello: hello swr
goodbye: goodbye swr

Additional Context
SWR version.
0.4.0

This is expected behavior because the resource is always identified by the key. Like React hooks useCallback(fn, [key]) won’t return the new result when fn changes (also technically it’s not possible to make fetcher part of the key, e.g., people use anonymous inline functions as the fetcher).
What you described:
useSWR([fetchHello, 'swr'], applyFn)

actually looks great because the fetch method also identifies the resource in your case, so it’s in the key and that works.
And you can always create your custom hooks to simply the application logic (SWR works the best at the resource level):
// libs/resource.js
const createUseResource =
  fetcher => key => useSWR([fetcher, key], applyFn)
const useHello = createUseResource(fetchHello)

// components/foo.js
useHello('swr')

This is expected behavior because the resource is always identified by the key. Like React hooks useCallback(fn, [key]) won’t return the new result when fn changes (also technically it’s not possible to make fetcher part of the key, e.g., people use anonymous inline functions as the fetcher).
What you described:
useSWR([fetchHello, 'swr'], applyFn)

actually looks great because the fetch method also identifies the resource in your case, so it’s in the key and that works.
And you can always create your custom hooks to simply the application logic (SWR works the best at the resource level):
// libs/resource.js
const createUseResource =
  fetcher => key => useSWR([fetcher, key], applyFn)
const useHello = createUseResource(fetchHello)

// components/foo.js
useHello('swr')


RootContainers count twice for getAboveTheFoldCount

We have a page that has an entire RootContainer that's above the fold, but we don't account for it in our getAboveTheFoldCount implementation. While debugging why our waterfall is looking weird (caused by this wrong count number), we noticed that the fix would be to a) take into account the RootContainer in our getAboveTheFoldCount implementation, but also b) increment our count by 2 for each entirely-above-the-fold RootContainer. The latter is extremely confusing and easy to miss - can we either omit RootContainers from being part of the above-the-fold-count (they are elements, but they're container elements that can only contain RootElements, which already count for above-the-fold so it seems duplicative), or at least fixing this double-counting thing?

Thanks for reporting @lidawang.  That's definitely confusing.  I think omitting RootContainers entirely from the above-the-fold count makes the most sense.

Good bug @lidawang.  @bartkusa came up with a better API that doesn't have this sort of confusing behavior to deal with.  We're going to migrate to that, so closing this ticket as not relevant to the future.


PointerEvent should have meta info (isShiftPressed, isCommandPressed etc.)

PointerEvent should have meta info isControlPressed, isAltPressed similar to RawKeyEvent. This will allow to handle more "types" of clicks. Example use-case: shift + click = add to selection

unless I'm missing something, this feature is NOT nice to have and cannot be replaced with a keyboard listener that remembers whether any of the shift/meta keys are pressed while the pointer even is delivered.
in desktop / web mode, pointer events like hover, can be delivered to the app even when the app is not in focus. for example, switch to another app and move your mouse pointer to the app area. in such a case, the app will not receive keyboard events as it's not in focus.
take FIGMA for example, you can zoom in/out using mouse wheel while holding the Command key even if the app is not foreground. that is achievable because the state of shift/meta keys are reported along with the pointer events.


IcePseudoTcp doesn't work on android

IcePseudoTcp  works great if run as a test with my coturn server. However, if you run the same test on an emulator or on a real device, the test does not work and crashes with an exception.
10/09 00:17:49: Launching app
$ adb install-multiple -r -t -p com.kodholken.stunclient D:\_Work\MyApplication\app\build\intermediates\split-apk\debug\slices\slice_4.apk
Split APKs installed in 1 s 805 ms
$ adb shell am start -n "com.kodholken.stunclient/com.kodholken.stunclient.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: com.kodholken.stunclient | com.kodholken.stunclient.test
Waiting for application to come online: com.kodholken.stunclient | com.kodholken.stunclient.test
Connecting to com.kodholken.stunclient
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/zygote64: Late-enabling -Xcheck:jni
W/ActivityThread: Application com.kodholken.stunclient is waiting for the debugger on port 8100...
I/System.out: Sending WAIT chunk
I/zygote64: Debugger is active
Connected to the target VM, address: 'localhost:8635', transport: 'socket'
I/System.out: Debugger has connected
    waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1334)
I/InstantRun: starting instant run server: is main process
D/OpenGLRenderer: HWUI GL Pipeline
I/Adreno: QUALCOMM build                   : e480280, I1696958cf4
    Build Date                       : 05/25/18
    OpenGL ES Shader Compiler Version: EV<IP_ADDRESS>_06
    Local Branch                     :
    Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.6.4.R<IP_ADDRESS>.309.061
    Remote Branch                    : NONE
    Reconstruct Branch               : NOTHING
I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
I/zygote64: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 2
I/zygote64: Do partial code cache collection, code=29KB, data=21KB
    After code cache collection, code=29KB, data=21KB
    Increasing code cache capacity to 128KB
I/DpmTcmClient: RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor
I/DpmTcmClient: RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
I/pingCandidateHarvesters: Initialized mapping harvesters (delay=573ms).  stunDiscoveryFailed=false
I/org.ice4j.ice.Agent: Gathering candidates for component data.RTP. Local ufrag 9qp8q1cpaonlsr
I/IcePseudoTcp: UDP Component created in 205 ms
I/org.ice4j.ice.Agent: Gathering candidates for component data.RTP. Local ufrag 2k1h21cpaonmms
I/IcePseudoTcp: UDP Component created in 74 ms
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: [fe80::500b:2dff:fec5:384f]:6000/udp/host
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: [fe80::4d7:8360:f983:aab4]:6000/udp/host
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: <IP_ADDRESS>:6000/udp/host
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: <IP_ADDRESS>:26932/udp/srflx
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: [fe80::500b:2dff:fec5:384f]:7999/udp/host
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: [fe80::4d7:8360:f983:aab4]:7999/udp/host
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: <IP_ADDRESS>:7999/udp/host
I/org.ice4j.ice.Component: Add remote candidate for data.RTP: <IP_ADDRESS>:26915/udp/srflx
I/IcePseudoTcp: Total candidate gathering time: {0} ms
I/IcePseudoTcp: LocalAgent: {0}
I/org.ice4j.ice.Agent: Start ICE connectivity establishment. Local ufrag 9qp8q1cpaonlsr
I/org.ice4j.ice.Agent: Init checklist for stream data
I/org.ice4j.ice.Agent: ICE state changed from Waiting to Running. Local ufrag 9qp8q1cpaonlsr
I/IcePseudoTcp: Local agent entered the Running state.
I/ConnectivityCheckClient: Start connectivity checks. Local ufrag 9qp8q1cpaonlsr
I/org.ice4j.ice.Agent: Start ICE connectivity establishment. Local ufrag 2k1h21cpaonmms
I/org.ice4j.ice.Agent: Init checklist for stream data
I/org.ice4j.ice.Agent: ICE state changed from Waiting to Running. Local ufrag 2k1h21cpaonmms
I/IcePseudoTcp: Remote agent entered the Running state.
I/ConnectivityCheckClient: Start connectivity checks.  Local ufrag 9qp8q1cpaonlsr
I/MergingDatagramSocket: Adding allowed address: [fe80::500b:2dff:fec5:384f]:6000/udp
I/ConnectivityCheckClient: Pair validated: [fe80::500b:2dff:fec5:384f]:7999/udp/host -> [fe80::500b:2dff:fec5:384f]:6000/udp/host (data.RTP). Local ufrag 9qp8q1cpaonlsr
I/ConnectivityCheckClient: IsControlling: false USE-CANDIDATE:false. Local ufrag 9qp8q1cpaonlsr
I/ConnectivityCheckClient: Pair succeeded: [fe80::500b:2dff:fec5:384f]:6000/udp/host -> [fe80::500b:2dff:fec5:384f]:7999/udp/host (data.RTP). Local ufrag 2k1h21cpaonmms
I/MergingDatagramSocket: Adding allowed address: [fe80::500b:2dff:fec5:384f]:7999/udp
I/ConnectivityCheckClient: Pair validated: [fe80::500b:2dff:fec5:384f]:6000/udp/host -> [fe80::500b:2dff:fec5:384f]:7999/udp/host (data.RTP). Local ufrag 2k1h21cpaonmms
I/ConnectivityCheckClient: IsControlling: true USE-CANDIDATE:false. Local ufrag 2k1h21cpaonmms
I/ConnectivityCheckClient: Pair succeeded: [fe80::4d7:8360:f983:aab4]:6000/udp/host -> [fe80::4d7:8360:f983:aab4]:7999/udp/host (data.RTP). Local ufrag 2k1h21cpaonmms
I/MergingDatagramSocket: Adding allowed address: [fe80::4d7:8360:f983:aab4]:7999/udp
I/ConnectivityCheckClient: Pair validated: [fe80::4d7:8360:f983:aab4]:6000/udp/host -> [fe80::4d7:8360:f983:aab4]:7999/udp/host (data.RTP). Local ufrag 2k1h21cpaonmms
I/ConnectivityCheckClient: IsControlling: true USE-CANDIDATE:false. Local ufrag 2k1h21cpaonmms
I/ConnectivityCheckClient: Pair succeeded: [fe80::4d7:8360:f983:aab4]:7999/udp/host -> [fe80::4d7:8360:f983:aab4]:6000/udp/host (data.RTP). Local ufrag 9qp8q1cpaonlsr
I/MergingDatagramSocket: Adding allowed address: [fe80::4d7:8360:f983:aab4]:6000/udp
I/ConnectivityCheckClient: Pair validated: [fe80::4d7:8360:f983:aab4]:7999/udp/host -> [fe80::4d7:8360:f983:aab4]:6000/udp/host (data.RTP). Local ufrag 9qp8q1cpaonlsr
I/ConnectivityCheckClient: IsControlling: false USE-CANDIDATE:false. Local ufrag 9qp8q1cpaonlsr
I/ConnectivityCheckClient: Pair succeeded: <IP_ADDRESS>:6000/udp/host -> <IP_ADDRESS>:7999/udp/host (data.RTP). Local ufrag 2k1h21cpaonmms
I/MergingDatagramSocket: Adding allowed address: <IP_ADDRESS>:7999/udp
I/ConnectivityCheckClient: Pair validated: <IP_ADDRESS>:6000/udp/host -> <IP_ADDRESS>:7999/udp/host (data.RTP). Local ufrag 2k1h21cpaonmms
I/ConnectivityCheckClient: IsControlling: true USE-CANDIDATE:false. Local ufrag 2k1h21cpaonmms
I/ConnectivityCheckClient: Pair succeeded: <IP_ADDRESS>:7999/udp/host -> <IP_ADDRESS>:6000/udp/host (data.RTP). Local ufrag 9qp8q1cpaonlsr
I/MergingDatagramSocket: Adding allowed address: <IP_ADDRESS>:6000/udp
I/ConnectivityCheckClient: Pair validated: <IP_ADDRESS>:7999/udp/host -> <IP_ADDRESS>:6000/udp/host (data.RTP). Local ufrag 9qp8q1cpaonlsr
I/ConnectivityCheckClient: IsControlling: false USE-CANDIDATE:false. Local ufrag 9qp8q1cpaonlsr
I/zygote64: Do partial code cache collection, code=61KB, data=44KB
I/zygote64: After code cache collection, code=61KB, data=44KB
    Increasing code cache capacity to 256KB
I/ConnectivityCheckClient: timeout for pair: <IP_ADDRESS>:6000/udp/host -> <IP_ADDRESS>:26915/udp/srflx (data.RTP), failing.
I/ConnectivityCheckClient: timeout for pair: <IP_ADDRESS>:7999/udp/host -> <IP_ADDRESS>:26932/udp/srflx (data.RTP), failing.
I/zygote64: Do full code cache collection, code=123KB, data=83KB
I/zygote64: After code cache collection, code=99KB, data=57KB
I/ConnectivityCheckClient: timeout for pair: [fe80::500b:2dff:fec5:384f]:7999/udp/host -> [fe80::4d7:8360:f983:aab4]:6000/udp/host (data.RTP), failing.
I/zygote64: Do partial code cache collection, code=124KB, data=83KB
I/zygote64: After code cache collection, code=124KB, data=83KB
I/zygote64: Increasing code cache capacity to 512KB
I/org.ice4j.ice.Agent: ICE state changed from Running to Terminated. Local ufrag 2k1h21cpaonmms
I/IcePseudoTcp: Remote agent entered the Terminated state.
I/MergingDatagramSocket: Failed to receive: java.net.SocketException: Socket closed
E/MergingDatagramSocket: Cannot find socket to remove.
I/MergingDatagramSocket: Closing.
I/MergingDatagramSocket: Failed to receive: java.net.SocketException: Socket closed
I/MergingDatagramSocket: Failed to receive: java.net.SocketException: Socket closed
I/org.ice4j.ice.Agent: ICE state changed from Running to Terminated. Local ufrag 9qp8q1cpaonlsr
I/IcePseudoTcp: Local agent entered the Terminated state.
I/MergingDatagramSocket: Closing.
I/MergingDatagramSocket: Failed to receive: java.net.SocketException: Socket closed
I/MergingDatagramSocket: Failed to receive: java.net.SocketException: Socket closed
I/MergingDatagramSocket: Failed to receive: java.net.SocketException: Socket closed
I/zygote64: System.exit called, status: 0
I/AndroidRuntime: VM exiting with result code 0, cleanup skipped.
Disconnected from the target VM, address: 'localhost:8635', transport: 'socket'

I managed to set everything up, however I used the sdp description from this project https://github.com/opentelecoms-org/lumicall/tree/master/src/org/sipdroid/net


LUISGen Fails to Install on Mac

Tool
Name: LuisGen
Version: 2.0.0
OS: Mac
Describe the bug
sudo  npm i -g luisgen fails to install and results in the following error:

Note This error still occurs after installing the dotnet sdk.
To Reproduce
Steps to reproduce the behavior:

install the dotnet sdk from https://www.microsoft.com/net/download
run `sudo npm i -g luisgen'

Notes
I need to install a tool to install another tool?

@justinwilaby what version of dotnet is installed on your machine?

I'm getting a similar error on Windows 10. I have .NET 2.1.402 installed.

on a clean Win 10, with .net core sdk 2.1.403 and node v8.12.0 luisgen installation runs without errors, but luisgen is not installed.

I actually found a workaround, you can install the library directly from here: https://www.nuget.org/packages/LUISGen. So when I went to reinstall the other packages, they install fine. The problem is the Newtonsoft.Json link is broken, it gives a 404 (as shown in my stack trace). So not sure how to reconfigure that with the right link, but that was the problem.


docs: Add image showcases of fields: point, checkbox, code, collapsible, email, group, json, number, radio

I, personally, really would like to see what the fields showcased in the docs look like before using them, just like it's done with the Arrays and Blocks field. This covers some more fields, where an example preview is shown.
images.zip

This is great!
I'd love it if we could have both light and dark version of these screenshots, as these bright white screenshots are a pretty bad experience when browsing in dark mode.
eg:

That being said that's more of a feature request and not really in the scope of this PR, so... 🤷♂

Hey @AlessioGr - appreciate the work here. Looks like the UI has updated since these screenshots and @JessChowdhury  has some new images (light and dark mode). Will let you know when @JessChowdhury has an updated PR for this!
Going to close for now, thanks again!


Allow sending sat

ord --index-sats wallet send --fee-rate 1 <ADDRESS> <SAT>

Would it be possible to also be able to specify the sats to use for --postage, while we're at it? Below command would specify the sat you'd like to send, but also specify the range of sats for postage.
ord --index-sats wallet send --fee-rate 1   --postage 999 ---postage-sats


Add theme: Better Windows Buttons

Add theme: Better Windows Buttons
This PR adds a new theme to the theme library.
Theme Details

Name: Better Windows Buttons
Description: Do you rage when looking at the standard Windows buttons? This theme is the Solution.
Homepage: https://github.com/tsukanov-alexey/zen-related-stuff
Author: @tsukanov-alexey

How does it differ from https://zen-browser.app/mods/180d9426-a020-4bd7-98ec-63f957291119 ?

@mauro-balades, oops I just haven't seen this theme before, but my version is closer to original Zen browser toolbar icons design, also user can change colors for each button


Metadata for CVE-2015-6420

Testing for this PoV requires JDK 8. I manually tested 3.2.1 (the vulnerable version in pom.xml) and 3.2.2 (the next available version in the Maven Central Repo) with
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 mvn clean test

to confirm: the former succeeds, the latter fails.
Upcoming changes to shadedetector will supply the same environment variable value for JAVA_HOME based on jdkVersion.

Once shadedetector has been updated to make use of jdkVersion, this will fix https://github.com/jensdietrich/shadedetector/issues/49.


Multiple workspaces in single window

A browser-tab like interface to switch between workspaces in the same window. Multiple windows open on the same monitor is a hassle to manage. A button(s) to switch between projects would be nice

If you are on macOS you can use the setting "window.nativeTabs": true

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Cannot find /usr/local/cpanminus/bin/cpanm

The version I used:
$ git describe --tags
v0.7.2

The issue I ran into:
$ buildtest -h
sh: /usr/local/cpanminus/bin/cpanm: No such file or directory
sh: /usr/local/cpanminus/bin/cpanm: No such file or directory
/usr/local/lmod/lmod/modulefiles/Core directory does not exist specified in BUILDTEST_MODULEPATH

I did not have any problem using buildtest module few months ago.

hi @ZQyou
Does your system have Lmod.
Can you run rpm -q lmod
Also can you give me output of echo $MODULEPATH. It may be that if directory doesn't exist buildtest is exiting immediately because of invalid module tree.

Our system has  Lmod.
Here is the output of $MODULEPATH
/apps/lmodfiles/MPI/intel/18.0/mvapich2/2.3.2:/apps/lmodfiles/Compiler/intel/18.0:/apps/lmodfiles/Linux:/apps/lmodfiles/Core:/apps/lmod/lmod/modulefiles/Core

I tried:
$ BUILDTEST_MODULEPATH=/apps/lmodfiles/Core buildtest -h
sh: /usr/local/cpanminus/bin/cpanm: No such file or directory
sh: /usr/local/cpanminus/bin/cpanm: No such file or directory
/usr/local/lmod/lmod/modulefiles/Core directory does not exist specified in BUILDTEST_MODULEPATH

Do I need to have cpanm to use buildtest?

Interesting I think i know the issue. The directory /apps/lmod/lmod/modulefiles/Core is suppose to mimic /usr/local/lmod/lmod/modulefiles/Core. So to get around this issue you can do the following to add trees:
buildtest module tree -a /apps/lmodFiles/Core. The buildtest module tree will update BUILDTEST_MODULEPATH. The variable BUILDTEST_MODULEPATH should be set to the root of module tree that would want set. By default it is reading MODULEPATH
Please feel free to join slack if you want to chat.

It works after updating the configuration.


refactor: added new types to form the basis of scoring refactor

Note: Not sure why the Ubuntu clippy is complaining about unused fields now that it used to not have a problem with. Perhaps a change was made over the past few days that removed Debug from the field usage calculation?
An attempt at defining new types for overhauling the AnalysisResult system and Hipcheck scoring in general. HC prefix was added to structs/variants to disambiguate with existing structs and can/should be renamed once the old system has been removed in a subsequent PR.
The goal of this PR is to produce an AnalysisReport replacement with the following changes:

Analysis implementations no longer check db.<X>_active() to decide themselves whether or not to run. The old AnalysisOutcome enum contains the Skip variant which is absent from the new one. Instead, we wrap the HCAnalysisResult in an option to represent the skipped/executed status of an analysis.
Analyses no longer determine pass/fail themselves, they will simply return a "value". Thus, Pass, Fail language is also removed from this replacement infrastructure, and analyses won't know or return their own thresholds.
An infrastructure that does not require a separate enum variant of AnalysisReport for each analysis type as the existing system does. In this new system, analyses will return a basic/composite value type, and the config/analysis will select from a set of "predicates" that specify how that result is to be interpreted for pass/fail determination. The only one that we have right now is ThresholdPredicate, which allows specifying that a basic value must be above/equal/below a certain value of the same type.

I added the indexmap depedency for the IndexMap object, which is an order-preserving HashMap drop-in replacement. In the past I have found this important for JSON dict comparison. I imagine we will want to update the predicates for comparing composite types.

There's a new Rust version out as of last Thursday, and I suspect that's the issue with the CI.

@j-lanson just some minor changes!

My one remaining comment about turning the &Ordering param to Ordering in pass_threshold, can be done in a follow-up PR.

Thanks @j-lanson!


CDPS-856: Restructuring the database

Restructuring to keep individual field history.  This allows us to decouple our table structure from the table structure of NOMIS a bit more.

Codecov Report
Attention: Patch coverage is 88.69565% with 13 lines in your changes missing coverage. Please review.

Project coverage is 78.73%. Comparing base (871d4fc) to head (bb55d87).

Files
Patch %
Lines

...ice/digital/hmpps/prisonperson/jpa/FieldHistory.kt
80.00%
1 Missing and 4 partials :warning:

...gital/hmpps/prisonperson/jpa/PhysicalAttributes.kt
82.75%
1 Missing and 4 partials :warning:

...ital/hmpps/prisonperson/enums/PrisonPersonField.kt
80.00%
1 Missing :warning:

...justice/digital/hmpps/prisonperson/enums/Source.kt
66.66%
1 Missing :warning:

...ce/digital/hmpps/prisonperson/jpa/FieldMetadata.kt
50.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #27      +/-   ##
============================================
+ Coverage     78.09%   78.73%   +0.63%
+ Complexity      187      178       -9
============================================
  Files            39       39
  Lines           662      616      -46
  Branches         44       39       -5
============================================
- Hits            517      485      -32
+ Misses          116      103      -13
+ Partials         29       28       -1

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


Remove Sat5 update configuration

Updating default repo strings and removing support for choosing Sat5 as an update source.
@bdunne
@Fryguy please review
@h-kataria can you please review the UI changes?
https://bugzilla.redhat.com/show_bug.cgi?id=1266951

:+1: :fire: :scissors:

I'm good with this.  @bdunne @carbonin @gtanzillo We need to find a way to ultimately remove this from upstream, because it doesn't really belong here.  Let's see if we can come up with a plan.

@jonnyfiveiq Please chime in with your thoughts here or in the referenced Bugzilla

@carbonin UI changes look good.

We realized that Sat5 support is continuing. The change required is based on the new repo names. Will create a new PR once we get the necessary info.


Conversion PDF to AFP

Hello!
I would like to use afplib to convert file PDF to AFP. I looked for all samples but I didn't found any case for it. Do you have an example to use this conversion?
Thank You so much.

Hi wedisley,
so afplib won't be able to "convert" PDF to AFP since it does not rasterize nor read the PDF. What it can do though is wrap the PDF into an object container and then you could create pages that reference pages in that object container. So basically for each PDF page you would have to create an empty AFP page using IOB to include the appropriate PDF page. As afplib is a low level library for reading and writing structured fields, you would have to know which fields to create and in which order. The MO:DCA specification will tell you what you would have to do but this is a lot of reading to do. Anyhow you would have to understand MO:DCA to make use of afplib. Having said that there is an example that "converts" (well not converts but includes) a PDF page into an AFP overlay at
afplib/org.afplib.samples/src/main/java/org/afplib/samples/PDF2Overlay.java
Maybe that gets you starting.

Hi,
I am trying this code but getting an error when I try to open the resulting AFP in AFP Workbech Viewer.
The error is about missing resource and it says - Copy the missing resource into your resource path and reopen the file.
I tried to find it on my own, but couldn't. Please help.
Regards
Nitin

Hi @nitintomer,
please see #21 - I doubt AFP Workbench Viewer is able to display PDF object container. This software is ancient. You will need a newer AFP Viewer. You may try mine (www.afpworx.com)

Hi Yan,
I tried with this viewer as well, it shows nothing. In the status bar, it
says - opened filename.afp with 0 pages and 1 resource.
Regards
Nitin
On Thu, Aug 30, 2018 at 9:03 PM Yan Hackl-Feldbusch <
<EMAIL_ADDRESS>wrote:

Hi @nitintomer https://github.com/nitintomer,
please see #21 https://github.com/yan74/afplib/issues/21 - I doubt AFP
Workbench Viewer is able to display PDF object container. This software is
ancient. You will need a newer AFP Viewer. You may try mine (
www.afpworx.com)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yan74/afplib/issues/1#issuecomment-417363042, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGveyeNdiQPOUIV8Sfbyc-uPyaGCfGYlks5uWAXFgaJpZM4LluCl
.

Yes Yan, I read that. And it made sense.
I need to make sure that the AFP, thus generated is correct. And I don't
have have an AFP printer.
I am attaching the file, can you please check it?
Regards
Nitin
On Fri, Aug 31, 2018 at 11:53 AM Yan Hackl-Feldbusch <
<EMAIL_ADDRESS>wrote:

Hi @nitintomer https://github.com/nitintomer,
did you read #21 https://github.com/yan74/afplib/issues/21 ? - This
explains why you don't see any pages in the viewer, as the code produces an
overlay. #21 https://github.com/yan74/afplib/issues/21 also references
some other code snippet that does create a page. Anyhow in AFPWorX you
should be able to click on the BMO that constructs the overlay and get a
preview of that overlay's content.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yan74/afplib/issues/1#issuecomment-417564470, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGveycjjVwNLB4-sjL9nC82OnjPWUkiDks5uWNZIgaJpZM4LluCl
.

there was no file attached ... :)

Attaching again.
0817bill.zip

so this has - as expected - an overlay with a pdf object container in it. The overlay is correct. However it won't print as this is just an overlay. I modified org.afplib.samples.snippets.CreatePageWithPDFObject a bit so it uses your pdf to include on a page and also adjusted the page size to reflect your pdf size. The result is this:
pdfoc-test.afp.zip
Which you can print to an AFP printer which will produce something like this:

So what you would need to do now is either

Split your pdf into 3 pdfs (one for each page) and create an AFP page for each of your PDF pages.

or

Create a resource group, include the pdf as object container and create AFP pages for each PDF page in the container having an IOB in each page pointing to the respective PDF page in the object container (using the ObjectOffset Triplet).

Hope that helps!

Thanks a lot Yan.
But when I am trying to open the file you sent in your viewer, I am getting the attached error message.

This is because the original sample code was how to place text on a page. This is still there - so in the png above you may notice that there is a "Hello World" above you pdf. The text needs a font and a codepage to display. This is why AFPWorX is telling you that you don't have those resources. An AFP printer normally has this font/codepage resident. So you can just ignore that error - or delete the fragment from the code that creates the text (BPT, PTX, EPT). In AFPWorX you can also delete this manually:
https://youtu.be/4E6djzyjx4o


Code recognition off

Issue Type: Bug
Since last update, VS Code seems unable to recognize PHP tags inside script tags (see attached screenshot).

Reproduces when all extensions are disabled
Occurs on Insiders only.

VS Code version: Code - Insiders 1.30.0-insider (6ef7e81ec086ced5fb20e904ea405075be474023, 2018-11-14T18:22:35.102Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz (4 x 3498)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.94GB (11.73GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

auto-close-tag
for
0.5.6

vscode-apache
mrm
1.1.1

highlight-matching-tag
vin
0.8.3

Works in Atom

Any update on this by any chance?

I have a similar issue now with stable release 1.30.1 on Windows 10:

Currently have extensions disabled, same thing happens when enabled. I never had this problem with previous VS Code versions, this has only started happening after a new install.

Yeah, the issue now reproduces on the stable release as well.


Move refresh_status() and variables to autoload/

When using lightline and trying to define bufferline as a component using:
\ 'component': {
\   'bufferline': '%{bufferline#refresh_status()}'.bufferline#get_status_string()
\ },

it fails with "unknown function bufferline#get_status_string()" error.
This is because the function was not yet defined at this point. Moving
the function from plugin/ to autoload/ fixes this. The refresh_status()
function is also being moved to autoload/ for consistency.
Also moving variables to autoload/ to avoid a "undefined variable
g:bufferline_inactive_highlight" error if no definition of this variable
was provided and there's a direct call to bufferline#get_status_string()
in the .vimrc file.

@ericbn Hello, I tried to configured lightline with bufferline and succeeded in making them work. Will share my configuration here and hope you can find it useful.
let g:lightline =
  \   'tabline': {
  \     'left': [ [ 'tabs', 'bufferline'] ],
  \     'right': [ [ 'close' ] ]
  \   },
  \   'tab': {
  \     'active': [ 'tabnum' ],
  \     'inactive': [ 'tabnum' ]
  \   },
  \   'component_expand': {
  \     'bufferline': 'MyBufferline',
  \   },
  \   'component_type': {
  \     'bufferline': 'tabsel',
  \   },
  \ }

function! MyBufferline()
  call bufferline#refresh_status()
  let buffers = [
    \   g:bufferline_status_info.before,
    \   g:bufferline_status_info.current,
    \   g:bufferline_status_info.after
    \ ]
  " remove the annoying whitespaces to make the tabline consistent
  call map(buffers, 's:strip(v:val)')
  return buffers
endfunction

"~~~ bufferline {{{
set showtabline=2
let g:bufferline_echo = 0
let g:bufferline_modified = ' +'
let g:bufferline_show_bufnr = 0
let g:bufferline_separator = ' '
let g:bufferline_active_buffer_left = ''
let g:bufferline_active_buffer_right = ''
" please check https://github.com/bling/vim-bufferline/pull/40
" let g:bufferline_unnamed_buffer = '[No Name]'
" or with current master branch, https://github.com/bling/vim-bufferline/issues/26
let g:bufferline_fname_mod = ':t:s?^$?[No Name]?'
"~~~ }}}

Closing this because I stopped using lightline. I have a really light status line now 😄: https://gist.github.com/ericbn/f2956cd9ec7d6bff8940c2087247b132


Fix migration issue.

See: https://github.com/go-gitea/gitea/pull/22112#issuecomment-1426872992

@zeripath @lunny @wolfogre

Codecov Report

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

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main   #22867   +/-   ##
=======================================
  Coverage        ?   47.33%
=======================================
  Files           ?     1113
  Lines           ?   150173
  Branches        ?        0
=======================================
  Hits            ?    71086
  Misses          ?    70660
  Partials        ?     8427

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Merging with :magic_wand: as Gitea is currently broken due to that broken migration.


feat: index document, even if skip OCR is set

As documents are not indexed if OCR is switched off, there should be a possibility to (re)index all documents within PaperMerge or a switch to index imported documents even if OCR is disabled.

Hey @ciur, do you have any rough timeline, when this bug / feature will be fixed?
Thanks in advanced.

in sept / oct of this year I will make a new release with above mentioned fix

Can you please let me know when the new version will be released?

Initial plan was by mid November.
But the code changes took more time than I expected. I think the code will be ready to use by end of this month (November 2024).
The big feature introduced is: custom fields (metadata) - and the feature implementation is little bit more complicated than I imagined.
Anyway, to answer you question: end of November 2024.

If possible, I'd love to test a new docker image with this feature before Christmas '24 :)


Change parallel and sequential contracts

Now metasync.parallel(fns, done(result), data)
In v0.3 we need metasync.parallel(fns, done(err, result), data)

@DzyubSpirit see last commit to branch v0.3, I'v changed contracts but we need tests and examples. Also it may be incompatible with dependent modules of Metarhia, plz find where we use it and create issue before release v0.3 to port that code. I'v also created a branch v0.3 and a milestone v0.3

@tshemsedinov The branch v0.3 is even with master

@tshemsedinov I've searched for flow and composition through all metarhia js repos code and have not found usages of these functions.
But I found typo using metasync.parallel in Impress example.
Also there is incompatibility there. It seems like metasync.parallel is expected to store results to array because anonymous functions have not names.
P.S. Also I think that is evidence for first implementations save results of asynchronous functions by 0,1.. keys.

Oh, I see, the branch refactor-flow has new commit.

@DzyubSpirit a single commit I mentioned yesterday

@tshemsedinov
LGTM


Feature baseclass

Small change to move shared properties into a abstract base class (#18, with further work to extend it in #28)

Failed CI is still from Python 2.7, maybe we should get that working so the builds don't always report failures here.


Validator: Validate Hidden Power Type

The move being listed as hiddenpowerfairy is handled by the "does the move exist" check.
This validates that the set's hpType slot is a valid type in the generation that is being played (and that its not Fairy ever).

This seems to be the wrong place to handle it?

Like, this code is already only going to set the Hidden Power type if it's valid. The problem is if the Hidden Power type is set manually.

This handles validating the type if its already set since it won't override if its already set. Technically you can pass any hpType in a set and it will pass validator (currently) even if its not a type.
Examples (latest version of master branch)
>> TeamValidatorAsync('gen7uu').validateTeam('Raikou||leftovers||substitute,calmmind,hiddenpowerice,voltswitch|Timid|,,,252,4,252||,0,,,,|||,100% Legit HP Type');
<< Promise -> "1Raikou||leftovers||substitute,calmmind,hiddenpowerice,voltswitch|Timid|,,,252,4,252||,0,,,,|||,100% Legit HP Type,"
>> TeamValidatorAsync('gen7uu').validateTeam('Raikou||leftovers||substitute,calmmind,hiddenpower,voltswitch|Timid|,,,252,4,252||,0,,,,|||,100% Legit HP Type');
<< Promise -> "1Raikou||leftovers||substitute,calmmind,hiddenpower,voltswitch|Timid|,,,252,4,252||,0,,,,|||,100% Legit HP Type,"

It only validates the type if the set contains Hidden Power, though.

It also doesn't validate that the type isn't Normal.

Also, the validation should probably happen once overall, not once per move.

bump @Zarel

Ah, I see it's good now


GARD - species with two ranges under synonym name

Duplicates exist in GARD as a result of taxonomy updates:
Liolaemus kriegi and Liolaemus ceii
Anolis lemurinus and Anolis rhombifer
Liolaemus fitzingerii and Liolaemus camarones
To do: inspect differences and decide what to do.

I investigated and kept the larger range of the two (see adding information to realized 02_ranges section of collating-realized-range-maps.R


use openssl instead of mbedtls for Linux packages, build a package for ubuntu jammy 22.04 LTS

I reverted the change to openssl for RedHat7, Ubuntu14, Ubuntu16 because the build failed on those oldest distros and there seems to be little reason to continually improve those least important packages.

it needs specify openssl(libssl) dependency in the DEB package. Does cmake do it automatically?

it needs specify openssl(libssl) dependency in the DEB package. Does cmake do it automatically?

@ekoby Good catch. Fixed.

it needs specify openssl(libssl) dependency in the DEB package. Does cmake do it automatically?

@ekoby Good catch. Fixed.

I don't think we need openssl, just the library package -- libssl3 seem to be the name


PyFireSQL

Link to project (GitHub):  https://github.com/bennycheung/PyFireSQL
Describe the project in 2-3 sentences:
PyFireSQL is a SQL-like programming interface to query Cloud Firestore collections using Python. We can use SQL-like statements to perform the data extraction, which is both formal and reusable.
Why would Firebase developers be interested in this project?:
The combination of Python and lark parser generator is more appropriate for backend processing and analysis toolchain. In particular, the extracted data can be directly imported into downstream Pandas Dataframe post-processing will be an extremely valuable prospect.

Read the companion article FireSQL in Python for more details.

Have you added a .opensource/project.json file to your site: Yes

@bennycheung added it! It should appear on the site within 24 hours.


The 'Manage Access' dialog appears in the front of the opened web page after clicking 'Learn more about ACLs' action

Storage Explorer Version: 1.6.0
Platform/OS Version: Windows 10/ MacOS High Sierra/ Linux Ubuntu 16.04
Architecture: ia32
Build Number: 20181204.3
Commit: 6ae5640a
Regression From: Not a regression
Steps to Reproduce:

Make sure the default browser is Edge and there is no web page opened.
Choose one ADLS Gen2 account -> Right click one blob container then select 'Manage Access...'.
Click the link 'Learn more about ACLs' on the dialog.

Expected Experience:
The 'Manage Access' dialog appears at the back of the the opened web page.
Actual Experience:
The 'Manage Access' dialog appears in the front of the opened web page.

More info:

There issue doesn't reproduce when there are web page opened on Edge.
This issue doesn't reproduce on IE and Chrome.

Hi @MRayermannMSFT We still can do some actions on the dialog like change permissions, add user or group... But the web page still stuck behind the dialog.


False-positive alerts are triggered due a missing cloud provider ID in agent fingerprint

Description
There are cases when the AWS identity metadata service is not available could cause a change in the agent fingerprint.
This change triggers a reconnect where sometimes is returning a diff agent entityID.
That could trigger a false-positive Host Not Reporting alert.
Expected Behavior
If the agent detects that is in the cloud, and cannot retrieve AWS identity metadata should return an error.
Troubleshooting or NR Diag results

Cloud provider ID is set up in the fingerprint.go
That comes from cloudHarvester.GetInstanceID() -> there if the agent gets an error from the load it's return an empty cloud provider ID

Your Environment
Agent v1.12+ running in AWS.

Same thing seems to be happening in Azure. NR support directed me to this bug. I had two separate servers ping me for "host not available" in the last 24 hrs. Not a great way to wake up.
Is there a timeline for a resolution available?
Thanks!

A new release of the infra agent was released, where is included a fix for cloud_id fingerprint handler.
Here the release notes.


Menus

The menus are now organized in a more standard way (not exactly for each OS, but better than before), they have more functionality (e.g. switching repos from the menus or deleting a repo from Elegit), and have one test (although it never actually clicks the menus due to testFX being weird).

Looks great!


Refused to load the script 'https://cdn.segment.com/next-integrations/integrations/mixpanel/3.2.1/mixpanel.dynamic.js.gz'

Here in my chrome extension -  I am getting these issues not sure what to do I tried updating the Content security policy as well but no luck, Please help me out
segmentanalytics.08c9045d.js:27 Refused to load the script 'https://cdn.segment.com/next-integrations/integrations/mixpanel/3.2.1/mixpanel.dynamic.js.gz' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
segmentanalytics.08c9045d.js:27 Refused to load the script 'https://cdn.segment.com/next-integrations/integrations/visual-tagger/0.3.5/visual-tagger.dynamic.js.gz' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

@chrisradek  @pooyaj  Please help me out here
i tried adding this as well
:
"content_security_policy": {
"extension_pages" :  "script-src 'self' 'wasm-unsafe-eval' ; script-src  'self' 'https://cdn.segment.com/v1/projects/Ja2jQO9engPOdXbtSU6VUAOZgMW67vhJ/settings https://cdn.segment.com/analytics-next/bundles/* https://cdn.segment.com/next-integrations/integrations/*' ; object-src 'self' "
}

Manifest v3 extensions no longer support remote scripts.
Your best bet is to package analytics-next from NPM into your extension bundle, and then use cloud mode destinations instead.

Your best bet is to package analytics-next from NPM into your extension bundle, and then use cloud mode destinations instead.

Apologies for reopening this issue, but could you explain what you mean by this? How would I go about packaging it into my project?

Like so if your project is vanilla Javascript - https://www.npmjs.com/package/@segment/analytics-next#-using-as-an-npm-package
Like so if it is vanilla + React app - https://www.npmjs.com/package/@segment/analytics-react
Your webpack bundler should take care of the rest.


Updated assignment-1 for 3rd time PR

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Developing my coding commands and learning  python tricks
What did you learn from the changes you have made?
Developing my coding commands and learning  python tricks
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
testing other ways to make PR using Team experiences
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Creating PR is very tricky and full of narrow points
How were these changes tested?
be several tests in different ways
A reference to a related issue in your repository (if applicable)
nothing
Checklist

[x] I can confirm that my changes are working as intended

you did a great job here!
Please go ahead and close this pull request now. Thanks!

Hi dear Pedrom
Thank you this is because of your guidance and help I would appreciate if
you let me know about my assignment 2
Reza
On Mon, 9 Dec 2024, 11:20 Pedram, @.***> wrote:

you did a great job here!
Please go ahead and close this pull request now. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/RezaDSI/python/pull/1#issuecomment-2528546703, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BMR3URZXB3AHXSMRMCDZCDL2EW7LFAVCNFSM6AAAAABTFQDL7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRYGU2DMNZQGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove pre-init assertion to check for non-debug GTK builds

While previously checking for this could be used to determine if GTK was
built with assertions enabled or not, this is not true anymore with
later versions of GTK. There is no way to know if assertions were
disabled or not at runtime.
While disabling assertions easily causes memory unsafety in GTK code,
it is nothing that can be disabled accidentally. Users deploying and
running such code will have to live with the consequences.
Fixes https://github.com/gtk-rs/gtk/issues/821

:+1:

@GuillaumeGomez All green except for the well-known Windows failure :)

Waiting for @EPashkin approval before.

@sdroege Thanks 👍

Thanks!


Add batch inference

This PR lets you do batch inference. Previously, we were generating 1 image at a time while making videos. Now, you should be able to generate batch_size number of frames at a time.  For me, that's 4 on a V100 16GB.

Usage:
import time

from stable_diffusion_videos import walk

video_path = walk(
    prompts=['a cat with a funny hat', 'a dog wearing clown shoes'],
    seeds=[42, 58],
    make_video=True,
    num_steps=60,
    name=time.strftime("%Y%m%d-%H%M%S"),
    batch_size=4
)


cdxgen crashes when collecting rust SBOMs

Hey 👋  cdxgen crashes when collecting rust SBOMs. Below are the steps to reproduce this crash:

Clone https://github.com/mozilla/rust-code-analysis.git
cd rust-code-analysis
cdxgen --type rust

PoC
root@shelly:~# cd /tmp
root@shelly:/tmp# git clone https://github.com/mozilla/rust-code-analysis.git
Cloning into 'rust-code-analysis'...
remote: Enumerating objects: 4479, done.
remote: Counting objects: 100% (1138/1138), done.
remote: Compressing objects: 100% (376/376), done.
remote: Total 4479 (delta 906), reused 854 (delta 759), pack-reused 3341
Receiving objects: 100% (4479/4479), 17.51 MiB | 9.62 MiB/s, done.
Resolving deltas: 100% (2976/2976), done.
root@shelly:/tmp# cd rust-code-analysis/
root@shelly:/tmp/rust-code-analysis# cdxgen --type rust
(node:5520) UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'version' of null
    at /usr/lib/node_modules/@appthreat/cdxgen/utils.js:1957:23
    at Array.forEach (<anonymous>)
    at Object.parseCargoData (/usr/lib/node_modules/@appthreat/cdxgen/utils.js:1932:25)
    at createRustBom (/usr/lib/node_modules/@appthreat/cdxgen/index.js:1612:33)
    at Object.exports.createBom (/usr/lib/node_modules/@appthreat/cdxgen/index.js:2209:20)
    at /usr/lib/node_modules/@appthreat/cdxgen/bin/cdxgen:90:32
    at Object.<anonymous> (/usr/lib/node_modules/@appthreat/cdxgen/bin/cdxgen:163:3)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5520) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:5520) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Tested on Debian buster x86_64 but I'm pretty sure this crash can be reproduced on any machine, Cheers

4.0.9 was released with the fix. Thank you for reporting. It turned out to be a version = 3 string at the top of the lock file.


[core] Fix transpilation target of UMD bundle

UMD bundle is not transpiled with the proper target (from .browserslistrc)
yarn test:karma issues warnings about imports not being resolved
This is not severe since tests pass fine but is noisy

This was introduced in https://github.com/mui-org/material-ui/commit/4b71794462d65cb43ac6e42917772c18cb8a0bfb#diff-09c56b2bf95de2a608a36afef3b6893146a959d6739be0a154dc9c9f02d80f24L7-R20 in order to let yarn workspace @material-ui/core build:umd pass. However, we can use existing patterns (use named imports over path imports) without having to change infra. Changing build infra is always scary since we don't (and likely never have) a proper coverage for that output.

Let's get next in a good shape and then deal with reproducible issues later.