[nixos-21.05] autoPatchelfHook: fix packages that use stdenvNoCC

Description of changes
[I know nixos-21.05 is EOL, but at $dayjob I need to use it because it's the last nixpkgs version that has python-3.6 (don't ask).]
This backports autoPatchelfHook: fix packages that use stdenvNoCC and its two dependencies, ref. https://github.com/oxalica/rust-overlay/issues/91.
I'm running nixpkgs-review and will post the results when they are in.
Things done

Built on platform(s)

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 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.

nixpkgs-review fails with eval error, like ofborg, but running nix-env --option system x86_64-linux -f /path/to/nixpkgs -qaP --xml --out-path --show-trace works fine. (That's the same command as nixpkgs-review uses.) I also ran nixpkgs-review on a trivial diff (whitespace) on release-21.05 to compare, and it fails there too. I'm unsure what's going on, perhaps it mistakes the target branch?
Anyway, nixpkgs-review  produced a build.nix expression which lists 918 changed packages. Out of these, this PR causes two new failures:

filebot
fishnet

The failure mode is that these packages contain freebsd libraries, on linux(!), which obviously patchelf has problems resolving. (In other words, this uncovers two packaging bugs.)
I plan to land this PR in a few days, unless there are objections.


Bumping to v4.8.8

Updates since last release: https://github.com/github/linguist/compare/v4.8.7...5076539df51a752d048ab22ff81e586420782dd1

🚀 BLAST-OFF 🚀

🎉

@chrislgarry - support for Apollo Guidance Computer is included in this release. I think you might need to rename the files in https://github.com/chrislgarry/Apollo-11 to have .agc extensions now...

@arfon I took the liberty of taking care of that in advance.
@chrislgarry Safe to merge now! =)

How long does GitHub take to reflect these changes? :)

I'm pretending it takes the same amount of time for a spacecraft to leave the earth's atmosphere. Ssssh.
(Real answer: make a cuppa, come back in an hour)

@jbrooksuk - in theory immediately but the language bar is cached for 24 hours. If you want to see an immediate change then you'll need to push a change to the repo as the commit sha is included in the cache key too.

@arfon should we also immediately see highlighting for files then?

Yes. :)

In which case, Blade doesn't appear to work; https://github.com/jbrooksuk/Sublime-Blade/blob/master/test.blade.php

It highlights the HTML and PHP, but not the Blade syntax itself.

Make a change to the file, mate. The highlighting is probably still cached.

Just pushed a change :)

Hrm, Blade isn't listed in the languages dropdown (for either GitHub or Lightshow), so maybe something's still processing somewhere...
Then again, I'm just firing blank guesses here, so maybe I should shaddap.

Another example of Blade not highlighting, just in case, https://github.com/CachetHQ/Cachet/blob/2.3/resources/views/index.blade.php

S'okay, must be taking its time then. AGC isn't showing up either yet.
I think we should all settle down so Arfon can actually read the non-spammy notifications in his feed. =) lel

@jbrooksuk not exactly sure what's going on here. One issue is that some of the .php files that are Blade aren't being detected as such (i.e. the Bayesian classifier is doing a bad job):
https://gist.github.com/arfon/6ca677f3b9aefcb8cb1de3c1aba26e10
You can see how Linguist is detecting the language by looking at the DOM:

S'okay, must be taking its time then. AGC isn't showing up either yet.

Ugh. Not sure what's going on here. I'm going to try and debug this for a while.

OK, this should be fixed now. Somehow managed to deploy GitHub without actually including the new Gem 👊
@jbrooksuk - as you can see here (https://gist.github.com/arfon/2bb03617c65c0741f8cf125fadb20318) some files are being correctly detected as Blade but this won't always be the case for .php files as the Bayesian classifier isn't very good.
We might want to look into expanding this heuristic to help with this.

Yay!


decision tree, add description to each answer.

Some answers in the decision tree require  detailed descriptions.
For example:
"Which role fits you best?"
"Data consumer (Bioinformatician who perform data analysis)" or "Software technician (e.g. Developers who build data manage systems)"
in this case, it would be nice to have a short answer only and provide a description (information in the parenthesis) separately, either with a hint box or in smaller fonts.

description has been added, but not displayed correctly

Could you please explain this further. Do you expect differnt UI format or is there a bug showing description?

there are description fields to each question and answer to support people understand the questions/answers. I am thinking a small hint button, providing such descriptions.

Tested. thanks!


How do I actually use the mod to fly?

So, im assuming with this mod, you can fly in survival?
how would I go about being able to have the fly always enabled

i'm just goint to pin #20 since this seams to be a common question


Settings sync is making too many requests

Just saw that message this morning. I didn't do anything unusual
sync.log

/duplicate


Request: Hide titlebar, keep traffic lights in macOS

https://github.com/atom/atom/pull/10208
There's a bunch of history regarding this one in the Electron world on how to "hide decorations but keep the traffic lights around."
I think a slight tweak in the flags would allow two types of decorations (title bar, and the traffic lights).

https://www.electronjs.org/docs/api/frameless-window#hidden

Sorry I totally forgot!
We already support it!
This is an example;
use simple_logger::SimpleLogger;
use tao::{
  event::{Event, WindowEvent},
  event_loop::{ControlFlow, EventLoop},
  window::WindowBuilder,
};

#[cfg(target_os = "macos")]
use tao::platform::macos::WindowBuilderExtMacOS;

#[allow(clippy::single_match)]
fn main() {
  SimpleLogger::new().init().unwrap();
  let event_loop = EventLoop::new();

  let mut window_builder = WindowBuilder::new()
    .with_transparent(true)
    .with_title("My window");

  #[cfg(target_os = "macos")]
  {
    window_builder = window_builder.with_titlebar_transparent(true);
  }

  #[cfg(not(target_os = "macos"))]
  {
    window_builder = window_builder.with_decorations(false);
  }

  let _window = window_builder.build(&event_loop).unwrap();

  event_loop.run(move |event, _, control_flow| {
    *control_flow = ControlFlow::Wait;
    match event {
      Event::WindowEvent {
        event: WindowEvent::CloseRequested,
        ..
      } => *control_flow = ControlFlow::Exit,
      _ => (),
    }
  });
}

Results;

PS; more details can be found here;
https://docs.rs/tao/0.4.0/x86_64-apple-darwin/tao/platform/macos/trait.WindowBuilderExtMacOS.html#tymethod.with_titlebar_transparent

Hmm, I'm sure some combination works but I can't figure it out.
With:

transparent
title
titlebar_transparent

It works, kinda, but the titlebar is literally transparent, meaning I can see content behind it. The ideal layout here being a transparent titlebar that sits on top of the content, not above it. Am I missing something?
Also thanks for taking a look so quickly.

        c.with_transparent(true)
            .with_title("Example Website")
            .with_titlebar_transparent(true)

Ok, I've made some tests, and looks like the tao window is working fine without the webview.
I'll transfer this issue over wry. I'll keep doing some research and update the issue as it'll go.
Thanks for reporting.


Move to OpenDDS organization

Shouldn't this repo move to the OpenDDS organization?

@iguessthislldo Would it be a good idea to move this to the OpenDDS group of github?

CI is currently failing https://github.com/iguessthislldo/OpenDDS-Debian/actions/runs/11396348767/job/31710020239#step:9:610 any suggestions for fixing it?

@iguessthislldo Would it be a good idea to move this to the OpenDDS group of github?

Done, but this hasn't gotten any attention in a long time and I still consider it to be incomplete.


undefined method `timeout=' for Rack::Timeout:Class (NoMethodError)

Hi, I have just installed the newest version of orats, and used it.
I am getting an error with timeout (initializers/timeout.rb) complaining about no method error

Hi,
Did you update the rack timeout gem manually?
A PR was merged recently to fix this.

Delete initializers/timeout.rb
In .env rename REQUEST_TIMEOUT to RACK_TIMEOUT_SERVICE_TIMEOUT.

The gem was set to 4 still, so I have gone ahead and done the changes that were in the recent updates - which is working now. I thought this was in the new version?

It was on master, but not included in a proper release.
I'll release a fix today.


Update deps

Coverage increased (+0.2%) to 89.6% when pulling e01976092aea5e90af1f432252e281d43701ad41 on update-deps into 5ea10659638d8c02c42f77ecbe9a511766895b48 on main.


Undefined symbols for Poly1305 (link fails)

...
Undefined symbols for architecture x86_64:
  "poly1305_blocks", referenced from:
      _poly1305_init in libcrypto.a(poly1305-x86_64.o)
     (maybe you meant: _poly1305_blocks)
  "poly1305_emit", referenced from:
      _poly1305_init in libcrypto.a(poly1305-x86_64.o)
     (maybe you meant: _poly1305_emit)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [link_a.darwin] Error 1
make[3]: *** [do_darwin-shared] Error 2
make[2]: *** [libcrypto.1.1.dylib] Error 2
make[1]: *** [shared] Error 2
make: *** [build_crypto] Error 1

I did do git revert  5d1f03f29e2794f6d1642dfedf10fc3e334937d0.

Fixed by a recent commit.


Rename files and folder if title or artist changed

Partly resolved in 1c01152d0eabba9c57087f7b5714dfc7954c5aed.
After partial redownloads are implemented (e.g. the txt changed, but the resources are up to date) we could also implement renaming of existing files.


[CI] Add some basic end-to-end tests

Current Behavior
Currently, there are no automatic tests that help make refactoring safe(r). Testing has to be performed manually.
Desired Behavior
A basic set of simple end-to-end tests that check basic functionality. Initially, the tests are intended to be used only locally, i.e. not as part of the CI pipeline. At first, the tests will not be fully automated, i.e. require some manual setup, e.g. setting up a local cluster.

Resources

https://github.com/bats-core/bats-core - Bats is a TAP-compliant testing framework for Bash. It provides a simple way to verify that the UNIX programs you write behave as expected.
https://github.com/fullstorydev/grpcurl - grpcurl is a command-line tool that lets you interact with gRPC servers. It's basically curl for gRPC servers.

Alternatives / Additional Context
The basic pattern of a test is to install the mesh in the cluster, wait until all pods are ready, install sample applications, wait until all pods are ready, possibly test the sample application, delete the sample application, repeat for all sample applications, and finally delete the mesh.

Expected output of test run:


carbuncle correction is insufficient for strongly-cooling blast waves

The carbuncle correction from Minoshima & Miyoshi (2021) [1] is not sufficient for blasts in strongly-cooling environments. We need to fall back to HLL in directions perpendicular to strong shocks, following Quirk (1994) [2].
[1] https://arxiv.org/abs/2108.04991
[2] https://onlinelibrary.wiley.com/doi/abs/10.1002/fld.1650180603

Discovered in PR https://github.com/BenWibking/quokka/pull/160

This needs to be tested with cloud-in-cell injection of the blast.

The carbuncles are essentially nonexistent if the blast energy is injected into a smoothed kernel of several cells in width.


feat: add skip_black_uploads check to CVBackend.write

This update provides the ability to sparsely overwrite an existing CloudVolume without deleting any data (requires CloudVolume.delete_black_uploads=False). It may provide a slight speedup if sparsely writing to a new CloudVolume (using CloudVolume.delete_black_uploads=True), because it will skip issuing DELETE requests to the storage backend. If this looks good, I'll write tests.

Few things:

Since this requires delete_black_uploads = False, it should check the cv_kwargs to make sure that this flag is set accordingly during construction and raise a ValueError.
Sum might be 0 without the data actually being 0. Very unlikely, but possible for small chunks with +1, 0, -1 or something like that.
This seems like something that should be handled by CloudVolume with a cv_kwarg - CloudVolume already is checking for whether the data is 0, so shouldn't it handle not issuing requests as well?

@supersergiy suggested that if I want control of when to read & write from a layer, I could write my function as an Op (example).


alpine to alpine 3.18.2

┆Issue is synchronized with this Jira Task by Unito

@Sharpz7 I tried to resolve the Synk notifications but they keep coming up.  I think you could change this PR to be alpine:3 if the Synk stuff is to be trusted.

Are you sure we want this. This would mean we had non-repeatable builds, which sounds like it would be an issue.

Technically we would always have this problem as we don't have patch versions in our containers ie alpine:3.1.
I mostly added this to silent the Synk security warnings that were suggesting that we use alpine:3 so we keep up to date and not have to keep updating the alpine version.
There is an issue with this PR so I will have to fix that before we merge this if you think it is a good idea.


Merge PDF page number error

Question:

Page number is not merge, Is there any way to combine the page numbers or customize the page numbers, Thank you very much
Code:
const footerTemplate = `

	/</span

`;

The PDF file format is all about producing the desired visual result for printing. It was not created for parsing the content. PDF files don’t contain a semantic layer.
Specifically, there is no information what the header, footer, page numbers, tables, and paragraphs are. The visual appearence is there and people might find heuristics to make educated guesses, but there is no way of being certain.
This is a shortcoming of the PDF file format.
https://pypdf.readthedocs.io/en/stable/user/extract-text.html#missing-semantic-layer

3 0 obj
<< /Filter /FlateDecode /Length 191 >>
stream
x]��
�@��}�9������& �<
>�VD�J���7�QrHf�/��`��xS0ؑa����uO���g�{��
���H��&֐a���#O8"�`:E��W]7�a����}i |e*)��c6���P� 6H�4[(P�������a�
�bAoë�6�c��G�NMJWܯ�t#���
�\+�h�>>
endstream
endobj
1 0 obj
<< /Type /Page /Parent 2 0 R /Resources 4 0 R /Contents 3 0 R /MediaBox [0 0 595.28 841.89]
>>
endobj
4 0 obj
<< /ProcSet [ /PDF /Text ] /ColorSpace << /Cs1 5 0 R >> /Font << /TT1 6 0 R
>> >>
endobj

I know that Cairo at least supports page labels.  Perhaps pdf-lib does as well?


pull request for e2e test at 12/20/2016 01:15:20

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


The argument is null on the resolver

Describe the bug
The argument is null on the resolver
To Reproduce
I have an ArticleModel like this:

I also have the InputType:

The mutation type:

The resolver:

And my query:

After I executed the query I got the issue with the argument in the resolver, it's null.

Expected behavior
The argument is not null
Environment

ASP.NET Core 3.1
HotChocolate.AspNetCore 10.5.2

Additional context
Other function is working with this way, only this function got issue

Oh sorry, my resolver interface parameter is mismatched with mutation argument name.
Instead of:
Task CreateArticleAsync(ArticleModel model);
The mutation argument name is:

So we should change the parameter to:
Task CreateArticleAsync(ArticleModel criterias);


Hot Install Docker Container

I've followed a tutorial, (I'm very familiar with Docker), and every time I run:
docker ps -l

I don't see the container, after following the directions, any reason why this is? Would it be wise to run:
sudo systemctl restart docker

To see if it fixes this?  Thank you!

Hey @olgabot, no worries! Thank you for replying a I really appreciate it. I am not running the pipeline with nextflow run czbiohub/nf-predictorthologs, is this considered the best practice?


[Request]: network_info_plus: Implement getWifiSubmask() on Windows

Plugin
network_info_plus
Use case
I want to scan all IP addresses in the local network for a local multiplayer game, and this package worked fine under Linux, but on Windows it throws an unimplemented exception for getWifiSubmask().
Proposal
Implement getWifiSubmask() on Windows and/or document for each method on which platforms it's implemented.

Addressed by https://github.com/fluttercommunity/plus_plugins/pull/2666


Add two unit tests for the tensorboard.

It checks the number of scalars should be returned.
testScalars()
testScalarsCsv()

Can one of the admins verify this patch?

@tensorflow-jenkins test this please
Thanks!


Unable to run Spice on Windows using native binaries

Describe the bug
Unable to run Spice on Windows
c:\spice>spice.exe run
Spice.ai runtime starting...
The Spice.ai runtime has not yet been installed.
Checking for latest Spice runtime release...
no releases

To Reproduce
Steps to reproduce the behavior:

Download the latest Spice release binaries for Windows
Run Spice from cmd using spice.exe run
See error

c:\spice>spice.exe run
Spice.ai runtime starting...
The Spice.ai runtime has not yet been installed.
Checking for latest Spice runtime release...
no releases

Expected behavior
Spice runtime is installed and Spice is run
Screenshots

Additional context
If I run spiced.exe manually then I see the following error

Duplicate of #882

Closing as duplicate


unimportant typo

https://github.com/NationalSecurityAgency/ghidra/blob/975db1919c9e13aeb794883f4e93603fc6c0ea7e/Ghidra/Processors/6502/data/languages/6502.slaspec#L74
Pseudo is better

Euclidean Mathematics = 4/Halfway2Family. Echo on 3. National GeoSpatial Anomaly Detection.

grep -irn psuedo * | wc -l

:)  guessing that got entered in the wrong window

Just a note that this particular spelling error happens several times throughout the code base and we should probably fix them all at once.

I'll fix them all.


Stuck outside availabilityWindow after rapid bandwidth drop

Have you read the FAQ and checked for duplicate open issues?: yes
What version of Shaka Player are you using?: 2.4.4 and also latest (2.5.0-beta)
Can you reproduce the issue with our latest release version?: yes
Can you reproduce the issue with the latest code from master?: yes
Are you using the demo app or your own custom app?: custom
If custom app, can you reproduce the issue using our demo app?: yes
What browser and OS are you using?: not related, all of them
What are the manifest and license server URIs?: private, but not relevant
What did you do?
We use Shaka Player for DASH casting on devices similar to Chromecast that are using WiFi. We found that when the connection is not very stable and the DASH segments are larger (4-8s), rapid drop of bandwidth will easily push the currentTime out of the availablityWindow during live playback. After that, the player tries to jump forward (lib/media/playhead.js:onPollWindow_), but the destination where it tries to jump is very close to the edge of the availabilityWindow (exactly: rebufferingGoal + 5 seconds (constant)). We use rebufferingGoal 2 seconds, so that gives the player 7 seconds before it fall out again.
What did you expect to happen?
When the bandwidth gets higher than the bitrate of the stream, it should come back from buffering after a while.
What actually happened?
When the bandwidth is still pretty low, but gets actually higher then the bitrate of the stream, but just slightly, it will never get out of buffering or it will take like 15 minutes, even though the same adaptation set can be played with the same bandwidth with no problems (like using the low bandwidth from the beginning).
We can change the destination of the jump by increasing the rebufferingGoal, but that is not what we want (longer zapping).
Would it be possible to jump further from the availabilityWindow edge or have some settings parameter for it?
Thank you very much.
Best regards,
Tomas

Thanks for the report.  I think it should be fairly easy to add a setting for this, so that you can jump further ahead, either in all cases or by configuring this only on platforms that need it.
I'm putting the "help wanted" label on it to signal that we'd be very happy to take a PR for this.  If you decide to work on a PR, this setting should go in shaka.extern.StreamingConfiguration in externs/shaka/player.js.  Be sure to add it both to the @property docs and the @typedef.  We used to have a linter that looked out for this, but it's currently broken.  Thanks!


You shouldn't have to specify a base fee in the lab

Currently in tx builder you are required to specify a fee when you create a transaction (rather than using a default, such as the min fee). You shouldn't have to enter this unless you want to.

Hey @morleyzhi, is this because we upgraded the JS library for the lab? I didn't see a specific PR for this.

I've looked into this briefly, there are some refactors that need to be done to support this. Transactions are built in TxBuilderResult's render method using the Libify.buildTransaction helper. The helper needs to be changed to return a promise, and the actual generation needs to be treated as async (with loading state, final results, and any errors being kept in state).


Multi Dimensional Arrays in Typescript

For a given schema
enum Player {
    NAUGHT
    CROSS
}

type GridItem {
    id: ID!
    player: Player
}

type Grid {
    id: ID!
    gridItems: [[GridItem!]!]!
    currentPlayer: Player!
    winner: Player
    isFinished: Boolean!
}

The following types are generated
export interface Grid {
    id: string;
    gridItems: GridItem[];
    currentPlayer: Player;
    winner?: Player | null;
    isFinished: boolean;
}

export interface GridItem {
    id: string;
    player?: Player | null;
}

export enum Player {
    NAUGHT = "NAUGHT",
    CROSS = "CROSS"
}

Notice how Grid.gridItems is a 2d array in the schema but 1d in the types.

@mattcroberts thanks for reporting it! it's definitely a bug. Will try to fix soon :)

Has there been any movement on this? I've run into this and my types are auto-generated from my GraphQL files... its quite an issue because its hard to split out that type temporarily because they're all connected in my GraphQL schema and if I manually change them to make them correct, they'll still be over-written each time I generate new types.

Great to hear @dotansimha ! Much thanks 🙂


Unity 5 - RuntimeInitializeOnLoadMethodAttribute

Hey there
Just a heads up, Unity 5 has added a new attribute RuntimeInitializeOnLoadMethodAttribute which allows you to have a main entry point into the game.
Possibly a good place to initialize the global composition root in Unity 5?

Yeah this could work nicely.  That might allow for Zenject to properly inject all game objects in the scene before the Awake event occurs (currently there's no guarantee of this).  Thanks for the heads up.

I have been experimenting with this new RuntimeInitializeOnLoadMethodAttribute and due to what I can only believe is a bug in its implementation have found that it is somewhat useless since it is executed AFTER all the objects in the scene have awoken with Awake().
I have reported this as a bug with the Unity bug tracker.
Another developer has reported this via the Unity feedback website:
http://feedback.unity3d.com/suggestions/runtimeinitializeonloadmethod-called-too-late
I will post back here if they decide to fix this :)

VIRAF says they will be adding it in version 5.2 of Unity.
In Unity 5.2 we are extending it by adding a new constructor

RuntimeInitializeOnLoadMethodAttribute(RuntimeInitializeLoadType loadType)

and

enum RuntimeInitializeLoadType
{
AfterSceneLoad = 0,
BeforeSceneLoad
}

@svermeulen What I mean is, the "Before" Awake implementation has been added.

here is the actual doc for how to use that: http://docs.unity3d.com/ScriptReference/RuntimeInitializeOnLoadMethodAttribute-ctor.html
looks like a great way to relieably inject and still allow awake to be used

I looked into this some more.  I confirmed that it does get triggered before Awake, which is good, but this only happens once on startup.  When you change scenes, it doesn't get called.  So if we were considering using this to initialize the SceneCompositionRoot, we'd have to figure out some other way to hook into scene changes, so we can initialize before Awake in those cases as well.  I also looked at the OnLevelWasLoaded but that seems to get called after awake.  In other words, there's a main entry point before Awake but there doesn't appear to be a scene entry point before Awake.
BUT we can at least use this for the global composition root so I'll take a look at that.

maybe we have some way in unity 5.4:
https://unity3d.com/unity/beta
"Scene Management: Added events onSceneLoaded, onSceneUnloaded, onActiveSceneChanged to SceneManager"

That's a good thought but apparently onActiveSceneChanged and onSceneLoaded both also occur after Awake (tested it just now)

Ok I've changed GlobalCompositionRoot to use [RuntimeInitializeOnLoadMethod].  Thanks for the suggestions on this, it seems to work well.  One interesting result of this is that it will be run regardless of whether you are using SceneCompositionRoot in any of your scenes.
@Extrawurst I also wanted to mention that as long as you have your script execution order set properly, you will be guaranteed to have Zenject run its Awake first, so you can have MonoBehaviours that do stuff in Awake and also rely on Zenject.
But it would still be nice if we could somehow execute scene installers before awake - that would open up some interesting design choices.  I'll keep an eye out for new Unity releases to see if they do add something like that.  They seemed to almost add that with OnLevelWasLoaded so maybe they will at some point.


XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file.

Doctrine is affected by PHP bug #62577. simplexml_load_file is not
able to load files if libxml_disable_entity_loader(true) has been
called. simplexml_load_file fails with the message:
I/O warning : failed to load external entity "/my/mappings/my_entity.dcm.xml"
in /path-to/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php on line 711
This error occurs even if there are no external entities in the XML file.
Waiting for the PHP bug to be resolved is infeasible, because it is
unresolved since years. Therefore Doctrine needs to circumvent the bug
by replacing simplexml_load_file with simplexml_load_string while getting
the file contents itself. simplexml_load_string is not affected by the
PHP bug.

This would solve #3788 .

Merged, thanks @apapsch!
master: doctrine/doctrine2@a426808a16dc7cfacea0e83587a4e71e6a5d1af0
2.5: doctrine/doctrine2@fb7b78c0048e570b3b671ef2342ff9aeb27e6ae7


Make sure all noarch packages are built

If we don't include this, all the noarch packages with different platform names aren't uploaded.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_4fomolurx9/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:0: no_global_test: Global tests are ignored in multi-output recipes.
clone/recipe/meta.yaml:114: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:114: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:1: missing_tests: output "cuda-cccl": No tests were found.
clone/recipe/meta.yaml:51: outputs_not_unique: output "cuda-cccl": Output name is not unique
clone/recipe/meta.yaml:114: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
4 Errors and 2 Warnings were found


Add unit tests where very large energies are inf

We should be sure that the current code gracefully handles inf energies that may occur when the configurations from one state are evaluated at other states.
Adding some unit tests in which this occurs with harmonic oscillators with single-precision floating point would be very helpful to make sure there are no issues with the current code.

cc: https://github.com/choderalab/pymbar-examples/issues/22


Replay mod?

The original Immersive Portals is incompatible with replay mod due to changes in how chunks and entities are saved or rendered. Is this mod compatible with replay?

It should boot up at least. But due to the way immersive cursedness works it won't look right on the replay. The nether only looks correct from the players point of view. There's no way to resolve this it's just how immersive cursedness functions.


Lag Fixed In Heroku

How does it fixes lag?

How does it fixes lag?

Lol this is stable version of pytgcalls

How does it fixes lag?

Lol this is stable version of pytgcalls

u need to open your eyes and check stable version of py-tgcalls it doesnt make any sense to lag free in heroku if it is lag on heroku it means heroku servers are bad


No job logs

I'm running a very current build (d32d0d9a352fa70cb2cb6b27faf01239520dd6c1) and have noticed that job logs no longer show up in Azkaban.  All the jobs I've looked at so far have been pig jobs, and in every case, where I used to see hundreds of lines detailing the execution, now I get nothing.
If it matters, I'm running against AWS EMR-5.2.0 (Hadoop 2.7.1, Pig-0.16, and Tez-0.8.4).

Hrm, it occurs to me I should also mention I'm configured in multi-executor mode.  For simplicity in testing I have only a single executor active.

Please take a look at the azkaban executor logs, and let me know if you find something.

Amazing.  I restarted the executor and now it's working.  I love it when the devs can even fix systems to which they don't have access!


Issue for Rails delayed_job + SQL server

I am trying to download jobs in local tmp directory. If we use mysql server working fine. but why sql sever not working delayed job ... Even not able to fined any logs or errors
databoard controller
def call_csv
#job = ProjectJob.new(options).delay.perform
job = Delayed::Job.enqueue(ProjectJob.new(options))
flash[:notice] = "Your Report Download Request has been taken. Please check - My Downloads"
redirect_to :back
end
apps/jobs/project_job.rb
class ProjectJob < Struct.new(:options)
p ">>>>>>>>>>> ProjectJob"
def perform
file_name = options[:file_name]
require 'csv'
dir = "#{Rails.root}/tmp"
Dir.mkdir(dir) unless File.exists? dir
file = "#{Rails.root}/tmp/#{file_name}.csv"
CSV.open(file, "w") do |csv|
.....
end
puts "Job end... #{column_type}"
$is_completed = true
end
end
def after(job)
puts "Job completed... #{$is_completed}"
if $is_completed
p "job completed........."
$is_completed = nil
end
end
handle_asynchronously :perform
end
database.yml
development:
adapter: sqlserver
host: localhost
port: 15551
username:
password: xxx
database: timeout: 0
Please let me know if any configuration required for sqlserver database  or is it support sqlserver database with delayed job?

I suspect you did not restart one of the processes after changing the db config or are running the process against the wrong environment. All logs are written to the standard logs unless you use bin/delayed_job (start|run) for which the DJ process logs are written to logs/delayed_job.log

@pvijayror Is this still an issue?

Closing stale


fix: Adjust status details style in API Response view

Description

status details in section in the API Response view needs Adjustment

Fixes #10959
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Create a GET Request
Check the status details.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/status-code-style-adjustment

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
55.53 (0)
36.99 (0)
35.73 (-0.02)
55.86 (-0.01)

:red_circle:
app/client/src/components/editorComponents/ApiResponseView.tsx
50.57 (-5.84)
34.88 (-3.58)
0 (0)
51.16 (-5.25)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

@danieldare Looks like this is hiding the right side pane that shows available datasources and connected entities for the 200 scenario. Also, is it possible to modify this logic to only hide the status code if there is a possible overlap?

/ok-to-test sha=db619aa

Please resolve all failing tests.

/ok-to-test sha=b38d4dc


Validate all images are actually images during the tests

We could do a HEAD request to all image URL's to ensure the mimeType returned is actually an image.
This would prevent things like #430 where the URL added didn't actually point to an image 👍
Existing tests: https://github.com/electron/electron-apps/blob/master/test/human-data.js#L100

Yeah I had a similar thought a while back: https://github.com/electron/electron-apps/issues/88
We'd need to make sure this check only happens on newly-added (or newly updated) apps, so as to avoid making a jillion network requests. :)

مشكرين. .


Update documentations for body tracking SDK 0.9.4

@yijiew : Thanks for your contribution! The author(s) have been notified to review your proposed change.


”Poian” is listed in the drop-down menu

Description:
"Poian" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Poian" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Poian, COVASNA".


Cancel all doesn't work on Delayed jobs

When clicking "Cancel all" on the delayed section for a queue, nothing happens.
The jobs in question are not repeating, only delayed.

It got solved in bullmq 4.11.1, can you test it?


Question: Sensor for Energy Dashboard

Hi
I might just be blind or something, but which sensor should I use to add eforsyning to the Home Assistant energy dashboard?

I would probably use the "eforsyning.energy_total_used" sensor for this purpose.  It contains the total consumption since the start of the payment year.  The sensor "eforsyning.energy_used" coudl be another candidate as it contains the current day (well yesterday) consumption.
I am not using the energy dashboard myself because I put everything in InfluxDB and graph it with Grafana

Thanks for the answer.
My energy_total_used is always 0.

The energy_used which has a daily energy usage is missing a "last_reset" attribute to be usable for the energy dashboard.

Oh well... energy dashboard doesnt support historical values atm anyways.


WINOBJC_SDK_ROOT and MaxClangProcesses is not set when manually adding starboard.targets to an existing project

I tried adding Objective-C code to an existing Universal Application C++ project following the instructions on the wiki. I ran into two issues: first, I had to manually add WINOBJC_SDK_ROOT by editing the project file by hand, and after that I got this error when trying to build:
1>------ Build started: Project: FourPicsSolver, Configuration: Debug Win32 ------
1>P:\prog\winobjc\msvc\sbclang.targets(171,12): error MSB4086: A numeric comparison was attempted on "%(ClangCompile.MaxClangProcesses)" that evaluates to "" instead of a number, in condition "'@(ClangCompile)' != '' and ('%(ClangCompile.MaxClangProcesses)' < '-1' or '%(ClangCompile.MaxClangProcesses)' == '0')".
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

@zhuowei What happens if you follow the wiki and do not define WINOBJC_SDK_ROOT?

@zhuowei Closing issue for now. Please reopen if the issue persists and you can provide more details on a repro case.


CLD-8575: Force aws credentials refresh before they expire

Summary
The current Minio behavior of the Get function is that if you attempt to use an expired credential, the first Get call will return an error because the cached credentials are still technically expired. The credentials will only be refreshed after subsequent calls.
To avoid errors in Mattermost in this PR we will proactively force a refresh before using the credentials.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/CLD-8575

The current Minio behavior of the Get function is that if you attempt to use an expired credential, the first Get call will return an error because the cached credentials are still technically expired.

I am not sure I understand. This is the implementation of Get
func (c *Credentials) Get() (Value, error) {
	if c == nil {
		return Value{}, nil
	}

	c.Lock()
	defer c.Unlock()

	if c.isExpired() {
		creds, err := c.provider.Retrieve()
		if err != nil {
			return Value{}, err
		}
		c.creds = creds
		c.forceRefresh = false
	}

	return c.creds, nil
}

So if the creds are expired, we call Retrieve to refresh the credentials. And you are essentially doing the same thing by calling isExpired() and then manually calling Expire() which will just set forceRefresh to true.
Can you clarify?

The current Minio behavior of the Get function is that if you attempt to use an expired credential, the first Get call will return an error because the cached credentials are still technically expired.

I am not sure I understand. This is the implementation of Get
func (c *Credentials) Get() (Value, error) {
	if c == nil {
		return Value{}, nil
	}

	c.Lock()
	defer c.Unlock()

	if c.isExpired() {
		creds, err := c.provider.Retrieve()
		if err != nil {
			return Value{}, err
		}
		c.creds = creds
		c.forceRefresh = false
	}

	return c.creds, nil
}

So if the creds are expired, we call Retrieve to refresh the credentials. And you are essentially doing the same thing by calling isExpired() and then manually calling Expire() which will just set forceRefresh to true.
Can you clarify?

 I got confused and thought it'd try at least once with expired credentials. I'm still investigating a behavior where I'm getting an error after credentials expire unable to access s3. I can see the POST request in the bifrost logs but sill getting errors in mattermost to do write operations. After restarting bifrost pods it works again. I'll close this PR and open a new one if needed. Thanks @agnivade

Happy to take a look at the full logs from bifrost and Mattermost. Or if you want to investigate this some more by yourself, that's fine as well!

Happy to take a look at the full logs from bifrost and Mattermost. Or if you want to investigate this some more by yourself, that's fine as well!

Thanks @agnivade I'll create a separate environment to replicate the issue and try to do a deeper investigation. I'll ping you to share the results.


ocpp library as an event based message handler #168

Work in progress related to issue #168.
This change adds a new Router base class that contains message routing functionality and modifies it to allow stateless and event based message handling. ChargePoint inherits this new base class and works unchanged providing a way to implement stateful bundled (i.e. both action handlers and websocket connection must be within ChargePoint class) message handler.
A new Router subclass in asgi_routing.py implements ASGI interface and enables decoupling action handlers from websocket connection.

Thanks for your effort! By using type hints and creating interfaces you made this PR easy to read. Also the examples are helpful to express your ideas. IMHO this PR is much better in transferring your ideas than  work in https://github.com/villekr/ocpp-serverless-example.
I'm still trying to understand everything, but I can already share some first thoughts.
I'm not sure if I like the stateless example. For two reasons. First the handler is not stateless as it receives a reference to the ChargePoint instance via self. Second the signature of the method decorated by @on() changes completely. The @on() decorator can now be used on 2 total different types. I think that would be very confusing for users of this library. Support for stateless routing should be more explicit.
I'm also not sure about adding an optional Context attribute to all several of the method on Router like route_message() and call(). I'm not sure if we should 'pollute' the API that works for most use case  with arguments to support a rather specific use case. Maybe this can be avoided by creating a subclass of Router and add these modification. While leaving the current implementation (nearly) untouched.
Although it sometimes takes some time before I respond I really appreciate your effort!

Thanks for your effort! By using type hints and creating interfaces you made this PR easy to read. Also the examples are helpful to express your ideas. IMHO this PR is much better in transferring your ideas than  work in https://github.com/villekr/ocpp-serverless-example.
I'm still trying to understand everything, but I can already share some first thoughts.
I'm not sure if I like the stateless example. For two reasons. First the handler is not stateless as it receives a reference to the ChargePoint instance via self. Second the signature of the method decorated by @on() changes completely. The @on() decorator can now be used on 2 total different types. I think that would be very confusing for users of this library. Support for stateless routing should be more explicit.
I'm also not sure about adding an optional Context attribute to all several of the method on Router like route_message() and call(). I'm not sure if we should 'pollute' the API that works for most use case  with arguments to support a rather specific use case. Maybe this can be avoided by creating a subclass of Router and add these modification. While leaving the current implementation (nearly) untouched.
Although it sometimes takes some time before I respond I really appreciate your effort!

Thanks for checking out and giving feedback for this work in progress version. For stateless routing I think it's unavoidable that @on() and @after() signatures have to be changed as compared to current ones and that's of course unfortunate. In stateless example ChargePoint instance is not involved but Router base class is, which has still few member attributes defined. So in that sense yes, it's not as stateless as I'd like it to be.
This draft manages to maintain backwards compatibility both for ASGI stateful and ChargePoint usage. However, it hangs on how ChargePoint is implemented. So in many ways it would propably lead to more understandable interface to just break backwards compatibility when using ASGI interface and keep ChargePoint usage as is.

Thanks for checking out and giving feedback for this work in progress version. For stateless routing I think it's unavoidable that @on() and @after() signatures have to be changed as compared to current ones and that's of course unfortunate. In stateless example ChargePoint instance is not involved but Router base class is, which has still few member attributes defined. So in that sense yes, it's not as stateless as I'd like it to be.
This draft manages to maintain backwards compatibility both for ASGI stateful and ChargePoint usage. However, it hangs on how ChargePoint is implemented. So in many ways it would propably lead to more understandable interface to just break backwards compatibility when using ASGI interface and keep ChargePoint usage as is.


Remove text that was causing loc issues

Fixes https://github.com/dotnet/docs.pl-pl/issues/206

Because zero isn't zero seconds, it's a number that gets interpreted to mean "use the default", which is 300 seconds.

Oops, this should be reverted. The base branch was live.

Oops, this should be reverted. The base branch was live.

Or just cherry-pick it into master.


Create New Abstract Classes

Look at creating Abstract Class files for the following:

Game Over screens (Win Fight, Win Friend, Lose)
Dialogue Box, Quest Box, Yes/No Prompt box

We have already finished the Game-Over Screens, no need to do those again. Pull from Nick's branch to get that part of the code!


Terraform instead AWS Cloud Formation

Describe the issue
We need to deploy the silviculture app clone resources in AWS automatically
Which Sprint Priority is this issue related to?
Milestone 1. automated team access
Additional context
We may need higher privileges in Terraform
We may need to connect to AWS with certain higher privileges
Definition of done

A working set of scripts in Terraform Cloud that deploys an empty set of AWS resources that we can manually dump a copy of Silviculture without any data to see if it runs

We got the permissions and got a working TF deployment example with our IBM sample area.
The AWS accounts had some issues with permissions that were sorted out near end of sprint and this allowed us to start connecting TF to AWS.  We are currently working on our demo TF.  Will likely need more time.


Information on the display that is used.

Great project! Saw it on hackernews, really liked it! Can you link the display that you used?

Driver: ST7789 Interface: SPI Display color: RGB, 65K color Resolution: 240x240 Backlight: LED Operating voltage: 3.3V

According to the hackernews comments.


Zone resolution issue due to upper/lower case letters in zone name

Zone creation APIs on UAA allow the user to create zone names which are case aware. During our integration testing, we ended up with zone names such as: 	test-zone-cDONUg or test-zone-QHau0w. The zones are created fine but when access via browser or UAAC throw 404.
The problem is in the, IdentityZoneResolvingFilter and the way case works for URLs. It turns out the domain part of a url is case insensitive. Hence the subdomain(zone name) part of the URL reaches the IdentityZoneResolvingFilter as "test-zone-cdonug". In the private method getSubdomain of this class, the subdomain is returned with subdomain in lower case as a result of which, the call to database: "dao.retrieveBySubdomain(subdomain)" returns EmptyResultDataAccessException.
I would suggest converting the zone name to lower case always before storing and during lookups. Also the docs will need to be updated to mention that zone names are case insensitive. I would be happy to submit a PR if you agree with the issue & proposed solution.
As a side note, IdentityZoneResolvingFilter could use extra logging, EmptyResultDataAccessException is actually consumed without any log statement.

@vbanga we'll be happy to accept a PR with this fix.
Thanks

https://github.com/cloudfoundry/uaa/commit/d8be1f8ae5618cb345541ca2ba1d813ec17b533c

Closing as fixed


Sensor status is never published via MQTT if board starts and MQTT server is not available during startup

A provisioned board starts and correctly connects to WiFi when the MQTT server is not available.
The board continuously shows the message "gn_main: grownode startup sequence code: 4" and periodically also some MQTT errors.
This behavior is ok and expected.
At a certain point the MQTT server becomes available.
The board subscribes to "general" topics but it never starts sending sensor status and keeps showing the aforementioned message, and no MQTT errors.
Example of output after MQTT server comes back online:
I (58451) gn_main: grownode startup sequence code: 4
I (59451) gn_main: grownode startup sequence code: 4
D (60131) gn_mqtt_protocol: Event dispatched from event loop base=MQTT_EVENTS, event_id=7
D (60131) gn_mqtt_protocol: Other event id:7
D (60291) gn_mqtt_protocol: Event dispatched from event loop base=MQTT_EVENTS, event_id=1
D (60291) gn_mqtt_protocol: MQTT_EVENT_CONNECTED
D (60291) gn_mqtt_protocol: subscribing default topic /grownode/test/cmd, msg_id=61933
D (60301) gn_mqtt_protocol: sent publish successful, msg_id=0, topic=/grownode/test/sts, payload={"msgtype":"online"}
D (60311) gn_mqtt_protocol: Event dispatched from event loop base=MQTT_EVENTS, event_id=3
D (60321) gn_mqtt_protocol: MQTT_EVENT_SUBSCRIBED, msg_id=61933
I (60451) gn_main: grownode startup sequence code: 4
I (61451) gn_main: grownode startup sequence code: 4
I (62451) gn_main: grownode startup sequence code: 4
I (63451) gn_main: grownode startup sequence code: 4
I (64451) gn_main: grownode startup sequence code: 4
I (65451) gn_main: grownode startup sequence code: 4
I (66451) gn_main: grownode startup sequence code: 4
I (67451) gn_main: grownode startup sequence code: 4
I (68451) gn_main: grownode startup sequence code: 4
I (69451) gn_main: grownode startup sequence code: 4
I (70451) gn_main: grownode startup sequence code: 4
I (71451) gn_main: grownode startup sequence code: 4
I (72451) gn_main: grownode startup sequence code: 4
I (73451) gn_main: grownode startup sequence code: 4
I (74451) gn_main: grownode startup sequence code: 4
I (75451) gn_main: grownode startup sequence code: 4
I (76451) gn_main: grownode startup sequence code: 4
I (77451) gn_main: grownode startup sequence code: 4
I (78451) gn_main: grownode startup sequence code: 4
I (79451) gn_main: grownode startup sequence code: 4
I (80451) gn_main: grownode startup sequence code: 4
I (81451) gn_main: grownode startup sequence code: 4
I (82451) gn_main: grownode startup sequence code: 4
I (83451) gn_main: grownode startup sequence code: 4
I (84451) gn_main: grownode startup sequence code: 4
I (85451) gn_main: grownode startup sequence code: 4
I (86451) gn_main: grownode startup sequence code: 4
I (87451) gn_main: grownode startup sequence code: 4
I (88451) gn_main: grownode startup sequence code: 4
I (89451) gn_main: grownode startup sequence code: 4

solved in commit 9f8167a7f5da3de2f75f0347a77d90729f26beec


Bultin functions

Adds the capability of having builtin functions in the Titan runtime that are callable directly from Titan code, and defines a few builtins available to all Titan modules (such as print).
The idea is to use builtin functions for standard library functions that need to access Titan's Lua state, and for functions that do not need to access the Lua state but where it is incovenient or impossible to define the function by a combination of Titan code plus FFI calls.
These builtin functions have the Titan calling convention, apart from the addition of variadic arguments, encoded as an int parameter that takes the size of the variadic argument list, and a standard C variadic parameter.
The C name of a builtin function is always titan_<name> for the builtins that are not part of any module, such as print and tostring, and titan_<mangled_fqtn> for builtins declared in as part of a module, where mangled_fqtn is the fully-qualified name of the function with all dashes and dots replaced by underscores.

Codecov Report

Merging #232 into master will increase coverage by 0.18%.
The diff coverage is 92.81%.

Impacted Files
Coverage Δ

titan-compiler/lexer.lua
100% <100%> (ø)
:arrow_up:

titan-compiler/syntax_errors.lua
100% <100%> (ø)
:arrow_up:

titan-compiler/driver.lua
81.71% <100%> (+2.19%)
:arrow_up:

titan-compiler/ast.lua
100% <100%> (ø)
:arrow_up:

titan-compiler/parser.lua
96.42% <100%> (+0.1%)
:arrow_up:

titan-compiler/checker.lua
89.6% <84.48%> (+0.24%)
:arrow_up:

titan-compiler/types.lua
86.73% <94.11%> (+0.32%)
:arrow_up:

titan-compiler/coder.lua
96.41% <97.72%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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


”Vutcani”, ”Mălăiești”, ”Poșta Elan” are listed in the drop-down menu

Description:
When user writes ”Vutcani”, ”Mălăiești”, ”Poșta Elan” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Vutcani"

Expected results
The location appears in the drop-down menu as "Sat Vutcani, VASLUI (Vutcani)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Mălăiești"

Expected results
The location appears in the drop-down menu as "Sat Mălăiești, VASLUI (Vutcani)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Poșta Elan"

Expected results
The location appears in the drop-down menu as "Sat Poșta Elan, VASLUI (Vutcani)".


Namespace update should trigger the release delete & create

Hi!
Thank you for this project. The provider looks interesting, so I wanted to try it, but found an issue with some field updates.
Currently if the field namespace is changed in the Terraform configuration, the provider shows that it could be updated:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  ~ helmcmd_release.overprovisioning
      namespace: "overprovisioning" => "default"

Plan: 0 to add, 1 to change, 0 to destroy.

It even tries to apply this change by running helm with a new namespace. However, it doen't take any effect because helm still uses the old one:
2018-09-21T17:07:42.623+0200 [DEBUG] plugin.terraform-provider-helmcmd: WARNING: Namespace "default" doesn't match with previous. Release will be deployed to overprovisioning

We get a situation when terraform successfully applies the change, but the state is not changed, so it shows the update in-place every time we run  terraform plan or terraform apply.
I guess, the expected behavior would be if the provider treats namespace as "not-updatable", so it will delete a release and create a new one.

Thanks for bringing this up, I'll take care of it.
On Fri, Sep 21, 2018, 9:18 AM Mikhail Zholobov<EMAIL_ADDRESS>wrote:

Hi!
Thank you for this project. The provider looks interesting, so I wanted to
try it, but found an issue with some field updates.
Currently if the field namespace is changed in the Terraform
configuration, the provider shows that it could be updated:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
~ helmcmd_release.overprovisioning
namespace: "overprovisioning" => "default"
Plan: 0 to add, 1 to change, 0 to destroy.
It even tries to apply this change by running helm with a new namespace.
However, it doen't take any effect because helm still uses the old one:
2018-09-21T17:07:42.623+0200 [DEBUG] plugin.terraform-provider-helmcmd: WARNING: Namespace "default" doesn't match with previous. Release will be deployed to overprovisioning
We get a situation when terraform successfully applies the change, but the
state is not changed, so it shows the update in-place every time we run terraform
plan or terraform apply.
I guess, the expected behavior would be if the provider treats namespace
as "not-updatable", so it will delete a release and create a new one.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/djhaskin987/terraform-provider-helmcmd/issues/6, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABIa5our6LXscqTig8zP-1v3VrJf1QLZks5udQNdgaJpZM4W0X0o
.

Done, take it for a spin and let me know if you have problems: https://github.com/djhaskin987/terraform-provider-helmcmd/releases/tag/v0.4.0

@djhaskin987 Yes, the issue looks fixed now. Thank you so much for a quick fix! 👍


Fix filesystem corruption

LittleFS bindings reported too big lookahead cache size which resulted
in corrupting adjacent structures (read and prog buffer), which in turn
resulted in filesystem corruption either by reallocating an already
allocated causing cycle or by corrupting data before writing it to disk.
Fixes: https://github.com/nickray/littlefs2/issues/16

Hi @arturkow2000 !
Thank you for the fix! It fixes the FS corruption I encountered too.
Hi @nickray,
Please, merge the fix, thank you!

@nickray are you still maintaining this? Not to hassle you but this seems like a fairly critical issue. Perhaps it might be helpful to add more maintainers if you don't have much time at the moment?

Note that this change also requires a change to the ram_storage and const_ram_storage macros:  As the lookahead size has to be a multiple of 8, LOOKAHEADWORDS_SIZE must be at least 2.
https://github.com/littlefs-project/littlefs/blob/6a53d76e90af33f0656333c1db09bd337fa75d23/lfs.h#L226-L230
https://github.com/Nitrokey/littlefs2/pull/1
I’m not sure where the factor 4 comes from here.  Wouldn’t it make more sense to use 8 directly?

I’m not sure where the factor 4 comes from here. Wouldn’t it make more sense to use 8 directly?

Ah, figured it out:  The lookahead buffer uses u32, not u64.  So the factor is 32 / 8 = 4.
In the future, we should change that so that users cannot specify invalid lookahead sizes.

@nickray are you still maintaining this? Not to hassle you but this seems like a fairly critical issue. Perhaps it might be helpful to add more maintainers if you don't have much time at the moment?

These littlefs bindings are now moved under the Trussed org, where Nitrokey can co-maintain.

Included in https://github.com/trussed-dev/littlefs2/pull/24.


🔴 Ecosystem Project Idea: ATST Indexer

What is an Ecosystem Project Idea?
An Ecosystem Project Idea is an idea for a project that someone could build within the Optimism ecosystem. As opposed to an Ecosystem Concept or an Ecosystem Idea, an Ecosystem Project is generally more fleshed out and corresponds to a relatively clear product to be built.

Summary
The AttestationStation is a central repository for attestations on OP Mainnet. One of the primary challenges facing the AttestationStation today is that complex queries against the AttestationStation can be hard to execute. Developers are looking for easy, scalable ways to index the AttestationStation so that they can cheaply query the graph of attestations. The ideal AttestationStation indexer is efficient, easy to run, robust, and provides easy querying access to the full graph of attestations.
Possible Features

Allow developers to easily run the indexer.
Allow developers to quickly query the ATST graph.

Hi, do we already have it in the new AttestationStation V1
https://github.com/ethereum-attestation-service/easter-indexer-v2
Also, I would like to expand it to support integration with our ENS-compatible resolver system specially designed to integrate with EAS.
Submitted a grant proposal to grant council RFP-1: https://op-grants.charmverse.io/proposals?id=4e2eefd3-8902-4a9d-b6cc-3f343112a7fe

Also you should update your AttestationStation link to https://community.optimism.io/docs/identity/build/ as the old one result in 404 not found


[OTHER] [Playwright Tests] Page Object Model, beforeEach hook - small code refactor

automation best practices
@Cahllagerfeld : what do you think about introducing some best automation practices like:

arrange/act/assert pattern,
beforeEach,
page object model
to the test solution? It would result in less code repeats (DRY) and better code maintenance.

Can you explain what I have to done in this issue


Control with one button

Add this option to the main project if you want
https://github.com/Antikillerbm/esp32-motorized-roller-blinds

Hi,
Your changes currently remove possibility to control blinds with up/down switch.
I'll gladly accept your changes once you'll implement them as separate option, not removing current options.
Thanks.

Now you can select by defining the parameter

Can you create pull request from your fork please?
It's better to discuss changes there.


How to create two lines Inside the circle Progress Bar?

Hi,
How to create two lines inside circle progress Bar.
For Example first line contain one string and other lines contain other string.
Is it possible?

Hi @miskeen110,
I believe you can easily achieve it using \n symbol for line break in text. For example:
[_circleProgressBar setHintTextGenerationBlock:^NSString *(CGFloat progress) {
  return [NSString stringWithFormat:@"Progress: %.0f \nMore Text", progress * 255];
}];

will result in something like:
Progress 39%
More Text

If you want to use different text style for 1st and 2nd line - I would suggest you to use setHintAttributedGenerationBlock with AttributedString instead.
Does it solves your problem?
Thanks!


File not found: userthemes.cache.php

Hey,
After I installed the plugins, I started getting some weird file not found errors, when the Monarch Social Sharing plugin displays the sharing buttons.
Warning:  require(/home/andorn5/public_html/webdesignerhut.com/wp-content/plugins/enlighter/cache/userthemes.cache.php): failed to open stream: No such file or directory in /home/andorn5/public_html/webdesignerhut.com/wp-content/plugins/enlighter/class/ObjectCache.php on line 59
Fatal error:  require(): Failed opening required '/home/andorn5/public_html/webdesignerhut.com/wp-content/plugins/enlighter/cache/userthemes.cache.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/andorn5/public_html/webdesignerhut.com/wp-content/plugins/enlighter/class/ObjectCache.php on line 59
I assume this could be some weird caching issue or something.
Additional Information:

Latest Version of WordPress
W3 Total Cache Version <IP_ADDRESS>

with page cache and minification ( manual )enabled.

Dear Andor,
this error is very very strange, because the Enlighter plugin performs a check before including the cache file:
lines 57..62:
public function load(){
	if (is_file($this->_filename) && is_readable($this->_filename)){
		$this->_storage = require($this->_filename); // line which throws your error
		$this->_dataAvailable = true;
	}
}

does the error only occur whem the "Monarch Social Sharing plugin" is activated ?
is the file enlighter/cache/userthemes.cache.php available within your webspace ? maybe you can try to set it's chmod to 0770

Hey Andi,
Yes, it appears where Monarch should display share counts. Althou, it only appears from time to time. Not always.
Where can I set the chmod?

you can set chmod permissions with your ftp program or via ssh.
does it also occurs when W3 total cache is disabled ?
my current problem is that i cannot reproduce the error, because the Monarch plugin seems to be a paid plugin, right ?
i will try to change the caching mechanism with the next release using the WordPress Transient API to avoid such issues... but currently i'm not sure whats going wrong

I haven't tried, but I'll and let you know. And the file, enlighter/cache/userthemes.cache.php for some reason, doesn't exists on my live site, but on my local one it does.
And yes, Monarch is a pay plugin.

i've pushed the latest dev version (2.12-beta) to the GitHub master branch. the ObjectCache has been replaced by the transient api - maybe this works in your case

Hey
Sorry for the late reply, I tested the new vresion,a nd it gives me the
following error, and breaking the admin area:
Warning: file_put_contents(/home/andorn5/public_html/
webdesignerhut.com/wp-content/plugins/WordPress.Enlighter-master/cache/TinyMCE.css):
failed to open stream: No such file or directory in
/home/andorn5/public_html/webdesignerhut.com/wp-content/plugins/WordPress.Enlighter-master/class/TinyMCE.php
http://webdesignerhut.com/wp-content/plugins/WordPress.Enlighter-master/class/TinyMCE.php
on
line 189
On Tue, Feb 9, 2016 at 1:17 AM, Andi Dittrich<EMAIL_ADDRESS>wrote:

i've pushed the latest dev version (2.12-beta) to the GitHub master
branch. the ObjectCache has been replaced by the transient api - maybe this
works in your case
—
Reply to this email directly or view it on GitHub
https://github.com/AndiDittrich/WordPress.Enlighter/issues/28#issuecomment-181616004
.

Hey
Sorry for the late reply, I tested the new vresion,a nd it gives me the
following error, and breaking the admin area:
Warning: file_put_contents(/home/andorn5/public_html/
webdesignerhut.com/wp-content/plugins/enlighter/cache/TinyMCE.css): failed
to open stream: No such file or directory
in*/home/andorn5/public_html/webdesignerhut.com/wp-content/plugins/enlighter/class/TinyMCE.php
http://webdesignerhut.com/wp-content/plugins/enlighter/class/TinyMCE.php* on
line 189
On Tue, Feb 9, 2016 at 1:17 AM, Andi Dittrich<EMAIL_ADDRESS>wrote:

i've pushed the latest dev version (2.12-beta) to the GitHub master
branch. the ObjectCache has been replaced by the transient api - maybe this
works in your case
—
Reply to this email directly or view it on GitHub
https://github.com/AndiDittrich/WordPress.Enlighter/issues/28#issuecomment-181616004
.

Hi,
it was my mistake - i've didn't added any file to the cache directory, therefore it was not under version control and not pushed to GitHub. i have just added an empty file to the directory.
your last error was caused by this missing directory - the plugin tried to write the cache file into it.
this only affects the GitHub releases, not the WordPress Repository

Does it work with the latest v3.0 release ?

Hey
Not using monarch on main site anymore. I'll test it tomorrow on my local
one. And will let u know
On Tue, Feb 23, 2016 at 12:30 AM, Andi Dittrich<EMAIL_ADDRESS>wrote:

Does it work with the latest v3.0 release ?
—
Reply to this email directly or view it on GitHub
https://github.com/AndiDittrich/WordPress.Enlighter/issues/28#issuecomment-187417667
.

This was a huge change :+1:  The ObjectCache had issues with WPEngine's cache and would require manual cache flushing every so often. Very happy to see this. Keep up the good work Andi.


IA-2542: Permission "Submissions - Read and Write" only (without permission "Submissions - Read only") does not show in menu entry

Explain what problem this PR is resolving

User with read and write submission permission only had not access to the submission menu
The PR is about to let a user with read and write access the submission menu

Related JIRA tickets : IA-2542
Self proofreading checklist

[x] Did I use eslint and black formatters
[x] Is my code clear enough and well documented
[ ] Are my typescript files well typed
[ ] New translations have been added or updated if new strings have been introduced in the frontend
[ ] My migrations file are included
[ ] Are there enough tests
[ ] Documentation has been included (for new feature)

Changes

Added the SUBMISSION_UPDATE permission in instancePath

How to test

Update or create a user with submission read and write permission but without submission read only permission
Check if the use has access to the submission on the sidebar menu

Users with the read write permission get a 403 on /api/sourceversions when the data sources page loads.

@quang-le is this

Users with the read write permission get a 403 on /api/sourceversions when the data sources page loads.

@quang-le is this comment related to this PR or is for https://github.com/BLSQ/iaso/pull/960?


linux_testing: 6.2-rc6 -> 6.3-rc1

Description of changes
Note I had to change DEBUG_INFO_BTF to no in order to be able to build on a machine with 16 GB of RAM.
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

[ ] 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/)
23.05 Release Notes (or backporting 22.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

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1924

@OfBorg build linux_testing

I tried building on a machine with 128G RAM, and got the same BTF failure.  I think it's just broken, not OOM.

I tried with master yesterday same result. Did not find anything about that problem on mailing list either for the moment.

https://github.com/NixOS/nixpkgs/pull/220741 is the fix.


Architecture image attempting to load from corp.amazon.com

The image at the bottom here: https://github.com/aws-samples/amazon-chime-live-events/tree/master/transcoding
Is broken for those of us not within Amazon.

Yep, I authored the README file in code.amazon.com, it was copied without changing the link. Will update.

Updated. Closing this issue.


Add option to generate OpenAPI specification by either Pydantic field name or alias

Hi!
Following the issue raised here and the discussion, I wanted to submit a simple option to the schema generation that I believe solves this problem (thanks @rbuffat for the right code places!).
TL;DR: Some people want to generate their openapi schemas based on the field names in their Models and not the aliases. This was already supported by Pydantic's Schema generation process but not enabled by the FastAPI interface.
I have updated the method overview in the "How To"-Guide but don't think that it's important enough to update the code examples as well. I can update those as well.
Questions:

[ ] Are there any side-effects to consider (e.g. other types of schema generation)?
[ ] Does it make more sense to couple this with response_model_by_alias: bool in the route handler? That way a user can pass this option for specific routes only and his API spec and return types always match!

📝 Docs preview for commit 217bf8f2b99bc1a07b0e0c2dad98dcb6eab3ad8b at: https://be7cffd2.fastapitiangolo.pages.dev

This is great and would be very useful for us! In my opinion, it makes sense to couple this with response_model_by_alias such that the schema always shows the correct response_model.

I don't think that's easily available on the FastAPI end since, afaik, the Schema Generator is instantiated once and generates the schema for all routes.
One could
(1) instantiate a new schema generator for each route -- maybe a bit inefficient with a lot of routes
(2) configure the pydantic response model to use the field name instead of the alias during model_dump_json_schema()


fix model page styling on beta

vs

That page uses some old styling from p2.css that we don’t include any more that uses some (IMHO) weird relative/absolute position stuff.  It could be much cleaner and not require fancy css to do what we need here.

On Oct 3, 2016, at 2:16 PM, nconrad<EMAIL_ADDRESS>wrote:
https://cloud.githubusercontent.com/assets/1194246/19048363/9c08b9f6-896b-11e6-9c12-8b98fce2b5e2.png
vs
https://cloud.githubusercontent.com/assets/1194246/19048368/a3dacb60-896b-11e6-8dfb-152d5b3bf8b2.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/PATRIC3/patric3_website/issues/962, or mute the thread https://github.com/notifications/unsubscribe-auth/AALobmIrIs0-evGFYxtqAUKWN6v_UNO3ks5qwUaRgaJpZM4KM4GB.

fixed. verified on beta.


change 'has scheme of nomen' property template

Resource Template Label or ID
UWSINOPIA WAU rdaNomen accessPoint CAMS
Problem using the resource template, or request a change
rdaNomen accessPoint RT > has scheme of nomen* PT currently set as:

Property template type: URI
Default value: Library of Congress Names - http://id.loc.gov/authorities/names

*Toolkit link
This value doesn't seem quite right, per discussion at 2023-07-11 meeting. Let's use value(s) from the LC Description Conventions vocabulary as suggested by @AdamSchiff .
Configure PT as follows:
FIRST CHOICE:

If lookup to Description Conventions vocab is available, configure PT as lookup
Configure default IRI/label as:

http://id.loc.gov/vocabulary/descriptionConventions/rda
Resource description and access

SECOND CHOICE:

If no lookup to Description Conventions vocab is available, configure PT as URI
Configure default IRI/label as:

http://id.loc.gov/vocabulary/descriptionConventions/rda
Resource description and access

Add a guidance_set > general content indicating that if a different value is needed, value(s) should be taken from the LC Description Conventions vocabulary

Any other relevant details
If I'll go through prop_set editing with @junghaelee this might be a good issue to work on
CC @cspayne

Following up with @AdamSchiff @gerontakos @pan-zhuo @CECSpecialistI @junghaelee @JianPLee for feedback.
If no objections, @cspayne will you reconfigure PT as above next week (2023-07-24)?

I added a few more statements to the item for Suzzallo and Allen Libraries Stacks: https://www.wikidata.org/wiki/Q120734816
There's the "code" property that I used for the location code.
If we want to go this way so that Sinopia can do a lookup in Wikidata, we'll need to create a 326 items for all the codes that we use.
The broad list of codes for library buildings used in Alma is at https://staff.lib.uw.edu/operations/arcs/for-arcs-staff/alma-record-standards/physical-inventory/holdings-records/alma-library-and-location-codes
For specific locations, there is a list of the most used codes at https://staff.lib.uw.edu/operations/cas/for-all-staff/management/location-codes.  And the comprehensive list is a spreadsheet: https://staff.lib.uw.edu/operations/cas/for-all-staff/management/alma-location-codes.xlsx.
I've created a second item for CAMS stacks: https://www.wikidata.org/wiki/Q120734968
Can you think of any other properties that we would want to include in these items if we do go this route?
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
(206) 543-8409
@.***

From: Benjamin Riesenberg @.>
Sent: Tuesday, July 18, 2023 2:06 PM
To: uwlib-cams/sinopia_maps @.>
Cc: Adam L Schiff @.>; Mention @.>
Subject: Re: [uwlib-cams/sinopia_maps] change 'has scheme of nomen' property template (Issue #149)
Following up with @AdamSchiffhttps://urldefense.com/v3/__https://github.com/AdamSchiff__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XKPgbiv0$ @gerontakoshttps://urldefense.com/v3/__https://github.com/gerontakos__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XbRUi6Vw$ @pan-zhuohttps://urldefense.com/v3/__https://github.com/pan-zhuo__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XTs83cAg$ @CECSpecialistIhttps://urldefense.com/v3/__https://github.com/CECSpecialistI__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_Xj_8diIY$ @junghaeleehttps://urldefense.com/v3/__https://github.com/junghaelee__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_X48xKqaA$ @JianPLeehttps://urldefense.com/v3/__https://github.com/JianPLee__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XfuImPsw$ for feedback.
If no objections, @cspaynehttps://urldefense.com/v3/__https://github.com/cspayne__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XDQsnmYY$ will you reconfigure PT as above next week (2023-07-24)?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/sinopia_maps/issues/149*issuecomment-1640992506__;Iw!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XpL3MQ3Y$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADFBVB7PWIXYDCQU5L5Y5D3XQ33GXANCNFSM6AAAAAA2ICCAU4__;!!K-Hz7m0Vt54!l6DP03mn4_uuVU5lKN8BYaR4Y5N5cbhwmgwa_eCZuSnz6gV179guj-pLowf6LPbknrKYA4NaOYEtiv_XmGXWBeU$.
You are receiving this because you were mentioned.Message ID: @.***>

@briesenberg07 @AdamSchiff @gerontakos  @pan-zhuo  @CECSpecialistI  @junghaelee  @JianPLee
Description Conventions is available as a lookup, so this change can be implemented if there are no objections.

I used it earlier in my nomen!
Adam
Adam L. Schiff
Principal Cataloger
University of Washington Libraries
(206) 543-8409
@.***

From: Cypress @.>
Sent: Tuesday, July 18, 2023 4:06 PM
To: uwlib-cams/sinopia_maps @.>
Cc: Adam L Schiff @.>; Mention @.>
Subject: Re: [uwlib-cams/sinopia_maps] change 'has scheme of nomen' property template (Issue #149)
@briesenberg07https://urldefense.com/v3/__https://github.com/briesenberg07__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6A9IrZ7sM$ @AdamSchiffhttps://urldefense.com/v3/__https://github.com/AdamSchiff__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AXA7Izoc$ @gerontakoshttps://urldefense.com/v3/__https://github.com/gerontakos__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AL28S_6A$ @pan-zhuohttps://urldefense.com/v3/__https://github.com/pan-zhuo__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AGF30bXY$ @CECSpecialistIhttps://urldefense.com/v3/__https://github.com/CECSpecialistI__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AdjjPTD0$ @junghaeleehttps://urldefense.com/v3/__https://github.com/junghaelee__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AKdTpaiI$ @JianPLeehttps://urldefense.com/v3/__https://github.com/JianPLee__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AtGmYoRk$
Description Conventions is available as a lookup, so this change can be implemented if there are no objections.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/uwlib-cams/sinopia_maps/issues/149*issuecomment-1641100382__;Iw!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6AOCQHZNg$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ADFBVB2NRIIK27MWM4USUQDXQ4JINANCNFSM6AAAAAA2ICCAU4__;!!K-Hz7m0Vt54!mZkzb02ig2TeIavt9ijEaSVmTrPAjhdsBw-bZ7Z2hMbLklJYg9AKUttVk3k5CvdydV3lMHJBppSJ-_6A-qrwNJ0$.
You are receiving this because you were mentioned.Message ID: @.***>

Following up with @AdamSchiff @gerontakos @pan-zhuo @CECSpecialistI @junghaelee @JianPLee for feedback. If no objections, @cspayne will you reconfigure PT as above next week (2023-07-24)?

@briesenberg07
Would you like this done by 2023-07-24 or did you mean to wait until then to implement it?


Fix markdown formatting

That formatting was on purpose. Thanks for submitting though.

Can you explain what the purpose is?

The indentation matches the indentation in the app.php file, and the committed lines should not be copied, and if copied will not cause a problem.

But this destroys the whole layout of the rest of your file.

Ah, I see ... I never noticed that the markup was broke. The PR seemed like it was just a preferences-change PR. Thanks for mentioning that. Will fix.


/root/.config/notify/notify.conf file not found

yeah ... I got the same error I guess after moving to "/notify/cmd/notify"  there is no folder to move it to /usr/bin/local dir

@XPr3dat0r what system are you using to install notify?
@slayer321 additionally you can created config file with nano $HOME/.config/notify/notify.conf and configure your keys.


Update to bootstrap 3.3.4

The version of bootstrap installed is now a little old and jquery is a minor release out.
I'm looking for a project for the Pull Request hackathon before YAPCNA this coming week, refreshing Mojolicious-Command-generate-bootstrap_app fits my capabilities, and it is something I find useful, if you're willing to accept the help.
My CPAN ID is brainbuz.

project appears abandoned closing issue.


9324 Fix hbase dependencies on javax.el:3.0.1-b06-SNAPSHOT

This is a dependency change to remove SNAPSHOT from the transitive dependency. The SNAPSHOT build appears to be no longer available in central. By referring to the versioned build, this build should be around for much longer.
Build errors resulted in the pulsar-io/hbase build.
The fix here adjusts the top level pom.xml file, and adds dependency management and a version property for the same.

@klwilson227 I think the hbase dependency has been removed in #9278. Not sure if we need this change.

@klwilson227 I think the hbase dependency has been removed in #9278. Not sure if we need this change.


dak.concatenate fails on output of dak.singletons

A trivial example (running on main of both awkward and dask-awkward):
>>> import awkward as ak, dask_awkward as dak
>>> a = ak.Array([[1]])
>>> da = dak.from_awkward(a, 1)
>>> s = dak.singletons(da, axis=1)
>>> dak.concatenate([s], axis=2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/user/iris-hep/src/dask-awkward/src/dask_awkward/lib/operations.py", line 53, in concatenate
    raise ValueError("All arrays must have identical divisions")
ValueError: All arrays must have identical divisions

The error is paradoxical, since there's only one array. But the real problem is similar to #145--the divisions are not known:
>>> s.divisions
(None, None)

I still don't understand exactly what this means, but this error seems to be a repeating pattern. As in #145, running s.eager_compute_divisions() makes this work. Would it make sense for eager_compute_divisions to just automatically be run in cases like these? At the very least, the error should explain what to do, but it's quite inconvenient to insert eager_compute_divisions everywhere.

singletons(axis>0) should maintain the original divisions, I think.

but also we could hav a special case in concatenate to deal with the (not very useful) situation of a single input.

Four thoughts

Would it make sense for eager_compute_divisions to just automatically be run in cases like these?

I would argue that we should not run eager_compute_divisions whenever necessary because it's going to trigger a compute. The only place I know of right now that runs eager_compute_divisions is the __len__ implementation for the Array collection.

Something we can in general is add to the error message (we already have our own exception for incompatible partitions that is clearly not used consistently, by its absense from this issue, whoops :)) a note about the existence of eager_compute_divisions so people know of a solution to fix that specific problem.

For this specific case (ak.concatenate raising), I'll reiterate what I said in #145 - I think we can relax the logic to not fail before compute if at least the partitions are compatible in cases where the divisions tuple is full of Nones. In those cases if the total number of partitions happens to be compatible but the divisions are not, that will probably end up in a compute time error (the only thing that scares me is a compute time incorrect result, but I can't think of a case for that off the top of my head right now).

I've only experimented for a few minutes but so far I'm not seeing a case of ak.singletons that wouldn't satisfy output_divisions=1 (that is, keep the inputs divisions). This makes sense, right? The function is always just creating new inner lists?


Issue with .laz files ?

Hello,
Am I the only one having trouble with .laz datafiles output ?
I'm using windows binaries:

pcl.las => PotreeConverter to bin default format = working
pcl.laz => PotreeConverter to bin default format = working
pcl.laz => PotreeConverter to laz format = not working (--output-format LAZ)

I tried with multiple datasets and the result is always the same, the point cloud is not displaying:
imgur picture

Yes, same issue. There even is a helpful JavaScript trace in the console.

Yeah, I did not look at the console the first time!
In fact, for some reason, a line from laslaz.js is dropped while converting data.
You can either:

Add it by hand at line 208 of laslaz.js from plasio lib folder if you have already processed your data:

var LAZLoader = function(arraybuffer) {
this.arraybuffer = arraybuffer;
  let workerPath = Potree.scriptPath + "/workers/laslaz-worker.js"; #MISSING LINE
  this.ww = Potree.workerPool.getWorker(workerPath);

  this.nextCB = null;
  var o = this;

Copy/Past the right laslaz.js file from Potree 1.5RC release to your PotreeConverter folder, in resources\page_template\libs\plasio\js\


Integrate feature to retrieve all customers into Ballerina Stripe connector

Description:

$subject

Related to: #511

Completed with following PR:

https://github.com/ballerina-platform/openapi-connectors/pull/822


Normalize modeling of Event model

The Event model (and the Venue model) is essentially a serializer for the Meetup API response data. The data is very specific to Meetup and would not be a good fit for events from other sources (like a WordPress calendar).
Since fetching needs to be updated in #33 to be able to fetch from multiple sources, the Event model needs to be normalized in a few ways.

[x] Start and end time should be stored in UTC.
[x] techcity needs to grow a configuration file to be able to set the display timezone. Python supports DST natively with ZoneInfo, so we should be able to set a timezone like US/Eastern.
[ ] IDs need to stop pointing directly to Meetup IDs. This won't work when other sources use other types of IDs like numbers. IDs could use something nice and short like Sqids.
[x] Existing event data will need some kind of migration step for the timestamp to dt handling, sadly.
[ ] Another migration is needed for the ID change.

I experimented with Sqids, but it turns out that are encoding data in a lossless way. So, rather than producing something short, the IDs were even longer than what Meetup provided. I came up with another solution that does some hashing along with base64 encoding.


The Isle (Legacy and EVRIMA): general updates

Improves console output
Updates app ready regex for more appropriate log line
Switches to new ports system (Legacy)
Streamlines update stages

It seems you removed Linux support, was it not working or something?

It seems you removed Linux support, was it not working or something?

The Isle (Legacy) has never had Linux support - it has always been Windows only. I’ve had no success with either Wine or Proton. All I did here was remove the redundant stuff for proton in the kvp


new: push server performance

this reintroduces the previous PR that got reverted and adds what was missing

/build


Fix spelling mistakes and modify phrasing for instructions

Codecov Report

Merging #223 (2d3813c) into master (d4a1830) will increase coverage by 1.36%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #223      +/-   ##
============================================
+ Coverage     54.59%   55.95%   +1.36%
- Complexity      750      757       +7
============================================
  Files           160      160
  Lines          3306     3306
  Branches        367      367
============================================
+ Hits           1805     1850      +45
+ Misses         1374     1324      -50
- Partials        127      132       +5

Impacted Files
Coverage Δ

...c/main/java/seedu/address/model/person/Person.java
66.19% <0.00%> (ø)

.../seedu/address/model/person/PersonWithDetails.java
66.66% <0.00%> (ø)

...n/java/seedu/address/storage/JsonAdaptedGroup.java
83.33% <0.00%> (+83.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Only require dotenv in test env

with commit https://github.com/blockfrost/blockfrost-ruby/commit/d3a7239f4139692245f30702aa832a4f1f7ed1f0 dotenv became an inherited and implicit hard dependency for any project depending on blockfrost-ruby.
Since dotenv is only needed within the test environment, moving it into spec_helper releases the dependency for projects depending on blockfrost-ruby and makes sure it only gets required in this library's test environment.

Thanks for the uncomplicated merge! I can now get rid of my fork and point to this repository. 🙏


Add lt to Dekad, to allow sorting

As per title. Among the use cases is allowing groupby, eg.
# Create new dimenions mapping date to dekad
da['dekad'] = da.time.to_index().map(lambda x: Dekad(x).start_date)

# Use groupby for aggregation
da_agg = da.groupby('dekad').mean()
da_agg = da_agg.rename({'dekad':'time'})

makes sense to allow for comparisons between dekads outside of ==/!= - maybe worth extending to other comparison operators? @Kirill888
@paololucchino
FWIW, you can already use the properties exposed through time.dekad for groupby ops.
I recommend:
import hdc.algo

da.groupby(da.time.dekad.{label,yidx,midx,...})

depending on what you want to group by on exactly, these properties may need to be extended. The example you show above essentially groups on da.time

makes sense to allow for comparisons between dekads outside of ==/!= - maybe worth extending to other comparison operators? @Kirill888
@paololucchino FWIW, you can already use the properties exposed through time.dekad for groupby ops.
I recommend:
import hdc.algo

da.groupby(da.time.dekad.{label,yidx,midx,...})

depending on what you want to group by on exactly, these properties may need to be extended. The example you show above essentially groups on da.time

Thanks @valpesendorfer, I hadn't realized Dekad is exposed as Period accessor.
The example usecase above is to aggregate daily data to dekadal. The code you suggest is more compact and preferable. However, the current attributes do not return a datetime, which would be useful to be have as the data type of the dimension after the groupby. I suggest we add a start_date attribute to the Period accessor, and can do that as part of this PR. What do you think?


Error when attempting installation

When attempting to configure Forseti as follows:
module "forseti" {
	source = "github.com/terraform-google-modules/terraform-google-forseti"
	download_forseti = "true"
	gcs_location = "us-central1"
	cloud_sql_region = "us-central1"
	sendgrid_api_key = "<REDACTED>"
	notification_recipient_email =<EMAIL_ADDRESS>	gsuite_admin_email =<EMAIL_ADDRESS>	project_id = "${module.forseti-project.project_id}"
	credentials_file_path = "../credentials/terraform.json"
}

I receive an error message as follows:
Error: Error applying plan:

1 error(s) occurred:

* module.forseti.null_resource.execute_forseti: Error running command 'cd forseti-security; python install/gcp_installer.py --no-cloudshell --service-account-key-file ../credentials/terraform.json --gsuite-superadmin-email<EMAIL_ADDRESS>--sendgrid-api-key <REDACTED> --cloudsql-region us-central1 --notification-recipient-email<EMAIL_ADDRESS>--gcs-location us-central1': exit status 1. Output: Read gcloud info: Success
VPC Host Project barefoot-forseti

################################################################################
#  Installing Forseti Server                                                   #
################################################################################

+-------------------------------------------------------------------------------
|  Pre-installation checks
+-------------------------------------------------------------------------------

Dry run: False
Advanced mode: False
Read gcloud info: Success
Current gcloud version: 216.0.0
Gcloud alpha components: True
You are<EMAIL_ADDRESS>Project id: barefoot-forseti
Organization id:<PHONE_NUMBER>59
Service account activated
Billing: Enabled

+-------------------------------------------------------------------------------
|  Configuring GSuite Admin Information
+-------------------------------------------------------------------------------

To read G Suite Groups and Users data, please provide a G Suite super admin email address. This step is optional.
See https://forsetisecurity.org/docs/latest/setup/install.html to know what will not work without G Suite integration.

Email: Traceback (most recent call last):
  File "install/gcp_installer.py", line 23, in <module>
    gcp_installer.run()
  File "/Users/jberlinsky/src/clients/BarefootCoders/google-infrastructure/forseti-security/install/gcp/gcp_installer.py", line 125, in run
    instructions = forseti_server.run_setup(final_setup=False)
  File "/Users/jberlinsky/src/clients/BarefootCoders/google-infrastructure/forseti-security/install/gcp/installer/forseti_installer.py", line 125, in run_setup
    self.preflight_checks()
  File "/Users/jberlinsky/src/clients/BarefootCoders/google-infrastructure/forseti-security/install/gcp/installer/forseti_server_installer.py", line 60, in preflight_checks
    self.get_email_settings()
  File "/Users/jberlinsky/src/clients/BarefootCoders/google-infrastructure/forseti-security/install/gcp/installer/forseti_server_installer.py", line 360, in get_email_settings
    constants.QUESTION_GSUITE_SUPERADMIN_EMAIL).strip()
EOFError: EOF when reading a line

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

At a very quick glance, it looks like this line is trying to collect data from STDIN, which null_resource.execute_forseti is passing as a CLI flag. It looks like this changed on or about 8/23/2018, in this commit.
Temporary Resolution: If I go into the cloned forseti-security/ repository and check out the prior commit, https://github.com/GoogleCloudPlatform/forseti-security/commit/87e42da7a9f217a99583858e89999785fef15f75, I'm able to proceed with deploying Forseti.
Suggested Fix: This seems to be an issue with Forseti itself, but it also seems unnecessarily restrictive to limit Forseti checkouts to just branch names. Perhaps an appropriate first step here would be allowing all git refs (including SHAs and named branches) to be used in the forseti_repo_branch variable. From there, some GH Issues should probably be filed with the Forseti project.

Yeah, this looks Forseti related. What branch did you check this out from? I'm working on some improvements to both Forseti and the Forseti module, but no eta on that.

Hi! I had make some changes if you want you can check and use it:
https://github.com/lbastet/terraform-google-forseti/tree/changes
I have asked for a pull request

This module has been rewritten from the ground up to drop the Deployment Manager dependency and we're now targeting v2.11. Because so much of the module has been changed and we're not calling into the code in question I'm going to venture that this issue has been resolved. If this is still an issue please comment on this pull request and I can reopen it to resume this conversation.


Fix Marketo known user identification

In the part of the Marketo plugin code that handles known user identification (as well as code comments), the Marketo Munchkin cookie was being improperly referenced as Munckin.

@rayrrr I stubbed out a marketo repo and team and sent you an invite. I realize it's a hassle, but do you think you'd be willing to help us out by helping us relocate the marketo-specific code to your repo and applying this patch there instead?

Merged this for now until it is split out


TabUpdated is triggered multiple times on a integrations page

For example it is called every time keyboard up or down arrow is pressed in Google docs. See issue #586
It seems that the tabUpdated is triggered too many times and it is making the web pages slow. We should try to either detect if the script is already loaded or try to user she old content script loading for at least the main integration sites.

Solved with testing if togglbutton var is defined on page.
http://stackoverflow.com/questions/14790389/return-value-from-chrome-tabs-executescript

Same as #586 fixed with 200d032a4b550745a627eee1b2a259d8cd6ccad1