Rethinking get_custom_effort and get_effort

While reviewing get_*() functions vs features of map_dep() (see #171) I found the function name get_custom_effort() very misleading.
@jimcasaer, @LynnINBO and I added get_custom_effort() to allow the user to select a start date, an end date and also a group_by interval, e.g. "days". See #70.
Notice that such effort is calculated over all deployments (filtering by predicates is of course possible)!
But why not adding start, end and group_by to get_effort() as well and renaming get_custom_effort() as get_total_effort() or get_global_effort()?
Of course users can continue to use get_custom_effort, but its usage will be deprecated.
@jimcasaer, @LynnINBO, @peterdesmet: what do you think about it?

Decided with @jimcasaer:

yes, start, end and group_by fit perfectly get_effort(). The default values (start = NULL, end  = NULL, group_by = NULL) will return the effort as it is returned now and will be by far the most typical usage.
agree to rename get_custom_effort. However,  get_project_effort()  of get_overall_effort().

Decided with @jimcasaer:

yes, start, end and group_by fit perfectly get_effort(). The default values (start = NULL, end  = NULL, group_by = NULL) will return the effort as it is returned now and will be by far the most typical usage.
agree to rename get_custom_effort. However, get_global_effort() doesn't soudn good for @jimcasaer as it reminds a calculation over the globe, the entire Earth, not anymore project wise.
@jimcasaer's alternatives: get_project_effort() (I give :+1) of get_overall_effort() (I give :-1).

@peterdesmet:  which name is the best, do you think? Other alternatives are welcome.

What is the difference in functionality of get_effort(start, end, group_by) vs get_project_effort()?

get_effort is at deployment level, the actual get_custom_effort() (to be renamed maybe as get_project_effort()) is over all deployments.
Default examples:
library(camtraptor)

get_effort(mica)
#> # A tibble: 4 × 4
#>   deploymentID                         effort unit  effort_duration
#>   <chr>                                 <dbl> <chr> <Duration>
#> 1 29b7d356-4bb4-4ec4-b792-2af5cc32efa8   239. hour  859859s (~1.42 weeks)
#> 2 577b543a-2cf1-4b23-b6d2-cda7e2eac372   219. hour  786802s (~1.3 weeks)
#> 3 62c200a9-0e03-4495-bcd8-032944f6f5a1   529. hour  1903602s (~3.15 weeks)
#> 4 7ca633fa-64f8-4cfc-a628-6b0c419056d7   335. hour  1204929s (~1.99 weeks)

get_custom_effort(mica)
#> # A tibble: 1 × 3
#>   begin      effort unit
#>   <date>      <dbl> <chr>
#> 1 2019-10-09  1321. hour
Created on 2022-09-15 with reprex v2.0.2

Why not a call the function get_effort() (get_custom_effort() behaviour) where you can group_by = "deployment" to replicate the current get_effort() behaviour?

when looking at the list #171  of get_() functions, it seems to me that there are two families of get_() functions:

those that return information for each deployment and are afterwards used in map_dep()
the others that return information based on the export that is being analyzed

would it not be logical to keep the get_ as a prefix for all of them and differentiate using get_dep_() for the first group and get_projet_() or get_export_() for the second ? I do not like the suggestion to use summarize (as suggested in ) given that these functions are for me not really summarizing something, but returning characteristics for each deployment

Suggested in camtraptor July 2023 coding sprint

Regarding aligning get_custom_effort() and get_effort(), see #236
@jimcasaer agree that there are multiple families of get_ functions:

Get information per deployment, like get_effort()
Get information for camtrapR, like get_recordTable()
Get species info, like get_scientific_name()
We decided to remove the get_ function names, see e.g. #231 #235 ...

Closing this issue in favour of #236


[1.20.1-Latest]  Translater & LibJF do not work with Sinytra Connector

Mod Name
Translater & LibJF
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/translater and https://www.curseforge.com/minecraft/mc-mods/libjf
Minecraft version
1.20.1
Describe the bug
Sinytra causes the game to crash when using these two mods together. Even tested on a new 1.20.1 instance.
Steps to reproduce

Download latest SInytra, Forgified Fabric API, and the latest 1.20.1 version of the Translater mod & LibJF
Launch the game
Game  boots up for about 5 seconds before crashing

Logs
N/A (log is pointless, only line is "[main/WARN]: Reference map 'libjf-unsafe-v0-refmap.json' for libjf-unsafe-v0.mixins.json could not be read. If this is a development environment you can ignore this message")
Additional context
No response

Why did it open two of the same issue? I'm sorry about that.


Require and implement debug on Stylesheet types

Simplifies my use case where I have a type that holds one of the upstream iced theme types. ( currently iced_style::theme::Button )

This is not longer necessary for me.


Adding unless condition to deploy and CLI Wrapper and module installation improvement

As we talked about in the previous PR, I added a unless condition to avoid that "bad behavior" and improved module installation.

Nice, I will try it out .
Thanks again

Impressive
Really worked nice with my apache ajp, postgresql vagrant box
I pushed a new version to puppet forge.

Awesome. Download number is increasing really fast and we are attracting new contributors. =)
These new features are the core features, with them we'll be able to satisfy most applications needs. I'll keep an eye for new issues in order to make this version stable.
If we invest in Testing and Documentation, we might be able to reach Puppet Approved Module Criteria (https://forge.puppetlabs.com/approved/criteria)


Request URL:http://localhost:9001/api/password  404

Request URL:http://localhost:9001/api/password
Request Method:PUT
Status Code:404 Not Found
Remote Address:[::1]:9001

fixed in https://github.com/erguotou520/vue-fullstack/commit/7d73f1a8d7e6d24d21403b93a6b7dedceabf7349


fix: builds fail with ModuleNotFoundError for hatchling

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Builds for new versions fail with
ModuleNotFoundError: No module named 'hatchling'

Even though hatchling is listed in all dependencies. Trying some stuff here.

@conda-forge-admin, please rerender

Try hatchling=1.22.2

They shouldn't be using exact pins upstream:
https://github.com/widgetti/solara/blame/04cbe23a5cbd1124df0afa541c6d61939bc5a3cf/pyproject.toml#L2

Try hatchling=1.22.2

Doesn't seem to work either... It seems to me that something has changed about the build step - it seems to skip the installation of dependencies completely for the solara package.

They shouldn't be using exact pins upstream: https://github.com/widgetti/solara/blame/04cbe23a5cbd1124df0afa541c6d61939bc5a3cf/pyproject.toml#L2

What's even weirder is that apparently for the different subpackages of solara we use different versions, pinning ==1.22.2 for some, but only >=0.25 for others.

conda-build bug? I'd definitely report that to @conda-forge/core as, IIUC we shouldn't be touching those scripts since they will get overwritten with every rerender.

But if you can reference or open an issue in conda-build it may be appropriate to break the rules!

xref: https://github.com/conda/conda-build/issues/5444


rebuild with libxml2 2.10:

libxml2 pinned to 2.10
includes updates to 'about' section
build number increased
urls updated

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:18: missing_hash: The recipe is missing a sha256 checksum for a source file
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:26: missing_hash: The recipe is missing a sha256 checksum for a source file
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:110: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:111: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:119: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:121: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:121: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:122: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:129: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:131: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:140: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:143: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:144: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_03j5uz824q/clone/recipe/meta.yaml:191: missing_tests: No tests were found.
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:18: missing_hash: The recipe is missing a sha256 checksum for a source file
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:26: missing_hash: The recipe is missing a sha256 checksum for a source file
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:110: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:111: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:119: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:121: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:121: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:122: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:129: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:131: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:140: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:141: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:143: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:144: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_8248hmm3xn/clone/recipe/meta.yaml:191: missing_tests: No tests were found.
Errors were found


Publishes rosetta CUDA 12.1 containers for pax and t5x

Oops. You are right. I need to rebase this on #284 and only add the amd64 platform. Will do that now

Done. Launched this run to test: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6436638266

Re-running CI after rebasing on top of the multiarch PR to make sure nothing broke: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6465287847

Ahh, even that build failed. I forgot I haven't cherry-picked @yhtang 's fix for NCCL in 12.1 images

Rerunning agaaain after rebasing with the latest NCCL fix.
https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6466124323

Launched sandbox CI:

cuda-121-jax-pin.yaml: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6487938863
cuda-122-jax-pin.yaml: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6487939518

Rerun on top-of-tree for JAX/XLA after https://github.com/openxla/xla/pull/6305 is merged: https://github.com/NVIDIA/JAX-Toolbox/actions/runs/6512759676


feat: execution for fragment arguments syntax

This implements execution of Fragment Arguments, and more specifically collecting-fields and replacing the variables in a fragment-definition with values coming from the fragment-spread, as described by the spec changes in https://github.com/graphql/graphql-spec/pull/1010.
This is a 2024 update of https://github.com/graphql/graphql-js/pull/3835 where all discussions have been carried over in code comments, they are highlighted already as review comments here as well.
This PR splits out the execution part so we can look at that in detail, I will pause here as the fragment-keying remarks will most likely have quite an impact on the validation changes.

Yeah I realized (after I started) that we do need to preserve a two-layer “stack” of variables, a la the refactored context you’re describing. Substitution doesn’t cut it: I can’t remember all the details for WHY substitution doesn’t work (sounds like you’re learning them though!).
Yes it would be a pretty large refactor, but I think that refactor is essentially required to make fragment arguments good.

@mjmahone the refactor is largely done in https://github.com/JoviDeCroock/graphql-js/compare/fragment-args-execution-2024...JoviDeCroock:graphql-js:collect-fields-alternative?expand=1

Overall I wonder if it would be nice to have some common GraphQLArgument/GraphQLSignature type similar to https://github.com/JoviDeCroock/graphql-js/pull/7 that could unify some of the above logic.

If it helps at all, I have rebased this branch on current main: https://github.com/yaacovCR/graphql-executor/tree/fragment-args-execution-2024-rebased

Here is a commit that implements some parallel changes to what I suggested in the TypeInfo branch with precompiling the fragment variable signatures....
https://github.com/yaacovCR/graphql-executor/commit/e5744fc79ee560eaa55796faeef8dd5261dd912f
Also includes greater code reuse of getArgumentValues, but presently requires some JavaScript specific changes around non-provided variables, previously they did not appear at all in the args array, now they need to be present but undefined, so the code path for supplying the default field value takes precedence over the operation default value

but presently requires some JavaScript specific changes around non-provided variables, previously they did not appear at all in the args array, now they need to be present but undefined

I was able to fix this on my scratch brainstorming branch: https://github.com/yaacovCR/graphql-executor/tree/execution-suggestions

TODO: rebase last 1 commit on fragments args syntax

branch https://github.com/yaacovCR/graphql-executor/tree/execution-suggestions has that commit rebased on main and then one additional commit showing you one potential set of changes that would be responsive to the feedback i am trying to give.
Basically, in that branch:

we reuse getArgumentValues for field arguments and fragment arguments
we do not coalesce fragmentVariablesValues and regular variableValues into a single map, but just pass around both to the relevant functions
we have an experimental prefix for the function that changes signature (experimentalGetArgumentValues()), everything else just gets optional arguments
we do not store fragmentVariables in the context
we have a separate type GraphQLVariableSignature that we use whenever we encounter a variable (this last item actually fixes a trivial bug with one-of)


Can Glue be used to integrate single-cell transcriptome, Bulk-proteomics, and metabonomics?

Dear developers,
Thank you for sharing your code. I want to take this opportunity to ask whether we can use your Glue program to integrate simple single-cell transcriptome with general proteomics and metabonomics. This is very important to me. Thank you for your answer.
Best wishes,
zjz

Thanks for your interest in GLUE!
What kind of integration do you intend to do?
Is it more like:

Deconvolution of these bulk data with help from scRNA-seq;

Or

Unpaired alignment of scRNA-seq and several bulk samples?

If it's the first case, I'm afraid that's not what GLUE is designed for.
In the second case, I think that would depend on how many bulk samples you have. If there is a sufficient number of bulk samples, it would be worth a try.

Thanks for your interest in GLUE!
What kind of integration do you intend to do?
Is it more like:

Deconvolution of these bulk data with help from scRNA-seq;

Or

Unpaired alignment of scRNA-seq and several bulk samples?

If it's the first case, I'm afraid that's not what GLUE is designed for.
In the second case, I think that would depend on how many bulk samples you have. If there is a sufficient number of bulk samples, it would be worth a try.
Thank you so much. What i want to do is the second case. It may take longer to try ^-^.

Sure! Let me know if there are further issues.


Button mappings for touchpad swipes?

Apologies if this has already been covered elsewhere, but do any of the available SteamVR buttons listed on this page correspond with touchpad swipes?
Thanks in advance!

Hi, maybe I misunderstood you but I think these are like pad swipes in every direction:
"dpad_left"
"dpad_up"
"dpad_right"
"dpad_down"
P.s.
I don't know if there is a special recognition of swipes but as a concept the swipe in buttons should be reproduced with 2 keys subsequently
Ex.
Left-right
Up-down

That's a great question. When you map a psmove button to "dpad_left" for example, it's sending vr::k_EButton_DPad_Left to steamvr. I don't believe this button code (or any of the dpad button codes) is actually ever emitted by the Vive controller. I think they included it in OpenVR for controllers that did have a dpad. I think the swipe is handled differently, but I don't know this for certain. If anyone wanted to experiment with this button mapping and see if this accomplished the same result as a touch-pad swipe that would be rad.
I would still like to do more complex button chording support, but that's waiting on me finishing up official support for the DualShock4, which is in turn waiting on me to finish up the Kalman filter with cboulay.

@HipsterSloth I believe that what applications tend to refer to in their in-game text as "swipes" are simply presses on the touchpad on certain extents. So I guess the most straightforward way to get this working would be to add "buttons" like:

touchpad_left_pressed which, when triggered, would tell steamvr that the current value of the axis vr::k_EButton_SteamVR_Touchpad.x is -1 and that the button vr::k_EButton_SteamVR_Touchpad is being pressed
touchpad_left_touched which, when triggered, would tell steamvr that the current value of the axis vr::k_EButton_SteamVR_Touchpad.x is -1 and that the button vr::k_EButton_SteamVR_Touchpad is being touched

I got something like this working locally. It's not close to ideal, since games seem to actually do want real swipes, as in your position on the touchpad changes over time, but it's a start, and it makes Tilt Brush usable. I'm going to try to submit a pull request at some point over the next few days.

Thanks for the pull request! I'm going to try and make a release tonight with this change since others might find this useful. I'll update the wiki too for info about the new mappings. Once that's done i'll mark this issue as resolved.

I just published a release with these changes. I'm marking this issued as resolved. If anything comes up please feel free to start a discussion on the newly opened forum: https://groups.google.com/forum/#!forum/psmoveservice


Change icon to make Win64 installer deterministic

This pull request restore the original image sizes of the program icon to make the Win64 installer deterministic.
On the left is the old icon, on the right the updated icon:

This seems to resolve #230.

In the comparison image, the icon sizes and bit depths seem to be the same - purely just for interest what was the problem?
Thanks so much for getting to the bottom of the build mismatch :)

To be honest, I'm not sure actually. But just to clarify: the image on the left was the one used for preview 1, which was deterministic, the image on the right is the image of this PR, which exactly mirrors the sizes of the determinitic image.
For preview 2+, which were not deterministic, we used the following icons (right side for Windows):

So all I did here was basically to remove the extra images, with other resolutions, such as 768x768.
 If it were the other way around, I might understand (because then an image with resolution, which isn't available, might be constructed on the fly or so).

So all I did here was basically to remove the extra images, with other resolutions, such as 768x768.

Ahh I see, thanks.

 If it were the other way around, I might understand (because then an image with resolution, which isn't available, might be constructed on the fly or so).

That would be my thinking too, perhaps the higher resolution images trigger some other sampling or something - but glad you got it sorted :)

but glad you got it sorted

Me, too! But let's hope it's really resolved. The tests shown above also revealed that the 32 bit installers are not always matching, even though you and me got the same results for win32 installers of preview 2.


Imports assets from bootstrap's woff2 file

See: https://github.com/twbs/bootstrap/tree/master/fonts
I'm pretty new to this, but I noticed I had to add this line to my index.js in order to get some of the glyphicons to render, as they were hitting 404s like:
GET http://localhost:4200/fonts/glyphicons-halflings-regular.woff2
Let me know if this is a mistake on my end or if there's a place I can write a test for another import like this

Seems to have been forgotten, thanks for your effort!


10.2.1 OTA Update Still Loading

Using beta3 IPA on an iPhone 6S (TSMC), the OTA update is still loading under settings and offering to install 10.2.1.
https://github.com/kpwn/yalu102/commit/718bdc80cbe9f31ebdca3d05b53a0c6886c4499a
Assuming the above commit is in beta3 (I assume it is), something's not quite right.
Since I've had the OTA bugging me prior to jailbreaking, I let the OTA update download fully, deleted it from storage, rebooted, re-jailbroke using yalu immediately, re-checked and it's still offering to allow to update.
If you need any further information, let me know.

install the tvos profile to stop OTA. search it on r/jailbreak

Or just mikoto..

Download the tvOS profile from here https://beta.applebetas.tk/

here is the link to tvOS https://hikay.github.io/app/tvos10.mobileconfig don’t think u will find it on r/jailbreak due to the rules.
On 29 jan. 2017 22:23 +0100, beanjo55<EMAIL_ADDRESS>wrote:

install the tvos profile to stop OTA. search it on r/jailbreak
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

follow this link on safari on the iPhone or whatever you tying to stop the OTA update:
hikay.github.io/app/NOOTA.mobileconfig

@maetrik92 Mikoto is removing the update menus but is not stopping ota from downloading

check my PR #146

launchctl disable system/com.apple.softwareupdateservicesd
launchctl disable system/com.apple.OTATaskingAgent
launchctl disable system/com.apple.mobile.softwareupdated

=> forever spinning wheel instead of download and install button


#288: Separate down from clean.

This PR resolves #288 and #271.
Looking good - just need to organize some testing for Windows.

looks ok to me, even on windows.  Down takes it down, clean cleans it.  Obvious error message if you try to clean with a network still in use.


reset conversation

reset conversation when %c or %C is typed

Thanks, this is handy. I think we'll default to --multiturn 0, there are some bugs with continuations that are being worked out. Also eventually we'll want a proper parser to deal with special commands.


feat: android styling and conditionals

To test this the fontello fonts will need to be added to the TableApp and the latest of work/ongoing

get the fontello fonts
add the fontello.ttf  under sn-table/react-native-dev/TableApp/android/app/src/main/assets/fonts

:tada: This PR is included in version 1.1.0-alpha.40 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Document alternatives to some static Color methods

See https://github.com/godotengine/godot-proposals/issues/10294

We should probably see about how to document this constructor properly, as it's overlooked due to some conversion details, but this is good as an initial step IMO

Another thing is that there is no way to link to a constructor, like to methods and members.

There is, but it's not coded properly because it's not standard (it needs more parameters than just the constructor's name)
Both [constructor Color] and `[operator Color] work partially. They only point to the first one in the list if I recall correctly, and fail the check on Github.

Yeah I noticed the constructors have name field, but each one is named the same. Hence it's effectively not possible to utilize it in a useful way.

Thanks!


Detect which LUAVER syntax to use (with or without dot)

This fixes #14: on my system I need LUAVER?=53. Note that I have no way of testing it on systems where LUAVER?=5.3 is necessary, so this needs to be checked.

Travis (not related to this PR):
$ ./scripts/run-tests.sh
/home/travis/.travis/job_stages: line 104: ./scripts/run-tests.sh: Permission denied
The command "./scripts/run-tests.sh" exited with 126.
Done. Your build exited with 1.


Investigate why access performance isn't improved uniformly by repacking metadata

On the files we tested over Antarctica, repacking the metadata with h5repack didn't improve access times in a dramatic way, specially for xarray and h5py. These granules contained a lot of data and each was around 6GB, with ~7MB of metadata. They were selected and processed using this notebook
e.g. ATL03_20181120182818_08110112_006_02.h5 ~7GB in size and 7MB of metadata

Note: The S3 bucket with the original data is gone but can be easily recreated.

However for other granules with less data, repacking represented a 10X improvement for xarray
e.g. ATL03_20220201060852_06261401_005_01.h5 ~500MB in size and 3MB of metadata
After applying h5repack to both files the access time to the first one is not improved for xarray but it is improved from 1 minute to 5 seconds for the second granule, why?

group = '/gt2l/heights'
variable = 'h_ph'

with s3.open(file, 'rb') as file_stream:
     ds = xr.open_dataset(file_stream, group=group, engine='h5netcdf')
     variable_mean = ds[variable].mean()

I'm going to repack the original files and put them on a more durable bucket, along with more examples from other NASA datasets.
Maybe @ajelenak has some clues on why this may be happening.

The curious thing is that in some instances repacked files get faster times compared to their non repacked original version without passing any special parameter to h5py or xarray.

That's probably because of the paged aggregation applied to the repacked file that forces libhdf5 to only make S3 requests of the file page size. Those pages then bring much more data (likely quite a few chunks in one request) compared to the original file where libhdf5 can make S3 requests starting from as little as 8 bytes.

We had a very interesting conversation/brainstorming session with @ajelenak during AGU23, he is developing tools to trace the behavior of h5py over the network:  https://github.com/ajelenak/ros3vfd-log-info that we'll use to have a better idea of how repacking and doing page aggregation makes an impact on file access times. I'm not sure if this tool can be used with the h5py -> fsspec or just for the rosv3 driver.

Currently it can only parse libhdf5's ros3 driver logs. I was interested in those because they are the most accurate information about where in a file and how many bytes libhdf5 is reading. An fsspec log parser can certainly be added. Do you have one to share?


feat: view changes between app versions based on the Changelog

This is a first attempt at displaying the change log to users of AppHub:

This is based on the CHANGELOG.md that is automatically generated for apps that use semantic-release (all of our apps)
We will also be exposing a manual entry for each version change_summary, where the users can write whatever they want to describe what changed in a specific version

When that change_summary exists, it will be displayed first next to the entry (then any other changes from the changelog)

Some open questions:

A way to open the changes from a specific version (which would open the modal with the row version selected as the base version)
Right now, when selecting a base version, it compares against the last 10 versions by default (or less if there arent' 10) - this is a random default, but seemed sensible to me.

When this is integrated in App Management, then the default can be to compare against the installed version.

We're able to add filters to the ChangeLogViewer, i.e. only display Features, Bug fixes, hide translations etc...
A completely different concept for viewing the changes? I played with having the changes of each version in the versions table (accordion-like) but that turned out too crowded, and having a button at each row to open the modal based on the selected version, but that also felt too crowded (and distracted from the main info to download the version)

To test this: Upload a new version of one of our apps (since these have a changelog generated) - this will update the app entry with the changelog which is then parsed and used by the UI.
apphub-changelog-prototype.webm

@cooper-joe @amcgee I marked this PR as draft, even though this implementation is ready - I tried to find a decent way to expose the changelog now that we have it, but I am not entirely convinced this is the right direction. I am happy to explore a completely different UX / concept (or few concepts) now that we have the changelog data ready.


Statistics

Basically the most important statistics about processed contract. From how many functions to how many calls, external calls, different type of references, basically all of the data that can help out gain statistical information about source code.
Explained just dummy idea. Real idea will follow in the future.

Statistics will be part of the unpack itself. Not solgo.


Can I contribute

Hi I'm @Yuheshpandian. I love Flask and its capabilities, in fact when I wanted to learn web dev , with only the knowledge of Python, I went for Flask without hesitation. I had made some projects using Flask, also a modern boilerplate for flask projects. Now I wanted to Contribute to my go to web framework in Python.
I just want to contribute and make changes in the README.md/Documetation.
Thank You

that's not what issues are for... please see https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst

that's not what issues are for... please see https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst

no actually I asked a willing/permission, if the pallets would like me to contribute, I was not reporting any vulnearability/bugs or request a feature.

This is an open source project. If you can make useful contributions we're happy about them. And the link I posted literally recommends you to:

not use the issue tracker for support-like questions (which yours here is, this would have been better suited in discussions or on our discord)
open an issue to discuss if you think there's something you may want to contribute

It is up to you to find something you find worth contributing, either coming up with something you think would be useful (open an issue about it in that case), or finding an issue you'd like to work on (but considering there's just one issue open right now that might be hard).

yeah thank you for spending your valuable time I would sure follow the Contributing guidelines and make my contributions. Thank you for you kind guidance.

Also please note that one-line "I think this could be worded differently" changes to readme/docs are usually not useful, especially if they do not actually fix e.g. incorrect spelling/grammar.

In this and other projects, please stick to open issues that are unassigned and do not yet have PRs submitted. You'll notice that Flask and Werkzeug have very few of those, so they're not good targets for first time contributors. Within Pallets, Click and Jinja have open issues, but those tend to be more complex or confusing, so still probably not good targets. The Flask extension ecosystem however is very large, and tends to receive much less contributor attention, so you may want to look around there for something that is actively maintained and needs help.


[zuul] Use alternative syntax for defining hooks (#102)

ci-framework allows for hooks to be defined as multiple hooks in a list, or single hooks in their own parameters.
If two separate vars files (passed to cifmw_extras) define the same hook, then one gets overwritten by the other, depending on the order in which the vars files are imported.
Using the "single hook in its own parameter" method of defining the hook prevents this issue.

merge from master to my branch


Voice Modes

how can I get the current voice mode? (Shouting, Normal etc...)

If you're on OneSync infinity you can do Player(serverId).state.proximity which will have a object with index (you shouldn't need this), distance (speaking distance), and the mode name

local voiceMode = 0
local voiceModes = {}
local usingRadio = false
AddEventHandler("pma-voice:radioActive", function(radioTalking) usingRadio = radioTalking end)
AddEventHandler('pma-voice:setTalkingMode', function(newTalkingRange) voiceMode = newTalkingRange end)
TriggerEvent("pma-voice:settingsCallback", function(pmaSettings)
	local voiceTable = pmaSettings.voiceModes
	voiceMode = 2

	for i = 1, #voiceTable do
		local distance = math.ceil(((i/#voiceTable) * 100))
		voiceModes[i] = ("%s"):format(distance)
	end
end)

Here's some sample code for the settings

and how I convert the table to the Mode name?

@AvarianKnight and how I convert the table to the Mode name?

@AvarianKnight I didnt understand yet how can I get the name of the mode??

Nevermind I did it! Thanks!

i need the same export pleas can u send it


shellcheck: add helpUri field to reportingDescriptor

The Sarif 2.1.0 schema specifies reportingDescriptor has a helpUri property that is "A URI where the primary documentation for the report can be found."

Codecov Report
Patch coverage has no change and project coverage change: -0.02% :warning:

Comparison is base (47caf36) 3.23% compared to head (f8d6c0d) 3.22%.
Report is 22 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##            main    #504      +/-   ##
========================================
- Coverage   3.23%   3.22%   -0.02%
========================================
  Files         10      10
  Lines       1173    1178       +5
========================================
  Hits          38      38
- Misses      1135    1140       +5

Files Changed
Coverage Δ

serde-sarif/src/converters/shellcheck.rs
0.00% <0.00%> (ø)

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

@blmaier thanks for the change; it lgtme -- CI is being a bit funky (looks transient) so I'll leave it be for a day but happy to merge this!


Halide -> HalideIR

To make it possible to use Halide and tvm in the same project.

See companion PR at https://github.com/dmlc/HalideIR/pull/15

The HalideIR pr has been merged. can you update submodule and rebase? Thanks

Done, I think. Haven't updated submodules in a PR before, so hopefully I didn't screw something up.

thanks!


disable-pointer-events not being removed after transition

We are experiencing a bug:
When automatically transitioning from our login to home page (on successful login), the page elements are un-clickable.
We noticed that the disable-pointer-events class was still applied to the body.
From what I can understand in the code, this class is applied at the start of an animation, and then removed after it.
Given that this behaviour disappears as soon as we remove the animation parameter from the body tag, it leads me to believe that the animation code is not removing the class as intended.
When viewing in a browser, refreshing the page makes elements interactive again.
We have place a temporary fix to manually remove that class from body on stage change success, but obviously would prefer things just to work as intended.
I apologise for not writing a codepen, It's hard to replicate the issue on a code snippet.

This is still an issue unfortunately and can't find the solution :/

I too am having this issue. This occurs when I have a popover open which has a link to a modal. I fixed it by adding a timeout of the model.open.
function showSwitchUserModal(e) { 			e.preventDefault(); 			vm.staffPopover.hide(); 			$timeout(function(){ 				vm.switchUserModal.show(e); 			}, 100); 		}


Programmatic control of the instance after launch

Request from @ihh
"Is there any way we can control a jbrowse instance remotely after launching it [from Jupyter] - for example by having it listen on a websocket, or do long polls, then eval the responses (this seems like a huge hack but also arguably quick and powerful?)
Just seems annoying to relaunch the browser every time I want to navigate to a location specified by Python"

It’s not so much that it’s slow, rather that I don’t want to lose state in
the browser by relaunching it.
So for example if I launch a browser, navigate it to a particular position
using the UI, then want to add more tracks in Python - how do I avoid
losing the position I just navigated to?
On Mon, Dec 11, 2023 at 1:10 PM Colin Diesh @.***>
wrote:

Request from @ihh https://github.com/ihh
"Is there any way we can control a jbrowse instance remotely after
launching it [from Jupyter] - for example by having it listen on a
websocket, or do long polls, then eval the responses (this seems like a
huge hack but also arguably quick and powerful?)
Just seems to relaunch the browser every time I want to navigate to a
location specified by Python"
—
Reply to this email directly, view it on GitHub
https://github.com/GMOD/jbrowse-jupyter/issues/86, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAANGYJ76CAMHOUQ6LTJOY3YI5LCNAVCNFSM6AAAAABAQINPROVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTMMZVGQZDEMI
.
You are receiving this because you were mentioned.Message ID:
@.***>


your OpenAI API key doesn't have access to gpt-4-0314

I get the error your OpenAI API key doesn't have access to gpt-4-0314 when I try to run mentat. I thought GPT-4 API was generally available now? Do I need to change the code to use a specific version of GPT-4 API?

The GPT-4 models are only available if you've made a payment of $1 or more for API usage
To see which models are available for you, see list models
If you don't have access to GPT-4, you can check out mentat/llm_api.py and make some edits to use 3.5 instead. Keep in mind 3.5 isn't very good at mentat.

This seems to be false, I waited until a $8 charge was made (which was only made 30 days after starting, not on first of the month [note for anyone else]) and I still do not have access to 32k.
Upon contacting OpenAI, I got this:
Hello,
Thank you for reaching out to OpenAI support.
We understand that you're interested in GPT-4 32k API.
Priority access to the GPT-4 32k API is currently available for customers on an enterprise agreement with OpenAI.
Rest assured that we're in the process of granting access to the 8K and 32K engines at different rates, depending on capacity. As a result, you may receive access to them at separate times. We don't have a specific timeframe for when you'll be granted access, and we appreciate your patience during this ramp-up!
If you're a ChatGPT Plus subscriber, you can access GPT-4 through chat.openai.com and our iOS/Android apps with an hourly usage cap. We'll adjust this limit based on demand and how well the system is performing. Please note that ChatGPT Plus subscription doesn't include API access.
Please let us know if there’s anything else we can help you with.

I do however have access to 8k GPT4 from the beginning, but maybe that's because I was on the trial for GPT3.5 way back, but I never actually got charged anything as I had $20 credit in the trial.

@inventor2525 you don't need GPT-4-32k to use Mentat, you just need GPT-4-0314 (it's regular 8k context GPT-4, but the version that was released in March)


Non-GOV.UK Page Templates – Research problem unknowns

What
Research with teams and services that could benefit from Non-GOV.UK Page Templates.
Why
After going through the User Research Canvas Template we identified a number of assumptions which we would like to understand by engaging with users.
Who needs to know about this

Designers, User Research, Product Management
GOV.UK Policy and Strategy team

Further detail

List of examples of non-GOV.UK services that comply well, or don't comply, with Service Manual branding guidance

Done when

[x] Collected examples of websites exempt from GOV.UK.
[ ] Identify patterns with exemption.
[ ] Write research questions.
[ ] Reach out and engage with users.
[ ] Playback to team.

The team is not doing this right now. We can reopen or rewrite a new ticket when we do.


Populate the map with mobs.

We can probably do this right after build_map.
I suggest we ignore mobs respawning for the sake of simplicity.

https://github.com/AbooMinister25/Curse-of-the-Mites/commit/e669283d4a5e4c6b78cecaded5be2391a131da24


[AutoPR datafactory/resource-manager] [Datafactory] Adding getFeatureValue API in factory scope

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5591

(message created by the CI based on PR content)

Codecov Report

Merging #4813 into restapi_auto_datafactory/resource-manager will increase coverage by 1.89%.
The diff coverage is 29.16%.

@@                              Coverage Diff                              @@
##           restapi_auto_datafactory/resource-manager    #4813      +/-   ##
=============================================================================
+ Coverage                                      51.46%   53.36%   +1.89%
=============================================================================
  Files                                          11103    10290     -813
  Lines                                         247955   215602   -32353
=============================================================================
- Hits                                          127618   115062   -12556
+ Misses                                        120337   100540   -19797

Impacted Files
Coverage Δ

.../azure/mgmt/datafactory/models/control_activity.py
75% <ø> (ø)
:arrow_up:

...re/mgmt/datafactory/models/control_activity_py3.py
75% <ø> (ø)
:arrow_up:

...afactory/azure/mgmt/datafactory/models/__init__.py
100% <100%> (ø)
:arrow_up:

...ure/mgmt/datafactory/models/validation_activity.py
41.66% <41.66%> (ø)

...mgmt/datafactory/models/validation_activity_py3.py
41.66% <41.66%> (ø)

...afactory/operations/exposure_control_operations.py
19.64% <9.09%> (-6.83%)
:arrow_down:

...ion/face/models/name_and_user_data_contract_py3.py
62.5% <0%> (-37.5%)
:arrow_down:

...edia/azure/mgmt/media/models/job_input_clip_py3.py
60% <0%> (-11.43%)
:arrow_down:

.../azure/mgmt/monitor/models/metric_dimension_py3.py
55.55% <0%> (-11.12%)
:arrow_down:

...e/mgmt/monitor/models/metric_alert_criteria_py3.py
66.66% <0%> (-10.26%)
:arrow_down:

... and 1006 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 91e8181...7582926. Read the comment docs.

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4381


[HOTFIX] Avoid adding status if there is no datamaps on table.

Avoid adding datamap status to the status file if there is no datamap associated with the table while loading.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4202/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4511/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5364/

LGTM


Move sidebar to top of course about in mobile

Need to add window resize handler.

this is getting pushed to after the Ginkgo merge


PowerShell module importing in build pipelines

Filing an issue to track some better forward resolution of powershell module imports/common modules in our build pipelines. With some changes I have out right now, I ended up doing a path based module import which feels odd, but works. I'd want to follow up here in future to see if there's a more general way to declare certain modules as available for all scripts in the pipeline, or if this is actually just a typical way of doing things.
See line like:
Import-Module -Force (Resolve-Path("$RepoRoot\scripts\ci\common.psm1"))

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Larger vitest suite! Also organization!

I meant the names of the jobs in the workflows. Not the names of the files

Marking as ready for review. Very very happy with the organization and the test additions


[Feature Request]

What is the idea?
Feature request: it would be great a client could contract my services to recover their debts... and transfer to me those debtors.
So that would demand a CLIENT AREA and a DEBTOR AREA (one account receivables for each one debtor as it is - and an account total for the CLIENT to keep up with the recovery evolution of each debtor...
a CLIENT in this process can transfer one debtor or several - each debtor would be an PROCESS with his internal ID
So when a client register in the site and acept the contract he has to be capable to create one or several processes for each debtor he transfers...
FOR THE OTHER HAND in after sales
Managing all porfolio of debtors should have the possibility to name the person who would take care of the process or to follow the evolution. If the debtor pays freely after notification CASE CLOSE/MILESTONE
Otherwise should have a map of no paying debtor for other strategy...
Why would this be beneficial
Benefits: today with this pandemic situation all the corporations has a lot of debtor to recover... that would be huge to help the corporations.

Hi @fraque, appreciate the feature request.
I can't say this won't be implemented at some point. But development assistance would be welcome if you have any skills.

Unless I'm misunderstanding the feature request, this does not seem relevant to BoxBilling or any billing panel for that matter. Surely, a serious co-operation that wants to handle debt/debtors properly would use a completely dedicated system to their billing software that can manage debts and/or debtors separately.
The most I think BoxBilling should be able to do is mark an invoice as 'collection' or something similar, for staff members to then investigate accordingly.

@DJTerrum  Agree this should be inside Boxbilling.

Hi guys
Thanks for at least you kindly answer my request.
Unfortunelly i don't have any developments skills... i only do collections for my corporation
Anything else i can help
Fraque
Em 18/05/2022, 06:31 +0100, Jaap Marcus @.***>, escreveu:

Closed #1187.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


Missing button group role attribute

In the v3 documentation you were using role="group" or role="toolbar" for buttons group, but you dropped these in the v4 documentation. This should be included in the v4 doc as it pushes good accessibility practices.

the v4 equivalent of the v3 page you mention is https://v4-alpha.getbootstrap.com/components/button-group/ which does still include those role attributes. the example code from the button plugins lacks the role in both the v3 and v4 documentation currently.
what v4 does lack is the accessibility callout in the button group documentation, something that should probably be re-included.
it's debatable whether or not the role="group" makes any tangible difference in terms of accessibility in the case of those visually grouped radio buttons...it serves roughly the same purpose as a <fieldset>, and the aria-label acts a bit like a <legend> - though the behavior is not exactly the same in AT. i guess it could be included, but more for consistency than any hard benefit for AT users.
one concern i'd have is that role="group" and role="toolbar" have some quite specific connotations - see https://www.w3.org/TR/wai-aria/roles#group and https://www.w3.org/TR/wai-aria/roles#toolbar - and depending what authors end up doing (e.g. "perverting" the use of button group/button toolbars to do things other than grouped controls/toolbars) it may result in pages that are more broken than those without any roles defined...but i guess that's a problem that can never be fully addressed.

the roles have now, from what i can see, been added to https://v4-alpha.getbootstrap.com/components/button-group/
leaving https://v4-alpha.getbootstrap.com/components/buttons/#checkbox-and-radio-buttons aside for now as i plan to redo this part separately, and current example works/makes sense even without role="group" (as it's more of a nice-to-have)

Great ! Please notify me when you do the rework of the checkbox and radio buttons as I'm more interested in those (regarding ng-bootstrap)


How to generate table names plural and use CUSTOM models in singular?

Is your feature request related to a problem? Please describe.
My tables are in plural and I use only custom models which are all in singular. Example:
table name: "users"
struct name: "User"
I don't think it's currently possible to achieve it even with generator customization, but
Describe the solution you'd like
it would be posible if this alias was customizable
by for example changing the template from
var {{tableTemplate.InstanceName}} = new{{tableTemplate.TypeName}}("{{schemaName}}", "{{.Name}}", "")

to
var {{tableTemplate.InstanceName}} = new{{tableTemplate.TypeName}}("{{schemaName}}", "{{.Name}}","{{.Alias}}")

and adjusting the generator accordingly.
Or is there any other way to accomplish what I want to do ?

I don't think it's currently possible to achieve it even with generator customization, but

Yeah, I don't see a way either.

Or is there any other way to accomplish what I want to do?

I see three workarounds:

New sql builder package where you would create new aliased table sql builder types:

package table

import "autogenerated/table/package"

var User = Users.AS("User")
...... // other tables

Now you would, always for your SQL queries, import this package, not autogenerated one.

Wrap custom model with a new type before scan:

var dest struct {
     custom.User `alias:"users"`
}

err := stmt.Query(db, &dest)

Alias each custom struct field:

package custom

type User struct {
   ....
   name     string `alias:"users.name"`
   password string `alias:"users.password"`
  ....
}

Thanks, that's what I thought. I'll go with the first option for now and I can create a PR that adds the functionality I need when I have some time ( I don't think that I'm the only one because it's quite common to have table names in plural and models in singular). If you of course allow it and it doesn't clash with your plans for the library.

Yep, sounds like a good idea. We can extend template.TableSQLBuilder with a DefaultAlias field.

@go-jet
Hey, I'd like to make a PR, could you give me permissions to push a branch ? Or how can I share the code with you ?

To open a PR, you will first need to fork the project and then push your changes to the new forked repo. Once done, you can open a PR by referencing your forked repo and branch.

https://github.com/go-jet/jet/pull/259
Opened a PR. Let me know if you feel like something is missing.

You can already use this feature without releasing a new official version by just referencing this new commit:
go get github.com/go-jet/jet/v2@3333358

for future readers, I achieve this template
// to convert snake_case to PascalCase
import "github.com/iancoleman/strcase"

// add this option to Generate function template arg
template.Default(pg.Dialect).
	UseSchema(func(schemaMetaData metadata.Schema) template.Schema {
		return template.DefaultSchema(schemaMetaData).
			UseSQLBuilder(template.DefaultSQLBuilder().
				UseTable(func(table metadata.Table) template.TableSQLBuilder {
					return template.DefaultTableSQLBuilder(table).
						UseTypeName(strings.Trim(table.Name, "Table"))
				}))
	})

For future readers who have their table names in plural and want their generated models in singular:
import "github.com/iancoleman/strcase"

...
template.Default(postgres2.Dialect).
	UseSchema(func(schemaMetaData metadata.Schema) template.Schema {
		return template.DefaultSchema(schemaMetaData).
			// https://github.com/go-jet/jet/issues/256
			UseModel(template.DefaultModel().
				UseTable(func(table metadata.Table) template.TableModel {
					return template.DefaultTableModel(table).
						UseTypeName(strcase.ToCamel(strings.TrimRight(table.Name, "s")))
				}),
			).
			// This is required for scanning to work:
			// https://github.com/go-jet/jet/issues/330
			UseSQLBuilder(template.DefaultSQLBuilder().
				UseTable(func(table metadata.Table) template.TableSQLBuilder {
					return template.DefaultTableSQLBuilder(table).
						UseDefaultAlias(strcase.ToCamel(strings.TrimRight(table.Name, "s")))
				}),
			)
	}),
...

Note: strings.TrimRight(table.Name, "s") won't do the job well enough if any of the table names are irregular plural names (e.g. replies, diagnoses).

for future readers, I achieve it with this template to singular my struct name
// to convert snake_case to PascalCase
import "github.com/iancoleman/strcase"

// add this option to Generate function template arg
template.Default(pg.Dialect).
	UseSchema(func(schemaMetaData metadata.Schema) template.Schema {
		return template.DefaultSchema(schemaMetaData).
			UseSQLBuilder(template.DefaultSQLBuilder().
				UseTable(func(table metadata.Table) template.TableSQLBuilder {
					return template.DefaultTableSQLBuilder(table).
						UseInstanceName(strcase.ToCamel(strings.TrimRight(table.Name, "s"))).
				}))
	})

You can also use github.com/gertd/go-pluralize to better handle table name transformation:
import "github.com/iancoleman/strcase"
...
var pluralizer = pluralize.NewClient()
template.Default(postgres2.Dialect).
UseSchema(func(schemaMetaData metadata.Schema) template.Schema {
return template.DefaultSchema(schemaMetaData).
// https://github.com/go-jet/jet/issues/256
UseModel(template.DefaultModel().
UseTable(func(table metadata.Table) template.TableModel {
return template.DefaultTableModel(table).
UseTypeName(strcase.ToCamel(pluralizer.Singular(table.Name)))
}),
).
// This is required for scanning to work:
// https://github.com/go-jet/jet/issues/330
UseSQLBuilder(template.DefaultSQLBuilder().
UseTable(func(table metadata.Table) template.TableSQLBuilder {
return template.DefaultTableSQLBuilder(table).
UseDefaultAlias(strcase.ToCamel(pluralizer.Singular(table.Name)))
}),
)
}),
...


Export BigQuery table to avro format instead of csv

This is the first part of the fix for issue #17 which shows only the changes in functionality (and tests to support it).
I will raise another PR later that shows the refactoring changes. Feel free to add suggestions about any improvements I can make anyway, but I have a few already that will be included in the next PR:

Remove cols from BigQueryPartitionGenerator
Delete classes that are not needed anymore and remove dependencies on them (BigQueryToHiveTypeConverter, BigQueryToHiveFieldConverter)

This was tested on an EMR for replicating full tables, partitioned tables and filtered tables, and the tests were all successful.

Pull Request Test Coverage Report for Build 277

44 of 49 (89.8%)  changed or added relevant lines in 10 files are covered.
17 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-2.2%) to 72.558%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/com/hotels/bdp/circustrain/bigquery/util/SchemaExtractor.java
11
12
91.67%

src/main/java/com/hotels/bdp/circustrain/bigquery/extraction/service/ExtractionService.java
0
2
0.0%

src/main/java/com/hotels/bdp/circustrain/bigquery/partition/PartitionColumnFormatter.java
0
2
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/com/hotels/bdp/circustrain/bigquery/extraction/service/ExtractionService.java
1
77.78%

src/main/java/com/hotels/bdp/circustrain/bigquery/conversion/BigQueryToHiveTableConverter.java
2
95.24%

src/main/java/com/hotels/bdp/circustrain/bigquery/partition/HivePartitionGenerator.java
2
95.45%

src/main/java/com/hotels/bdp/circustrain/bigquery/conversion/BigQueryToHiveTypeConverter.java
5
45.45%

src/main/java/com/hotels/bdp/circustrain/bigquery/partition/PartitionColumnFormatter.java
7
0.0%

Totals

Change from base Build 265:
-2.2%

Covered Lines:
624

Relevant Lines:
860

💛  - Coveralls

I think we should bump the version number to 4.0.0-SNAPSHOT, also add a changelog line explaining the file format change and mentioning that this is not backwards compatible with previous versions and that anyone migrating to this who has partitioned replications will need to completely redo them.


Debug Symbols

Problem
The postgres binaries shipped with the docker images in this repo seem to be stripped:
root@0d42c3d8cd06:/# postgres --version
postgres (PostgreSQL) 12.1 (Debian 12.1-1.pgdg100+1)
root@0d42c3d8cd06:/# file $(which postgres)
/usr/lib/postgresql/12/bin/postgres: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux
3.2.0, BuildID[sha1]=e775eb7dcaa0306329f0624056df0fa892d48f03, stripped
-----------------------------------------------------------------^

This makes it difficult to use tools such as gdb or perf to debug problems as the resulting stack traces will often be useless.
See my tweet here for a practical example of what can be done when symbols are present.
Proposal
It'd be great if this image would start to ship with debug symbols by default, e.g. by compiling with ./configure CFLAGS="-fno-omit-frame-pointer -ggdb".
If not, it'd be great to document how to derive an image that includes symbols. My first attempts at doing so below have failed. I still get the same output for file $(which postgres) as above, and readelf -s $(which postgres) | wc -l gives me the same ~9k symbols contained in this image, rather than the ~30k symbols usually available for a non-stripped postgres binary.
FROM postgres
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
  debian-goodies \
  binutils
RUN apt-get install -y $(find-dbgsym-packages $(which postgres))

I suspect the image above doesn't work because postgres is pulled from apt.postgresql.org, but find-dbgsym-packages is not smart enough to search that repo for debug package, if those even exist.
I'd be happy to try to help with creating a PR to improve the debugging/symbol situation once the direction is clear.
From my PoV the only downside to including symbols is image size, so maybe they shouldn't go into the alpine flavor of this image.

I did some digging on find-dbgsym-packages to try and figure out why it didn't recognize the -dbgsym packages that are published in the apt.postgresql.org repo we use, and I found that it does, but it fails to find a lot of symbols for dependencies in Debian proper because the debian-debug repo isn't added (see https://manpages.debian.org/buster/debian-goodies/find-dbgsym-packages.1.en.html):
$ docker run -it --rm postgres bash
root@ed30d6289e53:/# apt-get update
...
root@ed30d6289e53:/# apt-get install debian-goodies
...
root@ed30d6289e53:/# which postgres
/usr/lib/postgresql/12/bin/postgres
root@ed30d6289e53:/# find-dbgsym-packages /usr/lib/postgresql/12/bin/postgres
W: No dbg package for source 'cyrus-sasl2'
W: Cannot find debug package for /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (e5a6c1b52e9b18f9b6b1b54bc006507409683ce7)
W: No dbg package for source 'nettle'
W: Cannot find debug package for /usr/lib/x86_64-linux-gnu/libnettle.so.6 (696c145020fc52f49a604b409e80c0f604514cbe)
...
W: Cannot find debug package for /lib/x86_64-linux-gnu/libsystemd.so.0 (6793bb7adf4f0ec3b4e32e8fa455f8f404670c9a)
libc6-dbg libffi6-dbg libgcc1-dbg libkrb5-dbg libstdc++6-8-dbg libxml2-dbg postgresql-12-dbgsym zlib1g-dbg

Worth noting, that last line does include postgresql-12-dbgsym (which is the appropriate package from apt.postgresql.org, so at least that bit's working).
I think https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols is a better reference than the find-dbgsym-packages man page because it notes what's necessary for a particular release and how to make sure it includes at least some of the release updates (from the proposed-updates repo), which will otherwise not be included properly.
After adding those, I get a much longer list (libaudit1-dbgsym libc6-dbg libcap-ng0-dbgsym libcom-err2-dbgsym libffi6-dbg libgcc1-dbg libgcrypt20-dbgsym libgmp10-dbgsym libgnutls30-dbgsym libgpg-error0-dbgsym libhogweed4-dbgsym libicu63-dbgsym libidn2-0-dbgsym libkeyutils1-dbgsym libkrb5-dbg libldap-2.4-2-dbgsym liblz4-1-dbgsym liblzma5-dbgsym libnettle6-dbgsym libp11-kit0-dbgsym libpam0g-dbgsym libsasl2-2-dbgsym libssl1.1-dbgsym libstdc++6-8-dbg libsystemd0-dbgsym libtasn1-6-dbgsym libunistring2-dbgsym libxml2-dbg postgresql-12-dbgsym zlib1g-dbg) and no warnings/errors, but several are then not installable due to version mismatches, which would be due to Debian security updates (which AFAIK, still do not publish debug symbol packages anywhere):
The following packages have unmet dependencies:
 libcom-err2-dbgsym : Depends: libcom-err2 (= 1.44.5-1+deb10u3) but 1.44.5-1+deb10u2 is to be installed
 libgnutls30-dbgsym : Depends: libgnutls30 (= 3.6.7-4+deb10u2) but 3.6.7-4 is to be installed
 libsystemd0-dbgsym : Depends: libsystemd0 (= 241-7~deb10u3) but 241-7~deb10u2 is to be installed
E: Unable to correct problems, you have held broken packages.

So, I think something like this is probably a better Dockerfile for doing this in a semi-automated way:
FROM postgres:12

RUN set -eux; \
	release="$(awk '/^deb / { print $3; exit }' /etc/apt/sources.list)"; \
	{ \
		echo "deb http://deb.debian.org/debian-debug $release-debug main"; \
		echo "deb http://deb.debian.org/debian-debug $release-proposed-updates-debug main"; \
	} | tee /etc/apt/sources.list.d/debug.list; \
	apt-get update; \
	apt-get install -y --no-install-recommends \
		debian-goodies \
# "Recommends" of debian-goodies we need for running "find-dbgsym-packages"
		libipc-system-simple-perl \
		libfile-which-perl \
		elfutils \
		dctrl-tools \
	; \
	postgres="$(command -v postgres)"; \
	dbgsym="$(find-dbgsym-packages "$postgres")"; \
	apt-get install -y --no-install-recommends $dbgsym; \
	rm -rf /var/lib/apt/lists/*

This will need some adjustment to overcome the security updates issue (either forcing APT to install the older versions that don't have the security fixes somehow or skipping installing the debugging symbols packages for those packages).
As to including these packages in the Debian-based images by default, IMO that's not really tenable: the postgresql-12-dbgsym package alone is ~20MB compressed (~22MB uncompressed), which isn't even accounting for any of these others. :sweat_smile:

A dedicated debug image would really be appreciated.

@tianon thank you so much for your research on this!
What about a dedicated debug image as suggested by @otbutz ? Would you consider to include something like this in this repo?
FWIW, I'd still prefer including symbols by default, even if it blows up the image size, and providing non-symbol images as the alternative. But I don't feel too strongly about it, especially if the README tells people about the tradeoffs that are available.

Debugging the database itself is not what most users of this image are trying to achieve. I think a separate image and thus an opt-in approach is more appropriate.

Debugging the database itself is not what most users of this image are trying to achieve. I think a separate image and thus an opt-in approach is more appropriate.

Well, arguably almost nobody wants to debug their database ... but when your production DB has an issue, you might have a come-to-jesus when it comes to image size vs debuggability.
You'll be under time pressure, and restarting your db container on a new debug-image while praying that it won't corrupt your data due to incompatible libc collations or similar may not seem like an attractive option ...
That being said, as somebody who already has those scars and stories to tell, I'll end up with a better setup either way. I'm just trying to save others from future PTSD inducing adventures ; )

but several are then not installable due to version mismatches, which would be due to Debian security updates (which AFAIK, still do not publish debug symbol packages anywhere):

FWIW, having full symbols for postgres itself and perhaps libc is half the battle IMO. The other libs would be nice, but if it's super hard to get correct symbols for them, it might be reasonable to consider this out-of-scope for now.


Could not find SparkEventLogParser-slim-1.0.jar in emr-serverless-estimator

Hi, I think when you created the emr-serverless-estimator project. The .gitignore actually prevented upload jar files.
Also, I could not seem to find SparkEventLogParser-slim-1.0.jar in Maven Central Either.
Can you help explaining where can I find those jars in order to run the estimator? (Or upload the jar to the repo if it is not too big)
Thank you and have a nice day. :)

+1, can you add in the jar files or point to the location.

seem like the jar can be found in  https://github.com/aws-samples/aws-emr-utilities/releases/


StringProperty() does not update Label Text.

Versions

OS: Win10
Kivy: 1.10

Description
I have two different files, "main.kv" and "GameStatusTracker.py". I am using a screen manager to change through screens. Now when I enter the player name and select the toggle button, the values are being past correctly to other functions. The problem I have, after calling a request to the specific websites, getting back the data and assigning that data to the "StringProperty" variable does not update the label text. I have tried many different things and changes, nothing seems to work. However, I did notice one strange bug. While in the "SecondScreen" and I have my String property set to:
rating_label = StringProperty(rebind = true)
Later on in the function "lol"(after so many testings I have just left it for now as lol, will change later on if I manage to fix it.) the self.rating_label value is set to the value which I get from the website. Which is "1.285". Now if I call a getter function it still returns the value "loll" which I have set in the init function. code below. Any help? If needed I can post the whole code.
Code and Logs

class FortniteScreen(Screen):
    rating_label = StringProperty(rebind=True)
    print("Fortnite_Screen Called.")

    def __init__(self, **kwargs):
        super(FortniteScreen, self).__init__(**kwargs)
        self.rating_label = "loll"

    def lol(self,name):
        get_stats_fortnite1 = Fortnite()
        get_stats_fortnite1.playerGet(name)
        self.saved_stats = str(get_stats_fortnite1.playerStats())
        self.rating_label = self.saved_stats
        print("Called Fortnite Class--> " + self.rating_label) # <- at this point I get that the value is 1.285

    def get_rating(self):
        print("Called Get_Rating -->" + self.rating_label) # <-- When I call this function after a button press, the value is still "loll"
        return self.rating_label

#in .kv file <FortniteScreen>:
		Label:
			text: "Rating:"
		Label:
			id: rating_label
			text: root.rating_label

Hm, is there anything special about how you get/update the value from your request? using multiprocessing or some other magic maybe? it looks as if you had two instances of your screen, one updated and one with the default value, maybe print self's value in the two places where you see the different values, to be sure that's the same python object? It could help if you shared a complete example we can run to reproduce, it doesn't need to (and shouldn't) be your full current program, but as short as possible while still showing the issue would be nice.

Ok so this is the KV file(I have deleted parts which I do not think are needed):
# File name: main.kv
#: import SlideTransition kivy.uix.screenmanager.SlideTransition

ScreenManagement:
	transition: SlideTransition()

        # I am not sure if I need the part below here|
	main_screen: main_screen
	fortnite_screen: fortnite_screen
	csgo_screen: csgo_screen
	pubg_screen: pubg_screen

	MainScreen:
		id: main_screen
	FortniteScreen:
		id: fortnite_screen
	CsgoScreen:
		id: csgo_screen
	PubgScreen:
		id: pubg_screen
#The main screen, toggle buttons selects the game, the input gets the player name

<MainScreen>:
	name: "main"
	AnchorLayout:
		Image:
			allow_stretch: True
			color: 1,1,1,0.2
			source: 'bcimage.jpg'
			keep_ratio: False
		AnchorLayout:
			anchor_x: 'center'
			anchor_y: 'top'
			BoxLayout:
				orientation: 'vertical'
				GridLayout:
					id: _game_select
					size_hint: 1,None
					height: 150
					rows: 2
					BoxLayout:
						orientation: 'horizontal'
						spacing: 4
						ToggleButton:
							id: _pubg_button
							pubg_button: _pubg_button
							group: 'GameSelect'
							background_normal: 'pubg.jpg'
							background_down: 'pubg_selected.jpg'
							on_state: root.pubg_selected(*args)

						ToggleButton:
							id: _fortnite_button
							fortnite_button: _fortnite_button
							group: 'GameSelect'
							background_normal: 'fortnite.jpg'
							background_down: 'fortnite_selected.jpg'
							on_state: root.fortnite_selected(*args)

						ToggleButton:
							id: _csgo_button
							csgo_button: _csgo_button
							group: 'GameSelect'
							background_normal: 'csgo.jpg'
							background_down: 'csgo_selected.jpg'
							on_state: root.csgo_selected(*args)

					BoxLayout:
						orientation: 'horizontal'
						search: _text_input
						size_hint: 0.25,0.25
						TextInput:
							id: _text_input
							text: " "
							multiline: False
						Button:
							text: 'Search'
							on_release:
								app.root.current = "fortnite"
								root.manager.transition.direction = "left"
								root.on_press( _text_input.text)
				Widget:
		GridLayout:
			cols: 4
			rows: 10
			Label:
				text: "GameTracker"
			Label:
				text: "By: Rokas L."

<FortniteScreen>:
	name: "fortnite"
	Image:
		allow_stretch: True
		color: 1,1,1,0.2
		source: 'bcimage.jpg'
		keep_ratio: False
	GridLayout:
		cols: 6
		rows: 8
		Label:
			text: "Rating:"
		Label:
			id: rating_label
			text: root.rating_label
		#I deleted other labels as they are not needed.
		Button:
			font_size: 22
			text: "Back"
			size_hint: 1,1
			on_release:
				app.root.current = "main"
				root.manager.transition.direction = "right"
		Button:
			font_size: 22
			text: "Show Stats"
			size_hint: 1,1
			on_press:
				root.get_rating()

Now for the Python Code:
from kivy.app import App
#kivy.require("1.10.0")
from kivy.lang import Builder
from kivy.uix.screenmanager import ScreenManager, Screen, SlideTransition
from kivy.properties import NumericProperty, ListProperty, StringProperty, ObjectProperty
from kivy.uix.textinput import TextInput
from kivy.uix.label import Label
import json
import requests

class Fortnite():
    def __init__(self, platform = 'pc'):
        self.api_key = '5f1c8da2-a843-479e-84af-4e2be4a50a95'
        self.platform = platform
        self.fortnite_url = 'https://api.fortnitetracker.com/v1/profile/pc/'
        self.headers = {
            'content-type': "application/json",
            'TRN-API-KEY': self.api_key,
          }

    def playerGet(self, player_handle):

        response = requests.request("GET",'https://api.fortnitetracker.com/v1/profile/pc/' + str(player_handle.strip(" ")), headers=self.headers)
        data = json.loads(response.text)

        self.rating = data['stats']['p2']['trnRating']['displayValue']
        self.score = data['stats']['p2']['score']['displayValue']
        self.top1 = data['stats']['p2']['top1']['displayValue']
        self.top10 = data['stats']['p2']['top10']['displayValue']
        self.top25 = data['stats']['p2']['top25']['displayValue']
        self.kdRatio = data['stats']['p2']['kd']['displayValue']
        self.winRatio = data['stats']['p2']['winRatio']['displayValue']
        self.matches = data['stats']['p2']['matches']['displayValue']
        self.kills = data['stats']['p2']['kills']['displayValue']
        self.kpg = data['stats']['p2']['kpg']['displayValue']
        self.scorePerMatch = data['stats']['p2']['scorePerMatch']['displayValue']

    def playerStats(self):
        return self.rating

class MainScreen(Screen):

    def pubg_selected(self, instance, value):
        if value == 'down':
            self.game = "pubg"
        else:
            self.game = "None"

    def fortnite_selected(self, instance, value):
        if value == 'down':
            self.game = "fortnite"
        else:
            self.game = "None"

    def csgo_selected(self, instance, value):
        if value == 'down':
            self.game = "csgo"
        else:
            self.game = "None"

    def on_press(self, entered_text):
        self.entered_text = entered_text
        print("The entered name is: " + self.entered_text + " selected game is: " + self.game)

        sc_changed = FortniteScreen()# Here after the "search is pressed and  selected game" is selected I call a function from Fortnite Class to update the rating_label value
        sc_changed.lol(self.entered_text)

class FortniteScreen(Screen):
    rating_label = StringProperty(rebind=True)
    print("Fortnite_Screen Called.")

    def __init__(self, **kwargs):
        super(FortniteScreen, self).__init__(**kwargs)
        self.rating_label = "loll"

    def lol(self,name):
        get_stats_fortnite1 = Fortnite()
        get_stats_fortnite1.playerGet(name)
        self.saved_stats = str(get_stats_fortnite1.playerStats())
        self.rating_label = self.saved_stats
        print("Called Fortnite Class--> " + self.rating_label)

    def get_rating(self):
        print("Called Get_Rating -->" + self.rating_label)
        return self.rating_label

class CsgoScreen(Screen):
    pass

class PubgScreen(Screen):
    pass

#Now as I see it, this could interfere?  Below class ScreenManagement
class ScreenManagement(ScreenManager):
    main_screen = ObjectProperty(None)
    fortnite_screen = ObjectProperty(None)
    csgo_screen = ObjectProperty(None)
    pubg_screen = ObjectProperty(None)

MainFile = Builder.load_file("main.kv")

class MainApp(App):

    def build(self):
        return MainFile

if __name__ == "__main__":
    MainApp().run()
```

If I need to update something(as you see that I do not need to use something or is it bad, please leave a feedback too.)

Ok, so you create a new FortniteScreen and call it's lol method in on_press, that's your issue, you want to call the lol method of you existing FortniteScreen (created in the root rule, with id fortnite_screen.
change the code in on_press to:
App.get_running_app().root.ids.fortnite_screen.lol(entered_text)

and it should work.


RuntimeWarning: divide by zero encountered in log in python implementation of xb.get_bitinformation

Getting the bitinformation of a dataset using the python implementation, with the command:
info_per_bit = xb.get_bitinformation(ds, dim="latitude", implementation="python")

is successful, but it generates a warning for each variable in the dataset:
/home/user/miniconda3/envs/bitinfo/lib/python3.11/site-packages/dask/core.py:119:
RuntimeWarning: divide by zero encountered in log
  return func(*(_execute_task(a, cache) for a in args))

How to investigate the root cause of this?

Thanks for filing the issue @ayoubft!
My best idea right now would be to use pdb or ipdb and set a trace in the function you are calling with import pdb; pdb.set_trace() and then step through with s to see where the warning pops up.

Hi @ayoubft, you could try to go backwards and see which part in the np.log is causing a devision by zero. Is it pr, ps or both?
You might actually wanna try to replace np.log(p / (pr * ps))) with np.ma.log(p / (pr * ps))) because otherwise the mask of p is actually not applied.
Have a look at this simple example. One raises the warning, the other does not:
import numpy as np
a = np.ma.array([0,1,2,3], mask=[True, False, False, False])

print(np.log(a))
#<ipython-input-9-89b6b8e53c58>:1: RuntimeWarning: divide by zero encountered in log
#  np.log(a)
#
#masked_array(data=[--, 0.0, 0.6931471805599453, 1.0986122886681098],
#             mask=[ True, False, False, False],
#       fill_value=1e+20)

print(np.ma.log(a))
# np.ma.log(a)
#
# masked_array(data=[--, 0.0, 0.6931471805599453, 1.0986122886681098],
#             mask=[ True, False, False, False],
#       fill_value=1e+20)


readme: update Travis badge to ros-industrial organisation

The readme still points to @Zagitta's fork.

Done https://github.com/ros-industrial/ur_modern_driver/pull/242

Fixed in bb4814c.


freebsd.{,boot-}install: build with BOOTSTRAPPING defined

This fixes the builds for me on NixOS/Linux, solving:
libnetbsd> --- _INCSINS ---
libnetbsd> xinstall: /nix/store/gghvrrvhqjq3f1qw4aqjfp36wiiv3hsg-libnetbsd-14.0/include/glob.h: Invalid cross-device link
libnetbsd> --- _NETINETINCSINS ---
libnetbsd> xinstall: /nix/store/gghvrrvhqjq3f1qw4aqjfp36wiiv3hsg-libnetbsd-14.0/include/netinet/in.h: Invalid cross-device link
libnetbsd> --- _SYSINCSINS ---
libnetbsd> xinstall: /nix/store/gghvrrvhqjq3f1qw4aqjfp36wiiv3hsg-libnetbsd-14.0/include/sys/cdefs.h: Invalid cross-device link
libnetbsd> --- _INCSINS ---
libnetbsd> *** [_INCSINS] Error code 71
libnetbsd> make: stopped in /build/libnetbsd-filtered-src/lib/libnetbsd

caused by:
copy_file_range(3, NULL, 4, NULL,<PHONE_NUMBER>854775807, 0) = -1 EXDEV (Invalid cross-device link)

Does it build native (as opposed to cross)? I can test this, but I'll want to wait for the next mass rebuild.

I don't have a native FreeBSD setup. Could you please test for me?

It does in fact seem to work. Thank you!


feat: support token revocation

This PR aims to allow a bot or a user to remove access from
an access token OR refresh token by deleting it from database.
It follows RFC7009.

it also reduce ram usage!


Add access to electron clipboard.readHTML() API for Extensions

Hi,
in the Electron sandbox, you currently support the clipboard readText() and writeText() functions. I would like to use the clipboard.readHTML() function. More Information can be found here.
Is there the ability, that you add this functionality to the vscode API? The other implementations are found here.

This isn't widely supported in browsers yet, so it likely won't happen soon


Additional Creator Fields for Adam

Adds ORCID ID and email, surrounds inputs with fieldset, makes adjustments to spacing.
Fixes spec test to correct the xpath for the remove button. I added a fieldset so I needed to update the path.
Updates mustache template to include ORCID ID, email, and fieldset.

Coverage remained the same at 74.194% when pulling afbeb0676a77d68b1fc7fcd941618076e9bb8bb4 on creator-990 into 34b2820e720bdb791a1684bbcda8d96c6b249caa on develop.

Coverage remained the same at 74.194% when pulling b7efc0a412c25262cbceb57631e2ccb9e1b7d701 on creator-990 into 34b2820e720bdb791a1684bbcda8d96c6b249caa on develop.


Weak announcement subscriptions

In issue #1, I said that weak announcements were a "nice-to-have." Well, I've now reached a point where they are necessary, or at least easier to implement than alternative object management techniques.

Moved this issue to the Announcements repo, issue 1.


[v6] immutable FormReducer causes fatal exception: "One of the sources for assign has an enumerable key on the prototype chain. This is an edge case that we do not support. This error is a performance optimization and not spec compliant."

If I use the FormReducer from redux-form/immutable, the createFieldProps causes an exception when trying to Object.assign the meta props. Looks like its expecting state to be a js object instead of an immutable one.

Hey there,
Having the same problem with redux-form v6.1.0 .
Did you manage to get it fixed?

No I ended up having to fall back to using the non-immutable reducer

Facing the same issue. Is this a bug or it's because of we're not using it correctly?

Anyone found anything new on this? Same problem for me.

Published fix in v6.4.2.


Feature/ui/homepage

Added more UI panels
Major changes to homepage
Added colored hero bar
Fixed heroku deployment errors

this PR is hosted here: https://ostiatrading.herokuapp.com/

:+1:


Don't treat return as a yield

Fixes #22298
See in particular the change to generatorTypeCheck14.types. This was working in #3031 but changed in #10676, likely just an oversight as that was a huge baseline change.
Also, changed checkAndAggregateYieldOperandTypes to no longer use pushIfUnique as @sandersn noted that getUnionType can handle duplicates already.

The feature is working as intended. The returned type becomes the value of an IteratorResult when done is true.

Example:
function* foo() {
  yield 1;
  yield 2;
  return 3;
}

var x = foo();
var r;
do {
  r = x.next()
  console.log(JSON.stringify(r))
} while (!r.done)

// {"value":1,"done":false}
// {"value":2,"done":false}
// {"value":3,"done":true}

The feature is working as intended. The returned type becomes the value of an IteratorResult when done is true.

we are currentlly not doing so...
for example yield undefined causes the function to return undefined.


change anaconda.org to AS instance in err msg

Fixes the error message that had anaconda.org hard-coded.  Refers to issue #205.

:+1: (It looks like the tests are passing, but the windows machines are offline)

Is this ready to merge?  I'm unsure of the dev processes on this repo.

Yes it looks ready to merge. It is the same as the process for anaconda-server.


add footer 18 white

I built footer 18 white. #468
Here is a screenshot:

@rakicodes good job
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.


[android] Update to LTS NDK 27

Add a new bits/ header to the Android overlay and update the doc with new libraries that need to be available to run a simple executable.
@compnerd and @hyp, I switched over to the latest NDK 27 with this patch a couple months ago, no problem, plus it still worked fine with NDK 26 too. Let me know if you're using NDK 27 yet and please review.
@etcwilde, let me know what you think.

Rebased, @al45tair, would you run the CI on this and review?

@swift-ci test

Rebased, updated to latest NDK 27c, and added some runtime libraries that were being listed over and over again when linking test runners for Android to the list of libraries to be de-duplicated.
@etcwilde, would you review?

It can wait.
The BC guys like Saleem haven't been too active on github lately, something going on?

@hyp, if you're active again, would you review?

Rebased and enabled another C++ Interop test that now passes on Android.
Ping @etcwilde, it's been three weeks with no response, it would be good to get this in before the branch. If the BC people have any complaint later, which is extremely unlikely, we can always modify the single module map change then.

It is unclear if the test/modularization changes would result in issues for r26 or not.

The modularization change was explicitly tested with NDK 26, as I noted months ago above, "it still worked fine with NDK 26 too." The test change I've only been running with NDK 27 lately, but I believe it works for both.

In essence, does this prevent the use of r26 or is it simply updating the documentation to reference r27?

Neither, both NDKs should be fine and it is clearly updating more than the docs.

r26 also is a LTS release, so I'm not sure if we should be upgrading so aggressively

NDK 27 is the current LTS release, which means NDK 26 is no longer officially supported. Nevertheless, this pull should work fine with both.

However, updating to also support r27 is preferable.

Yes, that is what this pull does.

Ping @compnerd, answered all your questions, would be good to get this in.

@egorzhdan, need a CI run here.

@swift-ci please test

I validated this on a windows host with NDK 26 , this looks good to me

Alright, passed CI, @ktoso, would you merge? I figure everybody else in this thread is in the US and probably sleeping now.

Thanks, @etcwilde, @compnerd, @hyp, and @ktoso, wanted to get this in before the upcoming branch.


[ZEPPELIN-3422] Add JMX Support

What is this PR for?
This is the same as ZEPPELIN-3422 for master

Merged


Only first selection got translated

Select a text in an editor
push cmd+ctrl+\
everything works
get back to editor (by pressing cmd+ctrl+\ again)
select another text.
push cmd+ctrl+\
translation windows have old texts.

This is kind of a feature. The purpose of doing this is to keep your text for translation unless you remove it by yourself. It keeps first input  and you can come back to it anytime you want.
Now I think about implementing some kind of history, and push current text for translation into history and replace it with a current selection.

you can show "previous" translation if there is no active selection and translate new selection otherwise.

@pluff check this out v 0.7 it out

👍


coverlet.msbuild does not work for projects targeting .NET Framework 4.6

This regression was introduced in #355.

❗ This change broke coverlet support for projects targeting .NET Framework prior to 4.6.1. Placing the props/targets in a framework-specific folder makes them dependent on the declared target framework of the project, which we do not want. We only want them to be dependent on the target framework of the currently executing version of MSBuild.

Originally posted by @sharwell in https://github.com/tonerdo/coverlet/pull/355#discussion_r262329107

Hmm..I see. Will update and include in the next release. Thanks

The files can be simply put in the build folder, then it is working fine


Adding CLI and Plugin system

Description

Resolves #43
Motivation and Context

How has this been tested?

Types of changes

[ ] Maintenance (no change in code, maintain the project's CI, docs, etc.)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.

@MooooCat @Guo-Yunzhe Ping
As the development is not yet complete, the CLI only implements some of the features
The plugin system works fine, in the example/extension folder I have provided a minimal plugin project


Add Class for News and Sentiment

also include top gainers and loosers

These are the new end points that need to be supported:

TIME_SERIES_INTRADAY has pydantic objs responses
TIME_SERIES_DAILY has pydantic obj responses
TIME_SERIES_DAILY_ADJUSTED pydantic obj responses
TIME_SERIES_WEEKLY pydantic obj responses
TIME_SERIES_WEEKLY_ADJUSTED pydantic obj responses
TIME_SERIES_MONTHLY pydantic obj responses
TIME_SERIES_MONTHLY_ADJUSTED pydantic obj responses
SYMBOL_SEARCH pydantic obj responses
MARKET_STATUS pydantic obj responses

pydantic objects need to be created
mock tests need to be written
wiki pages need to be updated/created