cmd/shellenv: improve for newer macOS using /usr/libexec/path_helper

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

On macOS 14 and newer, /usr/libexec/path_helper supports setting a
PATH_HELPER_ROOT environment variable.
With this set, path_helper checks $PATH_HELPER_ROOT/etc/paths and
$PATH_HELPER_ROOT/etc/paths.d in the same way it checks /etc/paths
and /etc/paths.d.
We can use this to simplify management of the user's PATH variable
when they do brew shellenv. In particular, if their system supports
it, we delegate setting the PATH environment variable to path_helper
instead of our own code. We also write a default etc/paths file if one
is not already present.
This is nicer because it simplifies management of the user's PATH
variable. For example, if a user wants a keg-only formula to be in their
PATH, they can simply add the necessary path to etc/paths or
etc/paths.d without having to do something like brew link --force
or adding to PATH themselves.
When /usr/libexec/path_helper is not available, we just fall back to
the existing code.

Note that this doesn't work for Fish or Powershell. Will try to think a bit more about handling those cases.

CC @Homebrew/brew for thoughts here, especially for Fish and Powershell.

Great idea, this makes sense to me, thanks @carlocab! Let's give this ~24h before merging to get some other opinions in here.

It's been >24 hours so: 🚢, thanks @carlocab!


[$250] Distance - Waypoints change to duplicate waypoints after drag and drop waypoints

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.44-3
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5040727
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to FAB > Submit expense > Distance
Enter three waypoints A - B - C
Drag waypoint B to waypoint C and now it becomes A - C - B
Drag waypoint C to waypoint B

Expected Result:
The resulting waypoints will be A - B - C
Actual Result:
The resulting waypoints become A - C - C
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/79143b56-f28a-4a7f-b534-2baadf09cc35
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021841915588250417056
Upwork Job ID:<PHONE_NUMBER>250417056
Last Price Increase: 2024-10-03
Automatic offers:

nkdengineer | Contributor | 104254910

Issue OwnerCurrent Issue Owner: @mananjadhav

We think that this bug might be related to #wave-collect - Release 1

This looks external b/c I'm seeing that the data sent to the backend (for GetRouteForDraft looks like it's incorrect / in the incorrect order), so it looooks like it's the front end's fault for sending the wrong data

cc @bernhardoj in case you have ideas here

After adding A, B, C, then moving C to B, I see 3 GetRouteForDraft calls which isn't great 🤔

Proposal
Please re-state the problem that we are trying to solve in this issue.
The resulting waypoints become A - C - C
What is the root cause of that problem?
The problem is here when we drag and drop waypoints, the emptyWaypointIndex is -1 but we still call removeWaypoint
https://github.com/Expensify/App/blob/e8c4faf0973716e1de9a9cbe4d47946edabb7c8c/src/pages/iou/request/step/IOURequestStepDistance.tsx#L389-L392
Then here the removed is not empty because we splice(-1, 1) which will remove the last waypoint
https://github.com/Expensify/App/blob/e8c4faf0973716e1de9a9cbe4d47946edabb7c8c/src/libs/actions/Transaction.ts#L141
So the GetRouteForDraft is often called because the waypoint is changed wrongly.
I noticed that the bug also happens in production but it's swift and only calls GetRouteForDraft one time maybe because these functions run very fast.
https://github.com/Expensify/App/blob/e8c4faf0973716e1de9a9cbe4d47946edabb7c8c/src/pages/iou/request/step/IOURequestStepDistance.tsx#L389-L392
https://github.com/user-attachments/assets/8b12a8f5-00dc-45a3-bb43-1b6be8688f06
What changes do you think we should make in order to solve the problem?
We should return early here if the currentIndex is -1 because that means there is no waypoint that needs to be removed
https://github.com/Expensify/App/blob/331613663b9b3ce10c5fff5e88355b445290fdb9/src/libs/actions/Transaction.ts#L134
Or we can prevent calling removeWaypoint if emptyWaypointIndex is -1
https://github.com/Expensify/App/blob/e8c4faf0973716e1de9a9cbe4d47946edabb7c8c/src/pages/iou/request/step/IOURequestStepDistance.tsx#L389-L392
What alternative solutions did you explore? (Optional)

@nkdengineer Thanks, can you get a fix up soon?

sure.

@Nodebrute changing that will introduce a previous regression that was solved, thanks for commenting though!

@mananjadhav The PR is ready cc @jasperhuangg.

@nkdengineer thanks for the PR, so you didn't figure out what change caused the full regression eh? I still think at least the 3-calls of GetRouteForDraft per waypoint change was a regression b/c on prod i only saw that command called once per change

Ah hmm, it would be nice if we could also address the extra API calls in your PR @nkdengineer

@jasperhuangg With my PR, that will also fix the extra API calls let see the result video.
https://github.com/user-attachments/assets/aeb318ba-fab6-4ad0-b5c9-3907487dd031

Swapping @allroundexperts in to test, as discussed in slack here

PR was merged, being CP'd now

Looking good to me in staging!!

Payment Summary

@allroundexperts - due $250 via manual New Expensify request
@nkdengineer - paid $250 via Upwork

$250 approved for @allroundexperts


assimp: 5.0.1 -> 5.1.3, split outputs

Motivation for this change
https://github.com/assimp/assimp/releases/tag/v5.1.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Assimp doesn't work correctly with split outputs. This is causing build failures for me:
CMake Error in src/rviz/CMakeLists.txt:
  Imported target "assimp::assimp" includes non-existent path

    "/nix/store/sx2hx6xmd738zfx1bg1x0dzpx19kgfyx-assimp-5.1.3/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

At minimum https://github.com/assimp/assimp/blob/c882731688252cc4c1e941bcaf82d4ddf76476f8/code/CMakeLists.txt#L1180 needs to be fixed, but there may be other places as well.

I'm testing this patch: https://github.com/assimp/assimp/commit/d0bdc03427b46a284e73c6bb237efd891106ad51

@lopsided98 I don't really use assimp, so if you want to revert the split or take over as maintainer that is file with me.

I got this fixed upstream, and just created a PR to apply the patch in nixpkgs: https://github.com/NixOS/nixpkgs/pull/155026


[FEA] PyTorch inference support with Triton

We have examples and a proof of concept in place for integrating TensorFlow and HugeCTR with Triton - and we need to do the same for PyTorch.
This will involve a new 'model.py' for PyTorch that exports the tensors in the format our PyTorch dataloader expects: with continuous and categorical variables concatenated into a single tensor for cats/conts - and each multihot column being represented as a two tensors of offsets/values.
As part of this we should provide an example notebook of using this solution against the MovieLens dataset

https://github.com/NVIDIA/NVTabular/pull/697


Finish an alarm (Telegram bot)

[x] Same as "complete", but stop chore repetition

Current coverage is 77.14% (diff: 19.04%)

Merging #62 into develop will decrease coverage by 0.40%

@@            develop        #62   diff @@
==========================================
  Files            21         21
  Lines           588        595     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            456        459     +3
- Misses          132        136     +4
  Partials          0          0

Powered by Codecov. Last update 0ab2630...70b2ce6


Is sendMessage similar like emit?

is that similar? how i can use emit with custom event on this plugin?

Yep, that those is the same.


rename simulate_dipole -> simulate

I've been thinking about this for some time now: how do we feel about renaming the simulate_dipole() function? Maybe this is a bit nitpicky, but I feel that a function called simulate() in network.py or network_builder.py would better suit the various dynamics HNN-core is now simulating (i.e., not just current dipoles). If we decide to entertain such an idea, it'd be better to make this API change sooner than later and to think critically about what the new function will return. In keeping with the roots of HNN, we can still emphasize that each simulation always returns, at the very least, a dipole. However, there's probably a more intuitive way to refactor how/where users interact with the outputs of a simulation: list of Dipole, CellResponse, and dict of ExtracellularArray. E.g.,
dpl, cell_response, rec_arrays = simulate(net, tstop=170.0)

where dpl is an instance of Dipole, cell_response is an instance of CellResponse, and rec_arrays is an instance of ExtracellularArray. Each of the output objects should be converted to have a similar structure for handling multiple trials and multiple subcomponents (e.g., Dipole has cells from different layers that contribute to the aggregate current dipole while CellResponse has multiple cells that can fire). Furthermore, CellResponse will be detached from Network and provided with any network-specific attributes (e.g., gid_ranges) that allow for reading from and writing to disk.

The alternative is net.simulate() and have net.dipole, net.cell_response and net.rec_arrays as attributes ? The advantage is that you can add more output data in the future if needed.

I was imagining leaving these things as detached from Network as possible so that it's more intuitive for users to separate the model from its outputs. Totally open to other opinions on this, however.

I agree with separating the model from the outputs in principle, but I think the last time we talked about this the model is somewhat inextricable from the outputs (thinking of vsec/isec where the recordings are only meaningful when you know a lot about the model).
The way other simulator achieve separation is more like:
net  = jones_2009_mode()
dpl = net.record_dipole()
cell_response = net.record_cell_respond()

simulate(net)

Not a huge fan of this approach because your variables get modified in functions that don't explicitly involve them.


_FileStorageDriver.download_object does not contain callback argument

Steps for reproduce:

init task with task = Task.init(project_name='example', task_name='example', output_uri='local_folder')
setup InputModel with

input_model = InputModel.import_model('file://local_folder/...') # uri from model page MODEL URI field
input_model.connect(task)

try to load state dict to your pytorch model

model.load_state_dict(torch.load(input_model.get_weights()))

logs will contain:
2019-10-14 16:11:07,399 - trains.model - INFO - Selected model id: 6b56ee9709314f35b0a804914a7063d5
2019-10-14 16:11:07,595 - trains.model - INFO - Selected model id: 58791155e4e444ae97d5721fcc22b2bc
2019-10-14 16:11:07,643 - trains.Task - WARNING - Task connect, second input model is not supported, adding into comment section
2019-10-14 16:11:09,728 - trains.model - INFO - Selected model id: 622297cf18a74496b406479907bc1908
2019-10-14 16:11:09,854 - trains.storage - INFO - Start downloading from file:///ds2/trained_modeles/examples/pytorch with
tensorboard.6190111e06b943c597febc9287e95b12/models/model15 2019-10-14 16:11:09,854 - trains.storage - ERROR - Could not download
file:///ds2/trained_modeles/examples/pytorch with tensorboard.6190111e06b943c597febc9287e95b12/models/model15 , err: download_object() got an unexpected keyword argument 'callback'

Environment:
trains.__version__ = '0.11.2'

And I have a question about log :)
What is WARNING about? And what I have to do for get rid of it?

Thank you @xandox ,

Bug is confirmed, I'll update here once we have an RC with a patch, should not take long.
Regrading the Warning, currently the system will only link to a single input/output model per experiment.
The output models still contain link to the creator experiment, but not the other way around.
The warning is to let you know that you are using two input models (id: 6b56ee9709314f35b0a804914a7063d5 and id: 58791155e4e444ae97d5721fcc22b2bc) but the UI will only show the first one and put the links to the others in the description section of the experiment.
I'm hoping we get to fix that soon and remove the warning :)

Hi @xandox , RC with a fix is now available
It should solve the issue  :smiley:
pip install trains==0.11.3rc0

Grate! Thank you very match.
Have I close this issue or you close it by you self when final release will be released?

Thanks @xandox, v0.11.3 was officially released, I'm closing the issue.


Add translation to Thai

Start with introduction and questions

Thank you so much for your input! Could you please add the link in the en-EN/README.md as well? :)

Thank you so much for your input! Could you please add the link in the en-EN/README.md as well? :)

Thank you for comment. I have add the link and update links in other language. Kindly review and feedback me if any concern. Thank you again ^_^

@sureemo It was a cheat! Don't touch good files! Think before please.
@lydiahallie You have a leak. You do not have time to check the validity.

@contributorpw

Just fix the broken links sorry if it's not good to do, I will revert change if you concern.
For the translation, just done for question and I'm translating the answer to have all more completed.
Thank you for review and comment. I will improve.

@sureemo
Thanks for the reply. It's fine.
Sorry if I was rude. English is not my native language.


[autosubmit] Do not remove label when mergability cannot be determined

Several autoroller PRs get stuck because GitHub cannot determine mergability at the given time. This is common when a recent PR has been submitted in the same minute that autosubmit checks mergability.
Instead, autosubmit should no-op, and wait for the next queue check for the PR.
auto label is removed for flutter/flutter, pr: 127411, Mergeability of pull request flutter/flutter/127411 could not be determined at time of merge..

\cc @ricardoamador

I noticed that this happened here: https://github.com/flutter/flutter/pull/127019#issuecomment-1561801616
Just posting in case it's useful.

This is fixed. The current method is to leave the label if the MergeableState is UNKNOWN and remove the label if the MergeableState is conflicting. These are the three states provided in the Graphql api.


fix: dynamodb service role.

This commit fixed dynamodb service role.
Otherwise APPSYNC_ASSUME_ROLE is not authorized to perform any action for AMAZON_DYNAMODB data source
This is the error that appears if you don't make this change.
 "message": "User: arn:aws:sts::XXXXXXXXXX:assumed-role/dynamodb-role/APPSYNC_ASSUME_ROLE is not authorized to perform: dynamodb:Query on resource: arn:aws:dynamodb:eu-central-1:XXXXXXXXXX:assumed:table/dynamodb-table/index/GS3 (Service: DynamoDb, Status Code: 400, Request ID: 2FK1667S31A74B546S0FJAOB6JVV4KQNSO5AEMVJF66Q9ASUAAJG, Extended Request ID: null)"
Description
DynamoDB policy needs to be defined also with table_name/*
Resource = "arn:aws:dynamodb:eu-central-1:886570723916:table/ns-development-tf-voiceland-dev" -> [
                          + "arn:aws:dynamodb:eu-central-1:886570723916:table/ns-development-tf-voiceland-dev/*",
                          + "arn:aws:dynamodb:eu-central-1:886570723916:table/ns-development-tf-voiceland-dev",
                        ]

Motivation and Context
This fix is needed for DynamoDB Datasource to be able to work.
Breaking Changes
This change only adds an extra resource definition on amazon dynamodb service policy so there is no braking changes.
How Has This Been Tested?
I have created a dynamodb table and tried to fetch data from it using graphql api using this terraform module

Thank you for the fix!
v0.8.0 has been just released.


Merge gtk4 crates

Currently there's the following gtk4 specific crates

gtk4/gtk4-sys
gdk4/gdk4-sys
gsk4/gsk4-sys
gdk4x11/gdk4x11-sys (to be generated)
gdk4wayland/gdk4wayland-sys (to be generated)
examples4

As the other sys crates are moving to gtk-rs, we will probably need to move the 3 first sys crates to their individual repositories. Along with the creation of two new repositories to handle the missing bindings.
What I suggest:
Migrate all the gtk4 repositories into this one (if possible), the same way it was handled for gtk3. Both repositories could be merged later in the future once they are "ready" (as in gtk-rs & gtk4-rs?)
The benefits:

Regenerating the bindings for a new gtk4 release would be much easier than having to check the status in 6 (once all created) repositories
Simplify maintaince

cc @sdroege @GuillaumeGomez

cc @BrainBlasted @sophie-h @kavanmevada
As gtk4-rs contributors, would such change simplify things for you?

So, I basically agree on merging all the gtk4 repositories into one, however I just wonder about one thing: do we want to merge them in a separate repository or in the gtk-rs one? I have a personal preference over keeping them both separate, but not sure what you prefer?

I tend to prefer keeping them separate as well

As gtk4-rs contributors, would such change simplify things for you?

I think especially having the examples with the code might reduce the number of 'coordinated PRs,' which might be annoying while things are moving faster.

Now that the different crates are merged together. Can someone update the repository name to gtk4-rs? This we can close this one I guess. Unless there's something else we should handle?

Now that the different crates are merged together. Can someone update the repository name to gtk4-rs?

@GuillaumeGomez ?

Done! Thanks a lot for your work on the merge @bilelmoussaoui !

Thanks! I think we can close this then


Add missing curly brace to media query

The first media query (at line 264) was missing its closing brace in all templates but those in the Newsletters folder. I also cleaned up some white space just within these lines.

Good eye!  Thank you.  Sorry for the delayed merge, I was out of town.


Support 3rd party redirects

For things like billing flows, its not uncommon to want to redirect-after-POST to a 3rd party endpoint. next-runtime doesn't appear to support returning external URLs with its redirect handler.
I've even tried things like the following:
res.setHeader("location",  someExternalURL);
res.statusCode = 307;
res.end();
return;

But I get this error:
error - Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

Right now, our workaround is to return json and update window.location.href during render. It'd be a little neater if this scenario could be detected and managed automatically.

Are you sure it's a next-runtime thing, that's blocking? I'm able to redirect to my own site without trouble:
https://codesandbox.io/s/next-runtime-cookie-forked-ko4iob?file=/pages/index.js
https://user-images.githubusercontent.com/1196524/159327690-a7967632-4f41-4954-ab8f-535b5c415034.mov

What about with the form hook?

Got it! Yeah, that's a bug that needs to get squashed. Thanks!

Ok, so when I'm trying to redirect using Form, it does work, but only if the receiving endpoint has CORS properly configured.
This works:
export const getServerSideProps = handle<PageProps>({
  async get() {
    return json({});
  },

  async post() {
    return redirect('https://swapi.dev/api/people/1/');
  },
});

export default function FormWithRemoteRedirect() {
  return (
    <Form method="post">
      <button id="submit" type="submit">
        Submit
      </button>
    </Form>
  );
}

Replace the destination with https://meijer.ws, and it does not.
The problem is that the fetch request already handles the redirect. If that causes an error, such as 'NO CORS POLICY', the browser redirect won't be reached.
So we need to find a way to take over the redirect, and handle it manually. Good thing, fetch has an option for that:
return fetch(url.toString(), {
  method,
  headers: { accept: 'application/json' },
  body: data,
+ redirect: 'manual',
});

Bad thing, when using redirect: manual, the response will get a type: "opaqueredirect" property, but (Location) headers won't be available. So, I'm leaning to supporting a "manual" redirect. Something like (pseudo):
<Form
  action="/"
  method="post"
  redirect="manual"
  onSuccess={() => window.location = 'https://remote'}
/>

That is unless we can find a way to catch the fetch error and determine that it was a failed redirect. To simplify the API we could also make it like:
<Form
  action="/"
  method="post"
  redirect="https://remote"
/>

FWIW, for my current use case, we don't know the URL up front, we call the 3rd party in the post handler and it gives us back the URL to redirect to.

Will it still happen even if we use standard Next.js object with this shape?
{
    redirect: {
        destination: "/sign",
        permanent: false,
    },
}

See https://nextjs.org/docs/api-reference/data-fetching/get-server-side-props#redirect


Refine concept for job result page

According to Nina and Janine the visual concept for the Job Search Component was not properly done and therefore needs a refinement from our side.
Current implementation(s):

https://www.baloise.com/de/DE/jobs/arbeitgeber.html
https://www.baloise.com/de/jobs/alle-jobangebote.html?MultiLanguageFilter=allLanguage&displayLimit=10&editMode=false&query-str=

Design Draft (Meta):

https://www.figma.com/file/TpLyniy71JAMZhps0qHhVU/Baloise-–-UI-Kit-(Team-Library)?node-id=7479%3A173164

To-do's:

[x] Analyze old vs. new concept
[x] Refine design
[x] Discuss solution with Janine and Nina

Design is refined, waiting for Janines feedback.


Archive this package

We have decided to stop using dartclub_lint and use the standard linter instead.
My suggestion would be:

[ ] Document it in Readme.md
[ ] Archive this repo
[ ] Delete all references
[ ] Unlist it on pub.dev

@lukas-h any complaints?

sounds good.
@grundid do you still use this package somewhere?

No, i dont


Locate raw data for Mohawk Trail St.Forest, MA QURU

Looks like we're potentially missing raw data for Mohawk Trail St.Forest, MA QURU
Originally posted by @camerondow35 in https://github.com/EcoClimLab/growth_phenology/issues/152#issuecomment-1150485677

This chronology was from Neil.


Ontvtonight's epg is not working

Site
ontvtonight.com
Description
Ontvtonight's guide not working about 2 weeks or so. I've installed a fresh copy with a new computer with different ip to try if it helps but it's same. It does successfuly update channels in the channels.xml but when it comes to grab epg, it shows 0 programs,  I also tried to set 30sec timeout but it also doesn't work. Log that i will share is with australian channels but it is also same with USA and Canada channels.
here's the log:
npm run grab -- --channels=sites/ontvtonight.com/ontvtonight.com_au.channels.xml --timeout 30000

> grab
> npx tsx scripts/commands/epg/grab.ts --channels=sites/ontvtonight.com/ontvtonight.com_au.channels.xml --timeout 30000

starting...
config:
  output: guide.xml
  maxConnections: 1
  gzip: false
  channels: sites/ontvtonight.com/ontvtonight.com_au.channels.xml
  timeout: 30000
loading channels...
  found 1698 channel(s)
run #1:
  [1/3396] ontvtonight.com (en) - au#1638/seven - Aug 18, 2024 (0 programs)
  [2/3396] ontvtonight.com (en) - au#1638/seven - Aug 19, 2024 (0 programs)
  [3/3396] ontvtonight.com (en) - au#1639/seven - Aug 19, 2024 (0 programs)
  [4/3396] ontvtonight.com (en) - au#1641/seven - Aug 19, 2024 (0 programs)
  [5/3396] ontvtonight.com (en) - au#1645/seven - Aug 19, 2024 (0 programs)
  [6/3396] ontvtonight.com (en) - au#1653/seven - Aug 19, 2024 (0 programs)
  [7/3396] ontvtonight.com (en) - au#1669/7two - Aug 19, 2024 (0 programs)
  [8/3396] ontvtonight.com (en) - au#1669/7two - Aug 18, 2024 (0 programs)
  [9/3396] ontvtonight.com (en) - au#1653/seven - Aug 18, 2024 (0 programs)
  [10/3396] ontvtonight.com (en) - au#1668/7two - Aug 19, 2024 (0 programs)
  [11/3396] ontvtonight.com (en) - au#1668/7two - Aug 18, 2024 (0 programs)
  [12/3396] ontvtonight.com (en) - au#1645/seven - Aug 18, 2024 (0 programs)
  [13/3396] ontvtonight.com (en) - au#1652/seven - Aug 19, 2024 (0 programs)
  [14/3396] ontvtonight.com (en) - au#1667/7two - Aug 19, 2024 (0 programs)
  [15/3396] ontvtonight.com (en) - au#1667/7two - Aug 18, 2024 (0 programs)
  [16/3396] ontvtonight.com (en) - au#1652/seven - Aug 18, 2024 (0 programs)
  [17/3396] ontvtonight.com (en) - au#1666/7two - Aug 19, 2024 (0 programs)
  [18/3396] ontvtonight.com (en) - au#1666/7two - Aug 18, 2024 (0 programs)
  [19/3396] ontvtonight.com (en) - au#1641/seven - Aug 18, 2024 (0 programs)
  [20/3396] ontvtonight.com (en) - au#1644/seven - Aug 19, 2024 (0 programs)
  [21/3396] ontvtonight.com (en) - au#1651/seven - Aug 19, 2024 (0 programs)
  [22/3396] ontvtonight.com (en) - au#1665/7two - Aug 19, 2024 (0 programs)
  [23/3396] ontvtonight.com (en) - au#1665/7two - Aug 18, 2024 (0 programs)
  [24/3396] ontvtonight.com (en) - au#1651/seven - Aug 18, 2024 (0 programs)
  [25/3396] ontvtonight.com (en) - au#1664/7two - Aug 19, 2024 (0 programs)
  [26/3396] ontvtonight.com (en) - au#1664/7two - Aug 18, 2024 (0 programs)
  [27/3396] ontvtonight.com (en) - au#1644/seven - Aug 18, 2024 (0 programs)
  [28/3396] ontvtonight.com (en) - au#1650/seven - Aug 19, 2024 (0 programs)
  [29/3396] ontvtonight.com (en) - au#1663/7two - Aug 19, 2024 (0 programs)
  [30/3396] ontvtonight.com (en) - au#1663/7two - Aug 18, 2024 (0 programs)
Terminate batch job (Y/N)? y

PR to fix this issue https://github.com/iptv-org/epg/pull/2457


UISegmentedControl support

Hey there, any thoughts on UISegmentedControl support?
I suppose it would look like this:
<SegmentedControlIOS
  values={["One", "Two"]}
  selectedValue={}
  momentary={false}
  onValueChange={() =>}
  tintColor={}
  // TODO: how to handle image items?
/>

or this better left to an add-on/plugin sort of thing?

I started working on a diff, seems pretty doable (if the project wants it).
is there precedent/example of how to handle default sizing of an element that usually sizes itself? The segmented control usually sizes its width to fit its items, plus whatever offsets you set (but it can be overriden), but it seems like some default styles (like a switch) hard code the width
Thanks!

it seems like some default styles (like a switch) hard code the width

Indeed: https://github.com/facebook/react-native/blob/af9f0972b63167912696e59eaecc58fb840147f0/Libraries/Components/SwitchIOS/SwitchIOS.ios.js#L112-113

Internally, we reimplemented the segmented control in pure js. We found that it was easier than to wrap the native implementation.

I found this post http://qiita.com/laiso/items/5c5ef9158a37726d109d.  It's not in english but you should be able to tell what's going on.


Touching up the PHP docs, moved reduce station pairings to A_Station cla...

Moved the reduce stations pairing to its proper place in an entities and made sure it doesn't show up on the API explorer anymore, also filled out some of the missing variable descriptions to make the api explorer a little prettier

:+1:


Document EVM Spec and Client

Made changes suggested by @peterschwarz.

Made changes based on @ojalatodd's feedback


Followed the documentation but its not working. Details below -

When running below snippet -
python main.py
--model hf-causal
--model_args pretrained=EleutherAI/gpt-j-6B
--tasks hellaswag
--device cuda:0
Getting this error -
/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/framework/dtypes.py:513: FutureWarning: In the future np.object will be defined as the corresponding NumPy scalar.
np.object,
Traceback (most recent call last):
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorboard/compat/init.py", line 42, in tf
from tensorboard.compat import notf  # noqa: F401
ImportError: cannot import name 'notf' from 'tensorboard.compat' (/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorboard/compat/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/abhijit/LLM_Eval/lm-evaluation-harness/main.py", line 6, in
from lm_eval import tasks, evaluator, utils
File "/home/ubuntu/abhijit/LLM_Eval/lm-evaluation-harness/lm_eval/tasks/init.py", line 5, in
import lm_eval.base
File "/home/ubuntu/abhijit/LLM_Eval/lm-evaluation-harness/lm_eval/base.py", line 14, in
from accelerate import find_executable_batch_size
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/accelerate/init.py", line 3, in
from .accelerator import Accelerator
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/accelerate/accelerator.py", line 39, in
from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/accelerate/tracking.py", line 42, in
from torch.utils import tensorboard
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/torch/utils/tensorboard/init.py", line 12, in
from .writer import FileWriter, SummaryWriter  # noqa: F401
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/torch/utils/tensorboard/writer.py", line 16, in
from ._embedding import (
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/torch/utils/tensorboard/_embedding.py", line 9, in
_HAS_GFILE_JOIN = hasattr(tf.io.gfile, "join")
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorboard/lazy.py", line 65, in getattr
return getattr(load_once(self), attr_name)
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorboard/lazy.py", line 97, in wrapper
cache[arg] = f(arg)
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorboard/lazy.py", line 50, in load_once
module = load_fn()
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorboard/compat/init.py", line 45, in tf
import tensorflow
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/init.py", line 41, in
from tensorflow.python.tools import module_util as _module_util
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/init.py", line 46, in
from tensorflow.python import data
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/init.py", line 25, in
from tensorflow.python.data import experimental
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/init.py", line 96, in
from tensorflow.python.data.experimental import service
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/service/init.py", line 140, in
from tensorflow.python.data.experimental.ops.data_service_ops import distribute
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/ops/data_service_ops.py", line 25, in
from tensorflow.python.data.experimental.ops import compression_ops
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/experimental/ops/compression_ops.py", line 20, in
from tensorflow.python.data.util import structure
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/util/structure.py", line 26, in
from tensorflow.python.data.util import nest
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/data/util/nest.py", line 41, in
from tensorflow.python.framework import sparse_tensor as _sparse_tensor
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/framework/sparse_tensor.py", line 29, in
from tensorflow.python.framework import constant_op
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/framework/constant_op.py", line 29, in
from tensorflow.python.eager import execute
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/eager/execute.py", line 27, in
from tensorflow.python.framework import dtypes
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/tensorflow/python/framework/dtypes.py", line 513, in
np.object,
File "/home/ubuntu/miniconda3/lib/python3.9/site-packages/numpy/init.py", line 319, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'object'.
np.object was a deprecated alias for the builtin object. To avoid this error in existing code, use object by itself. Doing this will not modify any behavior and is safe.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

Hi, I've not seen this error before but it looks like a problem with tensorboard, which is not a dependency on our end.
This should be fixed by doing pip install numpy==1.23 I believe.
Could you run pip freeze and paste that output here? That should provide some insight.

Closing as I can't replicate this and changing numpy version should fix this, please reopen if this issue persists!


mention that TMPDIR must be set

Sugggestion, the installation instructions should mention that the shell variable TMPDIR must be set (I am not sure to where, I just set it to /tmp in my .bashrc and it seems to work). If it is not set - and by default it is not set in some fresh installations of Ubuntu/CentOS - the pipeline will crash. I think this is related to commit a6f7fabd4d36bfb200a3d9510ffd3d3cec548f21.

Thanks for reporting this. It's fixed in 02f55b5.
If $TEMPDIR is not set, the pipeline will ignore it.


Clean up CMake configuration and address compiler warnings.

Removed dead configuration in CMakeLists.txt.
Used target_compile_options() instead of CMAKE_{C|CXX}_FLAGS.
Turned on warnings on tests.
Fixed various warnings for comparing signed with unsigned values.
Removed dead code exposed by compiler warnings.

-1 just for the minor request to remove the unused constructor argument for Disassembler.

@dneto0: Done. Will squash before submitting.

+2


Implement initialFocus and finalFocus props across relevant components

You should be able to pass a ref or function. We decided not to implement the content|auto string values. This prop should be ignored on touch devices, where focus should always go to the Popup element.
Search keywords:

To be clear: this applies to Dialog, AlertDialog, and Popover, right?

this applies to Dialog, AlertDialog, and Popover, right?

Correct


Import HEOM examples

Task list:

[x] Import the markdown notebooks from qutip-notebooks.
[x] Reformat all the notebooks so that they pass tests.
[x] Update the initial and final section headers to match those in other notebooks.
[x] Check About sections that call qutip.about()
[x] Add test sections where possible.
[x] Notebooks v4
[x] Notebooks v5

Ready for review.


self.request?.responseString (Ambiguous use of responseString)

Swift 1.2
xcode 6.3
I am having issues building the example ios project.
The error occurs under DetailViewControlller.swift after @IBAction func refresh().
I am using the 6.3 built:
https://github.com/Alamofire/Alamofire/tree/xcode-6.3
Could you please let me know if anyone else is having the same issue?
Any help would be appreciated.
Thank you.

See #408 for the proper solution and #406 for a temporary workaround.


Fix notification and stopwatch empty states

Previous solution was relying on fomantic selector .ui.label.hidden to hide the elements in their empty state, but this doesn't work any more with the removal of the label class. Instead, introduce a standalone CSS rule for the hidden class, which is universally usable as a single class.
We can unfortunately not use the existing hide class because without the !important, it does not have enough specificity to win against
fomantic's .ui.menu:not(.vertical) .item {display: flex} rule.
Followup and fixes regression from https://github.com/go-gitea/gitea/pull/22169.
Before:

After:

I certainly do not like that we have both hide and hidden, but merging the two is a bigger effort that I want to defer to another PR, that combines the two and also makes use of these classes in place of jQuery .show() and .hide().

I haven't tested the change, but I have a feeling that:

That hidden shouldn't be used any more. After grepping the code by class="[^"]*hidden, I can see most hidden are attached to checkbox or menu, which doesn't have a clear meaning about why it should be done.
There is already a hide CSS class in _base.less

hidden class matches tailwind, that's why I chose it, and it definitely needs to be important for future use. I'll move it to helpers, but am of the opinion it needs to stay for the future.

OK, I think I know how Fomantic UI's hidden works now, I'd like to say we had better not change the behavior.
Fomantic mainly use the .transaction.hidden to hide the dropdown menu.
So you can see many dropdown menu has the class: <div class="menu transition hidden" ...
If you remove the hidden class, you will see the incorrect UI.
So, now I have strong objection to use the hidden any more.

Merged by :magic_wand: before CI completed as cannot fail CI.

Merged by 🪄 before CI completed as cannot fail CI.

According to #22847, we need some work to remove the global possible conflicted class.

This change breaks many dropdown menus.
I have warned many many times: do NOT pollute the code .... anybody really agrees with me?
Before

After

mea culpa over https://github.com/go-gitea/gitea/pull/22845 I didn't properly look at that PR before merging. I knew that .hidden should not be overloaded like that - and in fact have recently said the same.

I have warned many many times: do NOT pollute the code .... anybody really agrees with me?

I just didn't read the PR properly before merging.

First, if my comments made some people unhappy, I apologize sincerely. I'd like to be nice, while for some technical problems, sometimes I may use some aggressive sentences and just hope to make people pay more attentions to some important problems. I really care about making Gitea great.
About the !important thing, I won't say it is evil. Indeed, in my proposal #22847 (refactor the hiding method), the !important is also necessary. My opinion is that it should only be used with careful design and clear purpose. ps: I have full confidence that the solution #22847 could resolve the hiding problem fundamentally, there won't be any hiding bug anymore (99% sure!).
And why Fomantic UI has such strange problem ... well, just because it has occupied the .hidden name and uses it internally. I think many people have realized that Fomantic is not bad indeed, bu many flawed PRs from Gitea side misused it and polluted it, then various bugs come. So, if we want to introduce a stable hiding class, we really need a totally new name (say, the prefix).


[BUG] Apktool is not able to recompile A13 oplus-framework.jar

Information

Apktool Version (apktool -version) - 2.6.1
Operating System (Mac, Linux, Windows) - Linux
APK From? (Playstore, ROM, Other) - ROM

Stacktrace/Logcat
I: Using Apktool 2.6.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
oplus-framework.jar.out/smali/org/simalliance/openmobileapi/service/ISmartcardService$Default.smali[21,27] Hidden API restrictions are only supported on api 29 and above.
oplus-framework.jar.out/smali/org/simalliance/openmobileapi/service/ISmartcardService$Default.smali[22,12] mismatched tree node: I_ORDERED_METHOD_ITEMS expecting I_FIELDS
Could not smali file: org/simalliance/openmobileapi/service/ISmartcardService$Default.smali

Steps to Reproduce

apktool  b oplus-framework.jar.out and apktool  b oplus-framework.jar.out --use-aapt2

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
oplus-framework.zip
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything?
YES
If you are trying to install a modified apk, did you resign it?
Are you using the latest apktool version?
YES

A .jar, like framework.jar has no AndroidManifest.xml You need to add -api 29 to your apktool commands. Check apktool.yml for assumed minSdkVersion.

Thanks that worked


Optimisations

Allow for a batch to be updated after intial creation

This means that not all transactions have to be included in the create request, allowing for batching of large numbers of transactions.

Optimise the reconciliation of transactions

Process credits and transactions separately
Bulk update credits to reconciled, and bulk create credit reconciliation
logs
Use temp table insert to do bulk update of generated ref codes on
transactions

Other than the raw SQL, this looks good to me. I might prefer a slightly more descriptive PR title than “Optimisations”, though 😝


Android. Got compiled but Config is undefined

I got it installed and checked everything.
My MainApplication.java is like this.
protected List<ReactPackage> getPackages() {

      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
          new ReactNativeConfigPackage(),
...

The app is compiled, but Config is undefined
import Config from 'react-native-config'

Having the same issue

Odd, what react-native version?
Can you folks share an app having this issue?

RN. 0.32. I will try to send you some files today later.
Can you write me via email<EMAIL_ADDRESS>

Is this still an issue? I'd submitted a patch to react-native-config which allows a missing .env file.  It was accepted and released and we've bumped ignite as well.
You might have to double check your react-native-config to unsure you've got the latest.
Thanks.

Bah. I had meant to comment on https://github.com/infinitered/ignite/issues/368 instead of this issue.  I'll leave it there and this one as a shameful reminder to myself to never reply on my iPad again. 🔔 🔔 🔔

@ruskid @will-ockmore How did you installed it? Was it via react-native link or rnpm link alone by any chance?
react-native link react-native-config seems to do everything for both iOS and Android except it omits one line in android/app/build.gradle that causes Config.whatever to come up as undefined:
// 2nd line, add a new apply:
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"

Make sure you've got that one covered. The rest of the changes are covered by the link automatically.

I have the 2nd line present.
I did rnpm link and made sure everything is present as in README. Also I am using ignite boilerplate and I have the same include.
I've sent my sources to @pedro and waiting for his reply.

settings.gradle
rootProject.name = 'startup'

include ':app'
include ':react-native-config'
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
include ':react-native-fbsdk'
project(':react-native-fbsdk').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fbsdk/android')
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-i18n'
project(':react-native-i18n').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-i18n/android')
include ':react-native-device-info'
project(':react-native-device-info').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-device-info/android')
include ':react-native-image-crop-picker'
project(':react-native-image-crop-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-crop-picker/android')
include ':react-native-image-picker'
project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android')
include ':react-native-maps'
project(':react-native-maps').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-maps/android')

build.gradle
apply plugin: "com.android.application"
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * These basically call `react-native bundle` with the correct arguments during the Android build
 * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
 * bundle directly from the development server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation
 *   entryFile: "index.android.js",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"]
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

apply from: "../../node_modules/react-native/react.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "com.startup"
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    compile project(':react-native-config')
    compile project(':react-native-fbsdk')
    compile project(':react-native-vector-icons')
    compile project(':react-native-i18n')
    compile project(':react-native-maps')
    compile project(':react-native-device-info')
    compile project(':react-native-image-crop-picker')
    compile project(':react-native-image-picker')
    compile ('com.google.android.gms:play-services-gcm:8.1.0') {
        force = true;
    }
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
  from configurations.compile
  into 'libs'
}

MainApplication.java
package com.startup;

import android.app.Application;
import android.util.Log;

import com.facebook.react.ReactApplication;
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;

// 3rd party imports
import com.learnium.RNDeviceInfo.RNDeviceInfo;
import com.airbnb.android.react.maps.MapsPackage;
import com.i18n.reactnativei18n.ReactNativeI18n;
import com.oblador.vectoricons.VectorIconsPackage;
import com.reactnative.picker.PickerPackage;
//import com.dieam.reactnativepushnotification.ReactNativePushNotificationPackage;
import com.imagepicker.ImagePickerPackage;
import com.facebook.CallbackManager;
import com.facebook.FacebookSdk;
import com.facebook.reactnative.androidsdk.FBSDKPackage;
import com.facebook.appevents.AppEventsLogger;

import java.util.Arrays;
import java.util.List;

public class MainApplication extends Application implements ReactApplication {

  private static CallbackManager mCallbackManager = CallbackManager.Factory.create();

  protected static CallbackManager getCallbackManager() {
    return mCallbackManager;
  }

  @Override
  public void onCreate() {
    super.onCreate();
    FacebookSdk.sdkInitialize(getApplicationContext());
    // If you want to use AppEventsLogger to log events.
    AppEventsLogger.activateApp(this);
  }

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    protected boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;
    }

    @Override
    protected List<ReactPackage> getPackages() {

      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
          new ReactNativeConfigPackage(),
          new MapsPackage(),
          new RNDeviceInfo(),
          new ReactNativeI18n(),
          new VectorIconsPackage(),
          new PickerPackage(),
          //new ReactNativePushNotificationPackage(),
          new ImagePickerPackage(),
          new FBSDKPackage(mCallbackManager)
      );
    }
  };

  @Override
  public ReactNativeHost getReactNativeHost() {
      return mReactNativeHost;
  }
}

Whenever this exception happens, it's usually because of one of the following reasons:

You haven't set a resValue for build_config_package as explained here https://github.com/luggit/react-native-config#advanced-setup In your pasted code, I haven't seen it.
You are importing Config incorrectly, DON'T do import { Config } from 'react-native-config do import Config from 'react-native-config'
Your .env file needs to be in the root of your project directory, usually where your index.js file is located.

You can see if react-native-config can access BuildConfig class with logcat:
adb logcat -s ReactNative

I've just checked it and this package works with RN 0.34.0 without problems.
In my opinion @luggit I would change Log.d("ReactNative"  to Log.d("ReactNativeJS which can be easily seen with react-native log-android and would add a URL in the log pointing to how to set up build_config_package.
Cheers,
Miguel

Hello @maraujop
I saw your points and already checked them before.

if you use applicationIdSuffix or applicationId that is different from the package name
I have import Config
ofc .env file in root directory.

This is some voodoo magic, I upgraded to RN 0.34.0 and recompiled with same parameters. And .env got loaded
Thanks for help anyway.

Hello @maraujop
Like @ruskid, I went through your list of reasons and also updated to RN 0.34.0, but I am still seeing this problem (perhaps it's my disbelief in voodoo).
@pedro asked if someone could upload an app that shows this issue so I created a simple hello world type application and have attached it.
Thanks in advance for any help.
-AC
helloWorld.zip

After re-visiting this problem, I discovered that the react-native link command was not adding this line to android/app/build.gradle:
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
Once I added that everything went from undefined to the values in my .env file.

Ah! You rock, thanks for sharing :+1:
Is this what was missing for others too?

I don't think so, because I added this manually

I have the same config as @ruskid  and have the .env file on project root, did the import Config from 'react-native-config' and Im getting the same error, Config is undefined :/

It doesn't work without
new ReactNativeConfigPackage()

Please update your README to mention this.

So, after much struggle, I've managed to make this work.
Here's a summary of what I did:
Link the library manually
Because react native link was failing (see https://github.com/facebook/react-native/issues/12216 and https://github.com/luggit/react-native-config/issues/80).
Here the steps:
settings.gradle
include ':react-native-config' project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
build.grade
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
not sure it matters but I moved this at the top of the file right after apply plugin
and under the debug { config add
resValue "string", "build_config_package", "com.myappname"
MainApplication.java
import com.lugg.ReactNativeConfig.ReactNativeConfigPackage;
and add
new ReactNativeConfigPackage()
Restart all
Meaning restarted the emulator, react native start and react native run-android
Please fix the link or add info for a manual linking for android in the readme.

I had the same issue. In the end, I realized, I've set everything up fine, according to the readme. But as I'm building using the command line react react-native run-android, @stilllife00 comment got me thinking. I tried cleaning the project via Android Studio and then building (via Android Studio, but I think that is not necessarily the reason), and then it worked. So either cleaning the project / and or building it via Android helped me fix it. I see the values of the Config now in Android.

I followed @stilllife00 's instructions and I had to add the following to build.gradle:
Add compile project(':react-native-config') to the dependencies

my post link build.grade was missing apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle". It had everything else in @stilllife00 post. Adding this one line made it work.

Closing, it seems like the issue is the missing apply from: project()....
Too bad we can't automate that step in react-native link. I'll make the Android setup more prominent.


How to make my server premiumm

how to make my server premium

go to your dashboard and make your URL http''s''://yourdomainname.com/premium
if u wanna try free trial just do http's'://yourdomainname.com/redeem/
And select your server you want to redeem on it
And that's it


Export user emails and URNs/UIDs to db

Jira ticket URL
First slice of:
https://dfedigital.atlassian.net/browse/TEVA-815
Changes in this PR:

In the interests of keeping PRs small, here is the first slice of the magic-sign-in-link authentication fallback: a task for filling the Users table with data from DSI. URNs and UIDs will be used for 'associating' (not in the database but informally associating) users with schools/organisations.

Next steps:

[ ] Front and back end authentication-by-magic-email-link pathway (part done, not in this PR)

Before merging, I'll test run the task on a pre-prod environment.

It didn't work last night, seemingly because of me forgetting to run the new migrations.
rails db:migrate:status gives:
   up<PHONE_NUMBER>5235  Create documents
   up<PHONE_NUMBER>5721  Add vacancy to documents
   up<PHONE_NUMBER>2822  Add gias data to column in schools
   up<PHONE_NUMBER>2258  Remove weekly hours from vacancies
   up<PHONE_NUMBER>4649  ********** NO FILE **********
   up<PHONE_NUMBER>5536  Add job role to vacancies
   up<PHONE_NUMBER>1727  Add salary to vacancies
   up<PHONE_NUMBER>5528  Drop pay scales
   up<PHONE_NUMBER>5329  Add completed step to vacancies
   up<PHONE_NUMBER>1133  Change job description to job summary
   up<PHONE_NUMBER>0140  Add about school to vacancies
   up<PHONE_NUMBER>2653  Change job summary to nullable column
   up<PHONE_NUMBER>4513  Remove minimum salary db contraint
   up<PHONE_NUMBER>1545  Add state to vacancies
   up<PHONE_NUMBER>5215  Add subjects to vacancies
  down<PHONE_NUMBER>1155  Add dsi data to users

NoMethodError (undefined method `dsi_data' for #<User:0x00005556f8574690>)
irb(main):009:0>
irb(main):010:0> User
=> User(id: uuid, oid: string, accepted_terms_at: datetime, email: string)

I realised the database sync scheduled for 2 am would overwrite any effect of my task, on staging.

It seems not to have worked tonight either, and I'm checking before the database sync.
irb(main):002:0> User # the migration certainly took place
=> User(id: uuid, oid: string, accepted_terms_at: datetime, email: string, dsi_data: jsonb)
irb(main):005:0> User.all.where(email: nil).size # but the task didn't run or it failed
=> 5550

No activity on papertrail, so maybe something is up with the task scheduling.

The task ran successfully with UpdateDfeSignInUsers.new.run! on staging, so I am merging this and creating a ticket to check the scheduling.


Added configurable delimiters for parseColorSpaceFromString()

I went ahead and made a pull req. based on the discussion in ocio-dev (https://groups.google.com/forum/#!topic/ocio-dev/dfOxq8Nanl8)

Any life left in this one? We are running into the same problem and this would be a big help. We can patch locally but it seemed like there was plenty of support in the original discussion (https://groups.google.com/forum/#!searchin/ocio-dev/strictparsing/ocio-dev/dfOxq8Nanl8/TgdFL-2q6c8J). Was there any reason not to merge this?
Thanks,
Matt

Sorry that it took so long to get back to this.
Do you think that delimiters would be used else where in OCIO? I would either lean towards being more verbose in the API name or use YAML markup to be an actual list vs a packed string.
@mike1158 I hope you still care about this. @lgritz / @mplec it would be good to get your thoughts on this as well.

I don't have specific use cases for using delimiters elsewhere but it's not hard to imagine parsing other ocio config-defined names from strings, maybe display names from a string, something like that. But I'm just speculating. Splitting out the check for being delimited that was implemented in the PR to a function like isDelimited(substring, string) might be cleaner and more likely to get reused instead of unintentionally reimplemented?
On the YAML list vs packed string, I don't have any strong feelings. However a list would future proof if the delimiter ever needs to be more than a single character. That seems worth something.
Another question that popped into my head on re-reading is do we care about different delimiters before and after? I can't think of a case where I need that now but maybe someone else can? However at some point you're trying to accommodate everyone's pipeline quirks in a library convenience function that should be simple and cover 80% reliably and beyond that we can just do our own pipeline-specific parsing knowing how we name things, as we're doing now.

Please see new pull request #413

Curious if we feel like the new OCIO v2 file rules section solves this adequately. It's a different solution, but since it supports wildcards and regex it is more flexible. @hodoulp @doug-walker do you think it would be useful to support a special ${name} variable or similar in file rules regex strings to imply the placement of a color space name, rather than needing to have a pattern that accounts for every color space naming convention?

It's not clear why this PR is still open given that it was superseded by PR #413.  Should we close this one?  Michael, I will respond more fully to your question in the newer PR.

Closing to continue discussion on how this could be realized in OCIO v2 in PR #413 since color space parsing functionality has been rewritten since this was opened.


Improve Firefox host permission request pipeline

Upon downloading the extension, the notifications do not immediately work because the user must turn on host permissions. The current process goes like this:

Right click extension icon
Click "Manage Extension"
Click the "Permissions" tab
Turn on host permissions for Khan Academy

This pipeline is not intuitive, so to retain users we will need to improve the pipeline. One possible solution is detailing the pipeline if the fetch fails on Firefox. Another possible solution is finding a method to asynchronously request the permission directly.

Answer could prove useful: https://stackoverflow.com/a/76083456/20918291

https://stackoverflow.com/a/71913707/20918291


contourf on cylindrical projection with irregular latlon grid (tri=True) is calling shiftdata when it shouldn't

I ran into this problem while trying to plot interpolated data NOT on a regular latlon grid. Orthographic projection works but cylindrical does not.
Relevant code:
fig = plt.figure()
ax = fig.add_subplot(111)
levels = 20
m = Basemap(projection="cyl")  # causes ValueError
# m = Basemap(projection="ortho", lat_0=0., lon_0=0., resolution='l')  # works, does not cause ValueError
MC = m.contourf(lons_deg, lats_deg, vals, levels, ax=ax, tri=True, latlon=True)  # latlon=True interprets first two args as lon and lat respectively

Note that lats_deg, lons_deg, and vals are 1d np arrays with irregular point spacing (no meshgrid). I used tri=True to allow interpolation. This works fine on orthographic projection. But with cylindrical I get the following error:
Traceback (most recent call last):
  File "IcosahedralGeodesicLattice.py", line 146, in <module>
    test_lattice.plot_data(data)
  File "/home/wesley/programming/Mapping/Lattice.py", line 86, in plot_data
    MC = m.contourf(lons_deg, lats_deg, vals, levels, ax=ax, tri=True, latlon=True)  # latlon=True interprets first two args as LON and LAT RESPECTIVELY
  File "/home/wesley/.local/lib/python3.5/site-packages/mpl_toolkits/basemap/__init__.py", line 544, in with_transform
    fix_wrap_around=plotfunc.__name__ not in ["scatter"])
  File "/home/wesley/.local/lib/python3.5/site-packages/mpl_toolkits/basemap/__init__.py", line 4797, in shiftdata
    if fix_wrap_around and itemindex:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Looking at the relevant file, the docstring for shiftdata says "Only valid for cylindrical/pseudo-cylindrical global projections and data on regular lat/lon grids. longitudes and data can be 1-d or 2-d, if 2-d it is assumed longitudes are 2nd (rightmost) dimension."
So should it not be being called with tri=True? Sorry if I have misunderstood something, let me know. Thanks!

@Kuhron Hey, have you found any solution to this issue? I'm having the same problem.

@chengdang Nope, I just stopped using Basemap altogether. Instead I wrote my own code to do the triangulation for equirectangular projection. Here is the relevant code, if you want to use parts of it:
import matplotlib.pyplot as plt
import matplotlib.tri as tri  # interpolation of irregularly spaced data

x, y = lons_deg, lats_deg  # actual data
z = vals
# how many x/y to put on rectangle projection
n_grid_x = 1000
n_grid_y = 500
xi = np.linspace(-180, 180, n_grid_x)
yi = np.linspace(-90, 90, n_grid_y)
triang = tri.Triangulation(x, y)
interpolator = tri.LinearTriInterpolator(triang, z)
Xi, Yi = np.meshgrid(xi, yi)
zi = interpolator(Xi, Yi)
MC = plt.contourf(xi, yi, zi, levels=contourf_levels, cmap=cmap)
clb = plt.colorbar(MC, ax=plt.gca())  # without these args, it will say it can't find a mappable object for colorbar
if contour_lines:
    plt.contour(xi, yi, zi, levels=contour_line_levels, linewidths=0.5, colors='k')
clb.ax.set_title(key_str)


Import from flat text with bind variables

Hello guys
I've been using DBeaver for quite a while now and enjoying it very much.
An older collegue of me still uses SQLTalk though. I'm trying to convince him to migrate to DBeaver, but he's not doing it, because he's in charge of migrating a lot of data for our customers.
To migrate the data he uses the following method
He gets a CSV file from our customers with a number of columns and rows which looks a bit like this:
"col1","col2","col3","col4"
"100000","B","0000001","ABC"
"200000","A","0000055","MLK"
He needs to import this into a table which has a lot more colums, the missing data he fills with data from older rows.
in SQLTalk he uses this syntax:
INSERT INTO TableName
SELECT TableCol0,
TableCol1,
TableCol2,
TableCol3,
'2019-07-01',
TableCol5,
TableCol6,
TableCol7,
TableCol8,
TableCol9,
TableCol10,
:4,
TableCol12,
TableCol13,
sysdate,
USER
FROM TableName
WHERE TableCol1= :1 AND TableCol2= :2 AND TableCol3= :3

"100000","B","0000001","ABC"
"200000","A","0000055","MLK"
/
As you can see, he copy/pastes the data from the CSV into the query, he executes it and binding the variables is done automatically by sqltalk.
Is there a way DBeaver can do it like this?

No one? :(

You can use Import Data->CSV on your table. Mark all columns which are no in CSV as skip on a mapping page:

You can use Import Data->CSV on your table. Mark all columns which are no in CSV as skip on a mapping page:

Hey Serge,
Thanks for the response. This counts for INSERT though, can it do UPDATE too?

It is not equal to UPDATE, but maybe will be useful too:
You can use "Truncate target table(s) before load" function (Import Data->CSV). Tthis will remove ALL data for the target table.


Unable to run selenium

Hi,
I installed the latest version of SeleniumBasic (<IP_ADDRESS>), updated the chrome driver to 2.40 and added a reference in the macro to "Selenium Type Library" but cannot seem to run the attached code
Sub test()
Dim driver As New ChromeDriver
driver.Get "www.google.com"
End Sub
Error message while executing driver.get

I am using a 64 bit windows 10 and Microsoft excel 2016 (32 bit). Please advise on where I am going wrong.
Thanks !!

Hi Nikhil, You're all doing wrong here. You're not initiating the driver and want a result!
Here is the code!
Sub TestGooglePage()
Dim bot As New WebDriver
bot.Start "chrome", "https://www.google.com"
bot.Window.Maximize
bot.Get "/"
bot.Wait 10000
End Sub
All the best!

Hi Kamal, I tried running your code but get the same message. I have a feeling its because of the .Net framework i am using but dont know how to correct it :( Do you have any recommendations?

Hey, its working fine now. I just re-installed .net framework. Thanks Kamal !!!


Make user accessible internal controls safe by using ObjectIDs instead of pointers.

Should prevent crashes is internal sub-nodes (popup menus / scroll bars) are deleted by user.

I don't know if the extra layer of safety is worth this much boilerplate code, both current and future ones we might need to add.


chore: ord env add index log

Description
ord env add  update log
Screenshot

Thanks for the PR but I don't think we need those updates in the console. If you want to see the blocks indexed you can just have a look at the explorer which is listening on port 9000.
I could see a case for printing the RUST_LOG=info output in the ord env command. That could be made configurable.


Fixed RU-language translation - awaiting payments

Fixed RU-language translation
Screenshots

Pull Request Checklist

[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Translated strings are extracted.
[ ] Number of API calls is optimized.
[ ] The changes are tested.
[ ] Data-test are added for new elements.
[ ] Type definitions are up to date.
[ ] Changes are mentioned in the changelog.

Test environment config

API_URI=https://master.staging.saleor.cloud/graphql/

:(

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add jline and jansi jars to top classloader classpath

For sbt to work correctly, it needs the top loader to contain the jansi, test interface and forked jline jars. The rest of the classpath must be available in a classloader with this top loader as its parent. We can do this at the launcher level so that sbt main does not need to construct such a hierarchy of classloaders itself and can just use the classloader that was passed in by the launcher. sbt main can use the getEarlyJars method to determine if the top loader is compatible with what it expects. This is more scalable than the previous approach which was based on the classloader class name.

related sbt pr: https://github.com/sbt/sbt/pull/5672


--ansi causes an error

Deployer version: dev-master@ da432e01399489a896e880e9469c01ffad5491e6
Deployment OS: Mac, Ubuntu 20.04

vendor/bin/dep deploy staging --ansi

Output is then:
 TypeError  in Stringify.php on line 67:

  Deployer\Support\Stringify::escape(): Argument #1 ($token) must be of type string, bool given, called in /Users/jkuchar1/Documents/www/grifartis/source/PHP/vendor/deployer/deployer/src/Support/Stringify.php on line 35

It looks like option --ansi is interpreted as true which then fails on escaping code which can handle only strings.

Should be fixed. Please verify.


Allow false on Disallowed Values

Liquibase validate changesets before they are applied to a DBMS.
For example, following changeset for PostgreSQL is rejected because
PostgreSQL does not support ordered sequences:
<changeSet id="1" author="author">
   <createSequence cycle="false"
                   cacheSize="20"
                   incrementBy="50"
                   sequenceName="SOME_SEQUENCE"
                   ordered="true"
                   startValue="1"/>
</changeSet>

However, if someone writes the following changeset it will be
rejected by liquibase as well:
<changeSet id="1" author="author">
   <createSequence cycle="false"
                   cacheSize="20"
                   incrementBy="50"
                   sequenceName="SOME_SEQUENCE"
                   ordered="false"
                   startValue="1"/>
</changeSet>

This commit improves the validation in order to write ordered=false
explicitly.
By the way, liquibase documentation claims to support ordered for postgresql: https://www.liquibase.org/documentation/changes/create_sequence.html
┆Issue is synchronized with this Jira Story by Unito

Hi @HelenS52 ,
So sorry for the long wait in getting to this PR.  We are a few weeks into our new process for accepting PRs and very much thank you for your time and patience.
Also, thanks for the PR!  Here's the canned stuff below that contains some useful info:
Thanks for your pull request!
Here’s what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest:

Changes based on guidelines for PR submission
Additional tests (unit and/or integration)
Provide other feedback, like requesting changes.

The PR will be prioritized according to our internal development and testing capacity.
We’ll let you know when it’s ready to move to the next step or if any changes are needed.

I believe this could be sized to RiskLow but will leave at a Med if we still need:

Additional tests (unit and/or integration)

@HelenS52 if you are so inclined to write the test(s) we would welcome your help :)
-Ronak


Swift 2.0 Support (Xcode 7 beta 6)

Most of it is the automatic converter.
Some things that I did change:

The normal print function changed, so I added  printOut function that fits the function signature
Stringify (line 103) was returning nil, when it should return a string, so I fixed that
Fixed some warnings that were leftover after the conversion

Mea culpa. Simple merge via web merges master.  So I manually created the swift-2.0 branch and merged your code there.

Ah, good catch -- sorry about that. I agree it's better in a separate branch!


Replace is-localhost-ip with can-bind-to-host

Fixes #122 by using a new package I wrote: can-bind-to-host
It is simpler in implementation, more reliable, and best of all - properly includes the MIT license!
Source: https://github.com/knyzorg/can-bind-to-host

Can I get a review / merge? @yannbf


Added note for KB language

https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/293

@IrenePasternack - can you please assist to check, approve and merge the content for this PR based on issue #293?
Thank you.

@IrenePasternack - I would like to follow up on this. Please assist to check, approve and merge the content for this PR based on issue #293
Thank you.

@IrenePasternack - I would like to follow up on this. Please assist to check, approve and merge the content for this PR based on issue #293
Thank you.

@AndreaBarr @kenwith - Can you possibly assist to merge the content for this PR based on issue #293?

Looks good.


Puzzle support

We have to add puzzles support to that project

@volodya-lombrozo the puzzle #9 is still not solved.

@volodya-lombrozo the puzzle #13 is still not solved; solved: #9.

@volodya-lombrozo 4 puzzles #23, #24, #25, #26 are still not solved; solved: #13, #9.

@volodya-lombrozo 5 puzzles #23, #24, #25, #30, #31 are still not solved; solved: #13, #26, #9.

@volodya-lombrozo 5 puzzles #23, #24, #25, #31, #33 are still not solved; solved: #13, #26, #30, #9.

@volodya-lombrozo 4 puzzles #23, #31, #33, #44 are still not solved; solved: #13, #24, #25, #26, #30, #9.

@volodya-lombrozo 3 puzzles #23, #33, #44 are still not solved; solved: #13, #24, #25, #26, #30, #31, #9.

@volodya-lombrozo 2 puzzles #33, #44 are still not solved; solved: #13, #23, #24, #25, #26, #30, #31, #9.

@volodya-lombrozo the puzzle #33 is still not solved; solved: #13, #23, #24, #25, #26, #30, #31, #44, #9.

@volodya-lombrozo 2 puzzles #33, #705 are still not solved; solved: #13, #23, #24, #25, #26, #30, #31, #44, #9.

@volodya-lombrozo 2 puzzles #33, #724 are still not solved; solved: #13, #23, #24, #25, #26, #30, #31, #44, #705, #9.

@volodya-lombrozo 3 puzzles #33, #724, #730 are still not solved; solved: #13, #23, #24, #25, #26, #30, #31, #44, #705, #9.

@volodya-lombrozo 2 puzzles #33, #724 are still not solved; solved: #13, #23, #24, #25, #26, #30, #31, #44, #705, #730, #9.


VC-8374 fix bigint to numeric

Description
Closes: #VC-8374
BIGINT fields for amount changed at NUMERIC type to prevent overflow

LGTM!

LGTM


High pulseaudio cpu usage with Godot Editor

Godot version
v4.0.2.stable.arch_linux
System information
ArchLinux, Intel i5-6600k
Issue description
When I open Godot Editor, even before I open any project, pulseaudio uses ~12% CPU on the project selection dialog.
I'm using ArchLinux with X11.
Not sure if it's a regression of https://github.com/godotengine/godot/issues/15266
Steps to reproduce
Open Godot editor
Minimal reproduction project
Just open Godot editor without selecting any project

Can you reproduce this in 3.5.2?
Can you reproduce this when starting the project manager with --audio-driver ALSA?

@Calinou Just tried this version v3.5.2.stable.official.170ba337a downloaded from official website. It has the same problem, even with --audio-driver ALSA.

For me in 3.x, pulse audio was also the biggest CPU hog after selecting vital updates only mode (Using >5% CPU for pulse audio).
This is why I wrote #63458 . This PR turns off the audio driver when sound is not playing, especially useful in the editor, when 99% of time there is no need to use CPU on sound. You can also use it in exported projects, and mute when losing focus, sleeping etc. It is merged in https://github.com/godot-plus/godot-plus/releases which may be worth a try for comparison, if the linux build works for you.
This is useful for low power / mobile / battery devices, as the audio will drain the battery needlessly. In official Godot the only way to prevent this I think is to run using the dummy audio driver in the command line argument, but it will play no audio.

Duplicate of https://github.com/godotengine/godot/issues/55608.


Update LICENSE CODE

Not sure what you're trying to accomplish in this PR. Please reopen with an explanation if this is a legit contribution. Thank you!


added create update many users method

Implemented #324 Please let me know your thoughts or if any recommended changes need to be made.

Hi @ajarnold87
Do my comments are helping you ?

Should be fixed with #345


Subtasks not part of the analytics reports

Hello:
I would like to know if there is a plugin or update available that helps to have a more granular report for analytics, specially having the subtasks will be a great help.
Regards,
Isabel

Hi @ibedon
The plugin is not maintained anymore. Sorry.

Hi Thomas: is there any substitute of it?
On Jun 4, 2018 4:03 PM, "Thomas T. Jarløv"<EMAIL_ADDRESS>wrote:
Hi @ibedonhttps://github.com/ibedon
The plugin is not maintained anymore. Sorry.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ThomasTJdev/KanboardCSS/issues/2#issuecomment-394480586, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYClw6ypeiHeArF3HcN260CYeNGymiOVks5t5ZJ_gaJpZM4UZq0q.

Hi @ibedon
I don't know. I'm not using Kanboard anymore.

Hi @ThomasTJdev would you be okay if we used the current css to build on a newer plugin for recent versions?

Hi @aljawaid
Thanks for asking. That is okay - you can use it with no restrictions. You may also take ownership of the repo.
If you create a new repo, please post a link here, which I can add in the readme.

Hi @aljawaid
I can not transfer ownership, when you have forked repo with the same name: aljawaid/KanboardCSS already exists

Hi @ThomasTJdev I have deleted my forked repo, please try again.


[BUG] missing SConscript file error on 2024.12.1

Bug report
Using 2024.12.1 with recent config file.
Describe the bug
Compile fails.
Additional information

used Hardware:

ESP32 (ulanzi)
EspHoMaTriXv2 version: 2024.12.1

To Reproduce
Run install
Configuration
The yml file located in /install
Logs
INFO Compiling app...
Processing ulanzi (board: esp32dev; framework: arduino; platform<EMAIL_ADDRESS>--------------------------------------------------------------------------------
Library Manager: Installing SPI
INFO Installing SPI
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5

*** missing SConscript file '/data/cache/platformio/packages/framework-arduinoespressif32/tools/platformio-build.py'
File "/data/cache/platformio/platforms/espressif32/builder/frameworks/arduino.py", line 41, in <module>

It seems to me that this has nothing to do with EspHoMaTriX at all, it is a problem of ESPHome itself.

I also think this is not an esphome problem. Try "Clean Build Files" in the three dot menu of your esphome project an then  compile as usuall.

Already tried to clean, still fails. Sorry for the noise I'll report to esphome


Read parquet row groups in chunks

This PR allows reading of parquet columns in chunks, thereby allowing decompressing and deserializing pages on demand to reduce the memory footprint.
This is a draft as there is still some work to do, which I will continue

[x] fix known issues in counting where we are at a given page (offset is incorrect atm)
[x] add tests for a non-None chunk size
[x] add back reading dictionary
[x] add back support to read structs
[ ] add back delta length encoding for binary
[x] add back support for lists
[x] triple check usage of with_capacity and reserve to avoid un-needed reallocations
[x] bench (performance should improve when the chunk size is None, there should be minimal diff with chunked)
[x] DRY copy-pasted code between primitive, binary, fixed binary and boolean
[x] remove old code

Design
This PR follows the design of this crate:

decompression/deserialization cannot cross column chunk boundaries, so that columns can be read (IO-bounded) and deserialized (CPU-bounded) independently and independently of each of the two operations.
unsafe free
generics to inline hot ops

The overall design of the changes enables pages to be deserialized to arrays of a different length, based on a new parameter chunk_size: usize:
parquet
[                             column chunk                       ]
[page][page][page][page][page][page][page][page][page][page][page]

arrow
[      array      ][      array      ][      array      ][ array ]
 <- chunk size  ->

Broadly, this PR does the following (for a single row group):

read N column chunks to memory (Vec<u8>)
for each column, compose an iterator with 2 iterator adapters:

Vec<u8> -> Iterator<CompressedDataPage>
Iterator<CompressedDataPage> -> Iterator<&DataPage> (decompression)
Iterator<&DataPage> -> Iterator<Arc<dyn Array>> (deserialization)

All these iterators are CPU-bounded. On the last step, we track where we are on the DataPage (through PageState, see below) and the temporary mutable array, and either:

consume the page to the mutable and the rest of it to a ring of mutables when the chunk size is so small that one page contains multiple arrays, or
iterate over more pages until we fill the temporary mutable up to chunk_size, at which point we freeze the mutable and return it

In more detail:

column chunks are now read in a single read_exact, instead of page by page. This was a mistake on the previous design, since we should not mix reading columns from deserializing pages
a &'a DataPage is mapped to a PageState<'a> based on its parquet physical type and encoding. This is the input state of a page and allows us to "suspend" an iteration over a page, thereby allowing a page to "extend" an array without having it completely consumed
a new concept, Decoder, knows how to initialize mutable arrays and how to extend them state from &mut PageState<'a>, advancing the page state accordingly. This is mostly a DRY trait

Closes #768

This now reproduces all the existing functionality apart from:

read structs
read nested list (i.e. list of list)

I found a bug in parquet2 in writing nested data while working on this. Thus, I plan to first release parquet2 with the fix and a simpler API to write, and then move back to this one again.

@houqp, this is ready for a spin.
There is a regression (20-40%) when reading a whole binary/utf8 column chunk at once (i.e. no chunk size). This is related to some tricks in pre-computed capacities of binary/utf8 that benefit from reading the whole column (we can recover this behavior).
I deactivated structs of structs and lists of lists for now as I need to dig a bit into the dremel. The failing tests are just examples that I need to update. ^^


Support multi-chart deployment

Description
All information is referenced in https://github.com/zitadel/zitadel-charts/issues/161
As I would like to already incrementally fix this setup and ensure that Zitadel can easily be deployed the current proposal is to move these annotations:
helm.sh/hook: pre-install,pre-upgrade
helm.sh/hook-delete-policy: before-hook-creation
helm.sh/hook-weight: "1"

.. to the values.yaml as was basically already done for some resources already like the initJob values.yaml#134
Goal for the initial PR is to make a non-breaking change on the chart
Definition of Ready

[x] I am happy with the code
[x] Short description of the feature/issue is added in the pr description
[ ] PR is linked to the corresponding user story
[ ] Acceptance criteria are met
[ ] All open todos and follow ups are defined in a new ticket and justified
[ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[x] No debug or dead code
[ ] My code has no repetitions
[ ] Documentation/examples are up-to-date
[ ] All non-functional requirements are met
[x] If possible, the test configuration is adjusted so acceptance tests cover my changes

@arnouthoebreckx  as we've been discussing this offline, feel free to comment too 🚀

hey @thomaspetit thanks for this very useful feature! Please have a look at the small suggestion above.
If you'd like to have a small gift in return, please send us a mail to<EMAIL_ADDRESS>We will send you a form with questions about your address and shirt size.

hey @thomaspetit thanks for this very useful feature! Please have a look at the small suggestion above.
If you'd like to have a small gift in return, please send us a mail to<EMAIL_ADDRESS>We will send you a form with questions about your address and shirt size.

I had a good reason to not put it in the values as appararntly dbSslRootCrt has been deprecated when the switch to v5 happened on Zitadel: https://github.com/zitadel/zitadel-charts/blob/d4d99770bd491d4a3a69d58c059377226490d4d7/README.md?plain=1#L52
If I would move it back to the values.yaml it would mean that we re-introduce a dbSslRootCrt (which was removed): https://github.com/zitadel/zitadel-charts/blob/zitadel-5.0.0/charts/zitadel/values.yaml#L57 (ref to old code)

hey @thomaspetit thanks for this very useful feature! Please have a look at the small suggestion above.
If you'd like to have a small gift in return, please send us a mail to<EMAIL_ADDRESS>We will send you a form with questions about your address and shirt size.

I had a good reason to not put it in the values as appararntly dbSslRootCrt has been deprecated when the switch to v5 happened on Zitadel: https://github.com/zitadel/zitadel-charts/blob/d4d99770bd491d4a3a69d58c059377226490d4d7/README.md?plain=1#L52
If I would move it back to the values.yaml it would mean that we re-introduce a dbSslRootCrt (which was removed): https://github.com/zitadel/zitadel-charts/blob/zitadel-5.0.0/charts/zitadel/values.yaml#L57 (ref to old code)
Let me know if you still want it in there and I'll do the necessary work 😁  @eliobischof

Makes perfect sense 😃


Availability

dynamic loading completed

reviewing

I thought an interface method LoadGenericCell  for IGenericCellOperations with arguments (storage, cellId, buff) is badly needed.
Use, New, Save  all load from storage only once, however there is not a proper method to apply the same way to Save.
To detail, we need
public unsafe ICell LoadGenericCell(byte[] buff, long cellId, ICell cell)
{
    switch ((CellType)type)
    {
        case CellType.xxx:
                fixed (byte* xxx_ptr = buff)
                    {
                        xxx_Accessor xxx_accessor = new xxx_Accessor(xxx_ptr);
                        xxx_accessor.CellID = cellId;
                        return (xxx)xxx_accessor;
                    }
               ...
    }
}

well done!


What does this have to do with Drip?

Stumbled across this project looking for a drop-in form that works with Drip, but as far as I can tell there's no relation, so the name is super confusing. What does the word “drip” have to do with forms if not in relation to another service?

Another prey!
Bad name!

Another prey!
Bad name!


Issue with answer in 3.10.3

At (3,2) it gives 1 as outcome, this should be a 2

You're absolutely right. OMW to fix it...


add to existing project

hi
thanks for your great source
how can i add it to my existing project?
thanks alot for help

If existing project is MVC, you need front and back refactoring
If existing project is MVVM, just refactor the front end


BSX Assets page broken

Balance is 0
I have just set the assets token to be KSM =< refresh => shows bsx again

Related:
I don't think that is the right deposit amount. it is probably should be BSX , not KSM (too expansive)

👋


Refactor Editor Fields

CHANGEREQUEST
Description:

Currently all Fields contain a label like this:
{`${label}:`}

This leads to conflicts when using these fields in an antd Form.
We should either export every Field as a Form.Item instead of a pure div (like AttributeCombo)  or handle the labels from outside (which i would prefer).
E.g return value of render method of RotateField:

  {`${label}:`}
  <InputNumber
    min={-360}
    max={360}
    value={rotate}
    onChange={onChange}
  />

... would become:
<InputNumber
  className="editor-field rotate-field"
  min={-360}
  max={360}
  value={rotate}
  onChange={onChange}
/>

Solved in #770


Explain K8up Backup Methods

Summary
This PR extends the documentation by explaining and comparing the methods with which K8up performs its backup magic.
Closes #450

Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking,
as they show up in the changelog
[x] Update the documentation.
[ ] Update tests.
[x] Link this PR to related issues.

Should that page go into even more detail? IMO, the respective pages already provide enough detail and that it would only be redunant here. But my opinion is not very strong, to not say weak.

Currently the page looks like this:


chore: Move common dependencies to workspace Cargo.toml

It's easier to keep versions in sync across the entire workspace this way.

Thanks for the PR!
Every crate of Yazi gets published to crates.io, will this have any impact on it?

I don't believe it should cause any issues. quickwit makes use of workspace dependencies as well, and their crates get published as well.

I don't believe it should cause any issues. quickwit makes use of workspace dependencies, and their crates get published as well.

Nice, TIL about that.


c++11 support

I am interested in using this with c++11 projects.  It seems the only feature requiring c++14 is the capture-by-move initialization for the packaged_task lambda assignment here:
https://github.com/inkooboo/thread-pool-cpp/blob/master/thread_pool/thread_pool.hpp#L117
I'll need to familiarize myself with this.  It seems a workaround might be possible in c++11 based on this document ("evil_wrapper"):
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3610.html
I'll take a look.  Any suggestions are welcome.

Yes, this is only place where c++14 needed. And yes, there exist a set of workarounds in C++11 to do the same task.
I prefer to keep code as is, with C++14 syntax. Because of:

we live in 2015 year
stable versions of GCC and Clang support this syntax for many years with "std=C++1y" parameter set.

Ok, understood -- just a constraint I have to deal with for Android platforms.  Thanks again.

That should be fine. NDK has GCC 4.8 and 4.9, Clang 3.5 and 3.6. All these compilers support "std=C++1y" and capture-by-move initialization in lambdas.


feat: update SelectedSearchSuggestionQuickNavigationItem event

The type of this PR is: Feature

This PR resolves FX-4629
Description
Follow-up to https://github.com/artsy/cohesion/pull/411

PR Checklist (tick all before merging)

[x] If I've added a new file to the tree I've exported it from the common index.ts
[x] I've added comments with examples for any new interfaces and ensured that they're in the docs
[x] No platform-specific terminology has been used outside of click and tap (platform is inferred by the DB storing events)

:rocket: PR was released in v4.117.0 :rocket:

:rocket: PR was released in v4.117.0 :rocket: