Address G115 findings

Changes
We have new gosec findings in https://github.com/shipwright-io/build/actions/runs/10484927930/job/29040118261?pr=1668 for the new G115 rule. Interestingly, gosec has not even released that while golangci-lint already validates it.
We actually had one real though unrealistic finding for the limits that we allow users to define for number of buildruns in a build. We have a uint there and casted it to int which theoretically can fail if a user would use an unreasonably high value that goes beyond math.MaxInt. I therefore declared a reasnably high maximum in the type and nosec'ed it.
In the bundle package, the finding is imo unrealistic but suddenly Go's tar Header type uses an int64 where it should be better using maybe directly os.FileMode.
Submitter Checklist

[ ] Includes tests if functionality changed/was added
[ ] Includes docs if changes are user-facing
[x] Set a kind label on this PR
[x] Release notes block has been filled in, or marked NONE

Release Notes
NONE

/approve


Performance of flat_hash_set copy constructor

Hi!
I have been running some measurements for flat_hash_set and I stumbled on the fact that coping takes some unreasonable time.
              vector    flat_hash_set
100    ints   154 ns      1340 ns
1000   ints   151 ns      12682 ns
10000  ints   2439 ns     128694 ns
100000 ints   27217 ns    1295955 ns

Looking through the code, found that you rehash on copy.
https://github.com/abseil/abseil-cpp/blob/74d91756c11bc22f9b0108b94da9326f7f9e376f/absl/container/internal/raw_hash_set.h#L817
Is this intended behaviour?
If it is - can it be commented out explicitly maybe, I didn't find anything in the comments that would indicate this:
https://github.com/abseil/abseil-cpp/blob/74d91756c11bc22f9b0108b94da9326f7f9e376f/absl/container/flat_hash_set.h#L121

Yes, this behavior is intentional.
Not only do we randomize absl::Hash per-process, but each table object adds its own entropy hash function. There are various reasons to do this, for example, it is an anti-Hyrum's Law technique, and it helps expose latent bugs caused by assuming iteration order. (I recently gave a similar answer to #339.)
From the above, it follows that (re-)hashing is necessary upon construction. Experience tells us that copying a hash container is a relatively rare operation.
We can take it as an action item to improve our documentation.

I see - as long as this is intentional.
It's in a conflict (for my money) with principle of providing effective basis (every operation should be doable in the most efficient way from the public interface - and it is possible to copy faster.
Do you think that if there was a standard container, similar to flat_has_set, it would be good for it to rehash on copy too?

absl::flat_hash_set is not a Standard container, nor is it a drop in replacement for one. It has very different design priorities than a Standard container. Standard containers have a don't pay for what you don't use philosophy, so it is hard to imagine they would choose this design. absl::flat_hash_set is designed for compatibility over time in a large codebase, while being fast in what our experience tells us is "normal" usage. This design philosophy is probably foreign to most programmers. It is only when you have billions of lines of code to maintain that you start to see why we have different priorities.


fix(widget): match recent pipelines widget

Match the recent pipelines widget with the space pipelines widget. Updated custom classes to be reusable across multiple widgets. Renamed class to match Code Guidelines regarding BEM.

[test]

[test]

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1601-fabric8-ui.int.rdu2c.fabric8.io


Module compiled with Swift 2.3 cannot be imported in Swift 3.0.1

Getting this issue while fetching framework using carthage.
My cartfile.
github "ReactiveCocoa/ReactiveCocoa" "5.0.0-alpha.6"
github "Vadim-Yelagin/DataSource"

Fetched version
github "Vadim-Yelagin/DataSource" "0.4"

As i guessed, issue was with ReactiveCocoa fetched..
fixed, hence closing.


Rename to either TutorialQuests or CoreQuest

Decide whether this module is about showing how to make quest (-> Tutorial) or providing some basic quests for a simple gameplay (-> Core).

+1 for making it into a more full tutorial 👍

Module renamed, "tutorial" category added.


[Improvement]: Remove version keyword

Description
Since we are no longer using the version as a keyword, we can remove this restriction from the parser.
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

@hasithaa  version keyword is still allowed at parser level although it's no longer supported. Should we only remove restriction on version as an identifier explicitly as suggested, or should we remove parsing version as a keyword altogether.

Yes, since it is not a key word anymore.


Remove org.bouncycastle dependency

Fixes:

#8553
#8362

Pull Request Description
Improve the startup time by removing the dependency on org.bouncycastle.
Important Notes

Digest computation is done with JDK classes instead of org.bouncycastle.

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] Manually run engine benchmarks and ensure that the performance of startup benchmarks is back to its previous value before #8351
[ ] The documentation has been updated, if necessary.
All code has been tested:

[ ] Unit tests have been written where possible.

Engine benchmarks scheduled at https://github.com/enso-org/enso/actions/runs/7400828290
stdlib benchmarks scheduled at https://github.com/enso-org/enso/actions/runs/7400834645

stdlib benchmarks scheduled at https://github.com/enso-org/enso/actions/runs/7400834645

There is a failure related to bouncycastle:
running (fork) org.enso.benchmarks.libs.LibBenchRunner
Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Package org.bouncycastle.tsp.ers in both module
  org.enso.runtime and module org.bouncycastle.pkix
 (std-benchmarks / Bench / run) Nonzero exit code returned from runner: 1

There is a failure related to bouncycastle:

This is because of the incremental builds. Let me clean all the runners and reschedule that job again.

Another attempt of std-lib benchmarks started at https://github.com/enso-org/enso/actions/runs/7408255173

Another attempt of std-lib benchmarks started at enso-org/enso/actions/runs/7408255173

 GitHub**Benchmark Standard Libraries · enso-org/enso@b85d5e5**Hybrid visual and textual functional programming. Contribute to enso-org/enso development by creating an account on GitHub.

Looking at the bench comparison at generated_site.zip, removing org.bouncycastle dependency from org.enso.runtime does not help in org_enso_benchmarks_generated_Startup_empty_startup.
Engine benchmarks are the same.

Although removing org.bouncycastle dependency did not help with the benchmarks, it is still valuable. Let's merge this PR now, and continue with the startup slowdown investigation in another PR.


fix typo

See diff :-) Merry Christmas!

PS: I also noticed a possible typo in the how-we-seearch links. However, how-we-search is empty as well, so is this an intended pun (see+ search, maybe) without a site, yet, or a typo as well? Please feel free to fix it yourself, or tell me to. Whatever suits your workflow better :-)

fixed!  Sorry it took us so long.  Also, you are right the how-we-search link was broken and nope it wasn't intended as a bad joke :)  Updated to link to http://citeas.org/sources
Thanks for the heads up :)


modal-open class not removed from body element

I repeatedly run into the error that after showing the select dialog, sometime the class "modal-open" stays on the body element.
This seems to be related to a similar issue
https://forum.ionicframework.com/t/modal-not-receiving-touch-events/8025/2
Is there something that could be done in the framework, to trigger this behavior ?
Such as
 $scope.$on('modal.shown',function() {
     setTimeout(function(){
          if( $document[0].body.classList.contains('modal-open')) {
              $document[0].body.classList.remove('modal-open');
          }
      },50);
});

hi @jkirsch , you have a codepen or something else to show the issue?
regards
Mauro

Okay,
I think I found the mistake
I declared the modal in the following way

  Description:
   <button class="button button-clear button-dark ion-android-arrow-dropdown"
           id="selectButton" modal-select ng-model="mydata" options="::values">

	  {{option}}

   </button>

As I wanted to have the entire row clickable .. I resorted to a simple click forwarding
angular.element(document.getElementById(elementname)).triggerHandler('click');
But If one now clicked on the button .. actually the modal is triggered twice .. this creates two instances that are conflicting .. leading to sometimes the case of an unhidden modal.
Obviously just moving the modal select up to the parent div fixed everything.
Sorry for the confusion .. so this is a non issue
For reference better solution

	Description:
	<button class="button button-clear button-dark ion-android-arrow-dropdown"></button>

	  {{option}}

@jkirsch thanks for reporting anyway, and for your reference solution


Error loading extension on Ubuntu 18.10

Looking Glass has this info, I'm not sure how to debug further. Error: Extension point conflict: there is already a status indicator for role timeapp
Tried timeapp v145 from extensions.gnome.org

Well it seems you have already an extensions called timepp installed?

Unless the system installed one behind my back there's no way there's a double around :), especially one that doesn't appear in tweaks/extension.gnome.org. It seems that cloning the repository instead of installing from extensions.gnome.org fixes the issue. So may be it's a good idea to upgrade your upload from the extension repository - maybe :)
 $ locate timepp@
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/COPYING
<EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/dbus
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/lib
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale
<EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/sections
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/img
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/po_files
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/schemas
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/sounds
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/img/icons
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/po_files/compile
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/po_files/extract
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/po_files/merge
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/po_files/po
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/dbus/scripts
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/dbus/scripts/examples
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/dbus/scripts/time_tracker_control
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/de
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/es
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/fr
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/pl
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/pt_BR
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/ru
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/zh_CN
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/zh_TW
/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/de/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/es/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/fr/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/pl/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/pt_BR/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/ru/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/zh_CN/LC_MESSAGES
<EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/locale/zh_TW/LC_MESSAGES
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>/home/razvan/.local/share/gnome-shell/extensions/timepp@zagortenay333/sections/todo
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Seems pretty local to me. Anyway, thanks for the quick reply. I'll close this as it seems fixed in master.


Aero theme update

Added TextButton gradients and enhancements to title buttons.
(Also made some very minor improvements to Inspect and some player command descriptions.)

dead pr?

he hasn't doesnt any pr's for a while now


Race results

Renzo is gonna take that and work on that from there, the code is there but it messes up the UI right now so I commented it


Automate charts release notes

Fixes: #376

Nice rocket :)
I guess you have tested that before? Or is this from the other helm repo ? :D

It's almost the same as the other Helm repo :D
since it's not 100% identical, I plan to test it in the next release.


Long execution times for .between()

It looks like the iteration is always starting at dtstart instead of the start value passed to .between(), which makes it take a lot longer in correlation to the dtstart value.
In the example you can see that it already starts getting slow fairly quickly. For 2001 it takes about 100ms, for 2012 already one second, and by 2030 you are at 2-3 seconds.
import { DateTime, Frequency, RRule, RRuleSet } from 'rrule-rust';

let start = DateTime.utc(2000, 1, 1, 0, 0, 0);
let until = start;

const set = new RRuleSet({
    dtstart: start,
    rrules: [new RRule({ frequency: Frequency.Minutely })],
    tzid: 'UTC',
});

for (let year = 2000; year < 3000; year++) {
    start = until;
    until = DateTime.fromObject({ ...start.toObject(), year });

    const now = Date.now();
    const dates = set.between(start, until, false);
    const elapsed = Date.now() - now;
    console.log(`found ${dates.length} dates in year ${year}, took ${elapsed}ms`);
}

Yeah, that's true, the lib goes through all dates. Thanks for reporting. I'll refactor it soon

Btw, what is your use case? Can it be solved by iterating over the whole set once and picking only the needed dates?
const set = new RRuleSet(options);

for (const date of set) {
  if(!isDateInRange(date)) {
    continue;
  }

  // .. your logic
}


Domain ACL middleware

This feature may have already been requested!
Please search on the issue tracker before creating one.
Expected Behavior
Should accept a domain name as params and return whether the request came from a domain. The parameter should accept wildcard subdomains as well.
Possible Implementation
Checks the request.headers.host value against a single parameter and returns true if the request came from that domain.
Context
This would give some security over web-hosted applications and native applications using server APIs. This would allow owners the ability to block those domains from interacting with their data.

Closed as ACL middleware will be moved to its own package.


[0.8] bower.json license does not follow specification

License doesn't follow bower.json spec.
Associated with : https://github.com/webjars/webjars/issues/979

http://stackoverflow.com/a/26301951

The polymer's bower.json uses a path/url to a license. Close


Feature Request: Section for a group of related fields

If the form has a lot of fields, it will be nice to be able to group them logically and present them in labeled sections. For example: Personal Information Section has Name, Address etc., Company Information has Name of Company, Billing Address etc.,

This is a feature that's in development and we'll have it soon.
Thank you for your contribution

Hi @yokiran,
I've decided that from version 3.0.0 which is in beta right now I would not place the fields in a Column but allow developers to compose the UI the way they like it, using sections, groups and panels if they like; arrange the fields the way you please etc. You can quite literally go crazy with it ;-)
You can pull the beta from pub and have a go at it, I'd appreciate your feedback.

That being said, 'sections' won't be developed, which I think would be better since one will have freedom to implement them as they like.
Thanks for your continued contributions.


Improve article 2108.00516 (atbegshi.sty)

Exact location of issue
This page does not render any of the chapters: https://ar5iv.labs.arxiv.org/html/2108.00516 (except References)
Original arXiv link: https://arxiv.org/abs/2108.00516
Problem details

Thank you for the report @kurshakuz ! It looks like we need to add support for a number of packages before we can render this article well. From the conversion log I see:
bigstrut.sty, atbegshi.sty, nccmath.sty, picture.sty

It is very good for us to know about this kind of breakage, as it is not often that we fail to load entire document fragments.

@dginev I am glad that it helps🙂
Btw, thank you for this resource, I find it very useful!

I see the chapter content is now preserved, after the latest ar5iv update.
The remaining issues are:

Conversion complete: 5 warnings; 3 errors; 3 undefined macros[\AtBeginShipoutNext, \bigstrut, \AtBeginShipoutUpperLeft]; 4 missing files[atbegshi.sty, bigstrut.sty, nccmath.sty, picture.sty]


Update saving-pdfs-to-disks.md

added target _blank to open in to a new page

This would be inconsistent with all other links in all of Spatie's docs, and this is also a bad practice. Users can force-open in new tabs manually (middle click or right click -> open in new tab), that choice shouldn't be forced on them.

Great,
I was just thinking, because I personally likes to open in tab, while reading a document.


[Bug] legend.padding barely works as intended

Version
5.2.2
Link to Minimal Reproduction
https://codepen.io/sarimarton/pen/zYLqPzK
Steps to Reproduce
It's obvious
Current Behavior
Legend padding should be 50px between the legends (at least)
Expected Behavior
There's no effect of the legend.padding values. Only effective value is the first number in the array (which controls the top margin), but the rest are useless.
The engine also mistakenly interprets the padding: <single number> value. When a single number is given, it should be treated as a padding in all four directions, but instead it still only controls the top margin.
Environment
- OS: Windowd 10
- Browser: Chrome
- Framework: doesn't matter - the bug is reproducible on the website playground

Any additional comments?
No response

Erroneous report


Any specific reason why server::decode::decode is not public?

It seems like an useful function to have when one can't use async_h1::accept.

We wanted to keep the API minimal -- encoding and decoding is intended to be done through a stream only. But perhaps there's a way we could fit it in if we move to a struct-based API.

ok, cool.
just for context, I'm building a (kind of) proxy with async_h1, and while I need the request parsed to act/route on it, I don't need the response parsed, since I can just pass the stream as-is from the back-end to the client. I can't do that with async_h1::accept currently, so I thought to build my own.
looking around, I can't find much standalone http request decoders (parsers).

@gdamjan It sounds like you're building a TCP and HTTP proxy. Generally parsing the headers on the response is common too for the sake of logging and instrumentation.
If you're looking for a standalone parser the httparse crate handles this for you; but it only provides parsing, and correctly handling HTTP requests requires quite a bit more logic than that.

yes, thank you, I think I'll try that library


Multiple Primary Emails Can Be Set (Old 318)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:07
It's possible for multiple primary emails to exist, where the oldest one is taken as the actual email, which causes issues.
Should be fixed when #196 is implemented, at the latest.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:12
Seems to not be an issue - may have occurred before previous changes.
Will watch for any further issues.
NFarrington - 2015-05-01T14:21:53.628406+00:00


Hugging Face Idefics3

There is a new Idefics3 model on Hugginf Face, based on Llama3:
https://huggingface.co/docs/transformers/main/en/model_doc/idefics3#idefics3
Any chance you can add this to Ollama?

Currently not supported by llama.cpp: https://github.com/ggerganov/llama.cpp/issues/8902.


[#140308141] Whitelist skyscape IPs for #140308141

#140308141 Create org and users for new tenant prototypes
What?
We want to allow the new tenant prototypes from a skyscape list of ips
We whitelist the skyscape IPs for the ticket[1]
[1] https://www.pivotaltracker.com/n/projects/1275640/stories/140308141
How to review?
code review
Who?
Anyone but @keymon

:+1: Looks good to me. Will merge when Travis is green.


Minigotchi porting to M5Launcher

Hello,
I am the lead maintainer of the Minigotchi project, and I would like to know if I can port this to the M5Launcher. However, there is a major problem that I am unsure of. The Minigotchi has this file called config.cpp, essentially a configuration file that controls many parts of the Minigotchi, whether settings like the screen being used or enabling/disabling core features like deauthing. The problem is that it must be modified before flashing the Minigotchi. Of course, it will run fine with default configurations, but things such as the screen may not work.
The most doable solution in this scenario is probably to make multiple pre-built binaries with default configurations + screen support. I'm not sure if you would have anything else added to allow it to be ported. Most of what needs to be changed anyway is just the configuration for the screen.
Thanks, dj1ch

what's up dj1ch.. I've being following your project and i've contributing with it through ATOMNFT by helping him port it to the m5 devices..
To work with the Launcher there's nothing else to be done, other than have the bin file to install.. so sharing a pre-compiled binary is the way
I was talking to ATOMNFT about a way to enhance Minigotchi's project, and he came with the WiFi whitelist problem, and maybe some other problems that must me set in the building process..  My suggestion is allow the user to configure it by:

Serial Command interface  and save the configuration on SPIFFS file system,
Using a Web Interface to configure this file in the SPIFFS (maybe start it with the Serial Command Interface), which is my favorite solution

Count with me to help in the minigotchi's project

what's up dj1ch.. I've being following your project and i've contributing with it through ATOMNFT by helping him port it to the m5 devices..
To work with the Launcher there's nothing else to be done, other than have the bin file to install.. so sharing a pre-compiled binary is the way
I was talking to ATOMNFT about a way to enhance Minigotchi's project, and he came with the WiFi whitelist problem, and maybe some other problems that must me set in the building process.. My suggestion is allow the user to configure it by:

Serial Command interface  and save the configuration on SPIFFS file system,
Using a Web Interface to configure this file in the SPIFFS (maybe start it with the Serial Command Interface), which is my favorite solution

Count with me to help in the minigotchi's project

In my opinion, I would want to go with the second option, I could probably have some boolean to check whether or not it's the first boot
bool firstBoot = true;

Minigotchi::init() {
  if (firstBoot) {
    startWebUi();
    firstBoot = false;
  }
  // rest of startup processes
}

But that's just me thinking out loud. I'll implement this in a later release.

Thinking about ESP32 boards in general, maybe its a good idea to use the "boot" btn to trigger this WebUi, so you could start capturing some EAPOL/PMKID, saving on Spiffs memory and retrieve them with the WebUI..
Boot btn 99% of the cases is the GPIO 0 (zero)...
The check can be done at any point of the loop, after minigotchi starts and webUi be launched (and closed using the same logic) at any time...
With these PMKID and stuff the project is closer to the official pwnagotchi in functionality...

Do all ESP32s have a button that can be used? Or is this just exclusive to specific ESP32s? Sniffing for EOPOL/PMKID shouldn't be a problem if that is the case.

Almost all ESP devboards have at least one button.. and if it have a tft, it will probably have one too..
Sniffing for EAPOL/PMKID is something easy to find examples over the GitHub..

I'm going to close this as #64 has been merged. Thank you for the help @bmorcelli!

Congratulations brother, for your amazing project!


Update api.md

Update api.md to reflect current endpoints and bring in line with other services. Added missing endpoint to find sample unit by id and added samples blueprint to urls.

 Update Api.md for java services


Add missing jobs/finalizer RBAC rule

Summary

Fixes #379
Also see https://sdk.operatorframework.io/docs/faqs/

Checklist

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

@Kidswiss Would you mind giving that one a review?

I amended #379 a bit yesterday.
Looks like other finalizers are also missing. At least for the backup object it also needs the finalizer RBAC. I added it the finalizer RBAC to all CRDs as well, but we need to check what CRDs actually use finalizers and amend accordingly.
Also I feel like we need some automated testing for 3.11 clusters, too. We still maintain quite a lot of those with k8up...

Also I feel like we need some automated testing for 3.11 clusters, too. We still maintain quite a lot of those with k8up...

We are already testing e2e-testing for K8s 1.13. But we lack actual test cases, the first test is #372

Is that just a 1.13 K8s cluster or an actual OpenShift? I assume the finalizer RBAC stuff is OpenShift specific because we haven't encountered it before...

Unfortunately, K8s 1.13 is the closest we can get to OpenShift 3.11.

@Kidswiss can you re-review?

The we should get rid of the OS 3.11 clusters ASAP :D


possible mismatch information

[at the beginning of the article, it says below

This article describes using an Azure Key Vault-backed secret scope, but you can also use a Databricks-backed secret scope to store the client secret.

but i think the details shows the secret scope was created using databricks-backed scopes, see below section (step 2)
Notice the screen shot which says "homepage/create secret scope", it is in databricks not in azure portal for keyvault

To create the Azure key vault and an Azure Databricks secret scope backed by that key vault:

Create an Azure Key Vault instance in the Azure portal.
Create the Azure Databricks secret scope backed by the Azure Key Vault instance.

see the details on the page step 2: Key Vault-backed secret scope
or refer to the step for using CLI to create "databricks secrets create-scope"
https://docs.microsoft.com/en-us/azure/databricks/data/data-sources/azure/adls-gen2/azure-datalake-gen2-sp-access#--create-the-azure-databricks-secret-scope-in-the-cli
in our working example, we did not have to create this secret scope in databricks. And in the fs.mount command, we used the azure keyvault instance (by its name) as the scope.

"fs.azure.account.oauth2.client.secret" -> dbutils.secrets.get(scope="",key="")

]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 448f6616-8963-fc8f-022a-291d7d49a454
Version Independent ID: 658113b0-3701-f348-669c-0b1bd2958f41
Content: Access Azure Data Lake Storage Gen2 using OAuth 2.0 with an Azure service principal - Azure Databricks
Content Source: databricks/data/data-sources/azure/adls-gen2/azure-datalake-gen2-sp-access.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

I think I now understand it better; I am guessing the 'databricks secret scope' is about a scope named abc which is linked to a backend keyvault such as az keyvault. and this 'scope' is to control which keyvault to access, am i right?

@minnieshi Yes, your understanding is correct.

Hope this helps.

Thank you. I also did not read A secret scope is collection of secrets identified by a name, just found under https://docs.microsoft.com/en-us/azure/databricks/security/secrets/secret-scopes
Because in the beginning I thought everything was purely related to or controlled by azure keyvault; did not know it was databricks concept.

@minnieshi  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


HONDA CR-V 2019 HYBRID Can not run master-ci on freon

Describe the bug

Device/Version information (please complete the following information):

Device: [EON Gold]
Dongle ID: [1f1e71c163a0750e]
Route: [1f1e71c163a0750e|2021-01-24--08-02-12]

        [1f1e71c163a0750e|2021-01-24--07-53-36]

        [1f1e71c163a0750e|2021-01-24--07-24-54]

Timestamp: [When in the route the bug occurs (e.g. 4min 30s into the drive)]
Version: [master-ci, Commit  "3bb51ceaa3f45d0fff66d6ed6f5164b7645ccacb"]
Car make/model: [HONDA CR-V 2019 HYBRID]

No details are provided on what the actual issue is. Please provide more details.

No details are provided on what the actual issue is. Please provide more details.

how to show details？

how to show details？


Supporting thread safety around JsonObjectContract.ExtensionDataSetter

Problem statement
We have a fairly large data model involving thousands of properties and a large object hierarchy. We use a custom contract resolver to handle serialization. We also need special handling of missing member data due to the nature of how our models can change over time and we need the ability to capture missing members and store them in a custom collection within the model. The way how we achieveed this was via setting up JsonObjectContract.ExtensionDataSetter. For performance reasons we need to use a static contract resolver and when concurrent deserialization occurs  JsonObjectContract.ExtensionDataSetter will get called across deserialization sessions and there is not any good way to know which JsonReader is invoking the ExtensionDataSetter. It will be useful to have ExtensionDataSetter include the JsonReader reference when ExtensionDataSetter is called., The expected signature would be like below
public delegate void ExtensionDataSetter(JsonReader reader, object o, string key, object? value);

If this is not an option, what can be used as a workaround to tie the JsonObjectContract.ExtensionDataSetter to the multiple active Json readers?

Why precisely do you need the JsonReader instance in the ExtensionDataSetter? It's not like the ExtensionDataSetter function has to read the extension data itself. The extension data to be set has already been read and is passed to the ExtensionDataSetter function. Not sure if and what kind of workarounds would be possible, as it is difficult to understand why/how exactly the behavior of your ExtensionDataSetter function would depend on a given JsonReader instance.


[SYSTEMDS-???] New Buildins

PR for 1 hot input and allocating the parallel loop for multiple classes inside l2svm.
Still valid for same input as before, but now is able to  process multiple classifications at the same time.
MSVM that previously mapped a multi class column to parallel call l2svm now uses this new ability. such that MSVM doesn't do the parallel processing, allowing the verbosity to be back inside the l2svm while calling MSVM.
Example Usercode no change except maxIterations argument:
data = read("data/covtype.data")
X = data[,1:54]
Y = data[,55]
model = msvm(X=X,Y=Y, num_classes=max(Y), maxiterations = 300, epsilon= 1e-15, verbose=TRUE)

Before impossible to call L2SVM Directly with an 1 hot input with many columns.
Now possible:
data = read("data/covtype.data")
X = data[,1:54]
Y = data[,55]

## One Hot Encode
spec = "{\"dummycode\": [\"C1\"]}";
[Y, F] = transformencode(target=as.frame(data[,55]), spec=spec)

model = l2svm(X=X,Y=Y, maxiterations = 300, epsilon= 1e-15, verbose=TRUE)

2020-05-13T08:08:24.6130443Z [ERROR] Failures:
2020-05-13T08:08:24.6130623Z [ERROR]   BuiltinMulticlassSVMTest>AutomatedTestBase.tearDown:1441 Detailed matrices characteristics:
2020-05-13T08:08:24.6131614Z !  Stat-DML<->Stat-R # stored values in Stat-R: 5000
2020-05-13T08:08:24.6131890Z !  Stat-DML<->Stat-R # stored values in Stat-DML: 5000
2020-05-13T08:08:24.6132152Z !  Stat-DML<->Stat-R identical values(z=0): 10
2020-05-13T08:08:24.6132417Z !  Stat-DML<->Stat-R wrong values(z=0.001): 496
2020-05-13T08:08:24.6132665Z !  Stat-DML<->Stat-R min error: 0.0
2020-05-13T08:08:24.6132913Z !  Stat-DML<->Stat-R max error: 0.26751414117289585
2020-05-13T08:08:24.6132988Z
2020-05-13T08:08:24.6133106Z [ERROR]   BuiltinMulticlassSVMTest>AutomatedTestBase.tearDown:1441 Detailed matrices characteristics:
2020-05-13T08:08:24.6133371Z !  Stat-DML<->Stat-R # stored values in Stat-R: 5010
2020-05-13T08:08:24.6133669Z !  Stat-DML<->Stat-R # stored values in Stat-DML: 5010
2020-05-13T08:08:24.6133927Z !  Stat-DML<->Stat-R identical values(z=0): 3
2020-05-13T08:08:24.6134187Z !  Stat-DML<->Stat-R wrong values(z=0.001): 496
2020-05-13T08:08:24.6134438Z !  Stat-DML<->Stat-R min error: 0.0
2020-05-13T08:08:24.6134684Z !  Stat-DML<->Stat-R max error: 0.3514372753127907
2020-05-13T08:08:24.6134756Z
2020-05-13T08:08:24.6134860Z [ERROR]   BuiltinMulticlassSVMTest>AutomatedTestBase.tearDown:1441 Detailed matrices characteristics:
2020-05-13T08:08:24.6135208Z !  Stat-DML<->Stat-R # stored values in Stat-R: 5000
2020-05-13T08:08:24.6135491Z !  Stat-DML<->Stat-R # stored values in Stat-DML: 5000
2020-05-13T08:08:24.6135747Z !  Stat-DML<->Stat-R identical values(z=0): 842
2020-05-13T08:08:24.6136004Z !  Stat-DML<->Stat-R wrong values(z=0.001): 497
2020-05-13T08:08:24.6136234Z !  Stat-DML<->Stat-R min error: 0.0
2020-05-13T08:08:24.6136493Z !  Stat-DML<->Stat-R max error: 1.1482505975233508
2020-05-13T08:08:24.6136549Z
2020-05-13T08:08:24.6136667Z [ERROR]   BuiltinMulticlassSVMTest>AutomatedTestBase.tearDown:1441 Detailed matrices characteristics:
2020-05-13T08:08:24.6136940Z !  Stat-DML<->Stat-R # stored values in Stat-R: 5010
2020-05-13T08:08:24.6137209Z !  Stat-DML<->Stat-R # stored values in Stat-DML: 5010
2020-05-13T08:08:24.6137467Z !  Stat-DML<->Stat-R identical values(z=0): 204
2020-05-13T08:08:24.6137709Z !  Stat-DML<->Stat-R wrong values(z=0.001): 499
2020-05-13T08:08:24.6137952Z !  Stat-DML<->Stat-R min error: 0.0
2020-05-13T08:08:24.6138214Z !  Stat-DML<->Stat-R max error: 0.4374530860793062
2020-05-13T08:08:24.6138272Z
2020-05-13T08:08:24.6138371Z [ERROR] Errors:
2020-05-13T08:08:24.6138650Z [ERROR]   BuiltinMulticlassSVMTest.testMSVMInterceptSpark Â» StackOverflow
2020-05-13T08:08:24.6138957Z [ERROR]   BuiltinMulticlassSVMTest.testMSVMSparseLambda100Spark Â» StackOverflow
2020-05-13T08:08:24.6139062Z [INFO]
2020-05-13T08:08:24.6139172Z [ERROR] Tests run: 192, Failures: 4, Errors: 2, Skipped: 0

Double checked if there was a performance change between before and after. (was sure I did this before PR as well and observed a significant change of 10 sec) and to my surprise the difference i observed in the beginning, ended up non existing. (most likely because the system is actually doing the optimizations correctly)
Therefore some of the changes are reverted back (not all), so all in all less impactful than I expected but, great learning experience :+1: .
bellow is some of the resulting times, and the script:

implementation
time (avg 10 runs)

msvm
78.2128

msvm-before
78.4258

l2svm
79.042

# data from http://archive.ics.uci.edu/ml/machine-learning-databases/covtype/covtype.data.gz
data = read("data/covtype.data")
X = data[,1:54]
Y = data[,55]

model = msvm(X=X, Y=Y, num_classes=max(Y), maxiterations = 300, epsilon= 1e-15)

# should print 0.009315662472918557
print(toString(sum(model)))

Thanks for the Review @mboehm7 , I will make the modifications. You are a bit early, because i decided to change many things again again, i should perhaps have marked the PR as WIP again :confused:

LGTM. Thanks @Baunsgaard - overall, this is a fine patch. Down the road, we might want to create consistency of parameters among all classification and regression scripts, and add further svm debugging tools (or an verbose option), where we actually compute the introduce confusion matrix and show it to the user (as done in the msvm-predict algorithm).


Investigate test failure: ProcessService exec should output print unicode characters.

Windows & Python 2.7.

Closing as stale.


Added CLI options to tickVars to make it more machine friendly

Added some command line opts to tickVars, to make its output less friendly to most humans, but easier for code to parse (and because I just prefer it looking like this--maybe others do, too). Included a brief note in README.
Doesn't change any current behavior; it defaults to the way it always did things.
The options added are:
-h: Emit usage information.
-i: Suppress the indentation that usually precedes each line of output.
-l: Suppress the line number information that usually appears at the beginning of output.
-n: Suppress the blank line which usually prints at the end of output.


DEP Add silverstripe/dynamodb

Issue https://github.com/silverstripe/silverstripe-dynamodb/issues/45
Unit test failures are existing - recent 5.0 run - https://github.com/silverstripe/recipe-kitchen-sink/actions/runs/4130292070

I assume this is draft pending the PR being merged?

Probably don't merge this, don't think it works on SCPS

Does scps even have a dynamo db instance? If not, it probably also doesn't have the env var needed for this module to kick in so it shouldn't matter.

OK - issue with SCPS was hybridsessions - can confirm that this can be deployed to SCPS alongside hybridsessions, it'll do nothing though it means it'll get released via cow


handle mach-o MH_DYLINKER filetype

Binary Ninja currently can't open dyld. Please add support for filetype==MH_DYLINKER. It works fine when you patch dyld's filetype to be 0x2 (MH_EXECUTE).
#define MH_DYLINKER     0x7             /* dynamic link editor */

The load commands on this file don't seem to be parsed properly in Binja. otool gets it correct.
dyld_ios11b10.zip

Fixed in dev

version >925


Update circleCi unittest config

This should result in easier reading of test results

Codecov Report
Base: 63.97% // Head: 63.97% // No change to project coverage :thumbsup:

Coverage data is based on head (796ec5d) compared to base (7c0b7a5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #21   +/-   ##
=======================================
  Coverage   63.97%   63.97%
=======================================
  Files           9        9
  Lines         619      619
  Branches       81       81
=======================================
  Hits          396      396
  Misses        223      223

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/fast-forward


ssi_expander.py: "NameError: name 'file' is not defined" with python3

Error:
user@workstation user % python3 ../ssi-server/ssi_expander.py site site_expanded
Traceback (most recent call last):
  File "/Users/user/work/site/../ssi-server/ssi_expander.py", line 45, in <module>
    process(source, dest)
  File "/Users/user/work/site/../ssi-server/ssi_expander.py", line 27, in process
    file(dest_path, 'w').write(ssi.InlineIncludes(src_path, "/%s" % os.path.relpath(src_path)))

Here's what I found on the internet:

The file function was removed in Python 3. In Python 3, you should use the open function instead.
open(dest_path, 'w').write(ssi.InlineIncludes(src_path, "/%s" % os.path.relpath(src_path)))
This resolves the error.

I'd be happy to accept a PR that updates this to Python 3.


Problem importing keras on Spyder 3.2.3(python 3.5)

Problem Description
I'm getting an error while importing keras on spyder in ANN program. I've posted the error in the Q&A session but there is no update, please help.
What steps reproduce the problem?

When I type "import keras" in spyder it is giving me the error below. I'm not sure what is the issue. I've installed Keras and tensorflow with the following codes

conda install -c conda-forge keras
conda install -c conda-forge/label/broken keras
conda install -c conda-forge/label/cf201901 keras
Following codes for tensorflow:
conda install -c anaconda tensorflow-gpu
Please assist as to how this can be solved, I'm stuck here.
What is the expected output? What do you see instead?
import keras
Using TensorFlow backend.
Traceback (most recent call last):
File "", line 1, in
import keras
File "C:\Users\Bunny\Anaconda3\lib\site-packages\keras_init_.py", line 3, in
from . import utils
File "C:\Users\Bunny\Anaconda3\lib\site-packages\keras\utils_init_.py", line 6, in
from . import conv_utils
File "C:\Users\Bunny\Anaconda3\lib\site-packages\keras\utils\conv_utils.py", line 9, in
from .. import backend as K
File "C:\Users\Bunny\Anaconda3\lib\site-packages\keras\backend_init_.py", line 89, in
from .tensorflow_backend import *
File "C:\Users\Bunny\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 5, in
import tensorflow as tf
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_init_.py", line 98, in
from tensorflow_core import *
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core_init_.py", line 45, in
from . _api.v2 import compat
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core_api\v2\compat_init_.py", line 23, in
from . import v1
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core_api\v2\compat\v1_init_.py", line 40, in
from . import experimental
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core_api\v2\compat\v1\experimental_init_.py", line 11, in
from tensorflow.python.ops.control_flow_v2_toggles import output_all_intermediates
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\ops\control_flow_v2_toggles.py", line 24, in
from tensorflow.python.ops import control_flow_util_v2
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\ops\control_flow_util_v2.py", line 28, in
from tensorflow.python.keras.engine import base_layer_utils
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\keras_init_.py", line 27, in
from tensorflow.python.keras import applications
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\keras\applications_init_.py", line 25, in
from tensorflow.python.keras import engine
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\keras\engine_init_.py", line 24, in
from tensorflow.python.keras.engine.input_layer import Input
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\keras\engine\input_layer.py", line 25, in
from tensorflow.python.keras.distribute import distributed_training_utils
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\keras\distribute\distributed_training_utils.py", line 38, in
from tensorflow.python.keras import callbacks
File "C:\Users\Bunny\AppData\Roaming\Python\Python35\site-packages\tensorflow_core\python\keras\callbacks.py", line 53, in
import requests
File "C:\Users\Bunny\Anaconda3\lib\site-packages\requests_init_.py", line 63, in
from . import utils
File "C:\Users\Bunny\Anaconda3\lib\site-packages\requests\utils.py", line 22, in
from . import certs
File "C:\Users\Bunny\Anaconda3\lib\site-packages\requests\certs.py", line 17, in
from certifi import where
File "", line 968, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 892, in _find_spec
File "", line 873, in _find_spec_legacy
File "C:\Users\Bunny\Anaconda3\lib\site-packages\pyximport\pyximport.py", line 254, in find_module
fp, pathname, (ext,mode,ty) = imp.find_module(fullname,package_path)
File "C:\Users\Bunny\Anaconda3\lib\imp.py", line 271, in find_module
"not {}".format(type(path)))
RuntimeError: 'path' must be None or a list, not <class '_frozen_importlib_external._NamespacePath'>
Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

Spyder version:  3.2.3
Python version:  3.5.6
Qt version:  5.9.7
PyQt version:  5.9.2
Operating System name/version:  Windows 10(64 bit)

This is fixed in our latest version. Please update by opening the Anaconda Prompt and running there
conda install spyder=3.3.6

Thank you so much Carlos :) It's working now.


Multiple incoming trackers?

Hi,
First of all, thanks for sharing the code.
Could you please tell me if it can accepts multiple incoming data from several Trackers at the same time?
Regards

Hi, unfortunately, I saw a message too late. Parser accepts multiple trackers connections at the same time and uses the processor and memory very efficiently.
Regards


Django-rest-swagger 2.2.0 doesn't  include token in header

Hi, I'am trying this config, and it's working for 2.1.2 but not 2.2.0. The header just not includes the token. Please have a look.
SWAGGER_SETTINGS = {
    'LOGIN_URL': 'rest_framework:login',
    'LOGOUT_URL': 'rest_framework:logout',
    'USE_SESSION_AUTH': False,
    'DOC_EXPANSION': 'list',
    'APIS_SORTER': 'alpha',
    'JSON_EDITOR': True,
    'api_version': '0.1',
    'SUPPORTED_SUBMIT_METHODS': [
        'get',
        'post',
    ],
    'SECURITY_DEFINITIONS': {
        "api_key": {
            "type": "apiKey",
            "name": "Authorization",
            "in": "header",
            "description": "JWT authorization"
        },
    },
}

I have the same issue. Works in 2.1.2 but not in 2.2.0 (no header is sent).

I have the same issue. Works in 2.1.2 but not in 2.2.0 (no header is sent).

Same issue. Seems that 2.2.0 broke it :(

@marcgibbons I think it has something to do with this issue https://github.com/swagger-api/swagger-ui/issues/2915. What do you think ?

Hi. Still same here. Any updates?

Same here

bump

Same here.......

Yep for me as well.

Also the same issue on v2.2.0!

Is anyone looking into the issue?

Same problem here. It would be really useful if this issue was solved!

This projects is going on? this will be good one 2 issues for staticfiles and authtoken header.


Update main.js

Fixes #95
Describe the changes you've made
Just a small change in js allowing default pop up alerts to show up.

Type of change
What sort of change have you made:

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x ] My code follows the guidelines of this project.
[x ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.

lgtm

Happy Contributing @gabrysia694


support for 4.4.x branch?

how can I go about patching a 4.4.x branch kernel?

+1 Yeah, really, 4.x has different structure, some files are patchable, some - not. If somebody will guide in applying this patchset to 4.x, it will be great!

Is source available for 4.x kernel versions ?
I couldn't find them in git repo

@jhoola86 : no, unfortunately not (yet).

any update on this? is it planned at all?

If anybody wants to create a patch for kernel 4.4 by themself, a quote from issue #12 on how @pelya invented the code:
app code:

First, there is a kernel patch - this is dark magic, without which nothing
will work. This patch adds two new devices to your Android system,
/dev/hidg0 for keyboard, and /dev/hidg1 for mouse.
If you want to add HID joystick for example, you need to modify
hid_function_bind_config() and hid_function_init(), and another struct
ghid_device_android_joystick, with proper USB descriptor.
The best way to get USB descriptor is to buy USB analyzer, and copy data
from existing USB joystick. You can also read USB specification:
http://en.wikipedia.org/wiki/USB_human_interface_device_class

Then you need Android application, which will write data to these devices.
It doesn't matter if it's written in C or Java, as long as it writes valid
data to these files. Keyboard/mouse protocol description is here:
https://github.com/pelya/android-keyboard-gadget#how-it-works
My Android app is written in C++ and uses SDL library. gfx.cpp contains
low-level graphics functions, gui.cpp is a GUI widgets implementation,
flash-kernel.cpp is for flashing kernel on Nexus 7, input.cpp is for
opening device files and writing data to them, main.cpp is, well, main(),
touchpad.cpp is the touchpad implementation, and scancodes.cpp contains
keyboard scancode table.

kernel patches:

I do not know all details myself, because the kernel is huge, I only know
how my code works.
First, I've read this documemt, it contains half-baked example of what I
needed:
https://github.com/torvalds/linux/blob/master/Documentation/usb/gadget_hid.txt
Then I've scanbed through Android USB gadget implementation, where
functions are added and removed dynamically:
https://android.googlesource.com/kernel/tegra/+/android-tegra3-grouper-3.1-jb-mr2/drivers/usb/gadget/f_adb.c
https://android.googlesource.com/kernel/tegra/+/android-tegra3-grouper-3.1-jb-mr2/drivers/usb/gadget/android.c
HID gadget already has it's own driver, I needed only to provide USB HID
descriptor:
https://android.googlesource.com/kernel/tegra/+/android-tegra3-grouper-3.1-jb-mr2/drivers/usb/gadget/f_hid.c
Then I fixed compilation errors, run, debugged crashes, usual stuff.


Rav 8545: CROSS JOIN VS INNER JOIN in MASTER BRANCH

Teradata supports theta joins i.e inequality joins whereas bigquery doesn't (not in inner joins. )
Ref: https://stackoverflow.com/questions/26486796/how-to-do-unequality-join-in-bigquery
Maybe we should add a base condition while iterating to check whether the join conditions aren't theta joins. If they are, we simply return the original rel.

LGTM.


Sentinel Analytics rule "Conditional Access Policy Modified by New User"

The rule is called “Conditional Access Policy Modified by New User” and according to its description: Detects a Conditional Access Policy being modified by a user who has not modified a policy in the last 14 days.
That statement is confirmed by the KQL query:
let known_users = (AuditLogs
| where TimeGenerated between**(ago(14d)..ago(1d))**
| where OperationName has "conditional access policy"
| where Result =~ "success"
| extend userPrincipalName = tostring(parse_json(tostring(InitiatedBy.user)).userPrincipalName)
| summarize by userPrincipalName);
AuditLogs
| where TimeGenerated > ago(1d)
| where OperationName has "conditional access policy"
| where Result =~ "success"
| extend userPrincipalName = tostring(parse_json(tostring(InitiatedBy.user)).userPrincipalName)
| extend CAPolicyName = tostring(TargetResources[0].displayName)
| extend ipAddress = tostring(parse_json(tostring(InitiatedBy.user)).ipAddress)
| where userPrincipalName !in (known_users)
| extend NewPolicyValues = TargetResources[0].modifiedProperties[0].newValue
| extend OldPolicyValues = TargetResources[0].modifiedProperties[0].oldValue
| project-reorder TimeGenerated, OperationName, CAPolicyName, userPrincipalName, ipAddress, NewPolicyValues, OldPolicyValues
However, looking into the “Query scheduling”, I noticed that the “Lookup data from the last” is not 14 days.
Notably, it is just 7 days.

@MarianHHristov We have fixed the issue, it will take some days or 1 week to reflect.

Hi @MarianHHristov, This is now reflecting in Gallary content as shown in below screenshot, so closing the issue as fixed. Feel free to reopen if you need any assistance.


Add AI_* constants from netdb.h for macOS.

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

Thanks! Looks like CI may be failing though?

@alexcrichton, fixed the linting error.

👍


Error when generating: generation error: 'temperature_last'('temperature_last',)

Got this error when trying to generate with ExLlama_HF:
generation error: 'temperature_last'('temperature_last',)
Tracked the issue down to https://github.com/oobabooga/text-generation-webui/pull/4472. I used an updated install.  I don't know if this happens with other modules, but i think it does judging by the PR at the application, as all modules where updated.
I fixed it by adding the parameter temperature_last on source/generators/generator_text_generator_webui.py at where it creates the parameters before sending to generate_reply, with a False value. Hope it helps.

#177 added temperature_last


InstanceType doesn't work for components with generic

There are 2 components.
One with generic and another one without generic.
Some parent component tries to take an instance type.
The one with generic throws an error

Reproduction
https://play.vuejs.org/#eNqdUk1P4zAQ/SsjX7oroaKKWzZUYlc9sAdAkBvmYCWTYEjGlu2URlX/O2MnLR/iQ+ISxfPeG7/xvK04s3a+7lFkIvel0zaAx9BbaBU1p1IEL8VSku6scQG24LCGHdTOdDBj2ezPAftnOjsB8+N4iG1nb+DFG3wxESSVhnwAzR9FJcJpvCU/n47FYDEP/DF1arJc/vr9XrL4RrMYRZLy43FIHkkc8XDcptbN/MEb4hfYSgKQomSFbtFd2qD5GikySEjEVNuap/+pFlyPR/t6eY/l4wf1B7+JNSmuHHp0a5TigAXlGgwjvLq5wA3/H8DOVH3L7C/Aa/Sm7aPHkfa3p4ptv+Ilt+dpAZqawq82Acnvh4pGI3OX+FLwOuJjfTb6i92T+UnSSdrxK+53/VWEoEFCp0s+FilQFdaa8MoZ6/PpBhVPGRTcNW1rpKw6HV4o3WqNFDK4tWpojaoyuEZVGWqHvFje7ZWHLU/uUtK+SXhMC5zF4HCWXjtCF4YMFA3cPUboc+dJ/UP3SfvRBLtnZ2c66w==

Duplicate of https://github.com/vuejs/language-tools/issues/3206

Solution: You should use ComponentExposed from the vue-component-type-helpers packages instead of TypeScript's built-in ReturnType or InstanceType utilities since volar defines generic components as functional components.

@so1ve
This worths to be mentioned in docs

@so1ve Why not include the ComponentExposed type in vue? Since it already has some utility types, I don' think it would be a bad idea... https://vuejs.org/api/utility-types


Join category is not in the podspec

The documentation mentions a "join" method that looks tasty, but I can't seem to find it when installed from CocoaPods.

Just pushing to CocoaPods trunk…

Well, that was quick. Thank you so much!

Unfortunately, it would seem the pod is unusable as it is. The updated Podspec has not been picked up in the CocoaPods repo. And forcing the spec URL in the Podfile yields "xcodebuild: error: 'swift/PromiseKit.xcodeproj' does not exist." when trying to pod install.

Sorry I think the push failed, looking into it.

Seems pushed now.


WIP: Enable basic k8s audit logging

Logging is performed to stdout so it can be shipped with the normal log shipping we use in our clusters.
Open questions:

refine the policy of what is logged based on tests in a bigger cluster (e.g. scaleout)
enable by default would mean we generate log output for all customer clusters which might be heavily used and put a burden on our logging stack

Maybe we should log to file and upload to swift instead?

Superseded by #629


Add multi language support

But...please do not merge this directly.
I'm not a professional front-end developer
Thus, these codes may use a very bad approach to get things done.
Perhaps a code review and refactoring could correct the wrongs.

Use JQuery (document.getElement....)
Thanks for a good feature idea 👍

So JQuery is a thing that similar to HTML5 Web API. I need to replace all HTML5 API call to JQuery equivalent.
It can be done during next week...
These many added HTML tag ids and the script tag src hack are fine or not? What's your idea?

SkinFile generator has gotten a lot of reworks with internal code. If you plan to continue working on this, then please reopen the pull request and use a library that works well with the new build tool, parcel. For now, I will close this Pull Request.


Incorrect step in iOS getting started instructions on docs.phonegap.com

This is a totally bogus pull request because there's not a way to
submit an issue for this project (sorry for the cheap hack :)).
This bug concerns docs.phonegap.com, not the code in this GitHub
repo at all. I apologize if I'm in the wrong spot; trying to find my
way in a newfangeldy world. :)
Anyway, there's a bug on the iOS Getting Started instructions that
exist at:
http://docs.phonegap.com/en/2.5.0/guide_getting-started_ios_index.md.html#Getting Started with iOS_install_cordova
It says to download PhoneGap from http://phonegap.com/download, and
you'll get a file called cordova-X.Y.Z-src.zip. However, this is not
the case. You get a file instead called phonegap-2.5.0.zip.
That's pretty minor, but then later on it also says you should be able
to find a cordova-ios.zip therein, which does not exist in the
phonegap bundle.
If you follow the instructions in this document in GitHub, downloading
from http://www.apache.org/dist/cordova/, then the instructions work
fine. So this file doesn't need to be patched, but whatever's powering
docs.phonegap.com does.
I mention this just because it royally screwed me up for several
minutes, and would love to save the next person some trouble.
Thanks.

Thanks for the pull request! However, this repository is outdated and no longer the canonical source. I've updated the README.md to explain where the main projects now live.


difference ?

Hi, whats the difference between your adapter and iobroker/iobroker.mihome ?
Make it sense, to merge both?
best regards!

Hello!
As I noted in the driver description, the main goal is to control the air conditioner, that is, the state of the operating mode, fan speed, temperature and so on were added.
In addition, I fixed some sensors - for example, displaying atmospheric pressure in mm of mercury (this is more usual for me), removed the state of the battery from sockets (they are not there), and fixed the temperature / humidity / pressure sensor (https://github.com/ ioBroker / ioBroker.mihome / issues / 93) when using the protocol V 2.0.x.
I actively use the ioBroker.mihome driver, but at https://github.com/ioBroker/ioBroker.mihome issue they have been waiting for developers for a very long time, so I have to use my repository. Maybe in the future I will create pull requests at https://github.com/ioBroker/ioBroker.mihome.

Hello!As I noted in the driver description, the main goal is to control the air conditioner, that is, the state of the operating mode, fan speed, temperature and so on were added.In addition, I fixed some sensors - for example, displaying atmospheric pressure in mm of mercury (this is more usual for me), removed the state of the battery from sockets (they are not there), and fixed the temperature / humidity / pressure sensor (https://github.com/ ioBroker / ioBroker.mihome / issues / 93) when using the protocol V 2.0.x.I actively use the ioBroker.mihome driver, but at https://github.com/ioBroker/ioBroker.mihome issue they have been waiting for developers for a very long time, so I have to use my repository. Maybe in the future I will create pull requests at https://github.com/ioBroker/ioBroker.mihome.14.05.2020, 09:33, "Ilovegym66"<EMAIL_ADDRESS>Hi, whats the difference between your adapter and iobroker/iobroker.mihome ?
Make it sense, to merge both?
best regards!
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Hi, thank you for your detailed work and the ongoing working process!
I'm think, pull requests are welcome :-)
@Apollon77 @GermanBluefox

Completely correct, "Waiting for issues to get fixed by others" could mean you need to wait if andeveloper that knows this kind of devices has time to check it and fix stuff. PRs are always wrlcome and nortmally processed very fast! Just provide a PR with infos on whats changed/fixed. best also upgrade version number in io-package and paxkage and provide a new entry in io-package then it will go even faster :-)


Support DigitalOcean Apps

@anthonator ,  wanted to create an issue showing that DO apps is being added to the API.   I started work on it but haven't gotten very far.
I'm thinking of breaking it down into multiple modules and wanted your take on it.

App
App.Deployment

Not exactly sure where to put all the App Support calls like tiers, instance sizes, regions, app spec, and alerts.  At first I was thinking of App.Support but not sure I like that.

My strategy thus far been to mimic the structure of the DO API docs. So everything would go in an App module. If you look at modules like ContainerRegistry you can see what I'm talking about. Organizing by sub types (e.g. app deployment) would be too much maintenance overhead IMHO. I also think this approach makes it easier to grok this library with the DO API docs.

That works for me.  I'll keep on working on getting the App module finished.  Hoping to find myself some time this weekend to work.

Thank you!


Supporting Heroku

Heroku, when i use this gem, rased this exception:
Exception that got raised:
Backup::Exception::CommandFailed - Failed to run "mongodump" on "x86_64-linux".
The status code returned was pid 10 exit 127
STDOUT was:
STDERR was:
sh: mongodump: not found

Can I use this gem with heroku?

Unfortunately you can't since I'm sure Heroku's platform doesn't have mongodb installed. If you're using MongoHQ or other 3rd party hosted mongodb's then you'll have to spin up a separate little VPS (and install the latest mongodb on it) dedicated to running MongoDB backups.

meskyanichi you are wrong. it is possible.
To run mongo backups on heroku, i have uploaded mongodump to /bin folder of the application that solves the problem.

perhaps you should add this info to wiki, i think many other guys will find it useful. mongodump binary could be downloaded from mongodb website. http://www.mongodb.org/downloads. For Heroku x64 Linux binaries should be used.

@lexer were you able to get the command to work on Heroku? I uploaded to /bin and get a correct response for:
system "which mongodump"
But any attempt to use it with our MongoHQ instance doesn't do anything...

Yes I have included mongodump to my repo and pushed it to heroku. Im using Mongolab and it works fine. I don't think that mongohq is the problem

With the command, what output directory do you use for Heroku?

I don't configure anything. Just use gem default settings.

It stop working after recent updates. I get following error:
2011-12-08T02:14:29+00:00 app[worker.1]: [2011/12/08 02:14:29][message] Performing backup for database backup!
2011-12-08T02:14:29+00:00 app[worker.1]: [2011/12/08 02:14:29][message] Backup::Database::MongoDB started dumping and archiving "taxi-production".
2011-12-08T02:14:30+00:00 app[worker.1]: [2011/12/08 02:14:30][message] Backup started packaging everything to a single archive file.
2011-12-08T02:14:30+00:00 app[worker.1]: [2011/12/08 02:14:30][message] Backup::Compressor::Gzip started compressing the archive.
2011-12-08T02:14:33+00:00 app[worker.1]: [2011/12/08 02:14:31][message] Backup::Storage::S3 started transferring "2<IP_ADDRESS>.14.23.db_backup.tar.gz" to bucket "jettaxi"
2011-12-08T02:14:33+00:00 app[worker.1]: [2011/12/08 02:14:33][message] Backup started cleaning up the temporary files.
2012-02-14T07:04:41+00:00 app[worker.1]: [2012/02/14 07:04:41][error] CLIError: CLI::UtilityNotFoundError: Path to 'mongo' could not be found.
2012-02-14T07:04:41+00:00 app[worker.1]: [2012/02/14 07:04:41][error]   Make sure the specified utility is installed
2012-02-14T07:04:41+00:00 app[worker.1]: [2012/02/14 07:04:41][error]   and available in your system's $PATH.
2012-02-14T07:04:41+00:00 app[worker.1]: [2012/02/14 07:04:41][error]   If this is a database utility, you may need to specify the full path
2012-02-14T07:04:41+00:00 app[worker.1]: [2012/02/14 07:04:41][error]   using the Database's '<utility_name>_utility' configuration setting.

We changed the utility_path since it was causing issues when using multiple ones in a single database.
You need to set the path to your mongodump utility with:
database MongoDB do |db|
  # ...
  db.mongodump_utility = '/opt/local/bin/mongodump'
  db.mongo_utility     = '/opt/local/bin/mongo' # and this if you need to use the mongo utility for locking the db
end

But of course, them at the location you have them stored on Heroku. That should fix it.

I've add mongo binary to heroku and it start working. Do I need both dump and mongo binaries?

Are you saying you are using just the mongo utility, and not the mongodump utility? I'd think it's the other way around. As ar as I know you need mongodump to dump the database from MongoHQ, and if you want to "lock" the database before dumping (which is an option you can set in the database MongoDB) then you also need the mongo utility.

Before patch I have only mongodump binary. Now I have put both mongodump and mongo to make it work.
BTW: I have lock option set to false. But it still requires to mongo binary to finish the job.


Point cloud Visualization and shading

Hello,
I found this repository via this video on youtube
I'm actually only looking for a way to make a point cloud lit the same way a mesh would. In this video, I noticed that the shadow of the person's arm appears on its chest when it moves. Is this shadow a result of a unity or custom shader, or is it just already in the dynamic point cloud data? If the first suggestion, how did you make this possible?
Also, is there a repo or something where I can find the unity project of the video ?

Hi @amartiousclem , sorry for my late reply here. The shadow appears naturally, because when we compute depth from stereo, it's not possible to compute depth from parts camera is not able to see, and it translates to "shadow", but it's part of the point cloud without info. You can find Unity project in this repo under the folder "OAK For Unity/URP"


Support multiple Android users for run, install, attach, drive

Description
Support multi-user Android devices.  Pipe device identifier down to adb commands.
https://developer.android.com/studio/command-line/adb
https://source.android.com/devices/tech/admin/multi-user-testing
Related Issues
Fixes https://github.com/flutter/flutter/issues/20324
Tests
Run, install, attach, drive command tests.
Tests for specific adb calls.
Tested manually on a multi-user device. flutter run installed app to all profiles before this change.
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

Amazingly this passed FRoB.

What are the sorts of error cases that happen when an invalid user identifier is provided? Do we handle those correctly in the tool today?

Before this PR, there was no way to pass in an invalid user identifier now, it's always omitted.  For install, that means adb installs/uninstalls for all users.  For launching an app, adb defaults to the current user.  So flutter run will install the app for all users, but then launch on the current user.
If the user identifier is incorrect, it'll be a tool exit (not a crash) with abd's "Bad user number" error, which I think is already pretty clear.  For an install failure (flutter run and install path) I made this a better message to tell them to run adb shell pm list users https://github.com/flutter/flutter/pull/58815/files#diff-5d531011d56b3e9b299eb3be6246799cR444-R449.


"Error: Cannot find module 'walk-sync'" after switching to 2.0.0

The 2.0.0 release looks like it doesn't include index.js when I install in my project. The release archive itself also doesn't include index.js (just index.ts): https://github.com/joliss/node-walk-sync/releases/tag/v2.0.0

Eeeck, thanks for reporting!
@stefanpenner - Have a minute to double check and fix (I don't think I have commit / npm access here)?

Seems like we need to add yarn build as a prepare script (or something like that), to help ensure when npm publishing we actually have done the build first...

Oops this is my bad.

[x] add prepare: https://github.com/joliss/node-walk-sync/commit/a0ec32d0e01721e518c1018c406b2a71287129c7
[x] release 2.0.1: https://github.com/joliss/node-walk-sync/commit/b75fa80dbc9dff09b65d115fb5e95ae2725d8165

Also, confirmed that both the packed package, and the published one functioned correctly.


Fix installation link in README.md

README.md Link is broken. Should be installing-feast.md

Thanks @Jeffwan!
Would you mind signing the CLA?
As soon as you do I will merge it in.

@woop Hi, I already signed CLA. It's the similar one in Kubernetes community, right?
https://cla.developers.google.com/about/google-individual This one?

@woop Hi, I already signed CLA. It's the similar one in Kubernetes community, right?
https://cla.developers.google.com/about/google-individual This one?

Yes, thank you!

/lgtm

/approved


Neural operators part 1

@minnerbe and I added a blog post about our presentation on neural operators. We tried to capture everything that was said in the presentation and leave out some technical details, favoring readability and conciseness over mathematical details.
What do you think about this, @kristinbranson? Can you please give it a quick read before we merge and publish it? Thanks!

Looks good to me! I pulled the change in.
Minor comments -- take them or leave them, up to you!
In the first sentence -- "Neural Operators are a generalization of neural networks to continuous domains, i.e., they learn to map functions to other functions" -- I found it confusing what continuous meant, since the input/output of a neural net is continuous, that is, each node is continuous. The explanation later on made more sense, "Neural Operators can be seen as a generalization of convolutional neural networks (CNNs) to continuous domains. While CNNs feature convolutions with small kernels on regular discrete grids, neural operators have a continuous kernel that is convolved with the whole function in each layer."
I don't have enough of a background in PDEs to understand the PDE explanation, not sure I'm representative, though. Maybe an example of a, u and f would help for people coming from a CS/stats background? Maybe walking through one of the practical examples in each section as things are defined could be helpful, rather than having all the examples at the end? E.g. for the Poisson equation, you could also have what the actual inputs and outputs of the network are, which would make the sample input./output notion clearer?
Do you have any opinions you feel comfortable including in the blog post about what you think about the approach? What you take away, what you liked, when you might use these approaches, how knowing this would affect your work?

PS Are all the figures your own? If any are not, maybe put a link to the source in their captions?

PPS I hear you can include notebooks in quarto, not sure if that is of interest to you
https://quarto.org/docs/authoring/notebook-embed.html

Thanks for the feedback, @kristinbranson! We implemented almost all your suggestions (except for the notebook integration, since we weren't comfortable just embedding a notebook from someone else - that looks like it could be super useful for future posts, though). You can find the diff here.
You are right, the use of "continuous" was a bit ambiguous and the introduction was a bit abstract. I hope that the updated usage of the word and the added example help to explain the overall concept better. We also added a small takeaway section.
If this looks good to you, feel free to merge and publish the post!


Proposal Page is very slow for large proposals

Example
https://snapshot.org/#/ens.eth/proposal/0xd810c4cf2f09737a6f833f1ec51eaa5504cbc0afeeb883a21a7e1c91c8a597e4
Currently we load everything for all the votes at once. We should only load the profile, ens for the voters we see in the votes section.
Also currently as soon as you click see more, we try to display all the voters, instead we should chunk and display 20 on every see more click.

Another issue - Request getting timedout to 30 seconds because of a request timeout in the server.


Search hits  should be ordered according to file's context

Hi
When searching for a word in PyCharm, i.e. FROM in a Dockerfile, I'm correctly being sent to Zeal. The first result however is from Python's include statement from module include name. Only the second result is about Docker.
I've reported this in zeal issue 441, @trollixx thinks this is closer to your domain.
Best

i released a new version with a definition for the dockerfile context. i also included bash and manpages docs in this case. i do not get details about the elements inside the dockerfile and suppose some cli tools might be used within the dockerfile. the other docsets have lower priority though. i don't know if zeal respects this order. it looks like dash does not.
please also install the docker plugin from the jetbrains repository for this feature to work.

it looks like dash does not.

What dash-plugin URL do you call and Dash doesn't respect the order?

i am not sure, if you prioritize the search results by keyword order. i think i remember that you once told me dash didn't.
for example:
i would assume this query shows the manpage entry first
open -g dash-plugin://keys=manpages,php\&query=from

where as this query would show the php documentation entry first
open -g dash-plugin://keys=php,manpages\&query=from

however dash shows the php result first in both cases.

Ah. I see. Type ordering takes precedence over docset ordering. So PHP Methods show up above Man Pages which are indexed as Functions, regardless of the docset order.
Type ordering works great when the docsets you search over are similar in types, but fails when not. Kind of working as intended.

i see. this explains the same behavior when searching in docker and man pages. the docker entry is marked as section, whereas the man entry is marked as function. i guess additionally the docker entry also just qualifies as partial match.
for example:
open -g dash-plugin://keys=docker,bash,manpages\&query=from

thanks for clarifying @Kapeli

Already done? Wow you are fast!
There are two Docker plugins available for PyCharm:

Docker for Python
Docker integration

I've installed both, not knowing if I'll be breaking anything. Do you recommend one over the other?

hi peter,
i just tired the jetbrains docker plugin. i guess this is the latter one. it would be interesting to know if it also just works with the former one installed.
if you do try and it does not work, please tell me what the status bar states when you invoke the dash lookup.
i just need the plugin to recognize the language of the file (context). apart from that i can not say anything about there features.

Am 21.01.2016 um 10:00 schrieb Peter<EMAIL_ADDRESS>Already done? Wow you are fast!
There are two Docker plugins available for PyCharm:
Docker for Python
Docker integration
I've installed both, not knowing if I'll be breaking anything. Do you recommend one over the other?
—
Reply to this email directly or view it on GitHub.


Color assignment in DiscreteColorLegend does not match RadialChart

I have a simple radial chart and a corresponding legend. Even though both the radial chart and the legend receive the series data in the same order, the color swatches do not match.
Here's a Codepen.
And a screenshot demonstrating the color difference:

Hey @JayFields
I updated your code pen a little bit to get the desired functionality https://codepen.io/anon/pen/EQpKBe, but you do highlight a bug: color should be handled in the legends the same way as everywhere else in the library.

Thanks for the workaround!

@mcnuttandrew is the only fix specifying the actual color for each item manually?

Had to spend few hours to find out i was missing colorType="literal". Hope it helps anyone in the future.

After reading the source codes about radical-chart, I found that the color of pie is initiated by:

There is no colorDomain as a default props so the radical chart doesn't know which value will be associated with which color. Thus we could add a colorDomain to solve the problem.
Noticing that the colorDomain should be sorted in descending order because the data in the radical chart has been reversed.

radical-chart link: https://github.com/uber/react-vis/blob/master/src/radial-chart/index.js


Basic Auth not working

It seems that BasicAuth does not work.
Using the HttpSender, the $this->withBasicAuth(...) inside __construct() does not seem to work.
There is no additional header that is send in the request.
Changing the Sender to a GuzzleSender makes it work flawlessly.

Ah I know this issue... It's because we're using config()->set() here in the HttpSender whereas we need to use ->merge()

I will fix this when I get home later ✌

Hey @TiiFuchs this is now fixed in the latest release! 😎

I'll try it out as soon as I can. Probably tomorrow... :)


serial and binascii python files

Hi,
Your file is exactly what I was looking for, however i have had problems running it on lines import serial. Where can i find that files?
Sorry the wuestion, i am new on this!
Thank you!

HI AdiagoA,
The question you ask is not directly related to this particular library,
but is related to python itself.
There is quite some information on the web about python. If you type
"python import" or "python tutorial" in your preferred search-engine or
video-website, you should find all the information you need.
E.g. here:
https://www.youtube.com/results?search_query=python+for+beginners+import+serial
Good luck with learning python :-)
K.

Thank you for your advice! I was already able to do it and it works! However I would like to know if with your code is possible to import my own signal to function generator? I can not find out any code line where I can do it.
Thank you in advance!
ADiogoA


Collect and then delete resources to work around problems listing-while-deleting.

Addresses #1010

The only issue here is our lack of tests to prove it works.


Support multiple secrets

https://github.com/archethic-foundation/libjs/issues/9#issue-951302674

Using list instead of map in the API
https://github.com/archethic-foundation/archethic-node/issues/73


Typo "Internet**"→"Internet"

https://docs.microsoft.com/en-us/azure/virtual-network/routing-preference-azure-kubernetes-service-cli
#PingMSFTDocs

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

Looks correct per line 45; we'll merge it. Thanks for the update.


Fix error and update Readme

The issues have been resolved in develop branch will be included in new release.


mesh support

Please can you update this with mesh support

do we just edit the CppProperties.json and tasks.vs.json files and change "electron" to "boron"?


Allow timescale to be a non-primary rails db

Enables rubygems.org to use timescale as a secondary db only for gem downloads: https://github.com/rubygems/rfcs/pull/48
Consumed in https://github.com/rubygems/rubygems.org/pull/3560

@segiddins Thank you so much for your contribution, it's awesome to hear that rubygems will use the gem 🚀

@segiddins One last thing, could you follow conventional commits specs -> https://github.com/crunchloop/timescaledb-rails/blob/main/CONTRIBUTING.md#pull-requests?

@santiagodoldan feel free to change the commit message when squash-merging

@segiddins Sure, that works too, let me know about my last 2 comments and I will approve your PR when they are done, I'll push a new version to rubygems if everything works as expected 🚀

@segiddins Hey, let me know if my comments make sense to you, so I can resolve them and merge your changes 🚀

@segiddins Looks like ruby2_keywords was introduced in ruby 2.7

@segiddins Thanks for your contribution 💯


create storing large data article

I am going to rescope to just be an introduction to object stores and fill in some gaps comparing object stores to RDBMs 👍


[survey-multi-choice] radio button on the left (fix #703)

Please test. It works fine in my end.
I used jspsych-survey-multi-select as reference because the two are very similar and checkbox positions in jspsych-survey-multi-select are fine.
Hopefully this will simplify maintainance syncing future changes.

Hi @kupiqu, thanks for implementing a fix for this! I hadn't seen your pull request when I merged #676, and I think that one fixed the same problem. If you want to try out the survey-multi-choice plugin from the jsPsych master branch, you should find that the radio buttons should now appear on the left. So I'll close this now, but happy to reopen if there's still a problem.


Add performance counters

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Performance metrics
There does not appears to be any performance impact introduced by this change.

Closing this PR since it's still a draft, feel free to re-open it if needed 🙂


Add Hespori

Added the Hespori monster and it's loot table
Description:

Add the Hespori monster

Changes:

Added Hespori's wiki information and stats

Added Hespori's loot table

[X] I have tested all my changes thoroughly.

Codecov Report

Merging #124 into master will decrease coverage by 2.67%.
The diff coverage is 86.79%.

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   80.29%   77.61%   -2.68%
==========================================
  Files         155      157       +2
  Lines        1852     1872      +20
  Branches      149      143       -6
==========================================
- Hits         1487     1453      -34
- Misses        344      403      +59
+ Partials       21       16       -5

Impacted Files
Coverage Δ

src/simulation/clues/Elite.ts
68.18% <ø> (ø)

src/simulation/clues/General.ts
100.00% <ø> (ø)

src/simulation/clues/Master.ts
75.00% <ø> (ø)

src/simulation/monsters/bosses/Cerberus.ts
100.00% <ø> (ø)

src/simulation/monsters/bosses/CorporealBeast.ts
100.00% <ø> (ø)

src/simulation/monsters/bosses/DagannothPrime.ts
100.00% <ø> (ø)

src/simulation/monsters/bosses/DagannothRex.ts
100.00% <ø> (ø)

src/simulation/monsters/bosses/DagannothSupreme.ts
100.00% <ø> (ø)

src/simulation/monsters/bosses/GiantMole.ts
100.00% <ø> (ø)

src/simulation/monsters/bosses/Vorkath.ts
73.91% <ø> (ø)

... and 56 more

Continue to review full report at Codecov.

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


Caikit + TGIS returns empty answer when using HTTP calls

While using the ServingRuntime definition from https://github.com/opendatahub-io/caikit-tgis-serving/pull/131/files#diff-94e62eddc4f3b075ea6c7d9eb86d45728d2c9ebb3c00ae43fd81863ccb6c01f9 which leverages on REST call (HTTP port 8080) I'm facing issues in getting the model answers.
The query returns empty response. These are 2 example of REST calls I tried:
curl -d '{"model_id": "<model_name>","inputs": "At what temperature does water boil?"}' -insecure <ksvc_url>:8080/api/v1/task/text-generation

curl --json '{"model_id": "<model_name>","inputs": "At what temperature does water boil?"}' -insecure <ksvc_url>:8080/api/v1/task/text-generation

I also tried by getting the cluster CA secret and include it in the curl call like this:

oc get secret -n openshift-ingress router-certs-default -o json | jq '.data."tls.crt"' | sed 's/"//g' | base64 -d > <filename>.crt
curl --json '{"model_id": "<model_name>","inputs": "At what temperature does water boil?"}' -insecure <ksvc_url>:8080/api/v1/task/text-generation --cacert <filename>.crt

Is there anything wrong with the way I'm performing the call? Please notice that using the same ServingRuntime set to use gRPC port it works just fine

@dtrifiro ^^

Hey @bdattoma, apparently @Xaenalt run into this yesterday, and already fixed it here: https://github.com/opendatahub-io/caikit-tgis-serving/commit/22c9ec121c250de6b0cfd28870b816ee4313b4c2.
Apparentlty the presence of the name in the containerport was causing this error. If you created the inferenceservice/servingruntime yesterday without this patch, this is the issue.
I re-created both of them and am able to query the service:
$ curl -k --json '{
    "model_id": "flan-t5-small-caikit",
    "inputs": "What is 2 plus 2?"
}' https://flan-t5-small-caikit-predictor-caikit-tgis-new-http.apps.ods-qe-02.rhods.ccitredhat.com:443/api/v1/task/text-generation
{"generated_text": "a slender slender", "generated_tokens": 11, "finish_reason": "EOS_TOKEN", "producer_id": {"name": "Text Generation", "version": "0.1.0"}, "input_token_count": 7, "seed": null}

Closing this. Let me know if you have any other issues

great! it works indeed. Thank you
Please could you update the documentation in this repo?

is streaming available under HTTP? @dtrifiro

It does work locally:
$ curl -k -v --json '{
    "model_id": "flan-t5-small-caikit",
    "inputs": "What is 2 plus 2?"
}' localhost:8080/api/v1/task/server-streaming-text-generation

or with httpie:
http localhost:8080/api/v1/task/server-streaming-text-generation  model_id=flan-t5-small inputs="At what temperature does Nitrogen boil?"


feat: add new feature of project into READMD.md

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Add some features description to README.md file
Fixes # (issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[x] Test A
[ ] Test B

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

is everything ok!!!


Realize rule 3 of The Twelve Factors: Store config in the environment

I like to store files like database.yml or initializers/email.rb or initializers/devise.rb inside of git and keep configuration outside. With dotenv I am able to accomplish it.

Sorry for the noise, I am not familiar with travis so far.
Will find a way to get the tests passing again and open a new pull request if you are willing to pull it :)


Feature/live quotes editing

This pull request aims to add live editing to the quotes plugin. This enables the bot owner and, optionally, channel operators, to add quotes to the quote list, without manually editing quotes.yml.
It also moves the file handling code into the data model, abstracting it away from the view.
If you don't want this as part of canonical Showbot, that's fine. I wrote it mostly for practice, since I only learned Ruby last Sunday.
-s0ph0s

Discussion on the PR from IRC:
 PR looks okay to me, the one change I'd make is I think cinchize had a framework supported way for parsing commands iirc
 The matcher supports argument extraction.
See example here.
 The main improvment i can see is that we need a central source to pull the list of valid users with access to a command. It's already been implemented in admin.rb, and a second implementation is being added here.
 Maybe need a shared resource that has subsections for commands that can have users added to that array, and if the array is empty, it defaults to a 'default', also definable, array of nicks.
 I also don't think has_ns, is really needed, and allow_op_msgs seems redundant. Really my main complaint is it feels like things that already exist in the bot are being reimplemented, rather than absracting some of the stuff from admin.rb out to be reusable across plugins.
 Yeah, the approach up until now has been to just stuff anything that needs auth into admin.rb. But moving stuff out into a more generalized space would be the proper solution. :P

Argument extraction example in the DO bot functions
Regex groups get passed through.

And that fixes it to use the admin plugin. Non-exhaustive testing shows it to work properly in most normal cases.

Looks good!


Streamline - Flink Runner - Rules processor support

This is a subtask of https://github.com/hortonworks/streamline/issues/535
Streamline has support for rules executed via RuleProcessorRuntime. The design time (layout) representation of this is RulesProcessor.
This task is to translate and execute rule in flink by reusing the RuleProcessorRuntime.
Refer:
RuleProcessorRuntime
RulesProcessor
RulesBolt

Thinking about it further, it maybe possible to directly express the rule filter conditions in the flink table apis (if using the flink table APIs  for the runner).


Plot does not open on sisotool

Sisotool does not open any plots
import control.matlab
a = control.matlab.tf([1], [1, 2])
control.matlab.sisotool(a)

Environment:

Python 3.10.2
python-control 0.9.2
Windows 10 20H2

I have the same problem

See #770
Your whole environment probably doesn't open any plots.

Indeed, adding the following to the start of the file fixed it:
import matplotlib.pyplot as plt
plt.ion()


Loading a register model is not working

Azure documentation issue guidance
Before today the process has been working correctly for 10 months, and after today without changing anything wee are not able to load register models into Azure. The way that I can loading the model is:
model = Model(ws, name=model_name, version="110")
I can see the models if I print the list of models in my workspace if I ran the command:
for model in Model.list(ws):
print(model.name, "version:", model.version)

@virvirlopez -
Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@virvirlopez -
Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@virvirlopez -
Since we have not heard back from you we will now proceed to close this thread.
However if you can share additional information regarding the documentation you are referring and circle back on this thread , we will gladly reopen the issue and continue the discussion. Thank you.


Substitution soundness

Before optimizing the substitution step, we need to make sure it's sound first.

[x] Fixed 2 bugs in the variable collection part in the type structure
[x] Added test cases for all_variables
[x] Added substitution test cases

Includes commits from #75, merge that first.

This PR is ready to merge @skogsbaer after #75.


Travis CI Integration

A first pass at an implementation of Travis integration.

This adds a helper script to download protoc and install it correctly.
This adds a badge to the main README

#14

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Adding beans for Integration kind is adding a second route but not the bean in the file

Describe the Bug
Adding beans for Integration is adding a second route but not the bean in the file
Steps to Reproduce the Bug or Issue

Create a new route of kind integration
Click on beans
Click on add bean
providename, type and a property
Close panel
Open source code
--> there are 2 routes but no beans defined
Open again beans modal dialog
--> the properties are missing

Screenshots or Videos
No response
Platform
red.ht/kaoto-snapshot

duplicates #2044