Don't --force new folder

I don't know if this is a bug or just me not knowing how to do stuff (sorry in advance if that is the case).
First build is ok.  I change the code and try to build again and the following message appears:
The output folder already exists. Use --force to remove it.
But it seems that --force was used:
shell_cmd: pkill -f build; processing-java --sketch="/Users/fredguth/Desktop/basics/step 5/build" --output="/Users/fredguth/Desktop/basics/step 5/build/build-tmp" --run --force]
Can't understand.

Hmm ... which processing/processing-java version and os?

Command line edition for Processing 0243 (Java Mode)
Mac OSX

@fredguth I can't reproduce this issue.  Can you provide some more step-by-step details?

I have created a video to show the error.
Same error happens  in Sublime Text 3 and Sublime Text 2 (I have ST2 in a laptop). Also, noticed some people doing Joshua Davis Skillshare course on Processing had the same error.
It happens all the time, with any sketch. Calling processing from the command line works fine.
See the video here:
https://dl.dropboxusercontent.com/u/6356493/sublime_processing.mov

Thanks @fredguth I will try to replicate the error again.

@fredguth When you can, please run just processing-java from the shell and let us know what the version number is, e.g. Command line edition for Processing 0227 (Java Mode).

@fredguth I still can't replicate the error. I'd like to get to the bottom of this especially if others are experience the same problem as you are.
One more thing: when you run processing-java from the command line I noticed you didn't specify the output folder. Could you try that and see if you see the same issue?

Hmm. I think I got the problem now.  Check this:
The output folder already exists. Use --force to remove it.
➜  build git:(master) ✗ processing-java --force --sketch=/Users/fredguth/code/processing/Skillshare/HYPE_basics/step4/build --output=/Users/fredguth/code/processing/Skillshare/HYPE_basics/step4/build/build-tmp --run
Listening for transport dt_socket at address: 8776```

Thanks @fredguth a fix is in progress.

changed my build to:
"cmd": ["/usr/local/bin/processing-java", "--force", "--sketch=$file_path", "--output=$file_path/build-tmp", "--run"],
and now it is working :-)

Notice that I have to add the Path manually.  For some reason, without specifying /usr/local/bin it doesn't work. The path printed in Sublime doesn't include it, despite this directory being part of my $PATH.


Location for the automatic backup?

When I enable Automatic Backup, I see the notice Backup successful. Where is that backup saved? I haven't set any place where to save the backup … (and haven't given any permission to save and read the SD card)

I'm still working around that part, so it might not work completely. I haven't had set an option for it to add a save location just yet.

So where can the automatic backup be found?

It's currently within but outside the root folder, it can't be accessible for now. I'll probably release a fix for that in v2.0

To sync the notes, e.g. with Syncthing, I would love to have the following settings:

Location of the backup
Either zipped or unzipped (plain text) backup
Backup interval:

Fixed interval, e.g. daily, hourly
When a not has changed, e.g. when switching from edit to view mode or when returning to the main screen

Load the backup, when it has changed

Is that possible?

Yes, those would be possible. Won't syncing on interval increase a little bit of battery usage though? I'm trying to make a notes app that doesn't really take much battery.

The interval backup only came into play, because that is what it is now.
Syncing always increase the battery usage. That's what you have to pay, if you want to stay synced. But IMHO exporting/backing up, when leaving the edit screen or returning to the main screen would be the better option. Everything else is up to the sync software.

Alright, I'll think about it. Thanks for the suggestions.

I have fixed the location for the automatic backup feature, previously it was in the android data folder but now you can set it to where you want it to be. I'll release this fix together with the upcoming v1.2 soon. Thank you again for the bug report <3


Create sha256sum for windows and mac release artifacts

/hold

They are using a script.

@cfergeau In this case we will ask them to update the script, on the ticket I see they run the commands (may be those from the script), if we merge this soon then we should able to communicate them early to fix it.

Just for clarity, when looking over a file list, so that it's very obvious that this is not the final archive. Not really important.
But I'd add an amd64 suffix as aarch64 is around the corner.

Yes will add amd64.

/unhold


Capabilities.lang crashes the app on ios ARM64

Hi,
Big thank for enabling arm64 build for openfl and lime!
I'm currently triing to port my game for this architecture, and I'm having some troubles.
When built for arm64 the games crash as soon as launched. i firstly thought it was due to my extensions but after a bit of investigation it seems that using
openfl.system.Capabilities.language

makes the app crash in 64 bit.
It works fine for armv7.
I'm using openfl 2.2.1 and lime 2.0.4.
Is there anything special to do for 64bit whle compiling?
All I do to run the game is
lime update project.xml ios

And then run it from xcode. Do I have any parameter to change in xcode or do you think it's a lime/openfl problem ?
Thank you.

Thanks for bringing this up! It looks like we were releasing something we didn't need to, should be fixed in this commit :smile: https://github.com/openfl/lime/commit/c45e1a4db0214bd42a10b1f7ef89d294c667d30b


chore(RingTheory/MvPolynomial/Homogeneous): misc lemmas on homogeneous polyomials

LGTM!
I only have two doubts.

Should lemmas liketheorem natCast (n : ℕ) : (n : MvPolynomial σ R).IsHomogeneous 0 :=
isHomogeneous_C ..

be added?  Note that exact? does not close the goal.
Why is there almost no lemma in this file tagged as simp?

I agree with @adomani 's remarks but I don't think they need to block merging these results.
bors merge


Helm chart incompatible with Airlift config

The migration to Airlift changed the way Trino Gateway configures ports. The Helm chart is incompatible with this change.

So we have to update the Helm chart .. right?

Yep, should be fixed by the linked PR


Add video page

The frontend needs a page/route to watch a video. This mainly embeds some player.
Blocked by #87. Probably also by #86.

As the player, for now, we could probably assume a Paella player.


Mark IMAP messages as "cache"

For the right backup.

Can you please describe this in more detail.

Usually backup apps skip the app data marked as "cache".
Also a user may want to drop (some|all) messages to free up some space (as
those are on the IMAP server anyway).
I think K-9 IMAP messages are quite close to "cache" term. What do you
think?

We store emails in a database, not in files, so there's no way to switch to use the cache.
We don't store every email anyway and this is all customisable on a per account basis. You can also configure accounts not to delete server emails if you delete the one on the client.
So there's nothing really to do here.


1.17 support

So should we wait or carry on with the bug?
Please respond with ETA if available.
Thank you

I'm sorry but this is very very low priority that we can't give ETA (even if normally we already don't give them this is even harder to tell here).
I wish you a give day anyway.

This mod is deprecated, please consider using RSLS


feat: Add a HEALTHCHECK in the madara dockerfile

Feature Request
Describe the Feature Request
See https://docs.docker.com/engine/reference/builder/#healthcheck
In order for other services to know when the RPC is ready

@ftupas you may want to do this!

@ftupas you may want to do this!

Looks like it's been added already for Madara here, but I don't see for Katana, should I make a pr there?


buggy with box-sizing: border-box;

Hi, thanks for this lovely plugin.
It's a little buggy with box-sizing: border-box; the box starts trembling. I'm using chrome v45 on Mac. Is there any fix for this?
Thanks

Can you provide a code example? I suspect there is a deeper conflict with other styles than just box-sizing. I can't reproduce in a simple example.

Thanks a lot Aaron for your reply.
I'l private message you a link to the website with a full example.

Hello Brandon,
it seems i have the same kind of problem, in all browsers.
I have tried many stuff, with no success...
Here is the page, the message area is buggy when expanding...
http://www.serveur1.be/ADINOLFI/contact/
thank you...


cppwinrt winrt::com_ptr vs wil::com_ptr

When to use either of these com smart pointers ? Any best pratice/recommendations.

They're both nearly functionally equivalent. Personally I use wil::com_ptr where I can, but there are places where C++/WinRT exposes bare winrt::com_ptr (like try_as or make_self), so I just use winrt::com_ptr in those places.

No official guidance on which to use, really.  @sylveon 's rule of thumb is fine.  Another way to look at it is that C++/WinRT assumes a codebase is all-in on modern C++ support (recent compiler version, support for exceptions, use of STL/std).  By comparison WIL supports codebases that prevent use of exceptions (wil::com_ptr_failfast, wil::com_ptr_nothrow) where C++/WinRT couldn't be (easily) introduced.
So If you're using C++/WinRT in your codebase (and why not!) stick with winrt::com_ptr ... if you're in a space that can't support it, use wil::com_ptr.


proposal: embed: add -embed=compress flag to go

The design proposal for embed contains a section on compression to reduce binary size. This has come up for me a few times recently and I wonder if there is any appetite for the final sentence of this section,
"Future work might be to add -embed=compress as a go build option for use in limited environments."
Having written the same decompression logic a few times now in a few different ways (decompress one file, decompress a tarball, gunzip vs. zstd), it'd be super convenient to have compression of embedded files or dirs built directly into Go.
Another benefit of of allowing compression at the build stage (and on-the-fly decompression once) is for code repositories. Currently, I am checking in a tiny compressed tarball and have tests against the sha256 of the checkin. Tarballs aren't really great for GH repositories, but considering how infrequently this tarball changes, it's an alright tradeoff right now.
This isn't a super pressing need, but I couldn't find a previous open nor closed proposal, and in the original proposal, the only comment that mentions compression is this one (the point of which is that TinyGo rarely targets RAM heavy systems).

When are the embedded files decompressed?  If compression is signaled by an option like -embed=compress then presumably the code must work correctly whether the files are compressed for not.  When using //go:embed with a string or []byte there is no step where we can decompress the file.  So do we need to decompress all embedded files at program startup?  That doesn't seem ideal for all use cases.
For an embedded io/fs.FS we can presumably store an embedded archive/zip file.  The archive/zip package already implements io/fs.FS.  Then compression should happen automatically?

Agree, this seems hard to impossible to do with []byte and string. Would it be feasible to add special embed.String or embed.Bytes types that can have optimizations such as this?
Opting into embed.FS also being compressed is another good option.

Would it be feasible to add special embed.String or embed.Bytes types that can have optimizations such as this?

I don't think we should have embed.String or embed.Bytes types that look like ordinary string or []byte but decompress data at run-time.
But maybe we could support go:embed on func() []byte or func() string declarations instead? That is, this declaration:
//go:embed bigfile.bin
func content() string

could be a shorthand for something like:
//go:embed bigfile.bin
var contentFS embed.FS

var content = sync.OnceValue(func() string {
	f, err := content.Open("bigfile.bin")
	if err != nil {
		panic(err)
	}
	defer f.Close()

	b := new(strings.Builder)
	if _, err := io.Copy(b, f); err != nil {
		panic(err)
	}
	return b.String()
})

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

This sounds a bit premature to me. Unless there is more demand than I realize

We use Brotli to compress all bundled UI artifacts (HTML, JS, CSS, etc.) with our app. A special HTTP handler either serves those files directly (if the client supports Brotli) or decompresses the bundled Brotli files and serves them uncompressed.
The proposal seems to completely ignore this use cases:

zstd is nice, but has no browser support - other algorithms like brotli or gzip might be more useful
compressing files individually might be preferred
accessing the compressed data might be useful in some scenarios
configuring the compression algorithm on a per file basis might be needed

I think it's ok to not support all those features upfront, but the proposal can not be easily extended later.

This seems too difficult and fraught with problems and there doesn't seem to be much demand for it.

Based on the discussion above, this proposal seems like a likely decline.
— rsc for the proposal review group

Ok, sounds good.

No change in consensus, so declined.
— rsc for the proposal review group

Sad to see go:embed compression rejected. It would be very useful to reduce binary size by tens of megabytes for a moderately sized web application as well as enable direct streaming of compressed assets to HTTP clients, which is ideal for performance as well.
In fact, the lack of compression suport in go:embed is the main reason we have not migrated to it yet in gitea, because without it, the binary size is increased by over 20MB with additional detriment to HTTP clients that support gzip compression.

@silverwind I just looked at Gitea and discovered that you are using Webpack. Therefore you can configure webpack to output gzip compressed files (we do something similar with brotli and vite) and leave the go:embed statements as is. This has several advantages compared to this concrete proposal:

all files are compressed individually, so you can directly serve them using "Content-Encoding: gzip" if supported by the browser (we have written a small http handler to decompress brotli if it's not supported)
webpack / vite offer many configuration options, like only compressing certain file types and only emitting the compressed file if it's actually smaller than the original (in addition to embedding the file as is and not even generating extra files for certain file sizes)

Alternatively if using Webpack isn't a solution for you, I guess one more line in your 1026 line long Makefile to preprocess the files wouldn't hurt either.

For what it’s worth, I dont really view every potential compression option brought up above as necessary to support. Go is meant to be a simple language: if you want more complication, do it separately. A compress option for embed-able files seems to significantly simplify things for the vast majority of use cases. I just want to check in (and have diffs on) uncompressed large files that have high compressibility.
That said, I have no interest convincing people anymore. People like to bikeshed and argue every use case and angle, and if things aren’t merged then people are satisfied they blocked language “complications”. Those battles just aren’t for me. Cheers.
On Sat, Sep 9, 2023 at 18:56, Christoph Hack @.***(mailto:On Sat, Sep 9, 2023 at 18:56, Christoph Hack < wrote:

@.***(https://github.com/silverwind) I just looked at Gitea and discovered that you are using Webpack. Therefore you can configure webpack to output gzip compressed files (we do something similar with brotli and vite) and leave the go:embed statements as is. This has several advantages compared to this concrete proposal:

all files are compressed individually, so you can directly serve them using "Content-Encoding: gzip" if supported by the browser (we have written a small http handler to decompress brotli if it's not supported)
webpack / vite offer many configuration options, like only compressing certain file types and only emitting the compressed file if it's actually smaller than the original (in addition to embedding the file as is and not even generating extra files for certain file sizes)

Alternatively if using Webpack isn't a solution for you, I guess one more line in your 1026 line long Makefile to preprocess the files wouldn't hurt either.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

I am also in favor of a simple compression option, i just do not like the proposal in it's current state. There are a lot of open questions that need to be answered first.

compressing files globally (with a command line flag) will make it impossible to use the feature in non-trivial apps:

third-party assets might not be compressable
third party code might not work with compressed assets
even your own app / monorepo might not work if you compress everything, especially if everything is compressed into one large zip
if your code expects compressed assets, commands like "go run" and "go test" will not work anymore (since you forgot to set the "-embed=compress" flag)
having an option like //go:embed(compress) ... or a type like embed.CompressFS which can be set on a per-embed-directive seems to be a better solution

we do not have to support every use-case, but bundling web assets was the primary goal of "go-bindata" and most of the tools that came after it (and is also what was requested by silverwind just now). So I think we should support it

having one large zip might be good for compression, but makes it impossible to serve those assets directly (without decompressing and re-compressing every asset)
if we want to keep it simple, I would argue each file should be compressed individually, even if it would mean a slightly larger binary size. If you want to compress it as a bundle, you can always create a zip or tar archive first

I think it's ok to just support "gzip" at the beginning (the more advanced compression algorithms aren't part of the stdlib at the moment), but I think a flag like "-emped=compress" makes it hard to add other options later. Having something like //go:embed(gzip) would allow the addition of other algorithms later. It would even allow the "one-large archive" use-case with a syntax like //go:embed(tar+gzip) or something similar if we later decide to implement something like that

This comment is not a proposal yet, I am sure there are lot's of other points that need clarification as well. That's just what I meant when I said that the proposal isn't extendable in it's current form.


Add params useRootNavigator

Hello add params useRootNavigator for "If you need a modal (showModalBottomSheet) but you have a bottomnavigationbar and the modal needs to be on top of the bottomnavigationbar, use the userootnavigator = true property of showModalBottomSheet."
Permission to Daniel-Ioannou/flutter_currency_picker.git denied  so here:
file currency_picker.dart
void showCurrencyPicker({
  required BuildContext context,
  required ValueChanged<Currency> onSelect,
  List<String>? favorite,
  List<String>? currencyFilter,
  String? searchHint,
  bool showSearchField = true,
  bool showFlag = true,
  bool showCurrencyName = true,
  bool showCurrencyCode = true,
  bool useRootNavigator = false,
  ScrollPhysics? physics,
  CurrencyPickerThemeData? theme,
}) {
  assert(
    showCurrencyName || showCurrencyCode,
    'showCurrencyName and showCurrencyCode cannot be both false',
  );
  currency_list.showCurrencyListBottomSheet(
    context: context,
    onSelect: onSelect,
    showSearchField: showSearchField,
    searchHint: searchHint,
    showFlag: showFlag,
    showCurrencyName: showCurrencyName,
    showCurrencyCode: showCurrencyCode,
    useRootNavigator: useRootNavigator,
    favorite: favorite,
    currencyFilter: currencyFilter,
    theme: theme,
    physics: physics,
  );
}

file currency_list_bottom_sheet.dart
void showCurrencyListBottomSheet({
  required BuildContext context,
  required ValueChanged<Currency> onSelect,
  List<String>? favorite,
  List<String>? currencyFilter,
  String? searchHint,
  bool showSearchField = true,
  bool showFlag = true,
  bool showCurrencyName = true,
  bool showCurrencyCode = true,
  bool useRootNavigator = false,
  ScrollPhysics? physics,
  CurrencyPickerThemeData? theme,
}) {
  final ShapeBorder shape = theme?.shape ??
      const RoundedRectangleBorder(
        borderRadius: BorderRadius.vertical(top: Radius.circular(24)),
      );

  showModalBottomSheet<dynamic>(
    context: context,
    isScrollControlled: true,
    useRootNavigator: useRootNavigator,
    shape: shape,
    backgroundColor: theme?.backgroundColor,
    builder: (_) => _builder(
      context,
      onSelect,
      favorite,
      currencyFilter,
      searchHint,
      physics,
      showSearchField,
      showFlag,
      showCurrencyName,
      showCurrencyCode,
      theme,
    ),
  );
}

Thank you for your contribution. Released in v2.0.15.


black formatting

run the command black -S .  on the root of the folder.

Shubham Good work thank you. left a question or something to try


feat: add SHA256 encryption method to inline stream maps

Implements https://github.com/meltano/sdk/issues/2818

📚 Documentation preview 📚: https://meltano-sdk--2819.org.readthedocs.build/en/2819/

Thanks for your generous help @edgarrmondragon


save_dist_stats

I am running the programme simulate_delays_cfr_tidied.R and the following 'save_dist_stats' is not found.

Thanks, I found the missing file containing the 'save_dist_stats()' function and added it to the repo. Sorry for the inconvenience.

Thanks mate, will be running it soon so will let you know if i encounter
any issues.
Many thanks,
Khubayb
On Thu, Dec 3, 2020 at 1:20 PM bobverity<EMAIL_ADDRESS>wrote:

Thanks, I found the missing file containing the 'save_dist_stats()'
function and added it to the repo. Sorry for the inconvenience.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mrc-ide/COVID19_CFR_submission/issues/5#issuecomment-737988936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AROH45RDCYB63HW5BQHW2S3SS6GBRANCNFSM4TSMQWZQ
.


Indent guides only show up in the current window when there are multiple files open on the same tab

Hey, thanks for the plugin!
Reproduction steps:

Open a file (eg, :e my-file)
Open another file (eg, :vsplit + :e my-other-file)

Indent guides will only show up in the other file, instead of showing up in both files.
I understand this could be by design, to avoid drawing virtualtext where the user can't see, but currently it feels too extreme.

yup i disable it on non current win
https://github.com/nvimdev/indentmini.nvim/blob/a84db978001610a7f6eb3be5b844f3206d081abc/lua/indentmini/init.lua#L101-L106

Sorry I may have closed this issue rudely. For now I want to keep it minimal and i have update doc for the way it works.

Do you have any plans to make this behavior controllable via setup options?
Is there something tied to current implementation that makes it hard to support multiple windows?

In short, I only want to see the indent lines in the buffer I am currently in  and  I can minimize the current code. indentmini works in the redraw loop of neovim.

I understand your preference towards only enabling indentation guides for the focused window.
And since it is your plugin that you mainly built for yourself, it totally makes sense to be the default behavior.
What I'm asking is:

Do you at least plan to make this an opt-out settings in the future, so that people who do want the indentation guides in every window can enable it?
If not, is that because:

That is not your use case and not interested in implementing it (Will accept PRs)
This is a technical limitation due to how this plugin works

Do you at least plan to make this an opt-out settings in the future, so that people who do want the indentation guides in every window can enable it?

currently in on_win it check the bufnr ~= api.nvim_get_current_buf() if remove this line i think it can be work , if no too much code on this PR welcome.

I forgot to comment the results.
If anyone has stumbled upon this issue, simply removing the bufnr check did not work correctly.
And looking at the related code context I realized quite a bit of work would have to be done to support it.
Only focusing on the current window really did simplify the code and improve performance, but it you want multi-window support you should probably look for an alternative plugin.


Add huak-pyproject-toml

Closes #852

I want to look into upstreaming a toml_edit::Table-backed Tool in the pyproject-toml crate.


PiranhaJava // minor - avoid simplifying when xpFlagName is empty string ("")

Running Piranha with -XepOpt:Piranha:FlagName="" results in the deletion of all static imports.
Two places in XPFlagCleaner can cause this, because the code is .endsWith(xpFlagName) when comparing with expressions. Since xpFlagName is "", that always evaluates to true.
The specific places are:
https://github.com/uber/piranha/blob/dd050f86315ab3e719fa5d22d7f0039ad844b039/java/piranha/src/main/java/com/uber/piranha/XPFlagCleaner.java#L534
and
https://github.com/uber/piranha/blob/dd050f86315ab3e719fa5d22d7f0039ad844b039/java/piranha/src/main/java/com/uber/piranha/XPFlagCleaner.java#L726
The second case seems to be rarer.
The can be fixed with another check !xpFlagName.equals(EMPTY)

The second case mentioned by @pranavsb will actually impact users who write test cases using configuration (or profile) based test cases powered using annotations


Multiple results in chat bugged [BUG]

**Module Version: v2.1.20
I have a BRT rolltable that produces multiple results. When I click the Roll+ it correctly generates multiple result in the chat. However When I interact with one item in the list, it only interact with the last item on the list.
For example, the table generate a list of 3 items.
When I open the first item, it open the third item instead.
When I grab and drop the second item in an inventory, it move the third item.
**Foundry Version: 11 315
**Game System: DnD5E
Thanks

I noticed it only happen for BRT created directly from a Compendium, with the specific function


#dig regression with 3.4.4 and ruby-2.3.0

#dig against a hash key with a value of an array stopped working:
> # 3.4.3
> h = Hashie::Mash.new(a: [ b: 1 ])
=> [#<Hashie::Mash b=1>]
> h.dig('a', 0)
=> #<Hashie::Mash b=1>
> h.to_hash.dig("a", 0)
=> {"b"=>1}

> # 3.4.4
> h = Hashie::Mash.new(a: [ b: 1 ])
=> [#<Hashie::Mash b=1>]
> h.dig('a', 0)
TypeError: no implicit conversion of String into Integer
> h.to_hash.dig("a", 0)
=> {"b"=>1}

There was a change in https://github.com/intridea/hashie/pull/349, is that related?

@dblock i think so, see #358 for my take on fixing this.


ListPreference: Use array.xml resource?

Is there a easy way to load value / label pairs from arrays.xml?
can you maybe add it to the example?
in the old XML preferences you had two parameters:
app:entries="@array/setting_entries"
app:entryValues="@array/setting_values"
now i need to create some kind of object that will return its value and offer a toString() to write the "entries"?

You can create a helper for loading the resources, and then do a reverse lookup for finding the index of the value and then get the entry name from the index. I didn't create such a helper because I'd like to make the library Compose Multi-Platform one day so I wanted to avoid an API specific to Android. Plus it's relatively straightforward to write.


Time attributes name consistency

There are many time attribute, see the picture. The names are not very consistent. Some use nouns, others use past tense verbs. We should pick one form only.

first_occurence/last_occurence to be replaced by first_seen_time/last_seen_time from the dev extension


Configure Azure PipelinesAdd the build configuration

This pipeline configuration builds the application and produces a build for the Release configuration.

If you are contributing on behalf of yourself:
@microsoft-github-policy-service agree
If you are contributing on behalf of a company:
@microsoft-github-policy-service agree company="your company"

@microsoft-github-policy-service terminate

@microsoft-github-policy-service rerun

@microsoft-github-policy-service agree [company="{your company}"]


Move types from ClosureTypeLongId to ExprClosure.

This change is

crates/cairo-lang-semantic/src/types.rs line 800 at r1 (raw file):
Previously, orizi wrote…
yeah - IMO it is logically dependent on the outer function - but it depends on our usage of this function.

The original usage was here:
https://github.com/starkware-libs/cairo/blob/774405d12fa31dc1d0c9a65521f67d35a857556d/crates/cairo-lang-semantic/src/expr/inference.rs#L923

crates/cairo-lang-semantic/src/types.rs line 404 at r3 (raw file):

    /// Every closure has a unique type that is based on the stable location of its wrapper.
    #[dont_rewrite]
    pub wrapper_location: StableLocation,

it seems that rust is using the location of the wrapper to define the closure:
Code quote (i):
 pub wrapper_location: StableLocation,

Code snippet (ii):
    let a = |b, c| {
        b;
    };

    if a != 5 {}

    gives:
    error[E0369]: binary operation `!=` cannot be applied to type `{closure@crates/cairo-lang-lowering/src/concretize/mod.rs:17:13: 17:19}`
  --> crates/cairo-lang-lowering/src/concretize/mod.rs:21:10
   |
21 |     if a != 5 {}
   |        - ^^ - {integer}
   |        |
   |        {closure@crates/cairo-lang-lowering/src/concretize/mod.rs:17:13: 17:19}

crates/cairo-lang-diagnostics/src/diagnostics.rs line 70 at r1 (raw file):
Previously, orizi wrote…
doc

I'm not sure there is something useful I can write here.
The last line in the function is the most useful documentation, do you want me to copy it to the comment?

crates/cairo-lang-semantic/src/types.rs line 404 at r3 (raw file):
Previously, TomerStarkware wrote…
Don't we still want the concrete-containing function for the type?

Assuming the closure type can't escape from the function, I think it is not nessiary.

crates/cairo-lang-lowering/src/lower/test_data/usage line 197 at r2 (raw file):
Previously, TomerStarkware wrote…
why revert?

I want to do it in another PR.


Grafana Dashboard icmp_exporter で細かい値を取るにはblackbox_exporterではなくsmokeping_proberを使う必要がある

This uses the blackbox exporter, which does not expose packet loss, for example. It could be improved with https://github.com/SuperQ/smokeping_prober because it also keeps track of lost samples (https://github.com/SuperQ/smokeping_prober/issues/24). Unfortunately, that still won't make graphs as nice as smokeping, because each probe only keeps one sample, instead of doing multiple like smokeping does (https://github.com/SuperQ/smokeping_prober/issues/36)

#40


Rolling log files

Due to high log load, there is a need to split log files into multiple parts

K

K


ReadMe: also outline output structure on failed requests

I should start marking my PRs "WIP" if I'm not fully done :rofl: Thanks!

Btw: this one is ready for merge. See the #6 for what I meant by "early PR" :wink:


Can the theme be reused?

Hi @artemkonev,
I like the theme, can it be reused in other projects? What should be changed?

Hi, @abetkin,
I think we're in a bit of a legal limbo so far with the site sources, unfortunately.
I'll run this question with our copyright people and get back to you. Effectively, I foresee no issues with that, but the licensing for the theme and the extensions (if you want to use them too) may be different. Thanks for asking! I'll try to help you make that happen.

An update: it seems that a proper resolution might take a couple of weeks, so please bear with us.

I would also like to use this theme in continuous attention

@abetkin @love01211 After much deliberation, we agreed on CC BY 4.0: https://github.com/nginx/unit-docs/blob/master/LICENSE


"Plug-In could not be checked for malicious intent"

Hey there! I can't seem to find a way to enable the use of the HARD plug in. I tried system preferences-> security & privacy. I put the contents of the .zip into my plug-ins->components folder, but Logic just keeps telling me it is incompatible.
Any help would be greatly appreciated, and thank you so much for what you are doing!

Hi sorry for late reply. Did you find the notification on the "security & privacy" page that lets you allow running the HARD plugin specifically?


Setting log.dirs outside of Mesos executor workspace is tedious

To store Kafka's topic data outside of Mesos' executor workspace, we can use the log.dirs property and specify an absolute path to the system, e.g.: /mnt/array1/kafka,/mnt/array2/kafka.
This works fine, but will break when 2 different brokers run from the same Mesos agent. When a broker starts, it creates a meta.properties file in each log.dirs directory which contains the broker id. So if a new broker with a different id is started on that agent, it refuses to start.
This situation can happen for 2 reasons:

the broker configuration is not using constraints and the scheduler ends up using the same agent
a broker used to run on that agent, but no longer does (so even with constraints on, we can get in this situation)

The solution is to use a slightly different log.dirs parameter per broker (e.g.: /mnt/array1/kafka/broker0) but that's tedious since you have to specify a different configuration for each broker.
It would be nice if one could specify a path that kafka-mesos would manage or allow substitution, (e.g.: /mnt/array1/kafka/broker${brokerId})
Probably using Mesos' persistent volumes can also solve this, but it's not clear to me how this feature works with kafka-mesos.

you can use $id to-do what you are looking for e.g. https://github.com/mesos/kafka#rolling-restart

Argh! Didn't notice that in the examples. Thanks!


feat: add support for exceptions to annotations

Some secrets when redacted are rejected due to invalid characters. One example of this would prometheus_bcrypt_salt which is rejected due to the use of underscores. Therefore the solution is to add support for exceptions to the standard annotation format.
See: https://github.com/ansible/ansible/blob/devel/lib/ansible/utils/encrypt.py#L118C46-L118C46
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/prometheus/templates/prometheus-web.yml.j2#L3

Most recent change ensures that nested dicts are redacted and still keep the full name.
bifrost_ssh_key:
  private_key: value
  public_key: value

becomes
bifrost_ssh_key:
  private_key: bifrost_ssh_key_private_key.original
  public_key: bifrost_ssh_key_public_key.original

LGTM - nice solution :)

@jackhodgkiss Is planned to merge soon?

@jackhodgkiss Is this planned to merge soon?

Happy to merge it now. It was working last time I checked but don't have time this week to test again. However, if you encounter any issues please let me know.


Can't set rippleColor and rippleBackgroundColor Programmatically

Dear team,
When we upgrade the library to support Swift3, when we do such as : rippleButton.rippleColor  = UIColor.green, produce error : Failed to set (rippleColor) user defined inspected property on (UIButton): [<UIButton 0x113d20f00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key rippleColor.
While for the Swift 2 version, we can set it programmatically.
Best Regards,

Sorry, we forgot to set right module to point the FRippleButton library in the interface. Thanks for the great work team.


Some problems with dedupe-example's extended-variables

Recently, I was trying to study the "dedupe" module and downloaded the "dedupe-example" package so to learn the work flow. Sooner I got stuck with the extended-variables example when trying to construct the data sample of dedupe with the code
deduper.sample(data_d,1500).
With the analysis of the console error report and some debug, I found that when to construct the random sample keys with function
dedupe.labeler.ActiveLearner.sample_combo
which used basic function
core.randomPairs(len(data),random_sample_size).
The result called "KeyError: ****" (here **** means some large number) Which exactly called by "Numerical overflow".
Then I cut the input parameter len(data) to one third (len(data)//3), It went well.
By analyzing the basic function core.randomPairs, I wonder why the construction of random pairs went this way
def randomPairs(n_records, sample_size):
"""
Return random combinations of indices for a square matrix of size
n records
"""
n = int(n_records * (n_records - 1) / 2)
      if sample_size >= n :
          random_pairs = numpy.arange(n)
      else:
          random_pairs = numpy.array(random.sample(range(n), sample_size))

      b = 1 - 2 * n_records

      i = numpy.floor((-b - numpy.sqrt(b ** 2 - 8 * random_pairs)) / 2).astype('uint')
      j = numpy.rint(random_pairs + i * (b + i + 2) / 2 + 1).astype('uint')

      return zip(i, j)

Who can give a favor and help me understand this construction principle?

This has already been fixed on master. If you'd like to check I'd appreciate it.
Here's a discussion of what's going with that function
http://stackoverflow.com/a/14839010/98080

@fgregg Thanks a lot.


Fix issue #8631 right sidebar: Show last active time more prominently.

https://github.com/zulip/zulip/issues/8631
Testing Plan:
I have done many test in the dev server and it behave as excepted.
GIFs or Screenshots:

We ended up putting this information in hover over the presence indicator, so closing.  Thanks for working on this @NicolasGagne!  (And sorry this didn't get a prompt review; I was ill in October and that impacted our responsiveness to PRs from new contributors).


Special optimization for conv1x1, conv3x3 ?

In the document, I cannot find the information. Is there any special optimization for conv1x1 and conv3x3 in this lib?
Thank you.

Yes

@nolanliou Thanks. Would you please give some more information ？Such as which operations are
specially optimized .

for the r0.9, In directory 'kernels', their are two sub-directory named "arm" and "opencl". Kernels in directory "arm" are specially optimized for CPU with neon, while some kernels in directory "opencl" are specially optimized for GPU we can find that the conv2d11, cond2d17and some other operations like depthwise_conv2d are optimized.

@summerspringwei Thanks.


Vala updates

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

https://gitlab.gnome.org/GNOME/vala/raw/0.48/NEWS
Vala 0.48.18
============
 * Various improvements and bug fixes:
  - codegen:
    + GArray, GByteArray and GPtrArray are reference counted
    + Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
    + Mark entry point method implementation "_vala_main" as static
    + Improve check for GLib.Source derived classes
  - vala: Parameter following params-array parameter is not allowed

 * Bindings:
  - Update GLib bindings to 2.66 - Sync GLib symbol additions with 0.50.9
  - glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
  - pango: Mark language parameter of AttrIterator.get_font() as out

 * Various improvements and bug fixes:
  - codegen:
    + Apply gconstpointer to gpointer cast to GenericType only
    + Fix access to captured generics in async method of interfaces (2)
    + Use if-clause for is_in_destructor() condition to be more clear
    + Add missing "_return" label and "_inner_error*_" declaration in dtors
    + Don't use G_GNUC_INTERNAL on implicit type specific fields
  - vala:
    + length-type of arrays must not be nullable
    + Report a warning for unhandled errors in destructors
  - parser:
    + Minor semantic checks to improve error messages
    + Allow empty member-initializer and accept trailing comma
    + Include INTERR token in source_reference of parsed types

https://gitlab.gnome.org/GNOME/vala/raw/0.50/NEWS
Vala 0.50.9
===========
 * Various improvements and bug fixes:
  - codegen:
    + GArray, GByteArray and GPtrArray are reference counted
    + Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
    + Mark entry point method implementation "_vala_main" as static
    + Improve check for GLib.Source derived classes
  - vala: Parameter following params-array parameter is not allowed

 * Bindings:
  - glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
  - pango: Mark language parameter of AttrIterator.get_font() as out

Vala 0.50.8
===========
 * Various improvements and bug fixes:
  - codegen:
    + Apply gconstpointer to gpointer cast to GenericType only
    + Fix access to captured generics in async method of interfaces (2)
    + Use if-clause for is_in_destructor() condition to be more clear
    + Add missing "_return" label and "_inner_error*_" declaration in dtors
    + Don't use G_GNUC_INTERNAL on implicit type specific fields
  - vala:
    + length-type of arrays must not be nullable
    + Report a warning for unhandled errors in destructors
  - parser:
    + Minor semantic checks to improve error messages
    + Allow empty member-initializer and accept trailing comma
    + Include INTERR token in source_reference of parsed types

Vala 0.50.7
===========
 * Regression and bug fixes:
  - codegen:
    + Don't free temp-var for element-access to array with boxed structs [#1174]
    + Don't free unowned heap allocated struct

 * Bindings:
  - glib-2.0: Add simple_generics attribute to GenericArray.find_custom()

Vala 0.50.6
===========
 * Various improvements and bug fixes:
  - codegen:
    + Improve handling of ellipsis parameter in get_ccode_name()
    + Fix default value of get_ccode_destroy_notify_pos()
    + Don't override valid target/destroy of previous lambda argument [#59]
    + Don't call *_instance_init() in compact class chainup
  - vala: Mark tranformed static member-access as qualified [#270]
  - girwriter: namespace expects "c:symbol-prefixes" attribute [#1038]
  - girwriter: Don't use instance-parameter inside callback [#1167]
  - girparser,libvaladoc/girimporter: Don't guess length of xml header, iterate
    forward to <repository>
  - libvaladoc/girimporter: parse_constant() use "c:identifier" attribute first

 * Bindings:
  - rest-0.7: Fix OAuthProxyAuthCallback binding
  - gtk+-3.0: Fix ModuleInitFunc binding
  - gio-2.0: Fix TlsPassword.get_value() binding
  - Fix several bindings which lead to invalid code by using them in:
    javascriptcoregtk-4.0, libusb, libusb-1.0, pixman-1,
    webkit2gtk-web-extension-4.0, x11, zlib,

Vala 0.50.5
===========
 * Various improvements and bug fixes:
  - codegen:
    + More use of get_ccode_type_name()
    + "_first_array" parameter for params-array is variadic too
    + Inherit GType from base struct of SimpleType structs
    + Error for missing type-arguments of HashTable (de)serialization [#1147]
    + Free intermediate temp-variables of postcondition expression [#80]
    + Use the one available source_reference for internal error [#436]
    + Fix access to captured generics in async method of interfaces [#537]
    + Don't ever create null-aware free macro for GenericType
    + Don't add generics arguments/parameters to async finish method
    + Drop inner casts before converting between generics and integers
    + Include "glib.h" for deprecated symbols (GOBJECT) [#1155]
  - vala:
    + Report warning if --target-glib=auto was not evaluated successfully
    + Fix ownership inheritance of "unowned var" in foreach statement
    + Add missing null-check in DataType.get_type_signature()
    + Check array type of declarations for errornous type-arguments
    + Check (optional) type-arguments of array creation expression
    + Replace all type parameter occurances in parameters for signal delegate
    + Improve error for incompatible expressions in conditional expression
  - gdbus: Don't leak memory of deserialized arguments on error in wrapper method
  - girparser:
    + Reuse populated Node.gtype_struct_for instead of resolving again
    + Evaluate "glib:type-struct" twice to pick up reparented structs
    + Allow overriding of "Compact" attribute for classes
    + Handle empty "<type/>" element and report an error
    + Add support for NoWrapper metadata for methods
  - testrunner: Include Gio-2.0/gio-2.0 for GIR tests too

 * Bindings:
  - glib-2.0,gio-2.0: Add some missing type-arguments
  - gio-2.0: Add some missing NoWrapper and CCode.has_typedef attributes
  - gnutls: Fix some binding errors
  - gsl: Fix some binding errors
  - gtk4: Add Gtk.INVALID_LIST_POSITION [#1151]
  - gtk4-unix-print: Switch to gir
  - gtk4: Update to 4.1.2
  - libwnck-3.0: Update to 3.36.0
  - linux: Provide Input.Event.input_event_sec/input_event_usec fields [#1152]
  - vapi: Fix a couple of attribute typos
  - webkit2gtk-4.0: Update to 2.31.91

https://gitlab.gnome.org/GNOME/vala/raw/0.52/NEWS
Vala 0.52.4
===========
 * Various improvements and bug fixes:
  - codegen:
    + GArray, GByteArray and GPtrArray are reference counted
    + Replace wrongly hard coded usage of G_OBJECT_GET_CLASS
    + Don't add errornous cast for unknown type_symbol
    + Mark entry point method implementation "_vala_main" as static
    + Improve check for GLib.Source derived classes
  - vala: Parameter following params-array parameter is not allowed
  - doc: Update man page to include more information on profiles

 * Bindings:
  - glib-2.0: Add missing has_typedef attributes on SourceFuncs delegates
  - gstreamer: Update from 1.19.0+ git master
  - gtk+-3.0: Update to 3.24.29+f9fe28ce
  - gtk4: Update to 4.3.0+24f0ae1d
  - pango: Mark language parameter of AttrIterator.get_font() as out
  - vapi: Update GIR-based bindings

Vala 0.52.3
===========
 * Various improvements and bug fixes:
  - codegen:
    + Apply gconstpointer to gpointer cast to GenericType only
    + Fix access to captured generics in async method of interfaces (2)
    + Use if-clause for is_in_destructor() condition to be more clear
    + Add missing "_return" label and "_inner_error*_" declaration in dtors
    + Don't use G_GNUC_INTERNAL on implicit type specific fields
  - vala:
    + length-type of arrays must not be nullable
    + Report a warning for unhandled errors in destructors
  - parser:
    + Minor semantic checks to improve error messages
    + Allow empty member-initializer and accept trailing comma
    + Include INTERR token in source_reference of parsed types

0_52 and 0_48 look fine. Nothing uses 0_50 so I didn't review changes too closely.


Delayed start

Hi,
I switched from running the native app to running it in a docker container. Works good.
Only thing I noticed: When no machines are running and the conditions for a smartstart trigger are met, the first start is delayed by the chosen delay interval (300 sec) though it could as well start immediately. Not a big issue, just wanted to mention it.

Couldn't you just pass -delay 0 (or via environment DELAY=0) to disable the delay?


Can't erase giveaway templates

Description
I can't erase giveaway templates even when I press the delete icon.
System (please complete the following information):

ESGST Version: Extension v8.8.8 Tampermonkey v 4.12
Browser + Version: Chrome v90.0.4430.212

Since you noted tampermonkey you probably meant ESGST userscript and not extension/addon? If so it might be related to #1717.

Yeah, pretty sure this is the same as #1717.


libllvmlite.so: cannot open shared object file

I get this for both pycc, or when using jit
procedure:

started docker:

docker run -it ubuntu:16.04

then did:

apt-get update
apt-get install -y g++ git python python-virtualenv vim build-essential python-dev wget sudo
virtualenv -p python2 ~/env2
source ~/env2/bin/activate
mkdir git
cd git
git clone https://github.com/numba/llvmlite
cd llvmlite/
pip install enum34
python setup.py install
cat <<EOF >> /etc/apt/sources.list
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-4.0 main
EOF
wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
apt-get update
apt-get install llvm-4.0
LLVM_CONFIG=llvm-config-4.0 python setup.py install
cd ..
git clone https://github.com/numba/numba
cd numba/
cat requirements.txt | grep -v llvmlite > requirements2.txt
pip install -r requirements2.txt
python setup.py build_ext --inplace
python setup.py install
pycc

result of pycc:
(env2) root@593fb19e20fd:/git/numba# pycc
Traceback (most recent call last):
  File "/root/env2/bin/pycc", line 4, in <module>
    __import__('pkg_resources').run_script('numba==0.34.0.dev0+413.g094dfe9.dirty', 'pycc')
  File "/root/env2/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/root/env2/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1504, in run_script
    exec(code, namespace, namespace)
  File "/root/env2/lib/python2.7/site-packages/numba-0.34.0.dev0+413.g094dfe9.dirty-py2.7-linux-x86_64.egg/EGG-INFO/scripts/pycc", line 2, in <module>
    from numba.pycc import main
  File "/root/env2/lib/python2.7/site-packages/numba-0.34.0.dev0+413.g094dfe9.dirty-py2.7-linux-x86_64.egg/numba/__init__.py", line 9, in <module>
    from . import config, errors, runtests, types
  File "/root/env2/lib/python2.7/site-packages/numba-0.34.0.dev0+413.g094dfe9.dirty-py2.7-linux-x86_64.egg/numba/config.py", line 11, in <module>
    import llvmlite.binding as ll
  File "/root/env2/local/lib/python2.7/site-packages/llvmlite/binding/__init__.py", line 6, in <module>
    from .dylib import *
  File "/root/env2/local/lib/python2.7/site-packages/llvmlite/binding/dylib.py", line 4, in <module>
    from . import ffi
  File "/root/env2/local/lib/python2.7/site-packages/llvmlite/binding/ffi.py", line 50, in <module>
    raise e
OSError: /root/env2/local/lib/python2.7/site-packages/llvmlite/binding/libllvmlite.so: cannot open shared object file: No such file or directory

Some diag:
$ find ~/env2/local/lib/python2.7/site-packages/llvmlite -name 'lib*.so'
# (nothing found)
(env2) root@593fb19e20fd:/git/numba# pip freeze
enum34==1.1.6
funcsigs==1.0.2
llvmlite==0.19.0.dev0+18.g76191dc
numba==0.34.0.dev0+413.g094dfe9.dirty
numpy==1.13.0
pkg-resources==0.0.0
singledispatch==<IP_ADDRESS>
six==1.10.0
(env2) root@593fb19e20fd:/git/numba# python -c 'import llvmlite'
(env2) root@593fb19e20fd:/git/numba#

(seems like the files are in the cloned llvmlite folder:
(env2) root@593fb19e20fd:/git/llvmlite# find . -name '*.so'
./llvmlite/binding/_stub.so
./llvmlite/binding/libllvmlite.so
./ffi/libllvmlite.so
./build/lib.linux-x86_64-2.7/llvmlite/binding/_stub.so

)

After copying it across, by hand, works ok:
(env2) root@593fb19e20fd:/git/llvmlite# cp ffi/libllvmlite.so ~/env2/lib/python2.7/site-packages/llvmlite/
__init__.py   _version.py   binding/      llvmpy/       six.pyc       utils.py
__init__.pyc  _version.pyc  ir/           six.py        tests/        utils.pyc
(env2) root@593fb19e20fd:/git/llvmlite# cp ffi/libllvmlite.so ~/env2/lib/python2.7/site-packages/llvmlite/binding/
(env2) root@593fb19e20fd:/git/llvmlite# pycc
usage: pycc [-h] [-o OUTPUT] [-c | --llvm] [--header] [--python] [-d]
            inputs [inputs ...]
pycc: error: too few arguments

I think you'll need to make the change suggested here https://github.com/numba/numba/issues/2427#issuecomment-311023016 and see if that fixes it without the copy.

Not sure I understand? I already installed llvmlite. How would modifying the requirements.txt change anything?

I'm also slightly puzzled, suggestion was based on observation... doing the process in one env, commenting the entry leads to an error (not the same one as reported, but an error), but in a new env, with the entry patched, seemed to work ok. There's nothing in a -vvv log to suggest anything different happened.

:-)
I used docker, to ensure clean, reproduceable build, for the purposes of the bug reporting, by the way.

so, ok, ify ou say youve tried it, and it works, I'll try that

seems to change nothing for me:
(env2) root@593fb19e20fd:/git/numba# cat requirements.txt
numpy>=1.7
llvmlite>=0.19.dev
argparse
funcsigs ; python_version < '3.4'
singledispatch ; python_version < '3.4'
(env2) root@593fb19e20fd:/git/numba# pip install -r requirements.txt
Requirement already satisfied: numpy>=1.7 in /root/env2/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied: llvmlite>=0.19.dev in /root/env2/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied: argparse in /usr/lib/python2.7 (from -r requirements.txt (line 3))
Requirement already satisfied: funcsigs in /root/env2/lib/python2.7/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied: singledispatch in /root/env2/lib/python2.7/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied: enum34 in /root/env2/lib/python2.7/site-packages (from llvmlite>=0.19.dev->-r requirements.txt (line 2))
Requirement already satisfied: six in /root/env2/lib/python2.7/site-packages (from singledispatch->-r requirements.txt (line 5))
(env2) root@593fb19e20fd:/git/numba# ls ~/env2/lib/python2.7/site-packages/llvmlite/binding/lib*.so
ls: cannot access '/root/env2/lib/python2.7/site-packages/llvmlite/binding/lib*.so': No such file or directory

Oddly, installation from llvmlite 0.16 seemed to work ok for me (but I tested llvmlite 0.16 in Mac, not in docker; the issue might be related to docker somehow. maybe some missing command, eg tar or something?). Anyway, I have nothing not working for me I think, so clsoing this.


train_PPT problem

Hello,
Many thanks for your excellent work! I am currently attempting to reproduce your results.
When I execute run.sh, I encounter the following error:

After debugging, it seems that the sublists within traj_new have inconsistent lengths, which prevents it from being converted into a NumPy array.

Could you please provide guidance on how to resolve this issue? Thank you very much!

Hi @subetter ,
Thanks for your interest! You can try adding dtype=object to the np.array() function on lines 82, 83, and 87 in dataset_loader.py. For example, change np.array(traj_new) to np.array(traj_new, dtype=object). This should resolve the issue.


Expected behavior
All resources associated with the Nebari environment should be deleted on nebari destroy
OS and architecture in which you are running Nebari
Ubuntu Linux, x64
How to Reproduce the problem?
 The VPC will fail to be destroyed unless the load balancer is deleted manually while waiting.
Command output

Versions and dependencies used.
Kubernetes: 1.24
Nebari: 2023.7.2.dev
Compute environment
AWS
Integrations
No response
Anything else?
I assume this behavior would apply to other clouds as well, but only able to test this in AWS.
 May timeout if you wait too long.

Tying this to #1806.


倉頡 phrase caller?

17:11:32 [@joney0210:1] @McBopomofo HI,請問有沒有可能以倉頡字根來自動選字呢？

Not until we recruit a CJ master to work on this and branch it off. (yes $$$)


THRIFT-3574 Cocoa: use the right namespace for included generated .h files

The Cocoa generator currently uses the namespace of the including file in imports statements, instead of the included file.

This fix looks correct. Out of curiosity does it work with Pods frameworks option? I assume it will since you are just including another project file.

@kdubb yes, we are using the pods option


feat: Send-code-button-should-be-gray-out-with-empty-or-invalid-Email…

…-or-phone
Fix: #110
Signed-off-by: wasabi<EMAIL_ADDRESS>

demo link: http://testb.rescld.cn/signup
Have to be aware of is that the regular expression of email comes from the source code of antd(https://github.com/yiminghe/async-validator/blob/057b0b047f88fac65457bae691d6cb7c6fe48ce1/src/rule/type.ts#L9)
the regular expression of email comes from here

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


RFC Optimizing Image Rendering

User story
As the application moves through zoom levels, it requests all of the intermediate layers and can be somewhat jumpy if they are not cached yet.
I personally like OpenSeaDragon's springiness option and I think it could be very nice to have, especially as the application becomes more data-intensive.  Alternatively, we could figure out how to have something nicer than just a black-background show while the application renders the new zoom-level.
Preferred solution

Springiness, as we would essentially not have to wait for requests since they don't go out as quicky
@mccalluc mentioned a queue, which OpenSeaDragon also relies on.  I think this is a very good option.

Possible alternatives

Figuring out how to make things look nice while we wait for updates

Either way, improving the caching strategy to rely on available memory, logical next tile etc. would probably be a good idea.

I think this is old, and I have an issue for the controller bit about OpenSeaDragon in Viv's repo.  Additionally, deck.gl in theory has a queue now.


Don't show unpublished tools/workflows

For ga4gh/dockstore#1765 enhancement
Don't show unpublished entries in starred entries page

Sorry, let's do this in the UI.
I think the obvious next request will be to organize and show unpublished workflows and workflows shared via permissions, so they shouldn't be stripped altogether in the webservice like this.


⚠ RPC server - Binance BSCT has degraded performance

In 9aec6e9, RPC server - Binance BSCT ($BINANCE_BSCT_RPC_URL) experienced degraded performance:

HTTP code: 504
Response time: 10507 ms

Resolved: RPC server - Binance BSCT performance has improved in 0dafc21.


Use Autoconf checks vs. OPENSSL_VERSION_NUMBER

This will work better with the various OpenSSL forks.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1314/ for details.

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/1208/ for details.

FreeBSD build failed! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1316/ for details.

Linux build failed! See https://ci.trafficserver.apache.org/job/Github-Linux/1210/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1317/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1211/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1328/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1222/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1330/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1224/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1347/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1240/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1381/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1274/ for details.

You need this for 7.1.x ?

Cherry-picked to 7.1.x


[Snyk] Security upgrade alpine from 3.16 to 3

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to alpine:3, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

221
CVE-2023-2650 SNYK-ALPINE316-OPENSSL-5661567
No Known Exploit

221
CVE-2023-2650 SNYK-ALPINE316-OPENSSL-5661567
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added code for language translation

Description

Related Issues
closes #398
@codeaashu please review this pr thanks!
https://github.com/user-attachments/assets/bc33076c-4dc7-420a-a7ff-5963350c65f5

Changes Proposed

Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

Well done @sezallagwal  🌟 great work!
We're inviting you to join the Development team of DevDisplay.
https://chat.whatsapp.com/Dcl21sgGDIpHURESSuH0p4
After joining introduce you in with your tech skills.
Our team will contact you after that.


Feature request: Run commands in sequence

I know this module is about doing stuff in parallel. Anyway it is also very convenient to have something like concurrently npm:build-* and sometimes it is just needed to have something executed in sequence instead of parallel. Therefor I would love to have an option to do so, e.g. concurrently npm:build-* --sync

There’s a tool called npm-run-all that you might be interested in.

There’s a tool called npm-run-all that you might be interested in.

Haven't tried, but does --max-processes 1 do this?

I can confirm --max-processes 1 solves the probem, this issue should be closed.
@lydell npm-run-all seems kind of abandoned to me, probably people are coming here for a more "active" alternative?

Maybe a --sync flag could be added as an alias of --max-processes 1.
P.D: Can confirm the flag solves the problem.


Fail to start a VM on Origin 3.10 (dp telling us allocatable=0)

I fail to start a VM on Origin 3.10, because nodes do not have allocatable KVM and TUN devices:
 cpu:                      2
 devices.kubevirt.io/kvm:  110
 devices.kubevirt.io/tun:  110
 hugepages-1Gi:            0
 hugepages-2Mi:            0
 memory:                   2937344Ki
 pods:                     250
Allocatable:
 cpu:                      2
 devices.kubevirt.io/kvm:  0
 devices.kubevirt.io/tun:  0
 hugepages-1Gi:            0
 hugepages-2Mi:            0

./cluster/kubectl.sh describe pod virt-launcher-vmi-ephemeral-z92rh
...
Events:
  Type     Reason            Age                From               Message
  ----     ------            ----               ----               -------
  Warning  FailedScheduling  25s (x14 over 2m)  default-scheduler  0/2 nodes are available: 2 Insufficient devices.kubevirt.io/kvm, 2 Insufficient devices.kubevirt.io/tun.

Under virt-handler log I have
level=info timestamp=2018-06-21T08:00:28.858553Z pos=cache.go:151 component=virt-handler msg="Synchronizing domains"
level=info timestamp=2018-06-21T08:00:28.959534Z pos=device_controller.go:131 component=virt-handler msg="Starting device plugin controller"
level=info timestamp=2018-06-21T08:00:28.969575Z pos=device_controller.go:125 component=virt-handler msg="kvm device plugin started"
2018/06/21 08:00:28 grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: write unix /var/lib/kubelet/device-plugins/kubevirt-kvm.sock->@: write: broken pipe"
level=info timestamp=2018-06-21T08:00:28.973425Z pos=device_controller.go:125 component=virt-handler msg="tun device plugin started"
2018/06/21 08:00:28 grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: write unix /var/lib/kubelet/device-plugins/kubevirt-tun.sock->@: write: broken pipe"

Nodes versions:
NAME      STATUS    ROLES                  AGE       VERSION
node01    Ready     compute,infra,master   1h        v1.10.0+b81c8f8
node02    Ready     compute                1h        v1.10.0+b81c8f8

This could be related to
https://github.com/kubernetes/kubernetes/issues/62773
fixed with
https://github.com/kubernetes/kubernetes/pull/63118

Some additional info, when I added configMap via --namespace kube-system create configmap kubevirt-config --from-literal debug.useEmulation=true a VM also failed to start with errors under virt-launcher pod
level=error timestamp=2018-06-21T10:11:09.670507Z pos=server.go:154 component=virt-launcher reason="listen unix /var/run/kubevirt/sockets/kubevirt-test-default_testvmi64qfv_sock: bind: permission denied" msg="failed to create unix socket for launcher cmd service"
level=error timestamp=2018-06-21T10:11:09.670570Z pos=virt-launcher.go:81 component=virt-launcher reason="listen unix /var/run/kubevirt/sockets/kubevirt-test-default_testvmi64qfv_sock: bind: permission denied" msg="Failed to start virt-launcher cmd server"
panic: listen unix /var/run/kubevirt/sockets/kubevirt-test-default_testvmi64qfv_sock: bind: permission denied

so I think we need https://github.com/kubevirt/kubevirt/pull/1187 until we will sure that DP works under OpenShift 3.10

@gouyang tried it with his environment and had the same issue
# oc version
oc v3.10.0-0.69.0
kubernetes v1.10.0+b81c8f8
openshift v3.10.0-0.63.0
kubernetes v1.10.0+b81c8f8
# openshift version
openshift v3.10.0-0.69.

Looks like after some time it succeeded to get allocated devices.

It started with or without emulation?

@fabiand I tried it with emulation and without, I do not sure if it relates to the KVM device plugin.
I just can not start a VM on the origin 3.10 also when allocated KVM devices are here.

@fabiand @stu-gott https://github.com/kubevirt/kubevirt/issues/1196#issuecomment-399051511 can be an additional side effect of dropping privileged from the virt-launcher container.
Under k8s we have SELinux disabled and under OS it enabled.

ausearch -m avc --start recent
----
time->Thu Jun 21 12:03:19 2018
type=PROCTITLE msg=audit(1529582599.229:10379): proctitle="/usr/sbin/libvirtd"
type=SYSCALL msg=audit(1529582599.229:10379): arch=c000003e syscall=257 success=no exit=-13 a0=ffffffffffffff9c a1=7f164122484e a2=80001 a3=0 items=0 ppid=20653 pid=20668 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="libvirtd" exe="/usr/sbin/libvirtd" subj=system_u:system_r:container_t:s0:c67,c240 key=(null)
type=AVC msg=audit(1529582599.229:10379): avc:  denied  { write } for  pid=20668 comm="libvirtd" name="mtrr" dev="proc" ino=4026531960 scontext=system_u:system_r:container_t:s0:c67,c240 tcontext=system_u:object_r:mtrr_device_t:s0 tclass=file
----
time->Thu Jun 21 12:03:28 2018
type=PROCTITLE msg=audit(1529582608.902:10398): proctitle=2E2F766972742D6C61756E63686572002D2D71656D752D74696D656F757400356D002D2D6E616D6500766D692D6665646F7261002D2D6E616D6573706163650064656661756C74002D2D6B756265766972742D73686172652D646972002F7661722F72756E2F6B75626576697274002D2D72656164696E6573732D66696C65
type=SYSCALL msg=audit(1529582608.902:10398): arch=c000003e syscall=49 success=no exit=-13 a0=7 a1=c4201b8410 a2=34 a3=0 items=0 ppid=20578 pid=20616 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="virt-launcher" exe="/virt-launcher" subj=system_u:system_r:container_t:s0:c67,c240 key=(null)
type=AVC msg=audit(1529582608.902:10398): avc:  denied  { write } for  pid=20616 comm="virt-launcher" name="sockets" dev="tmpfs" ino=112881 scontext=system_u:system_r:container_t:s0:c67,c240 tcontext=system_u:object_r:container_var_run_t:s0 tclass=dir

@cynepco3hahue My current thinking is this is simply a race condition. You said "allocatable" is eventually non-zero right?

@cynepco3hahue we should have a separate issue for the selinux issues.

@fabiand Created https://github.com/kubevirt/kubevirt/issues/1205

@fabiand @stu-gott Some additional information looks like we really encounter the issue that @fabiand mentioned https://github.com/kubernetes/kubernetes/issues/62773, and it strongly affects our CI, because we have virt-handler crash test and after it allocated will always equal to 0.
@stu-gott I believe I skipped part of device plugin discussion, but can we separate device plugin from virt-handler and put it under additional daemon set, to have the possibility to test each component independently and not be affected by the issue under our CI tests?

Bottom line. There is not much we can do right now. It's a bug in kubernetes.
We could decouple DP from handler, but the issue will not be resolved.

@stu-gott how does #1266 relate to this.
Also "renaud [16:41]
@fabiand I believe 1.9.5, 1.9.6, 1.10.0 1.10.1, 1.10.2 are the only releases affected by this bug."

The KVM issue is resolved. Now a tun issue resides, see #1316


[STREAMPIPES-338] Changes to rename single field.

Remarks

Fixes: https://issues.apache.org/jira/browse/STREAMPIPES-338

@bossenti I have addressed the review comments. Please have a look.


Remove scheme and authority from path before relativizing in version …

…finder.

Minor fix, self-approving.


Setup: rarely setting the public key in keychain fails

From @idokleinman on March 30, 2015 18:0
when that happens it will happen continuously in each retry when connecting to device, until app is restarted.
very hard to reproduce
Copied from original issue: spark/mobile-sdk-ios#69

Can also replicate this, not sure how though

Working on it. Any insight/repro techniques/info most welcome.

I can replicate this every time by doing the following:
-Initiate setup process and enter incorrect details
-Re-initiate setup process while you're connected to Photon's WIFI rather than your own

wrong details as in wrong wifi creds or wrong Particle login?

Wrong WIFI creds, luckily I've found that this only happens in debug mode.

on simulator/device?

Device


Sample fails to run.

After building the sample, the following is displayed when run from a command prompt.  I changed the build like so, which is probably incorrect, but was the best guess I could come up with.  No clue where WinAppSDK might come from.
add_executable(Sample main.swift)
message(STATUS "-------------------------------------------------------------------")
message(STATUS "Building sample with WindowsAppSDK instead of WinAppSDK...")
message(STATUS "-------------------------------------------------------------------")
target_link_libraries(Sample PRIVATE
WindowsRuntime
MddBootstrap
WindowsAppSDK
WinUI
WinUI_MicrosoftUIXaml
UWP)
D:\Swift\swift-winui-sample\build\debug\Sources>sample
Swift/ErrorType.swift:253: Fatal error: Error raised at top level: Package dependency criteria could not be resolved.
Current stack trace:
0    swiftCore.dll                      0x00007ff9737890e0 swift_reportError + 94
1    swiftCore.dll                      0x00007ff973825fb0 swift_stdlib_reportFatalErrorInFile + 132
2    swiftCore.dll                      0x00007ff9734983d0 StaticString.withUTF8Buffer(:) + 1060
3    swiftCore.dll                      0x00007ff973497580 assertionFailure(::file:line:flags:) + 326
4    swiftCore.dll                      0x00007ff9735037e0 swift_errorInMain + 787
5    Sample.exe                         0x00007ff6d8d812b0 main + 523
6    Sample.exe                         0x00007ff6d8d812b0 main + 45920
7    KERNEL32.DLL                       0x00007ff9a0612580 BaseThreadInitThunk + 29
8    ntdll.dll                          0x00007ff9a1c0af10 RtlUserThreadStart + 40

I was starting to wonder if I was losing it.  I'm relieved to have gotten to the finish line before you.  Just saw your reply.  Thank you for having a look before your American Thanksgiving.  Presumably this is round two for you.  Merci from Toronto.

It doesn't fully build and run yet but this is the code I have locally and will merge once ready: https://github.com/tristanlabelle/swift-winui-sample/tree/application . I think it works if you remove the IXamlMetadataProvider stuff.

Thank you.  I'll have a look later today.  The generator is super cool!  I'm trying to figure out how to use your bits within a host app.  Trying to use Swift with XAML.  I'm finding it challenging to pull all of this off with cmake.  Without XAML, you need some sort of fluent API in Swift.  It looks like there are less than a handful of people on the planet toying with combining WinUI/XAML/Swift bits.  Somehow, I always wind up on the bleeding edge!

It looks like there are less than a handful of people on the planet toying with combining WinUI/XAML/Swift bits.

It's The Browser Company + a couple hobbyists. I'm hoping this repo lowers the barrier of entry once it's ready. I'd like to have all the infra to build an msix installer too.

Try the latest main, I was able to get a working application:


Unable to link

Describe Your Problem:
I have gone through all the setup and I receive the successfully retrieved cookie notification. However, when it tries to startup with that, I get this error: “ bridgeHomebridgeAlexaSmartHomeERRORAfter initialization - HttpError(Error getting smart home devices. Reason: Cookie invalid, Renew unsuccessful)”
Ive gone through it multiple times and got the same result. MFA is on.
It almost looks like it’s not getting saved properly.
Logs:
12/3/2023, 9:32:32 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Cookie: Result: csrf=4921321, Cookie=session-id=133-0927576-7526369; session-id-time=2332341152l; ubid-main=132-2371216-6320700; x-main=v2wTt?dxbl7Cj8e3dw5YvuqczrUBUhm1; at-main=Atza|IwEBIDCoxopzSEDJS2HmXXnHlsYOQ3XqvaUPiYVtA6Sso1q6bVjgTMQKodJzFSsPDrqLEUiCppPdISZaHwBCsynGLx3-_4lSMRPXR1EArmjaCTNpXE2p-9u5Mj5cQ_C1QOgOnnEJcK4ltxsjrgSEUmRFsveMgCqYfoHL7u0Z9x0VyuQTFPgnMqoE5sWhAUAjNsBaUXcnuyE3X9UZCn6Hbwm2yG7BErVZoLfpEJtUNgAmq7cpMF-wTEHDA0dZ89gSJt5XZbtP4eVYW0fLPThUnJ7gktwFkcAzGpppkzgcmcpTxENssXPqwD-MPBkVrIY5Ca8H_JW1_g3qyEFtlPanyLakTu_sczuSkZeDA09qRFT08S3VXsDx7-Mw3SVtwu1k1fdAkiLantkPwKPEldHEECcdj59C; sess-at-main=DisraQx6TEGZy1XDl9epxaGMgi/J0CU2Xt1r/9quydw=; csrf=4921321
12/3/2023, 9:32:32 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa login cookie updated. Storing cookie in file: /var/lib/hoobs/hoobsbridge/persist/.homebridge-alexa-smarthome
12/3/2023, 9:32:42 AMHoobs bridge starting
12/3/2023, 9:32:46 AMHoobs bridgeLoaded plugin 'homebridge-alexa-smarthome'
12/3/2023, 9:32:46 AMHoobs bridgeLoaded plugin 'homebridge-lennox-icomfort'
12/3/2023, 9:32:47 AMHoobs bridgeLoaded plugin 'homebridge-myq'
12/3/2023, 9:32:48 AMHoobs bridgeLoaded plugin 'homebridge-platform-insteonlocal'
12/3/2023, 9:32:48 AMHoobs bridgeLoaded plugin 'homebridge-smartthings-ik'
12/3/2023, 9:32:48 AMHoobs bridgeLoading 5 platforms...
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalStarted connection watcher...
12/3/2023, 9:32:48 AMHoobs bridgemyQERRORNo myQ login credentials configured.
12/3/2023, 9:32:48 AMHoobs bridgeLennoxIComfortFinished initializing platform: undefined
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalLoading accessory from cache: Entry Hall Lights
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalLoading accessory from cache: Family room lamps
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalLoading accessory from cache: Nightstand lamps
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalLoading accessory from cache: Living Room lamps
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalLoading accessory from cache: Porch lights
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalLoading accessory from cache: Basement leak sensor
12/3/2023, 9:32:48 AMHoobs bridgeSmartthings Plug (IK)Loading accessory from cache: Front Door
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalFound 6 devices in config
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalRestoring existing accessory from cache: Entry Hall Lights
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalRestoring existing accessory from cache: Family room lamps
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalRestoring existing accessory from cache: Nightstand lamps
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalRestoring existing accessory from cache: Living Room lamps
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalRestoring existing accessory from cache: Porch lights
12/3/2023, 9:32:48 AMHoobs bridgeInsteonLocalRestoring existing accessory from cache: Basement leak sensor
12/3/2023, 9:32:48 AMHoobs bridgeHomebridgeAlexaSmartHomeLogin required because existing authentication not found
12/3/2023, 9:32:48 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Remote: No cookie given, generate one
12/3/2023, 9:32:48 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Remote: Error from retrieving cookies
12/3/2023, 9:32:48 AMHoobs bridgeBridge is running on port 51826.
12/3/2023, 9:32:48 AMHoobs bridgeHomebridgeAlexaSmartHomeERRORFailed to initialize connection to Alexa. - Please open http://hoobs.local:2345/ with your browser and login to Amazon. The cookie will be output here after successfull login.
12/3/2023, 9:32:49 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Remote: Authentication check Error, try re-init
12/3/2023, 9:32:49 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Remote: No cookie given, generate one
12/3/2023, 9:32:49 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Remote: Error from retrieving cookies
12/3/2023, 9:32:49 AMHoobs bridgeHomebridgeAlexaSmartHomeAlexa-Remote: Authentication check Error and renew unsuccessful. STOP
12/3/2023, 9:32:49 AMHoobs bridgeHomebridgeAlexaSmartHomeERRORAfter initialization - HttpError(Error getting smart home devices. Reason: Cookie invalid, Renew unsuccessful)
12/3/2023, 9:32:49 AMHo
Plugin Config:
"platform": "HomebridgeAlexaSmartHome",    "amazonDomain": "amazon.com",    "auth": {        "refreshInterval": 4,        "proxy": {            "clientHost": "hoobs.local",            "port": 2345        }    },    "language": "en-US",    "devices": [        "Living room thermostat"    ],    "debug": true}

Screenshots:

Environment:

Plugin Version: 2.0.3
Homebridge Version: 1.6.0
Node.js Version: 16.20.2
NPM Version:  hoobs 4.3.0
Operating System: Raspbian

Hi @jayewyo, I am not a HOOBS user or developer so this plugin is not guaranteed to be compatible with HOOBS. I am not aware of any HOOBS users that have been successful. See https://github.com/joeyhage/homebridge-alexa-smarthome#compatibility


Textures on 3D meshes should support different types of texture sampling

When displaying a mesh with texture using Mesh3D::with_albedo_texture it is not possible to select the texture sampling strategy. It looks like some interpolation like "linear" is used. This makes it hard to correlate pixel data with other 3D primitives like feature points and lines. For pixel-accurate visualization it is important that the source data is not changed by the visualization.
My request would be to provide the option to specify at least the following three options for texture sampling:

Auto/Default: how it works today
Nearest
Linear

See here for more details on texture sampling: https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-texel-filtering

Also related to the lack of mipmapping on meshes (what one usually would expect)

#830
#2039


GLB models with Draco compression don't load in Blender 2.8

Hello,
GLB models with Draco compression don't load in Blender 2.8. I get this error:
RuntimeError: Error: Extension KHR_draco_mesh_compression is not available on this addon version
Blender 2.8 build: 74db65e5424-win64

until it's settled in blender 2.8...
How to decode draco_gltf_file or draco_gld_file back through the gltf - pipeline? It turns out to encode, but not back …Is there an online tool for decoding?

Draco export works now but import is still broken. Is that something on the roadmap?

Draco importer is not really "broken", because it is only not implemented yet.
Don't think someone worked on it yet, so I can't provide any roadmap. I will let you know when we will be able to provide more information

Sorry for the wrong wording. Thank you for your quick response. Looking forward to having this ability in the future.

Another workaround here, probably simpler than https://github.com/KhronosGroup/glTF-Blender-IO/issues/252#issuecomment-579885205 —
npm install --global @gltf-transform/cli@alpha

# Make an uncompressed copy of 'compressed.glb'
gltf-transform copy compressed.glb uncompressed.glb

^The copy command decompresses by default now, but in the future that will probably require a more specific command. After decompressing the file, Blender will be able to read it.

Another workaround here, probably simpler than #252 (comment) —
npm install --global @gltf-transform/cli@alpha

# Make an uncompressed copy of 'compressed.glb'
gltf-transform copy compressed.glb uncompressed.glb

^The copy command decompresses by default now, but in the future that will probably require a more specific command. After decompressing the file, Blender will be able to read it.

The alpha version keeps throwing this error.

@resuly You can report bugs on gltf-transform here : https://github.com/donmccurdy/glTF-Transform
Let's try to keep this repo for Blender importer / exporter issues

That issue should be fixed if you update to the latest alpha (by re-running the same installation command). Otherwise, as Julien suggests, I'm happy to take bug reports on the repo above. Thanks for letting me know! 👍

Fixed at https://github.com/KhronosGroup/glTF-Blender-IO/pull/1268.


missing translation in the access data PDF

use English menus in OS
go to the menu Settings-> Participants and assure that in the field "Help text for access data and welcome PDF" is the default text (press Reset).
now go to the Participants menu
change the menu language of OS to German
create the Zugangsdatenliste PDF

result: While the PDF is in German you have the English text "[Place for your welcome and help text.]" in there. But if you look at the participant settings you see the correct German default text "[Platz für Ihren Begrüßungs- und Hilfetext.]"
The same bug appears for the "Title for access data and welcome PDF" field content in the participant settings.

Confirmed. Fixed with #2742.

Fixed.

Confirmed fixed.


Rebuild for pytorch113

Migrator is stuck because pytorch 1.13 is only built for CUDA 11.2

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/torchsparse, this is green (except for a spurious failure), PTAL :)

Gentle ping @conda-forge/torchsparse

@conda-forge/core
I pinged on this twice over the last 3 weeks with no response. Now added myself to maintainers. PTAL :)

@conda-forge-admin please rerender

OSX failure seems real right?


[stringref-upgrade] Return a StringRef from suffixForPrincipalOutputF…

…ileForAction instead of a const char *.
This is in prepration for changing Strings.h to use StringLiteral.

@swift-ci smoke test and merge


ProcedureKit Instruments

Still pretty early days here, but looks like a fairly obvious easy win, for ProcedureKit (the project/org) to produce an Instrument for use in Xcode 10 to help diagnose, debug & optimise framework usage.
Creating this issue as a holding place as I will probably have a look into this while at WWDC.

Might be a good idea to update the logger element of the framework to use OSLog when possible.

👆 this is what this looks like. Unfortunately, the Instruments UI does not support arbitrary nested hierarchies. Created a radar.

Looks great. Now if only I could get the signposts to show up for Alamofire.

@danthorpe A question: where can i find the client app element that you're using?
I wanted to try some work on this but i can't locate the client app that your using it's not in the git...
P.S. Are you sure that it's a bug maybe we need a different configuration?

Hey, @ArkadiYoskovitz I have been making (in my spare time) a sample app of Earthquakes to demonstrate ProcedureKit. It's currently closed source, but I will open source it when ready as part of v5 of ProcedureKit.

If you want to play around though, you could check out this branch, and do the following:

Use Xcode 10, and either an iOS device running iOS 12, or a Mac running Mojave.
Use a client app which depends on ProcedureKit - and use the build products from this branch in the client app.
Build the ProcedureKitInstruments target, and it will load into Instruments and will allow you see the procedures which are running in your app. At the moment, this is pretty rudimentary. But it does show some promise - I've got some work to do on it before it can be safely merged.

So, I've spent a fair bit of time in the Custom Instruments labs at WWDC this year, to further understand how this all works, and get this branch to where it is at the moment. I spent about an hour going through what I want to do with Chad from the session: https://developer.apple.com/videos/play/wwdc2018/410/
He was pretty clear that it's not a bug, its just not a visual representation that they've needed up to now - tellingly there isn't an NSOperation/Queue instrument.


Load image from link

func photoViewerController(_ photoViewerController: DTPhotoViewerController, configurePhotoAt index: Int, withImageView imageView: UIImageView) {
    imageView.pin_setImage(from: images[index].link?.toURL, [placeholderImage:](url) cell.imageView.image)
    }
  }

when loading image i zoom imageView and when loaded image this is change zoomscale

@phucdth12a I will make a fix to disable zooming if imageView does not have an image.

@phucdth12a I've fixed it in version 1.2.5. Please updat your pod.

#32


'big5' encoding not detected

See this feed: http://www.digitimes.com.tw/tech/rss/xml/xmlrss_10_0.xml
The top line of the feed is:
<?xml version="1.0" encoding="big5" ?>

But the detected encoding is iso-8859-1. It should be big5.
Expected Result
r.encoding should be big5.
Actual Result
r.encoding is iso-8859-1.
Reproduction Steps
>>> import requests
>>> r = requests.get('http://www.digitimes.com.tw/tech/rss/xml/xmlrss_10_0.xml')
>>> r.encoding
'ISO-8859-1'
>>> print r.text[900:1000]
xÆW¤Ó¶§¯à¹q¦À¤jÁp·ù¡A´Á¯à¶i¦æ¾ã¦X¡A¥Ø«e±À´ú¬ù¦³4®a¼t°Ó°Ñ»P¡A¥i¯à¥é·Ó¦´ÁÁp¹q°Æ¸³¨Æªø«Å©ú´¼¥l¶°²Õ¦¨¥x
>>> r.encoding = 'big5'
>>> print r.text[900:1000]
均三緘其口。即將跨入10月PV Taiwan年度展期，近期台太陽能市場熱鬧非凡，除了對模組聯盟最終拍板......]]></description>
<keyword><![CDATA[太陽能矽晶圓

System Information
$ python -m requests.help

{
  "chardet": {
    "version": "3.0.4"
  },
  "cryptography": {
    "version": "1.6"
  },
  "idna": {
    "version": "2.6"
  },
  "implementation": {
    "name": "CPython",
    "version": "2.7.10"
  },
  "platform": {
    "release": "16.7.0",
    "system": "Darwin"
  },
  "pyOpenSSL": {
    "openssl_version": "100020af",
    "version": "16.2.0"
  },
  "requests": {
    "version": "2.18.4"
  },
  "system_ssl": {
    "version": "9081df"
  },
  "urllib3": {
    "version": "1.22"
  },
  "using_pyopenssl": true
}

We rely on chardet to determine the encoding of the content. Whatever chardet library says is what we auto-detect the content as.

Something strange is going on then...
>>> import chardet
>>> chardet.__version__
'3.0.4'
>>> import urllib
>>> r = urllib.urlopen("http://www.digitimes.com.tw/tech/rss/xml/xmlrss_10_0.xml").read()
>>> chardet.detect(r)
{'confidence': 0.99, 'language': 'Chinese', 'encoding': 'Big5'}
>>> requests.get('http://www.digitimes.com.tw/tech/rss/xml/xmlrss_10_0.xml').encoding
'ISO-8859-1'

I had something similar recently, so I decided to take a look.
The encoding that is selected by requests seems to be coming from get_encoding_from_headers() at https://github.com/requests/requests/blob/master/requests/utils.py#L428. Because the server returns a Content-Type with 'text' in its value, ISO-8859-1 is assumed.
The detected character set by chardet (apparent_encoding) is only used when no encoding has been set (before parsing the content body?)
One solution would be to remove the assumption in get_encoding_from_headers(), but I don't know what consequences that would have.

This is covered by #2086. However, I should note that there is no way that Requests will ever look into the HTML: only that it will use chardet.


Add Denis to relevant grants in demo instance

Details to be filled out.
He's already in the system and has many grants.
He'll need at least an NIH grant, a ED grant and an and USAID grant. The goal is that Denis will be able to  demo all possible workflow of PASS.
grants doc from Karen https://docs.google.com/document/d/1B5qvMAuOJuZ4gAud9j3GAShizTUBoZEO05KJrnqlD7c/edit

@birkland please inform Sayeed when Denis' account is ready to go.

As it turns out, he was affected by assigning some of his grants to others.
A ED grant he is PI on was assigned to John:
https://pass.local/fcrepo/rest/grants/a9/c5/d6/4d/a9c5d64d-05ea-4776-ad8f-0881e45d9242
I changed it so that he retains PI on it, and John is a CO-PI.
I also added a USAID grant:
https://demo.pass.library.jhu.edu/fcrepo/rest/grants/73/0d/5b/f1/730d5bf1-2953-4c0b-b21b-1d7744e57bcc
No now his user has NIH, ED, and USAID


Add grace time for initial delay

If you have really bad luck, Java's handling for integer division causes the routine to fire one second too early. While that doesn't sound like a real issue, it will cause healthchecks.io to misbehave (and mark a check as "down" if the ping already arrived at 11:59:59 instead of 12:00:00). Therefore, a grace time of 5 seconds will be added. As all Watchdog instances will follow this pattern, synchronisation will not be lost.


Error on web-ifc-three instalation in a Next.js app

If i have a next.js app i install web-ifc-three, the following screen will appear:

I also tested it with a React app (create-react-app). The setup worked fine, and the errors that prevented me from opening the Next app were just warnings while I was compiling. But when I tried to load the model with the IFCLoader, the following error appeared (the following images are the part of the code that resulted in the error, the compiling warnings and the error in the website console):

There is a workaround is in the discord server: https://discord.com/channels/799990228336115742/1091078047228235877
Just need to transpile packages

I think the package.json for web-ifc-three is wrong.
web-ifc-three refers to an ESM named IFCLoader.js in the "main" property of package.json.
However, according to the Node.js specification, if you want the file to be loaded as an ESM, the extension must be .mjs or the value of the "type" field must be "module".
web-ifc-three satisfies neither of these requirements.

As a further problem, I tried rewriting the web-ifc-three's package.json to reference the IFCLoader.umd.cjs included with web-ifc-three in the main property, but this UMD is trying to load an ESM 'three/examples/jsm/utils/BufferGeometryUtils' (By the way, this can't solved without the .js extension, so I actually changed it to three/examples/jsm/utils/BufferGeometryUtils.js.) with require, which also results in an error.

I am using the following post-install script as a workaround to avoid build issues in my angular application.
`const fs = require('fs');
const path = require('path');
const filePath = path.join(__dirname, 'node_modules/.pnpm/web-ifc-three@0.0.125_three@0.149.0/node_modules/web-ifc-three/IFCLoader.js');
let fileContent = fs.readFileSync(filePath, 'utf8');
fileContent = fileContent.replace(
"from 'three/examples/jsm/utils/BufferGeometryUtils'",
"from 'three/examples/jsm/utils/BufferGeometryUtils.js'"
);
fs.writeFileSync(filePath, fileContent);`


[enhancement]: SqlAzureDacpacDeployment will fail after one hour when AAD access token expires. Should have a refresh logic

Task name
SqlAzureDacpacDeployment
Describe your feature request here
Hello,
I would require an enhancement to manage the Access Token automatic Refresh
Context :
Deploy a SQL Project using Azure AD Authentification.
Current Behavior :
When the SQL deployment takes more than 1 hour, the deployment fails with the following message.
2023-10-02T08:00:19.6965089Z Updating database (Start)
...
2023-10-02T09:11:53.1389906Z Checking existing data against newly created constraints
2023-10-02T09:11:53.2446787Z Update complete.
2023-10-02T09:11:53.5827540Z *** Login failed for user '<token-identified principal>'. Token is expired.
2023-10-02T09:11:53.6051805Z *** Login failed for user '<token-identified principal>'. Token is expired.
2023-10-02T09:11:54.1393058Z *** Login failed for user '<token-identified principal>'. Token is expired.
...
2023-10-02T09:23:04.5046430Z ##[error]The operation was canceled.

In my exemple,
The Access Token is aquired at 2023-10-02T08:00:19.6965089Z on the first DB Connection but as the DB Deployment finished at 2023-10-02T09:11:53.2446787Z the Task finish in Error.
Proposed Enhancement would be to manage the Access Token Refresh.
Possible Workaround :
The only workaround, i found is to set some retry at the task level to not fail the pipeline.
Thanks for your review.

Hi @darknoon29 thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.


fix: remove obsolete Github ID and secret

@iocanel could you pls take a look? This PR removes obsolete GitHub setup and adds demo data switch.

@iocanel thanks and @tplevko thanks for the PR :)


istio-csr "failed to generate workload certificate" while regular cert-manager certs generate fine against same issuer

Done this install successfully on two other clusters this weekend, the third is giving me headaches.
Following several tutorials, cobbled together and then updated as needed ... example - https://medium.com/everything-full-stack/how-to-integrate-vault-as-external-root-ca-with-cert-manager-istio-csr-and-istio-7684baa369db
The other two clusters are happy as anything and all mTLS is using certs from Vault now.
This cluster goes smooth to and through installing istio-csr, but subsequently trying to install istio fails.
The ingressgateway that is failing to deploy says -
2022-05-02T03:55:34.117852Z     info    ads     ADS: new connection for node:istio-ingressgateway-internal-7bddbcc6bf-48785.istio-system-3
2022-05-02T03:55:34.300582Z     info    ads     ADS: "@" istio-ingressgateway-internal-7bddbcc6bf-48785.istio-system-2 terminated rpc error: code = Canceled desc = context canceled
2022-05-02T03:55:34.301033Z     warning envoy config    StreamSecrets gRPC config stream closed: 2, failed to generate secret for default: failed to generate workload certificate: create certificate: rpc error: code = Unauthenticated desc = request authenticate failure
2022-05-02T03:55:34.633563Z     warn    sds     failed to warm certificate: failed to generate workload certificate: create certificate: rpc error: code = Unauthenticated desc = request authenticate failure
2022-05-02T03:55:34.785551Z     info    ads     ADS: new connection for node:istio-ingressgateway-internal-7bddbcc6bf-48785.istio-system-4
2022-05-02T03:55:34.881997Z     info    ads     ADS: "@" istio-ingressgateway-internal-7bddbcc6bf-48785.istio-system-3 terminated rpc error: code = Canceled desc = context canceled
2022-05-02T03:55:34.882269Z     warning envoy config    StreamSecrets gRPC config stream closed: 2, failed to generate secret for ROOTCA: failed to generate workload certificate: create certificate: rpc error: code = Unauthenticated desc = request authenticate failure

and at that point the cert-manager-istio-csr pod is spewing -
2022-05-02T03:57:52.201325Z     error   klog    grpc-server "msg"="failed to authenticate request" "error"="could not get cluster hcloud's kube client" "serving-addr"="<IP_ADDRESS>:6443"
2022-05-02T03:57:53.874820Z     error   klog    grpc-server "msg"="failed to authenticate request" "error"="could not get cluster hcloud's kube client" "serving-addr"="<IP_ADDRESS>:6443"
2022-05-02T03:57:54.879386Z     error   klog    grpc-server "msg"="failed to authenticate request" "error"="could not get cluster hcloud's kube client" "serving-addr"="<IP_ADDRESS>:6443"
2022-05-02T03:57:56.600201Z     error   klog    grpc-server "msg"="failed to authenticate request" "error"="could not get cluster hcloud's kube client" "serving-addr"="<IP_ADDRESS>:6443"
2022-05-02T03:58:02.333440Z     error   klog    grpc-server "msg"="failed to authenticate request" "error"="could not get cluster hcloud's kube client" "serving-addr"="<IP_ADDRESS>:6443"
2022-05-02T03:58:06.919867Z     error   klog    grpc-server "msg"="failed to authenticate request" "error"="could not get cluster hcloud's kube client" "serving-addr"="<IP_ADDRESS>:6443"

I've spent a full day trying to get this working, searching and trying anything and everything I could find, ripping it all out, and trying again and again with little changes or tweaks or upgrades or whatever I could manage ... I always end up at this same spot.
The biggest differences about this cluster from the other two are, 1) It's ARM64, and 2) it's using docker as a container runtime due to some weird containerd+cni+weave issues happening on ARM with Kubespray right now.
Any help would be GREATLY appreciated.  I'm at a total loss.
I am able to generate a cert against the issuer with a normal certificate request no problem ... it's just istio-csr that is giving me grief.

Now I'm getting the same on a totally different cluster built with microk8s and all amd64 ... very stumped, three clusters no problem, two clusters this problem.  Wish the output from any of the pieces was more descriptive and explained what was going on better.

Hi @hyacin75, this looks like a duplicate of https://github.com/cert-manager/istio-csr/issues/85#issuecomment-897057232
Can you try setting the cluster name on istio-csr?

Sadly that already is in my filled out template from the tutorial -
helm --kube-context="hcloud" install -n cert-manager cert-manager-istio-csr jetstack/cert-manager-istio-csr --set app.clusterID=hcloud --set app.certmanager.issuer.name=vault-istio-ca-hcloud-issuer --set app.logLevel=3
I did rip it out and try again just to be 100% sure, but got the same as above again.
Does it need to match anything other than what is in the subsequent istio operator overrides?
 values:     global:       caAddress: cert-manager-istio-csr.cert-manager.svc:443       multiCluster:         clusterName: hcloud       network: network1       meshID: mesh1