isActive marker for / url

Winter CMS Build: 1.2.1
Pages Plugin Version: 2.0.2
PHP Version: 8.0

Description:
A page with / url is not marked as active (isActive = false) when visiting website home page.
Steps To Reproduce:
Add some statics pages, one having / has URL.
..\meta\static-pages.yaml file :
static-pages:
    index: {  }
    page2: {  }
    page3: {  }

 ...\content\static-pages\index.htm file :
[viewBag]
title = "Home
url = "/"
layout = "default"
is_hidden = 0
navigation_hidden = 0
==
Lorem ipsum dolor sit amet consectetur adipisicing elit. Laboriosam, impedit.

Setting a menu :
name: 'Top - Navbar'
items:
    -
        title: main
        nesting: null
        type: all-static-pages
        url: null
        code: ''
        reference: null
        cmsPage: null
        replace: 1
        viewBag:
            isHidden: '0'
            cssClass: ''
            isExternal: '0'

Visiting http://acme.tld doesn't mark the menu item as active, while visiting http://acme.tld/ does.
I am missing something ?

I've spotted this before, so can confirm. I generally don't include the home page in the navigation (usually, I just make the logo link to the home page, and the logo doesn't have an active state). But it's something we'll need to look at.

Is this still an issue @damsfx?

Is this still an issue @damsfx?

Apparently not ... I'll try to test it on more projects.
Until then, I think it's possible to close the issue


Clarify some generate variables by renaming

As I went to start poking around src/generate/register.rs, I got confused by a handful of variable-name-containing variable names.  This is an attempt to make things a bit clearer by making the names more unique across the file and consistent with the variable names contained within.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ryankurte (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.


Add interior mutability to CounterMarker

By using a safe Cell<u32> inside CounterMarker, we avoid having to put it inside an UnsafeCell and unsafely access it via a raw pointer. This makes CounterMarker !Sync, but that doesn't break anything, since CcOnHeap<T> is already !Sync.

Thank you for the contribution! Merging.


New package: PickMe v0.1.0

Registering package: PickMe
Repository: https://github.com/jrusinko/PickMe.jl
Created by: @jrusinko
Version: v0.1.0
Commit: 8857c2daf45139725a74fe8f5081e6f6e8598a97
Reviewed by: @jrusinko
Reference: https://github.com/jrusinko/PickMe.jl/issues/2
Description: PickMe Julia Implementation

I think this PR can be closed. The author seems to have renamed the package and moved the repo to : https://github.com/jrusinko/PhyloPickMe.jl. The original repository does not exist any more.

New registration at https://github.com/JuliaRegistries/General/pull/115159


not a issue

Hey bud, not looking to gain anything from this, but I added you to a fork because I have no idea about all this and could not add the images in a zip to your files for you to see, I have created a representation of the ikea blinds that seem so popular using the files in your project and just forked it, but still dont know how to put them into the project, I was wondering do you want to just add them to yours from the fork (and then ill delete the fork).

Its easy. Place the images in a folder called pictures in the www folder. then open the java file and modify line 175 .sc-shutter-selector-picture { background-image: url(data:@file/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJkAA. with the image path .sc-shutter-selector-picture { background-image: url(/local/pictures/windows.png); } same for line 177 and 179

As above. Currently the images are encoded within the script.


Remember last opened folder in file picker (Library 3)

User story

As a user
I want that every file picker remembers the last opened location
So that I do not have to click everytime through all folders

Acceptance criteria

when the file picker is opened the last opened folder should be present not the home folder
every file picker should remember it's own last opened folder (for instance video 1 and video2 file picker should remember it's own path)
when the file picker is opened the first time (new program start) it should show the home folder

Definition of done (DoD)

Create feature branch
Implement the functionality
Opened pull request and assigned reviewer
If necessary: required changes are implemented
Delete feature branch
If necessary: Component Test has been written
Code review has been completed and code has been merged

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

I'll wait for #199 to be merged or almost finished. This ticket here is so small and the work will most likely be for nothing if I do on top of the current main.


Update FW to use key-value

Supersedes #74.

@fibonacci1729 @adamreese the workflows should be ready for review

LGTm! Thanks for driving this @jpflueger!


Register version 0.2.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/57852
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 20b94e30e82a47eac9494125533a79112881c32a
git push origin v0.2.0


[$250] Android - Room - Nothing happens when tapping on the options in room creation page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.24-0
Reproducible in staging?: Y
Reproducible in production?: N
Issue reported by: Applause Internal Team
Action Performed:

Launch New Expensify app.
Go to FAB > Start chat > Room.
Tap on any option.

Expected Result:
The app should be responsive.
Actual Result:
Nothing happens when tapping on the options in room creation page.
Workaround:
Unknown
Platforms:

[x] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/cc1530e5-a358-4096-8984-748b8f8edb15

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0165da8222db5f4f39
Upwork Job ID:<PHONE_NUMBER>009026261
Last Price Increase: 2024-08-23

Issue OwnerCurrent Issue Owner: @fedirjh

Looking now, sorry for the delay

I think this is due to this PR, which introduced multiple regressions in Android Native App.

Next Steps
@puneetlath I've reassigned the Bug label to ensure that a BZ team member is watching over this one while I'm OOO. Since it's an Hourly / Deploy Blocker, I'm reassigning it to ensure this one doesn't go stale. Thanks!
Heads up, I will be offline until Tuesday, September 3, 2024, and will not actively watch over this GitHub during that period.
If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks!

We just reverted the offending PR and @puneetlath kicked off the CP. We'll need to retest this when staging v. 9.0.24-2 is up.

QA has confirmed this is passing now. Demoting and closing.


Question in the mapping package ?

Hello.
I found that there is some launch files being used for mapping which use the rtabmap_ros package,what is the function of build_map node in the mapping package?

Hello @JackRen88
You raised a good question. The build_map node is my attempt to create local maps for the autonomous vehicle without using the rtabmap package.
The goal is to use 2d image semantic segmentation to segment the raw point cloud data from the stereoscopic camera. And then, with the segmented point cloud create a local map around the vehicle. However, my attempt was very unsuccessful. I haven't had time to fix this issue. The rtabmap system works relatively well.
As a general note, this project lacks good documentation as I am the only person trying to write docs for it. I will try to make sure that everything is well documented.


make a search bar in interactive hardware doc

A simple search bar that finds # using keywords from the name/description.

some options for search libraries:

list.js, data/custom attributes, fuzzy search
fuse.js, a little more work (front end--search bar, autocomplete dropdown, showing results, etc.)

using easyAutocomplete,
made small example: searching parts and processes by name with autocomplete, little icon beside results to indicate part/proc


Cannot open included file: "lsconst.lss"

This error message appears when tried to add credentials in the DOMI View in mail db. This only happens with Notes 11.0.1 FP3 on MacOS BigSur. It is reproducable, I've made a clean reinstallation already but it didn't help. The file "lsconst.lss" doesn't seem to exist on MacOS installations.

What version notes are you running on your mac?
If you open finder, then show all files (CTRL + SHIFT + Period), then go to /Applications, right-click on "HCL Notes.app", and choose "Show Package Contents".  From within the Contents you should be able to expand Resources, and find the *.lss files there.

Perhaps try a "Recompile All LotusScript" and let us know the results.

"Recompile All LotusScript" not really possible, there is no Designer for MacOS. Also checked content of the file, looks just the same as the file on my windows installation. Tried to change the rights on the file from Read to Write, but that didn't change the error from coming up.


Tiles generated by kubi is not supported in marzipano viewer

tiles generated by kubi is not supported in marzipano viewer. the reason behind this is, z index starts from 0 in the tiling of kubi, however marzipano requires from 1.

yeah same, any update on that?

@indus

I think the easiest solution is to fix it by using a slightly adjusted URL function in Marzipano. Something like this (this is from an old project of mine and my not work as is with newer versions of Marzipano):
    var tileUrl = function (f, z, x, y) {
      return "tiles/" + data.id + `/dstfile_${f}/${z}/${x}/${y}.jpg`;
    };
    var source = new Marzipano.ImageUrlSource(function (tile) {
        return { url: tileUrl(tile.face, tile.z-1, tile.x, tile.y) };
    });
    var scene = viewer.createScene({
      source: source,
      geometry: geometry,
      view: view,
      pinFirstLevel: true
    });

Changing the output of kubi is not so easy. The dz function of VIPS that generates the tiles has no option to change the z-index.
So either kubi or the user would have to rename all the folders in some postprocessing. Because I find it a bit odd to to start an index with 1 (as Marzipano decided to do) I don't plan to change the behavior of kubi.

yes thanks, we have sorted the problem the other ways and it is working fine.
marzipano also needs preview image in the viewer, kubi is not generating any such preview image, do you have any readymade solution for that? @indus

i need preview image to be generated something like attached preview image, how it will work with kubi?

never mind, i have got it, thanks


XS✔ ◾ update image in docs

❌ Add a description.

@mustafaStakater Image is available for testing. docker pull stakater/workshop-exercise:SNAPSHOT-PR-180-fc3765b6


How to handle application crashes?

I asked this on stackoverflow, but maybe i might get better direction here...
How would I go about ensuring that my cron jobs exist pass application restarts? Right now I am adding cron jobs dynamically, ie when someone POSTs to a specific route, I use Quantum.add_job. I save the details of the cron job in my Ecto.repo as well.
Given that, how would I ensure my cron jobs persist through an application restart? I anticipate I will be hosting my application on Google Compute Instances and every now and then I can foresee those compute instances needing a reset.
Right now I'm thinking of a Reboot process that simply runs through the cron jobs in my Repo and does Quantum.add_job on each of them, but if there is a more appropriate way, any guidance  would be greatly appreciated.
Apologies if the answer is obvious, I am quite new to elixir, genservers, etc. Thanks!

@terencechow your idea sounds perfectly ok to me!

Am going to close this. For anyone visiting this in the future I used the below for my reboot:
worker(Task,[MyApp.MyRebootModule, :reboot, []], restart: :transient),
where reboot is the name of the function in MyRebootModule

@terencechow thanks!


Don't accept record as index

Version of Awkward Array
1.8.0
Description and code to reproduce
Over in https://github.com/ContinuumIO/dask-awkward/issues/23 a user ran into the case where a record is treated as an iterable of strings. This might be fun in some cases, but I suspect most users would stumble upon this behaviour by accident when attempting. I propose that we add a special case to __getitem__ to reject record indices.

That's because ak.Record is a Python Mapping. The idea was that ak.Array would be a Sequence and ak.Record would be a Mapping, but if that's causing confusion, then we could remove that protocol from ak.Record (in v2).

I think that might be a sensible proposal. It's not a huge problem, but having iter(ak.layout.Record) do something fundamentally different to iter(ak.layout.RecordArray) is likely to confuse some people, and indeed I've run into problems with passing ak.Record into other Awkward functions (even if by accident) and seeing surprising results.

Right, I'm being lazy :zzz: I am referring to the high level API here!

You're right to have labeled this "policy."

It's tricky indeed. Sometimes I really want records to behave like atoms, other times it is useful to decompose them. Fitting that into the Pythonic protocols is not trivial.
I've made my position known, but I'm fairly confident it may well reverse in future, so I'm not pushing anything further!

I think we can close this: Record is no longer iterable.


Land-cover-map example: sentinelhub_service.py", line 133, in _add_data     valid_mask = data[..., -1] IndexError: index -1 is out of bounds for axis 0 with size 0

Hi,
This is related to the 'Land Use and Land Cover (LULC) classification' example - more specifically 2_eopatch-L1C.ipynb notebook. When using a shape file of my own region, generated via 1_split-AOI.ipynb notebook - for example this geojson of California, I get the following error, when trying to execute the workflow in 2_eopatch-L1C.ipynb:
  File "/home/karlis/PythonProjects/sentinel_mining/L1C_patches.py", line 108, in <module>
    save:{'eopatch_folder':patch_name}})
  File "/home/karlis/PythonProjects/sentinel_mining/venv/lib/python3.6/site-packages/eolearn/core/eoworkflow.py", line 165, in execute
    _, intermediate_results = self._execute_tasks(input_args=input_args, out_degs=out_degs, monitor=monitor)
  File "/home/karlis/PythonProjects/sentinel_mining/venv/lib/python3.6/site-packages/eolearn/core/eoworkflow.py", line 188, in _execute_tasks
    monitor=monitor)
  File "/home/karlis/PythonProjects/sentinel_mining/venv/lib/python3.6/site-packages/eolearn/core/eoworkflow.py", line 215, in _execute_task
    return task(*inputs, **kw_inputs, monitor=monitor)
  File "/home/karlis/PythonProjects/sentinel_mining/venv/lib/python3.6/site-packages/eolearn/core/eotask.py", line 49, in __call__
    return self.execute(*eopatches, **kwargs)
  File "/home/karlis/PythonProjects/sentinel_mining/venv/lib/python3.6/site-packages/eolearn/io/sentinelhub_service.py", line 220, in execute
    self._add_data(eopatch, np.asarray(images))
  File "/home/karlis/PythonProjects/sentinel_mining/venv/lib/python3.6/site-packages/eolearn/io/sentinelhub_service.py", line 133, in _add_data
    valid_mask = data[..., -1]
IndexError: index -1 is out of bounds for axis 0 with size 0

In 1_split-AOI.ipynb notebook in BBoxSplitter() function I try to set the numbers, so that the patch sizes are approximately 1000x1000 pixels, which seemed to be the case in the original example with Slovenia.
I've tried multiple locations and have so far observed this with USA (California, Texas, Nevada, Maine), also North Korea. The time interval was usually set across several months in 2018, but changing it didn't seem to affect anything, so it might be related to location or the shapefiles coming from 1_split-AOI.ipynb notebook.
Thanks

Hi @kvigulis! The problem is related to the geojson file that you use. It has coordinates, but no CRS is defined. I assume this is in the national CRS for california, which would seem to be UTM_10N (@AleksMat is this info saved anywhere or does one have to look for it manually?)

Thank you @mlubej. You're absolutely right. This was caused by incorrect CRS setting, when generating the shape file for bboxes of patches. Didn't know the idea behind UTM CRS.
For any beginner who stumbles upon this - GeoJson files will often use UTM CRS, which will be different depending on which zone/area of the Earth is described. So you have to set the UTM with the correct zone in 1_split-AOI.ipynb.

Hi
I am facing the same issue....may i know where to find the CRC
Thanks

Hi
I am facing the same issue....may i know where to find the CRC

In ArcGIS you can easily find it.

Or use QGIS free.
or use this
https://grasswiki.osgeo.org/wiki/GRASS_Location_Wizard
the examples use epsrg: 3xxxx
https://epsg.io/32633 is slovenia
https://epsg.io/32630 would be the UK
will also tell you
Linkedin says you are in India
try http://spatialreference.org/ref/epsg/wgs-84-utm-zone-43n/
epsg projection 32643 - wgs 84 / utm zone 43n

Hi
I am facing the same issue....may i know where to find the CRC

Sorry, my email notifications on GitHub have been acting up...
Check out the good answer from @Koesters !


[new-product] Erlang

Closes #2807.

@jamietanna glad if you have the time to review this MR from your request #2807. You can see the preview on https://deploy-preview-3818--endoflife-date.netlify.app/erlang

@marcwrobel I didn't merge it because you have created it as draft. Feel free to merge when you are ready...

:thinking: Makes me think about adding [CUE lang](https://cuelang.org/)

Thanks for the review @BiNZGi and @jamietanna.

@marcwrobel I didn't merge it because you have created it as draft. Feel free to merge when you are ready...

I still have to clarify a few things before merging.

Only updated the versioning schema paragraph. Merging as it was reviewed by @BiNZGi and @jamietanna .


Typo fixes

Hi,
I noticed that there was an indentation error in the examples.rts, which made the validations section a bit hard to read.
I decided to make my first contribution, and went to check on your Contribution guide, while reading that I wanted to setup up my development environment and noticed that the git command read git checkout git@github.com:python-attrs/attrs.git, I suppose that was meant to be git clone.
Furthermore I changed it from using ssh to https since using ssh without a configured key resulted in a Permission denied (publickey) error.
I also struggled with pip install -e .[dev], since zsh was trying to do a bit of globbing, using quotes fixed that.
I hope i didn't miss anything obvious.
i removed the check list, since I believe none of the entries are applicable to this pull request.
Cheers,
Philipp

Hmm the clone thing is tricky, if we change it to https, it will be a pain for everyone who uses ssh (I never remember the correct set-url syntax).
How about keeping ssh and say something like “or if you don’t use git over ssh:” and then add the second option?`

Sure.
I rebased the branch and amended the last commit (f8ee7848a) since i didn't want to create a fixup commit/extra one for such a small change.

Thanks! FWIW, don’t worry about the number of commits, we always squash on merge anyway. Just do whatever is most comfortable/familiar for you.

cheers.


The "Custom fields parser" -plugin messes with images? (all images disappears)

Describe your problem
If the plugin is enabled, images in the post's disappears, and the tag  visible, on front-page.
Steps to reproduce the problem
After followed the last example in the document, the youtube -link embedded thingy.
Why this plugin ("Custom fields parser") wasn't enabled by default, I dono, -its in main docs. Here:
https://docs.bludit.com/en/content/custom-fields
(wana recall, that following this docs steps on "here > there > here > .." was sortof confusing)
Also if enabled (with youtube thingy), it breaks the "Perfect Bludit" -theme. only showing the last youtube post.
Bludit version
Complete here. 3.13.1
PHP version
PHP Version 7.4.11
I just testing Bludit local (as /~username).
PHP logs
No errors.

Hello, with the new version of Bludit v4.0 rc1, I would like to close the old Github issues. If you feel that your issue is not resolved in the latest version, create a new ticket.

Help and Support use the Forum https://forum.bludit.org
Bugs and new requests here in Github https://github.com/bludit/bludit/issues


make CI keep up with dependencies, discover tests automatically, validate configs

(joint work with @j38)
Sorry this ended up being a few changes that could be broken up, but it's not too huge really.

add a new setup script/directory with conda and pip requirements broken out
make CI setup and tear down a conda env and the pip requirements. CI deletes it at end of run
CI uses pytest to discover tests
refactor tests to make pytest discovery a little less painful (mostly deferring running training processes until it's time to test)
add a test to ensure that top level config yamls are valid

i'm just gonna merge.


Settings (2)

Hi Daniel,
thanks for the great work on this project!
In this pull request I added preferences to manage the BaseURL and the StoreCameraPhotos configuration outside of the BuildConfig. That way this app can be compiled once for all users and each user can set their own instance URL inside the app. This will also allow to publish the app in an appstore.
I have also already added a settingspage where said configuration can be done by the user. As I was not sure how to best connect it to the MainActivity (unfortunately I cannot add another icon to the bottomnavbar as it only supports 5 items) I left this open. If you have a good idea how you would like to realize this, Im happy to implement that as well (as long as it's not too extravagant xD).
(If you like we can also continue this discussion in german, Im from germany too)
Sorry for the duplicate request but I had to do some restructuring in my repo that killed the original one.

Hi David, thank you for your PR.
Unfortunately, as stated in https://github.com/danielbrendel/hortusfox-app-android/issues/1#issuecomment-2319528371 I discontinued the development and support for the native android app in favor of the PWA feature. You can read more details in the linked comment.
Sorry, if that is not the answer you expected. Since this is not the first time this topic comes up, I might just archive this repo. However since the native android app project is MIT licensed you can also use your own fork for your changes. If you want to do that, then in regards of your questions, I usually tend to add native app links in the sticky navbar. You would need to run some JavaScript via the webview URL loading method to accomplish this. This way you can add a link to the navbar and call native android app methods via a JavaScript interface. It's fairly easy.
I will archive this repo in favor of my decision (I only posted this on the discord and mastodon, but fairly aware that doesn't reach everyone).


Selector fire even not changed

Hi,
as according to this example app: https://github.com/ngrx/example-app,
When I dispatch an action to change id property on the store,
the selector of others properties are calculate...
steps to reproduce:
click on change_name button.
the event dispatch an action: change_name.
the reducer return the change.
but the problem is it's notify the property id was changed also.
Check the console after click on change_name button
Here's the code to reproduce this problem: (https://plnkr.co/edit/JgPwUExl9AhnFTRkd5u1?p=preview)

A .select(...) operator is called every time the store has changed. A property was changed, so has the containing object. In the case of the getId() selector, even though it is called, the target of it isn't (any subscriber to .let()). In other words, you have put this verification in the wrong place.

@awerlang , when slice of the state change, all store is begin subscribe it's ture.
but why to re-process others models(selectors) who's subscribes to a different slice in the store?
for example I have two states: Login and Customer. and Two selectors accordingly.
when I dispatch an action to Login reducer, after return a new state, the let operator is invoke and calc the selectors. both. - I think this is not necessary, just calc the selector whos had change. do ya?

Let's take a look at the proposed selector:
export function getIdFromCustomer() {
  return (state$: Observable<any>) => state$
    .select(customer => {
      console.log('WHY?? IT NOT CHANGED IN CHNAGE_NAME ACTION');
      return customer.id;
    });
};

store invokes the select callback every time anything has changed. Because you select only the id property, any consumer of this selector will be invoked only this has really changed from a previous invocation. It does this though the distinctUntilChanged RxJS operator. If that were to be applied to the store itself, it wouldn't make a difference, because it's a single immutable object (the reference changes when any reducers return a new substate).
Some things to consider:

The selector callback is hardly expensive;
The selector callback should be pure, no visible side-effects;
There's no point in calling distinctUntilChanged() before a select()
There's no way the store would know in advance what selector's select should be called at any point of time.

Hope this helps.

I'm having the same "issue" and yesterday I was debugging this a bit and what i found strange (and to me I considered it as an issue), selectors callbacks gets invoked even if no changes were done to the store e.g. hasChanges was also false.
Is that intended? or is it a bug? IMO It shouldn't emit next on store when no changes has happened.
Currently I'm using version 2.0.1 (since i cant update just yet due to ionic2)

@awerlang yes i did..

store invokes the select callback every time anything has changed

My point is, nothing has changed, i do understand if something changes it will trigger :)

My point is, nothing has changed, i do understand if something changes it will trigger :)

If nothing has changed, it will not invoke the select callback due to this line: https://github.com/ngrx/store/blob/master/src/utils.ts#L28
You can verify this by dispatching an unknown action.
But if anything has changed, even if because of other reducers, it will invoke the select callback. This is by design, since the store is a single object at the root, composed from the substate from each reducer.

@awerlang hmm ok i will check a little bit again, and see if thats happening.
Last i was checking i dispatched an action and simply do return state and it was still calling selectors, and what i found a bit dodgy was that state$.subscribe(value => this.next(value));
https://github.com/ngrx/store/blob/master/src/state.ts#L20
Was still getting invoked, even when return hasChanged ? nextState : state; was false. Hence thats why i posted.
I will test out as you suggested and see whether it will also trigger selectors. Thanks.

If all you have is a return state, I don't think that should trigger any subscriber, because even though a new action was dispached nothing has actually changed. The line you pointed could be improved with a .distinctUntilChanged(). It is common to dispatch action that only effects handle, so triggering a change on the state because of this would be unnecessary.
At first I got your comment in the same vein of the OP. But you brought something different.

Just to summarize in case someone comes across this issue in the future:
When you do store.select(fn), the selector function will be called every time an action is dispatched. The result observable, however, should only emit an update when the piece of state you selected changes. The select operator is really just:
store.map(fn).distinctUntilChanged()

"@ngrx/core": "^1.2.0",
"@ngrx/store": "^2.2.1"
In following example where .map is use instead .select it works as expected. After each dispatch event the subscription function is called. Which is not the case in later example.
//WORKING EXAMPLE, WITH .map()
export class HomeComponent implements OnInit {

  counter$: Observable<number>;

  constructor(
    private store: Store<AppStore>
  ) {
    this.counter$ = store.map(state => state.counter);
  }

  ngOnInit() {

    setInterval(() => {
      console.log('dispatched');
      this.store.dispatch({
        type: INCREMENT
      });
    }, 1000);

    this.counter$.subscribe((num) => {
      console.log('number is ', num);
    });
  }
}

// NOT WORKING EXAMPLE WITH .select()
export class HomeComponent implements OnInit {

  counter$: Observable<number>;

  constructor(
    private store: Store<AppStore>
  ) {
    this.counter$ = store.select<number>('counter');
  }

  ngOnInit() {

    setInterval(() => {
      console.log('dispatched');
      this.store.dispatch({
        type: INCREMENT
      });
    }, 1000);

    this.counter$.subscribe((num) => {
      console.log('number is ', num);
    });
  }
}

BUG?

The difference between select and map, is that only when the value changes (!==) from the previous operation, it is passed through. Make sure your reducers is immutable. If you prefer, paste your reducer code here.

Hi, sorry if the question does not apply
What is the correct way to avoid the duplicates calls to the subscribe() when the state is an Object?
I mean, {foo:1} === {foo:1} // false
I'm new to react so I'm kind a lost here.
Thank you!

Either pass a comparator or a key selector to distinctUntilChanged().
http://stackoverflow.com/a/36316843/592792

Thank you! I'll look for that

@awerlang I not sure to get your point.
I have an application state built out of for sub states as below 👍
export interface AppState {
  i18n: fromMultilingual.IMultilingualState;
  router: RouterState;
  uiState: fromMyTalentsShared.IUiState;
  storeData: fromMyTalents.IStoreData;
  organizationState: fromMyTalents.IOrganizationState;
}

const reducers = {
  i18n: fromMultilingual.reducer,
//  sample: fromSample.reducer,
  router: routerReducer,
  uiState: fromMyTalentsShared.uiStateReducer,
  storeData: fromMyTalents.storeDataReducer,
  organizationState: fromMyTalents.organizationStateReducer,

};

my organizationState sub state is defined as following
// angular

// libs
import { TreeNode } from 'angular2-tree-component';

// app

export interface IOrganizationState {
  uiState: string;
  talentsUiState: string;
  talentID: string;
  groupID: string;
  entityID: string;
  nodes: TreeNode[];
  talent: any;
  group: any;
  entity: any;
  errorCode: string;
}

export const INITIAL_ORGANIZATION_STATE: IOrganizationState = {
  uiState: undefined,
  talentsUiState: undefined,
  talentID: undefined,
  groupID: undefined,
  entityID: undefined,
  nodes: [],
  talent: undefined,
  group: undefined,
  entity: undefined,
  errorCode: undefined
};

// selects specific slice from organization state
export const getOrganizationNodes = (state: IOrganizationState)  => state.nodes;

I am handling access to state slices in the following way
export const getOrganizationState = (state: AppState) => state.organizationState;
export const getOrganizationNodes = createSelector(getOrganizationState, fromMyTalents.getOrganizationNodes );

my reducers for the organizationState are as following
// lib
import * as _ from 'lodash';

// app
import { INITIAL_ORGANIZATION_STATE, IOrganizationState } from '../states/organization.state';
import { OrganizationState } from '../actions/index';

export function organizationStateReducer (organizationState: IOrganizationState = INITIAL_ORGANIZATION_STATE, action: OrganizationState.Actions): IOrganizationState {

  const newOrganizationState = _.cloneDeep( organizationState );

  switch (action.type) {

    case OrganizationState.ActionTypes.SET_UI:
      newOrganizationState.uiState = _.cloneDeep(action.payload);
      return newOrganizationState;

    case OrganizationState.ActionTypes.ORGANIZATION_NODES_LOADED:
    case OrganizationState.ActionTypes.ORGANIZATION_NODES_UPDATED:
      newOrganizationState.nodes = _.cloneDeep(action.payload);
      return newOrganizationState;

    case OrganizationState.ActionTypes.SELECT_TALENT:
      newOrganizationState.talentID = _.cloneDeep(action.payload);
      return newOrganizationState;

    case OrganizationState.ActionTypes.SET_TALENTS_UI:
      newOrganizationState.talentsUiState = _.cloneDeep(action.payload);
      return newOrganizationState;

    case OrganizationState.ActionTypes.TALENT_PROFILE_LOADED:
      newOrganizationState.talent = _.cloneDeep(action.payload);
      return newOrganizationState;

    case OrganizationState.ActionTypes.SET_ERROR:
      newOrganizationState.errorCode = _.cloneDeep(action.payload);
      return newOrganizationState;

    default:
      return organizationState;
  }
}

whatever action is issued on the organizationState, the following subscription get always invoked
this.nodes$ = this.store.select( getOrganizationNodes )
      .do( () => this.log.debug('Talents Treeview Component - data updated') )
      .map( ( nodes: TreeNode[] ) => _.cloneDeep( nodes ));

change is detected on on organizationState.nodes despite not being changed even if the Redux Devtools diff does not show any change in this slice of the state.
Am I doing something wrong or is there a pb somewhere ?


Deprivatize and export more internal TS definitions

It would be helpful for consuming apps to have access to more internal TS types in glimmer-apollo, such as QueryResource. When typing things like component arguments, you currently would have to re-define the types if you want to pass in a glimmer-apollo query as an arg, for example:
interface MyComponentArgs {
    query: {
         loading: boolean;
         error?: string;
         data: {
              //...
         };
    }
}

@josemarluedke any thoughts on this?
Currently in my app I've worked around this by just creating a types/glimmer-apollo-tmp/index.d.ts with
declare module 'glimmer-apollo-tmp' {
    //redeclared all the missing/private glimmer-apollo types here...
}

And just importing from that in my app when I need to
import { QueryResource } from 'glimmer-apollo-tmp';

export default class MyRoute extends Route {
    setupController(
        controller: MyController,
        model: QueryResource<MyQuery, MyQueryVariables>,
        transition: Transition
    ) {
        super.setupController(controller, model, transition);
        //other logic...
    }
}

I'm happy to put togther a PR for this, unless you have any objections to making those types public.

👍 @billdami would we very helpful for us as well

This might even be necessary to make TypeScript understand the return types of useQuery and useMutation etc when it tries to build declarations if you have declarations: true in your tsconfig.json.
Currently the problem we run into is TypeScript complaining when it tries to build the declarations as apparently it doesn't take inferred types into account.
Public property 'myQuery' of exported class has or is using name 'QueryResource' from external module "node_modules/glimmer-apollo/dist/index" but cannot be named. ts(4029)
Apparently the solution is to import QueryResource and explicitly set the type of myQuery, but that is not possible as QueryResource is not exported.
See for more info on this:
https://github.com/microsoft/TypeScript/issues/5711
https://github.com/microsoft/TypeScript/issues/9944

We export a set of utility types that allows to extract args and result of useQuery, useMutation and useSubscription.
I think we are missing docs for these, but you can import them like so:
import type { UseQuery, UseMutation, UseSubscription } from 'glimmer-apollo';

Using them is quite simple:
import type { UseQuery, UseMutation, UseSubscription } from 'glimmer-apollo';

export default class MyRoute extends Route {
    setupController(
        controller: MyController,
        model: UseQuery<MyQuery, MyQueryVariables>['result'],
        transition: Transition
    ) {
        super.setupController(controller, model, transition);
        //other logic...
    }
}


Vague error code 65 from xcodebuild

I used the install script for Mac OS X to configure NativeScript and Android works just fine.  However, trying to run the bare bones app (tns create) crashes with iOS.  The emulator runs but the build fails with a vague error code of 65.  Here is the output of tns run ios:
Traceback (most recent call last):
  File "./metadata-generation-build-step", line 100, in <module>
    generate_metadata(arch)
  File "./metadata-generation-build-step", line 89, in generate_metadata
    error_file.write(error_stream_content)
TypeError: write() argument must be str, not bytes
Command /bin/sh failed with exit code 1

** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution NativeScript\ PreBuild build/demo.build/Debug-iphonesimulator/demo.build/Script-C97FD7AC1ADE5369004DB2A4.sh
(1 failure)
Command xcodebuild failed with exit code 65

Where do I start looking for the problem in my configuration or is this a bug?  I'm using OS X 10.11.4, NativeScript 2.0.0, and Xcode 7.3.

I worked with Douglas via Slack, and we determined the issue was line 89 of metadata-generation-build-step and he is running Python 3.5.1 -- apparently in Python 3.x the child process data is returned as bytes not a string.    So this code needs to be updated to check for bytes and/or version and/or to force it to be a string for anyone else that is running a later version of python.   At this moment we commented out 89 so that he can continue...

Also changing line 89 to error_file.write(error_stream_content.decode('utf-8')) will work.  To convert the bytes to a string just use the decode() method.  Thanks again for the help!


PR: Algo Quick Sort in JavaScript

Issue: #59 issue solved and quick sort algo
This README provides an overview of Quick Sort, explains its operation in simple terms, and includes the JavaScript code for implementing the algorithm.

@Mohitraut07 chnage the PR title in the correct format. Refer previous merged PR

Issue: #59 issue solved and quick sort algo

Add proper description by mentioning what algorithm and what language

@Abishethvarman please check and review the PR.


4.x: Native image update

Description

Java 21
latest version
replace artifact id
remove initialize-at-build-time in SE

Resolves #7683
Documentation
I have updated the documentation for MP to mention new requirements.
In addtion this may influence existing users of Helidon SE, as we used to have build time initialization for almost everything. Now we have aligned with GraalVM guidelines, and we do not do it for SE (except for classes where it is a requirements).

Checked Kafka connector and few more changes are needed tomas-langer/helidon/pull/4


Remove any number of characters limitation on incident form

The text area in the incident form for the public platform should not have any kind of limitation in terms of number of characters accepted.
Please check the image below:

This issue is not replicating any more.
I will close it.


Understanding the behavior of minimization in optimizer

I recently looked into the GP-Hedge code and found something not quite obvious from the original algorithm presented. The confusing point is on the calculation of gains that we dynamically update, in order to signify the importance of the best arm chosen by specific problem settings.
TL;DR: (The original commit (or file Optimizer.py line 454) subtracts the reward gained after acquiring a new point, which is not intuitive to me. I thought the best arm chosen shall be enhanced and following from the original algorithm (algorithm 2 line 9), it should be a "+=". But changing it to "+=" pulls the results to a wrong direction.
My suspicion was something even complicated. Maybe this is trying not to enhance the best arm but to diminish the effect of the least favorable arm?)
But it all comes to the minimization behavior and I guess I didn't understand this simple switch from the very beginning:
next_x is always selected by the minimization of the acquisition values. (Line 471 and 493) But intuitively, shouldn't it be the maximum acquisition value being selected? (see Jasper's code) Which part did I miss? (And why it's a "-=" at the gp-hedge gains calculation?)

Not sure if this will answer your question, but we also have the convention of having defined the acquisition functions as functions to minimize. This is something confusing as papers/code on BO are not consistent in this regard.

Thanks, Gilles! It was once clear to me but some habitual paranoia 🤖made me think the maximization problem was computed all along and then the sign was flipped once for all before doing bfgs. And this is the exact example of some unclear logic from the very beginning to me haha. Thanks!


[Templating] Update the SPA templates to use generic host

The SPA templates are not using generic host.
They should be updated as the old webhost is obsolete.

https://github.com/aspnet/AspNetCore/issues/15060

We should do this for 3.1 I think.
https://github.com/aspnet/AspNetCore/blob/release/3.1/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/Program.cs#L19-L21
https://github.com/aspnet/AspNetCore/blob/release/3.1/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Program.cs#L19-L21
https://github.com/aspnet/AspNetCore/blob/release/3.1/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/Program.cs#L20-L22
/cc: @davidfowl thoughts?

@javiercn Is there any reason we didn't do this in 3.0?

Cool, if there's no technical reason not to do this then I agree we should just get this done in 3.1.

It's already done. Waiting for someone to sign-off the PR.


Remove Bundler::Environment

Pretty straightforward refactoring

Pretty ridiculous that these classes only shared an initialize method 😛

Fix'd

@homu r+

:pushpin: Commit 8f1f107 has been approved by indirect

:zap: Test exempted - status


Encryption in Lumen for API

I need to implement it in Lumen, Please help me with this.
Can it be used in Lumen or not?

Can anyone help?
its urgent

This package does not support Lumen, sorry.


Allow custom styles

Allow custom styles without the need to modify the theme - Simply implement your own custom.scss in your zola directory.

This might've been the wrong way to go about it... My intention is to use the light theme always, without having to modify your theme in any way. I thought by writing my own custom.scss file in my zola root, it would overwrite the custom.scss I planted here. Not sure what the right path is.

I think the easier way might be to generate all 3 css styles (auto, light, dark)
Then have an option in the config.toml that specifies which theme file to load (auto, light, dark)
I will add this option.

I will work on this one now.

I will work on this one now.

This is now finished, style can be configured in the config.toml file


[Feature] Add mobile-only Nav and Form icons to mobile-assets

Description of Change

Adds the following icons which are mobile-only and therefore not added to the icon sprite sheet. Using same viewBox as icons extracted from vads sprite sheet and removed fill attributes.
Navigation

description_outlined
home_outlined
medical_services_outlined
request_quote_outlines

Form fields

check_box_error
check_box
indeterminate_check_box
radio_button_checked

Other

circle
crop_square

Removed all other icons as they have all been replaced by a material equivalent. Spreadsheet with full list of icons and their replacements here: https://docs.google.com/spreadsheets/d/15BqiZWwrhwl1BcGVu3-PCaCyz6ueI8VgHHlgpbvM2N4/edit#gid=840453829
Testing Packages

Screenshots/Video

Testing

[x] Tested on Web

PR Checklist
Code reviewer validation:

General

[x] PR is linked to ticket(s)
[ ] PR has changelog label applied if it's to be included in the changelog
[ ] Acceptance criteria:

All satisfied or
Documented reason for not being performed or
Split to separate ticket and ticket is linked by relevant AC(s)

[ ] Above PR sections adequately filled out
[x] If any breaking changes, in accordance with the pre-1.0.0 versioning guidelines: a CU ticket has been created for the VA Mobile App detailing necessary adjustments with the package version that will be published by this ticket

Code

[x] Tests are included if appropriate (or split to separate ticket)
[x] New functions have proper TSDoc annotations

Publish

If changes warrant a new version per the versioning guidelines and the PR is approved and ready to merge:

[ ] Merge main into branch
[ ] Merge branch to main
[ ] Verify that Check Component Integrations workflow ran successfully
[ ] Publish new version after merging

@narin Should circle or crop_square be included as well? Or will that be a separate PR?

Seconding Jessica's question on the crop_square which I assume is what we previously called Bullet since I think we had on our long term radar to bring VABulletList into the design system because React Native's default bullet lists use circles which goes against VA design language. Or put another way: future VA mobile apps would have utility in having that shared vs. living in the app and needing to clone it from flagship.
Not seconding her question on circle as currently the app doesn't use an icon at all for unread marking dots--it is just using RN to draw a circle by styling a view.

Seconding Jessica's question on the crop_square which I assume is what we previously called Bullet since I think we had on our long term radar to bring VABulletList into the design system because React Native's default bullet lists use circles which goes against VA design language. Or put another way: future VA mobile apps would have utility in having that shared vs. living in the app and needing to clone it from flagship.

Yes, crop_square is the new bullet. VA plans to transition to a standard circle bullet in the future, but for now, we need the square bullet.

Not seconding her question on circle as currently the app doesn't use an icon at all for unread marking dots--it is just using RN to draw a circle by styling a view.

In the design files, we use an icon for the dot indicator, so that's why I suggested adding it. If it's not used in the app, we can remove it here and I'll also update the design files. If the app ever uses the dot indicator in another place in the app, we should consider adding the circle icon to ensure consistency across features.

Added circle and crop_square icons and removed all of the old icons.

Stub ticket to add the icons we're waiting on from VADS here: #340


chore: remove leftover .jshintrc

Platforms affected
Motivation and Context

Description

Testing

Checklist

[ ] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change
[ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[ ] I've updated the documentation if necessary

TravisCI failure seems unrelated for this PR.

ping @janpio


Manually rebuilding the competition space

Hi,
I made changes to the private dataset repo and pushed them. The changes are not reflected in the space automatically. So, I do a force restart every time to the public competition space to see the changes I made in the private dataset repo. Can you please help me if I am missing something here. Is there a github actions workflow that triggers the restart?

private dataset repo consists of configuration and descriptive text in addition to a bunch of other important files. if you change them, you have to factory rebuild the competition space. that's how it is configured at the moment.

cool, thanks!


[WFCORE-4362] Make the certificate authority used by a certificate-authority-account configurable

This is a follow up PR due to a bug in the GitHub UI https://github.com/wildfly/wildfly-core/pull/3768 - although is no conflict the GitHub UI is unable to regenerate the diff correctly.
Jira issues:
https://issues.jboss.org/browse/WFCORE-4362
https://issues.jboss.org/browse/EAP7-1150
This also contains the Elytron subsystem version bump included in #3777
To pass CI, this will require an Elytron upgrade but this is ready for the subsystem changes to be reviewed.
Requires ELY-1797
Elytron PR: wildfly-security/wildfly-elytron#1280
Capabilities PR: wildfly/wildfly-capabilities#33
documentation PR: wildfly/wildfly#12262

@kabir Have just added one more commit - are you Ok to double check your review?


⚠ ClamAV has degraded performance

In aa3b783, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 75 ms

Resolved: ClamAV performance has improved in 67aa96d.


Update "LICENSE" so that it's recognized as MIT

This PR replicates dotnet/runtime#36744 (it also removes the All Rights Reserved).
License text is from: https://choosealicense.com/licenses/mit/

Github is now recognising the DotNetAnalyzers/StyleCopAnalyzers license as MIT.


How to make ListView.builder inside horizontal ListView ??

Hi @khaledelsherbiny
You can do it like this https://github.com/flutter/flutter/issues/16564#issuecomment-694789751
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


loadcaffe install error in Ubuntu 14.04

Dear Sir,
I am new to Lua and torch, I tried to install loadcaffe using command "sudo luarocks install loadcaffe". While I get the following errors:

pingjun@ubuntu:~/Programming/Torch/loadcaffe$ sudo luarocks install loadcaffe
Installing https://raw.githubusercontent.com/torch/rocks/master/loadcaffe-1.0-0.rockspec...
Using https://raw.githubusercontent.com/torch/rocks/master/loadcaffe-1.0-0.rockspec... switching to 'build' mode
Cloning into 'loadcaffe'...
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 18 (delta 0), reused 5 (delta 0), pack-reused 0
Receiving objects: 100% (18/18), 18.95 KiB | 0 bytes/s, done.
Checking connectivity... done.
cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/usr/bin/.." -DCMAKE_INSTALL_PREFIX="/usr/lib/luarocks/rocks/loadcaffe/1.0-0";
make
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake/torch/TorchExports.cmake:64 (message):
The imported target "TH" references the file
 "/usr/lib/libTH.so"

but this file does not exist.  Possible reasons include:

The file was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and contained
"/usr/share/cmake/torch/TorchExports.cmake"
but not all the files it references.

Call Stack (most recent call first):
/usr/share/cmake/torch/TorchConfig.cmake:29 (INCLUDE)
CMakeLists.txt:6 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_loadcaffe-1.0-0-2114/loadcaffe/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.
Error: Build error: Failed building.

It seems that "/usr/lib/libTH.so" file cannot found.  While libTH.so exists in "/usr/lib/x86_64-linux-gnu/libTH.so". How can I fix this problem? Thanks!

pingjun@ubuntu:/usr/lib$ find . -name "libTH.so"
./x86_64-linux-gnu/libTH.so

--Pingjun
Best Regard

Try
sudo luarocks --from=https://raw.githubusercontent.com/torch/rocks/master/ install loadcaffe


Route id

Adds Notification::route

so route only has id of the immediate child, not the full route. can you explain the usecase and how this will help? Also why not use Vec for the widgets it traveled

The immediate child ID is useful, since it is easily accessible from the current widget.
For an example, if we want to implement the correct scroll_to behavior for enum_switcher, we need to know whether the notification came from within the active widget, if not we should discard it.
In the linked issue are more examples.


Roll Packages from ab1630b9b9bd to 00d29b18501b (5 revisions)

https://github.com/flutter/packages/compare/ab1630b9b9bd...00d29b18501b
2024-03-27<EMAIL_ADDRESS>[google_maps_flutter] Fix ios tile overlay not loading when dealing with wide gamut images (flutter/packages#6377)
2024-03-26<EMAIL_ADDRESS>[flutter_lints] Updates various links (flutter/packages#6400)
2024-03-26<EMAIL_ADDRESS>Bump github/codeql-action from 3.24.7 to 3.24.9 (flutter/packages#6386)
2024-03-26<EMAIL_ADDRESS>Roll Flutter from 14774b95c250 to dbdcead93225 (38 revisions) (flutter/packages#6399)
2024-03-26<EMAIL_ADDRESS>[in_app_pur]: Bump org.json:json from 20231013 to 20240303 in /packages/in_app_purchase/in_app_purchase_android/example/android/app (flutter/packages#6255)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


plDDT score is missing

Hello All
First thank you for your wonderful work for the antibody modelling. I am just cruious when I ran the example using the notebook, everything worked fine, yet I did not have the plDDT score of it as of the output. So do I need to adjust the code for the plDDT output?

Hi @1326093445a, I hope you find it useful :)! The plddt histogram is in the output dictionary for the AbodyBuilder3 and AbodyBuilder3-LM models. The histograms can be converted into pLDDT scores using compute_plddt from abodybuilder3.openfold.utils.loss. I made a plddt-example branch where I updated the output_to_pdb utility function to output pLDDT scores in the b-factors column, and updated the example.ipynb notebook to plot these. Let me know if you have further questions

Hello Henry, thank you for your reply and I will give it try now :)

Hello Henry and team, when I tried the plDDT example, for the LM, I kept getting th error of RuntimeError: Tensors must have same number of dimensions: got 4 and 5
I was trying to run a non-pre computing modelling using my own customized script:
import torch
from torch.utils.data import DataLoader
from abodybuilder3.language.model import ProtT5

# Set the matrix multiplication precision for Tensor Cores
torch.set_float32_matmul_precision('medium')  # Change to 'high' if needed

# Example dataset initialization
dataset = ...  # Your dataset initialization here

# Initialize DataLoader with increased number of workers
train_loader = DataLoader(dataset, batch_size=32, num_workers=23)  # Adjust batch_size as needed

# Continue with your embedding generation or loading logic
use_precomputed = False
heavy = "QVQLVQSGAEVKKPGSSVKVSCKASGGTFSSLAISWVRQAPGQGLEWMGGIIPIFGTANYAQKFQGRVTITADESTSTAYMELSSLRSEDTAVYYCARGGSVSGTLVDFDIWGQGTMVTVSS"
light = "DIQMTQSPSTLSASVGDRVTITCRASQSISSWLAWYQQKPGKAPKLLIYKASSLESGVPSRFSGSGSGTEFTLTISSLQPDDFATYYCQQYNIYPITFGGGTKVEIK"
embedding_path = "/home/yfeng17/abodybuilder3/method_validation/embedding/example.pt"

if use_precomputed:
    embedding_data = torch.load(embedding_path, weights_only=True)
    embedding = embedding_data["plm_embedding"]
    print(f"Loaded precomputed embedding from {embedding_path}")
else:
    plm = ProtT5()
    embedding = plm.get_embeddings([heavy], [light])

    if isinstance(embedding, list):
        embedding = torch.stack(embedding)

    torch.save({"plm_embedding": embedding}, embedding_path)
    print(f"Saved generated embedding to {embedding_path}")

print(f"Embedding shape: {embedding.shape}")

It gave me:
Saved generated embedding to /home/yfeng17/abodybuilder3/method_validation/embedding/example.pt
Embedding shape: torch.Size([1, 229, 1024])

Where later when I was doing:
# Part 3: Prepare input and run the model
from abodybuilder3.utils import string_to_input, add_atom37_to_output, output_to_pdb

# Prepare the input for the model
ab_input = string_to_input(heavy=heavy, light=light)
ab_input["single"] = embedding.unsqueeze(0)  # Use PLM for residue feature
ab_input_batch = {
    key: (value.unsqueeze(0).to(device) if key not in ["single", "pair"] else value.to(device))
    for key, value in ab_input.items()
}

# Run the model and generate the PDB structure
output = model(ab_input_batch, ab_input_batch["aatype"])
output = add_atom37_to_output(output, ab_input["aatype"])
pdb_string = output_to_pdb(output, ab_input)

The errors show up:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[10], line 13
      7 ab_input_batch = {
      8     key: (value.unsqueeze(0).to(device) if key not in ["single", "pair"] else value.to(device))
      9     for key, value in ab_input.items()
     10 }
     12 # Run the model and generate the PDB structure
---> 13 output = model(ab_input_batch, ab_input_batch["aatype"])
     14 output = add_atom37_to_output(output, ab_input["aatype"])
     15 pdb_string = output_to_pdb(output, ab_input)

File ~/miniconda3/envs/abodybuilder3/lib/python3.10/site-packages/torch/nn/modules/module.py:1553, in Module._wrapped_call_impl(self, *args, **kwargs)
   1551     return self._compiled_call_impl(*args, **kwargs)  # type: ignore[misc]
   1552 else:
-> 1553     return self._call_impl(*args, **kwargs)

File ~/miniconda3/envs/abodybuilder3/lib/python3.10/site-packages/torch/nn/modules/module.py:1562, in Module._call_impl(self, *args, **kwargs)
   1557 # If we don't have any hooks, we want to skip the rest of the logic in
   1558 # this function, and just call forward.
   1559 if not (self._backward_hooks or self._backward_pre_hooks or self._forward_hooks or self._forward_pre_hooks
   1560         or _global_backward_pre_hooks or _global_backward_hooks
   1561         or _global_forward_hooks or _global_forward_pre_hooks):
-> 1562     return forward_call(*args, **kwargs)
   1564 try:
   1565     result = None

File ~/abodybuilder3/src/abodybuilder3/openfold/model/structure_module.py:745, in StructureModule.forward(self, evoformer_output_dict, aatype, mask, inplace_safe, _offload_inference)
    743 outputs = []
    744 for i in range(self.no_blocks):
--> 745     z = torch.cat(
    746         (
    747             z_initial,
    748             self.pairwise_distance_feature_map(rigids, mask)
    749             .unsqueeze(-1)
    750             .to(z_initial.dtype),
    751         ),
    752         dim=-1,
    753     )
    755     # [*, N, C_s]
    756     s = s + self.ipa_layers[i](
    757         s,
    758         z,
   (...)
    763         _z_reference_list=z_reference_list,
    764     )

RuntimeError: Tensors must have same number of dimensions: got 4 and 5

I think the issue is that your pre-computed embedding already has a singleton batch dimension
Embedding shape: torch.Size([1, 229, 1024])

And then an additional one is added when preparing the input dictionary ab_input on this line
ab_input["single"] = embedding.unsqueeze(0)  # Use PLM for residue feature

I added the embedding for the example structure given in the notebook to the repo (data/structures/structures_plm/6yio_H0-L0.pt) on the plddt-example branch. You should be able to run the notebook on that branch without modifying it, can you give that a try?

Hello Henry and all other team member. I found out the reason why it did not work, the part 3 was still using pre-compute where I want it to be purely non-pre compute, thank you for your time and help :)

Glad you got it working!


Adding Anthony Jdella

@fharper I added myself, available for coffee-chats

You seems to have disappear from the internet my friend, so for now I'll remove your name from the list, but feel free to add it back hopefully, when you are back!


shr is logical or arithmetic?

Need to know before lowering these.
https://llvm.org/docs/LangRef.html#lshr-instruction

The shr operation appears to be logical:
The interpreter invokes shr_checked here: https://github.com/solana-labs/move/blob/469a6be033b394c8281305fc74879b14360c652c/language/move-vm/runtime/src/interpreter.rs#L1960
Where shr_checked uses the ordinary Rust >>operator on Move's unsigned types:
https://github.com/solana-labs/move/blob/469a6be033b394c8281305fc74879b14360c652c/language/move-vm/types/src/values/values_impl.rs#L1616
According to the Rust reference for operator >>: "Arithmetic right shift on signed integer types, logical right shift on unsigned integer types":
https://doc.rust-lang.org/reference/expressions/operator-expr.html#arithmetic-and-logical-binary-operators


Can not exit python with MxNet?

Hi,
I install the MxNet (build windows update 20170406, 20170406_mxnet_x64_vc14_cpu.7z and vc14 base package) on windows 7 64bit system and anaconda2 （python 2.7）。In python command， I can run "import mxnet as mx", but enter "exit()", the python stopped and can not exit. So, did I miss something?
very thanks!

if you run "import mxnet" success,you not loss any thing.and exit() may is some bug.you can run xx.py. it will normal exit

Hi yajie,
I put the code into xx.py, and it still didn't work. The program output correctly, but stopped forever.

I also encountered this issue. I have tried with 20170125_mxnet_x64_vc12_cpu.7z (v0.9.3), and it was OK. After this release, vc12 version is no longer provided. However, with the vc14 version, python cannot exit successfully (will halt forever) if I import mxnet. It seems there is some bug.

yes it is bug.No reason has been found yet. I can't reproduce the problem steadily.

I have enconter this problem.
system:windows server 2008(64 bit)
python 2.7.9       anaconda 2.2.0
Using laterest version 20170905_mxnet_x64_vc14_cpu.7z,it also have this bug...
Even in C++，(import the libmxnet.dll and libmxnet.lib from this python version release) ,it also can't exit

I have install mxnet by pip, the problem also occurs.
System: Windows 7
Python: 2.7.13 miniconda
nightly build version

@yajiedesign
here are more details:
python -dv hello-mxnet.py (import mxnet as mx)

# cleanup[2] stat
# cleanup[2] cv2.multicalib
# cleanup[2] numpy.lib.format
# cleanup[2] numpy.testing.nosetester
# cleanup[2] cryptography.hazmat.primitives.asymmetric.rsa
# cleanup[2] mxnet.executor_manager
# cleanup[2] mxnet.rnn.rnn_cell
# cleanup[2] cv2.ogl
# cleanup[2] time
# cleanup[2] idna
# cleanup sys
# cleanup __builtin__
# cleanup ints: 1718 unfreed ints
# cleanup floats: 287 unfreed floats

I also tried to build mxnet from source, and attach the python repl, when I type exit(),  VisualStudio debug window close, seems it believe the python process has exited.

not resolve too.
At 2017-09-19 11:38:01, "Yubin Wang"<EMAIL_ADDRESS>wrote:
I have install mxnet by pip, the problem also occurs.
System: Windows 7
Python: 2.7.13 miniconda
nightly build version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Add compatibility layer for existing metrics store

With this commit we add a compatibility layer for existing metrics
stores that ensures Rally will not create incompatible mappings. Without
this change, Elasticsearch will complain that an existing metrics, races
or results index contains multiple types. By detecting this condition
upfront and instead writing to an index with the suffix .new we avoid
this condition. Note that when a new index is created (i.e. after a
month), it picks up the new mapping and is thus not prone to this issue.
Relates #605

Thanks for the quick review @ebadyano! :)


0.69.1 is being forced, exiting.

Yesterday I got this message and scan.py gracefully exited (I had the very latest Monocle source code installed).
Was I unlucky?
Can I safely restart scan.py, or should I wait for some update?
Thank you.

Make the changes that are in PR #341

Thank you.
I changed those 4 references in those two files 😃

I made those changes and i just get hit with "[W2: BAD REQUEST]"

i did this changes too, i still get [W2: BAD REQUEST]
i think the aiopogo needs to be updated

On a CentOS 7 server (if that matters) I applied the 4 changes to the 2 files and everything is working properly.


<EMAIL_ADDRESS>Cannot find module 'enhanced-resolve'

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Running webpack throws the following error after updating to 3.2.0

Cannot find module 'enhanced-resolve'

After installing this package no error was thrown.
If the current behavior is a bug, please provide the steps to reproduce.
Running a project with<EMAIL_ADDRESS>without package enhanced-resolve.
What is the expected behavior?
enhanced-resolve being set as a dependency by webpack (? maybe)
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
<EMAIL_ADDRESS>OS@Windows 10

Thank for you for the report.

Hmmm strange, I removed the package to try one more time, and now it's working. Does npm cache packages or is this black magic?

Could be a possibility!!!

It's a dependency. Looks like some weird npm behavior...


Support runDesktopComposeUiTest.effectContext argument

ComposeUiTest.desktop.kt, Compose 1.4.0-rc01

We throw an excetpion in 1.4.0-rc01

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


chore add log to detect cost of tablets move to trash

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

pr #27693  make wait time shortern


[Bugfix/NLU-3061] "3 y medio" is resolved incorrectly

Issue:
Not resolving “3 y medio“ (three and a half) correctly in ES.
It is resolved as two separate entities - “3” and “0.5” instead of “3.5”
This fix represents a small drift from MS .NET implementation i.e. .NET is unable to handle cases of number input where it is digit+"and a half".

LGTM - One thing to be careful of is the fact that this might fix an issue also seen in .NET which could prompt MSFT to ask us to also fix there if we attempt to merge this into their repo.

@rbrennangen , could you check if there are any test which need to to be updated?

Is it worth drifting from MS over this fix?

Is it worth drifting from MS over this fix?

Gonna bring this up in the PL later.


[test] VASP check on Eiger

I provide the check on Eiger: the pipeline hooks that set the task distribution and cpu binding should improve the performance bit, also on Dom and Piz Daint.

Hello @lucamar, Thank you for submitting the Pull Request!

In the file cscs-checks/apps/vasp/vasp_check.py:

Line 16:41: E127 continuation line over-indented for visual indent
Line 51:40: W291 trailing whitespace

Do see the ReFrame Coding Style Guide

Codecov Report

Merging #1800 (1b32029) into master (6838342) will increase coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1800      +/-   ##
==========================================
+ Coverage   87.35%   87.57%   +0.21%
==========================================
  Files          47       49       +2
  Lines        7792     7919     +127
==========================================
+ Hits         6807     6935     +128
+ Misses        985      984       -1

Impacted Files
Coverage Δ

reframe/core/containers.py
97.64% <0.00%> (-2.36%)
:arrow_down:

reframe/core/pipeline.py
91.72% <0.00%> (-0.45%)
:arrow_down:

reframe/__init__.py
81.81% <0.00%> (ø)

reframe/core/meta.py
100.00% <0.00%> (ø)

reframe/core/warnings.py
100.00% <0.00%> (ø)

reframe/utility/osext.py
84.71% <0.00%> (ø)

reframe/core/decorators.py
97.08% <0.00%> (ø)

reframe/frontend/runreport.py
92.55% <0.00%> (ø)

reframe/frontend/executors/__init__.py
98.19% <0.00%> (ø)

reframe/core/namespaces.py
93.10% <0.00%> (ø)

... and 8 more

Continue to review full report at Codecov.

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


expectJsonSnapshot not works on windows

Describe the bug
Cannot find snapshot folder
To Reproduce
Steps to reproduce the behavior:
spec.expectJsonSnapshot();
Expected behavior
It should save json to snapshot files

Hmm, I use cucumberjs to execute my script and I tried to find but could't see it in my directory.
Can a change the path for snapshot folder from somewhere in the config ?

@tkminh aah, you are using cucumberJS. You can still generate and use the JSON snapshot feature with below setup.

Make sure you add an appropriate name for the snapshot and await on it

await spec.name("user-1").expectJsonSnapshot()

Example:

For instance, a "Then" step syntax for CucumberJS would look something like this
Then(/^I expect response to match a json snapshot (.*)$/, async function (snapshotName) {
  await spec.name(snapshotName).expectJsonSnapshot()
});

A working sample test setup

Also you can change the snapshot directory path as
const pactum = require('pactum');
pactum.settings.setSnapshotDirectoryPath("<path_to_directory>")

Additional references

You can find cucumberjs boilerplate code for pactumjs here: https://github.com/pactumjs/pactum-cucumber-boilerplate

Thanks @leelaprasadv , it works like a charm.


Sentinel Bind

Redis 3.2 introduced 'protected-mode' to enhance security.   The feature introduces an error in the sentinels when trying to connect from non loopback interface :

DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients....

Fix adds 'bind' to the sentinel template in order to allow the sentinels to communicate.
class { 'redis::sentinel':
  sentinel_bind => '<IP_ADDRESS>',
}

Example tested in production, Centos 6.5, Redis 3.2.1.  Configuration, Master / Slave plus multiple Client Sentinels.

Welp, just noticed this PR exists, just submitted a similar one #109 with tests.. Be nice if this (or the other) get merged.


Add headers support for queryURL

According to the m3 docs, it looks like currently in order to set custom headers, we have to reference the -ember-m3 adapter directly, it would be nice if we are able to pass the headers through store.queryURL so we can still take advantage of the serializer in queryURL: https://github.com/hjdivad/ember-m3#serializer--adapter
This change allows custom headers to be passed into queryURL. @runspired @hjdivad

Thanks @pyuan !


Plastic/Stress Docs Update

Add warning/note in docs that plastic calculation assumes all materials reach their yield stress (i.e. not applicable for some materials e.g. concrete or steel sections that are not compact).
Add note that stress analysis is linear elastic.
Referenced in #71.

Fixed by 9ba5ce3.


bug: page views widget not shown on dashboard if url does not contain /dashboard

fixed on with 2.2.0


Special characters are either converted to empty strings or html entity

eg: using variables in Gherkin example scenario outline
Saving the gherkin and re-loading the PBI will show as just blank text or &lt etc

Fixed 0.1.2 - Added HTML encoding when saving and decoding on load.


LAPACK library not found in compilation

Reproduction of the Error
import  torch
print(torch.inverse(torch.eye(3)))

with error information below：
Traceback (most recent call last):
File "<stdin>",line 1,in <module>
RuntimeError:inverse:LAPACK library not found in compilation

System： Windows 11
Python: 3.8
package: pytorch-directml-1.8.0a0.dev220224
I wonder how to fix it?

@Adele101

Hi @Dennis-F-Brodfsky, pytorch-directml doesn't build with LAPACK. Can you share more info about your use case so we can create a feature request for this.

Hi @Dennis-F-Brodfsky, torch-directml has moved to a plugin model. The plugin model decouples the DirectML backend from torch itself, and you should be able to retrieve Torch builds directly from PyPi.
Check out the latest release of the torch-directml plugin here: torch-directml.
Please take a look and reactivate if you still face any issues.
Thanks!


[RESOLVED] Unavailable by ICMP ping

Problem started at 14:56:29 on 2023.08.21
Problem name: Unavailable by ICMP ping
Host: HP_iLO
Severity: High
Operational data: Down (0)
Original problem ID: 85138
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23266&eventid=85138

Problem has been resolved in 23m 0s at 15:19:29 on 2023.08.21
Problem name: Unavailable by ICMP ping
Host: HP_iLO
Severity: High
Original problem ID: 85138


Bundle Flash into application

I know there's talk about dropping Flash in #409 but that seems like a long-term goal. If possible, other apps I've used (like the old Rdio app) have bundled Flash but still use Safari/Webkit underneath. This removes the need to do a global install of Flash (i.e. I am trying to avoid installing Flash globally on my system).

Yeah, that could potentially work...  The number of issues related to using Webkit vs Chrome have been mounting though, so I'd imagine that we will eventually need to move underlying engines (hence https://github.com/radiant-player/radiant-player-electron).  I believe Electron may even bundle Flash itself...

@jacobwgillespie Just to confirm, electron does NOT bundle flash.  But it comes with built in MP3 supports and spoofs itself as chrome so the HTML5 player works


dont work on arm64

got this error arm64 standard_init_linux.go:228: exec user process caused: exec format error

Did you figure out a fix for this?

https://belginux.com/pterodactyl/#linstallation-du-panel
Ive followed this tutorial

It says access denied for me for some reason

maybe try with a vpn ?


Way to force on-demand plugins to load, e.g. before invoking :help

Is there a way to force all lazy on-demand plugins to go ahead and load now?
I've found that using a lot of on-demand loading breaks some vim facilities like :help that scan through all plugins on runtimepath, since it won't see on-demand plugins until you trigger their loading conditions. If I could force all plugins to load before searching :help I'd at least have a simple manual workaround for that.

Unfortunately, Vim/neovim does not have the hook.
So you should request it in development team.

Right, I'm aware there's not a hook to run code right before help is searched. (That's what you mean, right?)
Regardless, there are times you want to ensure everything is loaded, e.g. for troubleshooting. Could there be a way to force loading everything? Could be something like :Plug! with no args, which is pretty guessable and not already taken.

That's what you mean, right?

Yes.  You can check the all hooks in :help autocommand-events.

Regardless, there are times you want to ensure everything is loaded, e.g. for troubleshooting. Could there be a way to force loading everything? Could be something like :Plug! with no args, which is pretty guessable and not already taken.

plug#load({name}) API exists.
I think you can load all plugins.
Note: You can loop by g:plugs variable.

Okay, convenience aside, I found this recipe to do it:
call plug#load(keys(g:plugs))

For instance, I can wrap fzf.vim's :Helptags with a workaround command like this to load all plugins first:
:command Ht call plug#load(keys(g:plugs)) | Helptags

If it's alright, I'd like to add a note about it into :h plug-on-demand-loading-of-plugins.

Add the note at https://github.com/junegunn/vim-plug/wiki/tips. I can add it for you if you can post the full note in one post.

Could the instructions for plug-on-demand-loading-of-plugins reference that, though? Would the wiki be the right place for that if so?

We no longer recommend users to use on-demand loading feature (https://github.com/junegunn/vim-plug/wiki/faq#when-should-i-use-on-or-for-option), and I'd like to avoid talking about it too much on the front page.

Ah, good to know! Would it be okay to add a link to those specifics in :help plug-on-demand-loading-of-plugins to avoid people trying to set it up and wasting time on troubleshooting cases like that?

@junegunn Hey, I just used the on-demand loading feature to reduce my (neovim, vim) startup time by ~300ms! now its (215ms,115ms) respectively. It's a nifty feature to have. Can you please elaborate what you mean by "On-demand loading should only be used as the last resort. It is basically a hacky workaround and is not always guaranteed to work." Anyway a caution would be worth mentioning on the front page. IMO not all plugins are mindfully written, so we will always need some way of not loading them. Would a hard :source or :source!. As an idea, if you can add a boolean flag that can be set before source to bypass the conditional loading feature, then people can by side effects of conditional loading.


How do I copy files to the directory of build?

I have such a directory structure:
src/templates/
|_ first.html
|_ second.html

and I would like to have all of these html files wind up in one directory side-by-side rather than have the entire tree re-created. However, that code stores the directory structure into build folder:
export async function resource () {
  await this.source('src/templates/*.html').target('build')
}

i.e build/src/templates/first.html, build/src/templates/second.html
OS Win10

@ljonya This seems like a use case for a fly-copy plugin.
export default function* () {
  yield this.source("src/template/*.html").copy({ ... })
}

or perhaps we could accommodate this functionality inside Fly.proto.target? How does the resulting code should look like in your opinion?

@ljonya  It works similarly to Gulp. Which is good, the structure must be retained. Possible solutions were discussed here - possible used the glob library?
@bucaran IMHO enough plugin (maybe fly-flatten?)

We are using node-glob in fly-util, so perhaps adding support for glob options there is the way to go...
fly-flatten seems available :smile:

fly-flatten seems available :smile:
Sorry, but i did not find it :smile: Adding support for glob options - it's a good idea

Available to take :grin:

I also have this problem, so i tried to create my own filter/plugin for this, but I can't find a way
to get the file name of the current file. Your examples only use the file content and never the file name.
I tried to find the implementation of your 'rename' function, which should be similar, but i couldn't locate it anywhere.

@TheVoidSeeker You may get filenames by unwrapping them.
this.plugin = function (options) {
  // ...
  this.unwrap(filenames => {
    console.log('These are all my file names: ', filenames)
  })
}

@ljonya @bucaran I will make this flatten plugin sometime today. Sorry for the delay, I just came aboard :anchor:

Ahoy!

:joy:

Closed via #135


Better PGP support (HSM, smartcards, tpm, gpg-agent, etc)

The current implementation uses a basic sequoia_openpgp implementation with a key file and an optional password. I want to rework this to use sequoia_keystore, which supports multiple backends.
This has a few advantages:

The key material can be stored outside of the container, even if stored as a file on disk (gpg-agent running on host or even sequoia-keystore-server)
The key material can be stored on a smartcard (Like a YubiKey) or in the TPM (most modern computers have one, and when running in a VM the key can be stored outside of the VM when using a virtual TPM)

In my opinion, we can go one of two routes.

support sequoia-keystore-softkeys (for backward compatibility, no additional services required) + sequoia-keystore-gpg-agent (the battle-tested gpg-agent running externally can handle all the implementation details for us)

same as 1 + all the other backends to allow running with minimal dependencies on the host at the cost of more maintenance and more dependencies in the container

I would go with 1. I'm willing to make a PR for this. Let me know what you think.

This is a cool idea, and I also think number 1 is the way to go.

Implementing the current behaviour via softkey is good, so we can handle all keys through seqoia-keystore. I really want to preserve the current functionality, as this makes package signing easy to quickly set up, and I deem it sufficiently secure for many users (assuming they don't use their personal keys, as recommended), as there are many more severe risks when running an aur build server.
I also think implementing the gpg-agent backend to "offload" the other implementations on the gpg-agent is a cool idea, as this opens a ton of possibilities, without us implementing anything extra. If someone needs another backend not possible via gpg-agent (if there are any) and has a valid reason, we can consider that then.

I don't know too much about the seqoia_keystore, but I think you can run it as a separate program/daemon, or as a library. I would suggest implementing everything here as a library, so we don't have to deal with multiple processes etc. inside the container.
If you have any questions regarding the codebase, don't hesitate to ask me or @WhySoBad (who has done the current signing implementation).

If you have any questions regarding the codebase, don't hesitate to ask me

Is there a good place for this? Or do you just want to keep everything here?
A development quick start guide would be nice. A very basic "how to set up a minimal local dev environment". I'm familiar with Rust, but not the entire ecosystem.

We can do it here, via discord, or matrix, whatever you prefer.

My discord would be @virtinstance
My matrix @virtinstance:matrix.org

As for a quick start guide:
The project uses the normal rust project architecture, so everything is managed with cargo. You can open the root of the repo in your code-editor or ide of choice. Make sure you have installed and activated the nightly toolchain with e.g. rustup, because we use some features which are only available there.
To be able to build the server, you need to have a database with the migrations ready and an env set. We'll be using the app directory in the repo root as our testing ground, so set the following env for your terminal session:
DATABASE_URL=sqlite://app/serene.db

If your lsp shows a couple of errors regarding the database file, remember to also set this env for the lsp.
With this env ready, we should initialize the database. For that, we'll need the sqlx-cli, which you can install via cargo:
cargo install sqlx-cli

To create and migrate a database, run the following in your repository root (with the DATABASE_URL env set):
cargo sqlx database setup --source server/migrations

With the database created and migrations applied, you should now be able to build the server. The build will fail if the DATABASE_URL env is not set, or the database it points to is non-existent or has no migrations applied. As we have created the serene.db in the app directory, we'll be running our server there. So to build and run a debug build, head into there and run:
cargo run --bin serene

Yes, I'll document that properly somewhere in the docs sometime in the future.


fix typo split2

fix split2 is not defined error at transport example

Thanks!!!!

Thank you! I really like pino :) 🌲Powah! 🤘🏻

Thanks!!!!


import image, and added to my backgound-image, but shows a little square

Hello everyone,
Well the problem it's on my react app, i'm using styled-components to style my components, and i am doing this:
import styled from 'styled-components'
import image from '../resources/img/img.png';

const CSS = styled.section`
background-image: url(${image});
`

actually webpack changed this, but the characters are to small to create the entire image:
he replicates this:
background-image: url(data:image/png;charset=utf-8;base64,bW9kdWxlLmV4cG9ydHMgPSBfX3dlYnBhY2tfcHVibGljX3BhdGhfXyArICJzdGF0aWMvbWVkaWEvYmdub3VzYWl3ZWJzaXRlLjdjZTQ4NzU0LnBuZyI7)

EDIT: and this is the source page of this data-uri:
module.exports = __webpack_public_path__ + "static/media/bgnousaiwebsite.7ce48754.png";

Hello,
How are you?
So, I understand very little of reactjs, I'll speak with my friends to think a solution. Okay?
If you want explain more, will be better for help you.
see ya.

Hey @pedropcruz  ,
I fixed problem, but I want see with.
Can you test for me, please?
Realize test
npm install --save https://github.com/renanbastos93/image-to-base64.git
Thanks a lot


Laravel 5 Update

is there any plan to an update for Laravel 5?

Yes, there is a plan to update for Laravel 5.1 - because it is a LTS release. But I have no release date yet.


[Issue 10938] [pulsar-functions] Include common-io in java function instance

Fixes #10938
Motivation
Pulsar-functions has dependency on pulsar-io-common, but it is not captured in pom.xml
Modifications
Modified pom.xml to capture the dependency
Verifying this change

[x] Make sure that the change passes the CI checks.
[x] verified that the pulsar-io-common.jar gets packaged in the distribution tar image after modifying pom.xml

This change is a trivial rework / code cleanup without any test coverage.

@eolivelli thank you for the quick turnaround.

/pulsarbot run-failure-checks

@bharanic-dev thanks for your contribution. For this PR, do we need to update docs?

tagging @sijie @codelipenghui

@bharanic-dev thanks for your contribution. For this PR, do we need to update docs?

There is no need. thank you @Anonymitaet for checking

Hi @Anonymitaet this is not a user visible change, there is no need to update the docs.

@merlimat @jerrypeng can you please help review?

@sijie we saw this in 2.7 and in 2.8. To reproduce:

build distribution/server tgz artifact.
Build a container image  with the libraries untar'ed(so that the env is isolated from the workspace where the artifact is built).
run bin/pulsar functions-worker inside the container.

@sijie  - could you review this to unblock the merge request? Thanks


golang callgraph hn discussion/brainstorm

Hello zomglings,
hbt here from https://news.ycombinator.com/item?id=25007701
I'd like to reply to your comment then explain what I'm planning to build
Your questions
Q:

Would this be a lot easier in go? The case that scares me a bit in Go is implicit imports (e.g. importing a driver for use with database/sql). But maybe all that is very clear when doing static analysis?

A:
There are already utilities for golang and existing apis.

guru https://github.com/golang/tools/tree/master/cmd/guru

Example of usage: guru -json -scope "github.com/hbt/fh/cmd/hbt-cli" callers "hbt-cli/lib/util/git/git.go:#645"
Example of output:
        {
                "pos": "/home/hassen/workspace/fh/hbt-cli/lib/cmds/devcmd/gw.go:122:63",
                "desc": "static function call",
                "caller": "(github.com/hbt/fh/hbt-cli/lib/cmds/devcmd.GitWorkDev).handleCustomProjects"
        },
        {
                "pos": "/home/hassen/workspace/fh/hbt-cli/lib/cmds/devcmd/gw.go:123:63",
                "desc": "static function call",
                "caller": "(github.com/hbt/fh/hbt-cli/lib/cmds/devcmd.GitWorkDev).handleCustomProjects"
        },
        {
                "pos": "/home/hassen/workspace/fh/hbt-cli/lib/util/goutil/mage.go:71:40",
                "desc": "static function call",
                "caller": "(github.com/hbt/fh/hbt-cli/lib/util/goutil.MageBuild).BuildLocally"
        },
        {
                "pos": "/home/hassen/workspace/fh/hbt-cli/lib/cmds/go/order.go:32:35",
                "desc": "static function call",
                "caller": "(github.com/hbt/fh/hbt-cli/lib/cmds/go.GoOrderCmd).Run$1"
        },
        {
                "pos": "/home/hassen/workspace/fh/hbt-cli/lib/cmds/go/impl.go:43:38",
                "desc": "static function call",
                "caller": "(github.com/hbt/fh/hbt-cli/lib/cmds/go.GoImplementInterfaceCmd).Run"
        },
        {
                "pos": "/home/hassen/workspace/fh/hbt-cli/lib/cmds/selfdev/create.go:61:38",
                "desc": "static function call",
                "caller": "(github.com/hbt/fh/hbt-cli/lib/cmds/selfdev.CreateCmd).getPackagePath"
        }
]

The guru tool uses an existing library to do the AST parsing and provides an API for querying go programs.
  callees         show possible targets of selected function call
        callers         show possible callers of selected function
        callstack       show path from callgraph root to selected function
        definition      show declaration of selected identifier
        describe        describe selected syntax: definition, methods, etc
        freevars        show free variables of selection
        implements      show 'implements' relation for selected type or method
        peers           show send/receive corresponding to selected channel op
        pointsto        show variables the selected pointer may point to
        referrers       show all refs to entity denoted by selected identifier
        what            show basic information about the selected syntax node
        whicherrs       show possible values of the selected error variable

github codeql -- https://securitylab.github.com/tools/codeql

This is also pretty good for querying AST across multiple languages

another alternative implementation - https://github.com/ofabry/go-callvis

My goal
My main goal is:

provide a better "git diff" prior to committing code and detect the following issues

changes to the callgraphs that would have been hard to notice (e.g calls that have been affected by change, other modules that were affected by change and was unaware because outside of scope etc.).
changes to a functions that are "risky" (are used a lot)
unwanted changes (e.g logging, debug etc.). Easily detectable via callgraph, harder to detect when just text

commit metadata and value of a commit: we often say, writing software is about iteration but somehow that doesn't apply to writing a commit and we are expected to get everything right (message, changes within scope etc.)

provide metadata such as new/modified declarations
changes to callgraph
calculate the "value" of a commit. This is more for work/team management. Detecting how often functions are created vs modified, the scope of changes, patterns per author.

Anyway, as soon as I find the bandwidth, I will push out something more concrete.

@hbt: Thanks for this, guru looks nice.
Still digesting your message. My early thoughts:
Metadata
Right now, Locust produces output that looks like this:
{
    "initial_ref": "<initial git revision>",
    "terminal_ref": "<terminal git revision>",
    "locust": [ <array of new or modified function and class definitions in the code> ]
}

We should modify this to look like:
{
    "initial_ref": "<initial git revision>",
    "terminal_ref": "<terminal git revision>",
    "summary": {
        "definitions": [ <array from current summary> ],
        "dependencies": [ <changes to symbols used in each scope - module/package/file level, as well as at the level of functions, classes> ],
        "todos": [ <changed (created, updated, or deleted) todos parsed from comments> ],
        "authors": [ <person responsible for changes in each scope> ],
        ....
    }
}

The responsibility of populating this object can lie with plugins. Currently, we have a JS plugin which produces definition changes from Javascript code. This should be extended to populating arbitrary paris of (metadata type, programming language).
Analysis
You mention a few things that fall under "analysis of metadata":

changes to the callgraphs that would have been hard to notice (e.g calls that have been affected by change, other modules that were affected by change and was unaware because outside of scope etc.).
changes to a functions that are "risky" (are used a lot)
unwanted changes (e.g logging, debug etc.). Easily detectable via callgraph, harder to detect when just text
calculate the "value" of a commit. This is more for work/team management. Detecting how often functions are created vs modified, the scope of changes, patterns per author.

I see these things as use cases locust can support as a metadata provider. Anyone should be able to use Locust metadata as input to programs which produce these outputs.


Add Wunderlist integration

Hey Bugsnag team,
here's a plugin we're working on, which would create tasks and comments in Wunderlist from Bugsnag exception events and comments. We've tested the basic functionality, and everything is working. To verify actual production payloads we'd appreciate you merging this, and once we're completely done, the integration would be listed on https://wunderlist.com/integrations.
Cheers from Berlin!

Yay!

LGTM! Thanks @adamrenklint!


[tutorial todomvc] remove duplicate css option: boarder

I think the duplicates option is incorrect.
(this pr is a too small change.  thanks for your review  )

Thanks @MokkeMeguru 👍


allow encode stringData & decode of data in /api/dencode with content negociation

Prepare decommission of "Output format" parameter and allow runtime content negociation for json or yaml

Prepare decommission of "Output format" parameter and allow runtime content negociation for json or yaml

@adrianiacobghiula are you planning a bigger redesign of the applocation?

The "Output format" parameter can be removed assuming that at runtime the app can deliver both json or yaml by using the Content-Type & Accept headers
/api/kubeseal can replace /api/seal
/api/dencode (new endpoint) can replace /api/encode & /api/decode
The other benefit would be no need to encode a yaml or json as a string field in a json object  {"secret":"encoded_json_or_yaml"}
So I would see a next change after this PR to use the new endpoints from frontend & deprecate /api/seal, /api/encode & /api/decode

The "Output format" parameter can be removed assuming that at runtime the app can deliver both json or yaml by using the Content-Type & Accept headers /api/kubeseal can replace /api/seal /api/dencode (new endpoint in this PR) can replace /api/encode & /api/decode
The other benefit would be no need to encode a yaml or json as a string field in a json object {"secret":"encoded_json_or_yaml"} (see the body of /api/seal /api/encode & /api/decode)
So I would see a next change after this PR to use the new endpoints from frontend & deprecate /api/seal, /api/encode & /api/decode

Ok, sounds good.
When I creadted te e2e tests I also was not too happy about the wrapped secret in the responses.


parameter access from java code works unclear

@EugeneDar Indeed, one of the parameters in text.replaced object have incorrect name, but all tests are passed successfully and Java code call this parameter by another name without any error
Originally posted by @Graur in https://github.com/objectionary/eo-strings/pull/28#discussion_r953576925

@Graur it might be worth mentioning this problem in the main repository, because it is more of a problem with the language as a whole.

@Graur what do you think?


Fix: fix etcd and apiserver dashboards for hypershift and more

Service monitors scraping etcd and apiserver jobs for hosted clusters were missing some metrics for their respective specialized dashboards.
I am also fixing missing data for other cases, as well as fixing some bugs in the etcd dashboard.
https://issues.redhat.com/browse/ACM-13524

/retest


Fix csharp stuffs

fix a csproj where a test file was not included
update the .gitignore to support nuget packages and ncrunch (the indispensable tool for TDD in VisualStudio!)

Thankyou!


The custom 'Toggle Trail' event only works once

Describe your bug here.
The 'Toggle Trail' script used in wither and uproar only works once, and after it's disabled and enabled again it doesn't work at all.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.

Fixed it!
https://www.youtube.com/watch?v=ttdHx-pSiMw


Add missing wallet grpc tests

In https://github.com/ZcashFoundation/zebra/pull/4253 we added tests for grpc wallet methods, however we left a few TODOs in the main file (zebrad/tests/common/lightwalletd/wallet_grpc_test.rs)for missing tests.
This ticket is for add them:

[ ] GetTaddressBalanceStream
[ ] GetMempoolTx
[ ] GetMempoolStream
[ ] GetTreeState - Need #3990
[ ] GetAddressUtxosStream

The stream ones should be easy, the tree state should also be easy after #3990 is in place. Mempool ones are harder as we will have to add some transaction to the mempool from the test (idea: need to use code from zebrad/tests/common/lightwalletd/send_transaction_test.rs)

Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @teor2345 @upbqdn