Null-Dereferences at message.c

Describe the bug
In  common_init(), The first assignment of the global variable IObuff is at main.c: 932. And Before it is assigned, it is NULL.
However, many memory allocation may fail before IObuff is assigned. They are shown below:

alloc() for signal_stack in mch_early_init(), at os_unix.c: 3212 (mch_early_init() is called before common_init() in main()).
hash_add() in eval_init(), at evalvars.c: 227 (eval_init() is called in common_init(), at main.c: 918).
dict_alloc_lock() in eval_init(), at evalvars.c: 237, 239.
list_alloc() in eval_init(), at evalvars.c: 238.
set_reg_var() in eval_init(), at evalvars.c: 260.
alloc() for IObuff in common_init(), at main.c: 932.

All these functions will call lalloc() finally, and lalloc() will call malloc() at misc2.c: 926. If the malloc() fails, lalloc() will call do_outofmem_msg() at misc2.c: 966. And then do_outofmem_msg() calls semsg() at misc2.c: 1026, and semsg() calls vim_vsnprintf() at message.c: 732 with IObuff as the first argument. vim_vsnprintf() finally calls mch_memmove() to process IObuff. But IObuff is NULL Because it hasn't been initialized yet, as the result of which Null-dereferences occurs.
To Reproduce
Detailed steps to reproduce the behavior:

Make the alloc()s shown at Describe the bug fail.
The program will crash.

Expected behavior
The program would not crash when alloc()s fails.
Additional context
These bugs are found by my fuzzing tool and they are triggered at runtime.

@brammool


Fix generic net snmp

Created net-snmp profile in _general that just extends out the expected standard plus the dell specific mib.  As we come across walks for other hardware vendors we can add them in later.
I expect we would also do something similar for the windows snmp sysOID.
Still open on what to call the entity type, matching against this sysOID will get us anything running net-snmp, could be a physical server, virtual server, appliance that didn't bother to update to their own MIBs, technically even windows boxes could return this if someone was motivated enough to disabled the native windows snmp agent and instead used the net-snmp binaries.
I know we talked about having capabilities to parse these out further down the line but this is what we have in the mean time.

Added some clarification to profiles that are meant to be used as part of an extends block instead of standing alone


DPAT-2062 DB setup and OIDC Login flow

This PR is to setup

Initial DB setup
User model
OIDC login flow
A basic home page

When I try to run locally, I get an error Missing "authorize_url" value
Guess this is because I am missing settings from my .env file, should we document what settings are required and where to find them?

When I try to run locally, I get an error Missing "authorize_url" value
Guess this is because I am missing settings from my .env file, should we document what settings are required and where to find them?

I updated the .env.example to add those OIDC related env vars, but you need to replace it with actual values from auth0

When I try to run locally, I get an error Missing "authorize_url" value
Guess this is because I am missing settings from my .env file, should we document what settings are required and where to find them?

I updated the .env.example to add those OIDC related env vars, but you need to replace it with actual values from auth0

I took the values from the test application you setup (Control panel - YikangMao - Testing) and I was able to login 🚀


fix: undo semver breaking globby update

I couldn't figure out what Node versions you support or if you use semver, but this came up in a couple projects. Globby 11 drops node 10, and this project was not major version bumped.
https://github.com/keithamus/sort-package-json/pull/161/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R77
https://github.com/sindresorhus/globby/releases/tag/v11.0.0

Isn't it "Require Node.js 10", you mean Node.js 8?

Good catch. updated to "Globby 11 drops node 8"


⚠ Samsung has degraded performance

In 23a5ce3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2485 ms

Resolved: Samsung performance has improved in c5bc67e.


HTML5 On Chrome On Android Mobile Devices - Device Turns Off Screen, But Music Still Plays? - Dead Battery...

Godot version
v4.0.rc4.official [e0de3573f]
System information
HTML5/Android Mobile Devices/Chrome
Issue description
HTML5 On Chrome On Android Mobile Devices - Device Turns Off Screen, But Music Still Plays? - Dead Battery...
Steps to reproduce

Visit:  https://betamaxheroes.org/  on desktop/laptop computer.
Turn on Android smartphone or tablet and open "camera" app.
Scan with mobile device's rear camera the QR Code on above website.
Allow URL to open on mobile device's default Internet browser(we have Chrome for Android).
Website will open on mobile device.
Tap on the screenshot of the game to run HTML5 version on your mobile device.
Choose "touch" input(bottom selection).
With no user input, the device will shut off screen, but music is still playing?
DEAD battery if left alone for half a day or night(perhaps user fell asleep?)

Minimal reproduction project
N.A.

Could you please upload an MRP and provide more information about the situation that causes the issue?
For example, what kind of elements are in the problematic scene?
What renderer are you using?
What is the hardware of the device you tested on?
It sounds like the game is running, but with a black screen, so it would be useful to provide more information about the game so we can figure out why the screen is black.
As it is there isn't enough information for a contributor to even begin investigating what is causing this issue for you


Update README and add Java 8 Temurin Debian and Red Hat as as a draft

Update gitignore
Update README.md to reflect how scripts work today
First cut of Java 8 Temurin Debian files

@aahlenst - Would it be OK for you to review this PR and see if it makes sense to you?  It's still a WIP but I want to make sure I'm heading in roughly the right direction here :-)

I need to get an RPM-based VM now don't I.  Anything you'd recommend for me to spin up simply in VirtualBox (yeah, yeah I should be Docker pro here but I'm a dinosaur and still like my VMs)

@karianna Will do, give me a couple of days.

The list of tools included in the JDK can for example be pulled from https://github.com/adoptium/installer/blob/master/linux/deb/config/jdk-8-hotspot/tools.txt. Might need an update if OpenJDK added or dropped tools lately. Lack of pack200 stood out, for example.

I need to get an RPM-based VM now don't I. Anything you'd recommend for me to spin up simply in VirtualBox (yeah, yeah I should be Docker pro here but I'm a dinosaur and still like my VMs)

For final verification of the package, why not. But you can run the build incl. tests on any computer running Linux or even on a Mac as long as you have both Docker and a JDK. That already catches a ton of errors.

I suppose the spec file for Suse comes at a later stage?

Yes, once I'm confident with Debian and RH :-)

@aahlenst Thanks for the detailed review, I've updated everything except for the RPM spec file (I need to still update the tools there).

@aahlenst I can't figure out why the ZypperTests fail intermittently.  Running those checks locally always passes for me. https://github.com/adoptium/installer/runs/3543407221?check_suite_focus=true is an example of the failure

For easier analysis of test failures in CI it's best to collect Gradle's reports. Something like:
- uses: actions/upload-artifact@v2
  with:
    name: gradle-reports
    path: |
      linuxNew/**/build/reports

Gradle captures stdout and stderr, so we should the output of Zypper and other tools.

Looks like potentially fixing up the hkps access for keys has resolved the last of the issues.


Keys directory is not protected anymore

Seems like permissions are not removed correctly anymore on Windows 10 to protect the keys directory.

This issue seems to be related to a step not being completed. Need more investigation.

Last time I tried installing on Windows with the wizard, it seems like the keys directory was properly protected with system permissions only. Need more investigation.

I cannot reproduce this. Closing.


Add segments local IP and external IP [ Feature request ]

Hello good people of powerline-shell,
Would it be possible to add local IP and external IP as segments ?

As you can see , it becomes quite useful when dealing with docker instances.
Kind Regards,
Alvaro

I could see this being useful.
The local IP would need to know which interface you want to show as there may be many local IPs. But that is feasible as an argument to the segment.

I do not have a preference. My standard way of getting my IP is
/usr/bin/dig +short myip.opendns.com @resolver1.opendns.com

But this would rely on the dig command existing, which it wouldn't on windows. So ipify would probably be a better option. This segment would be rather slow since it's making an HTTP request. I wonder if we can intelligently cache it. Maybe only every X times the prompt is shown should it actually make a request.


docs: clarify read/update language in intro, readme & editor state

Add some clarifying documentation to the introductory pages:

README.md
Intro
Editor State

Hah, oops 🤦🏻♂ Guess that's what happens when I try and rush some docs before heading out the door

Hah, oops 🤦🏻♂ Guess that's what happens when I try and rush some docs before heading out the door

Haha I am endlessly grateful for this and all the other work you've put into this project - rushing out the door or not. These are great improvements.


Container Build CI

Please do not merge until we see this CI passing. Currently, this CI is not running as Github is experiencing service degradation.
Update - GitHub Actions is experiencing degraded performance. We are continuing to investigate.
Jan 19, 12:06 UTC

Please do not merge until we see this CI passing. Currently, this CI is not running as Github is experiencing service degradation.
Update - GitHub Actions is experiencing degraded performance. We are continuing to investigate.
Jan 19, 12:06 UTC

Ågree with Simon.... merging

Ågree with Simon.... merging


[feature request] add RSS feed to enable slack / discord subscription

Would be nice to add RSS feed,
hoping to add feed to a slack channel at Cowork Frederick
Not sure if the Discord would also use?

Here are some generated code samples that might get us part of the way:
templates/rss_feed.xml
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
  <channel>
    <title>TechCity Broadcasts</title>
    <link>http://techcity.com/rss</link>
    <description>Latest broadcasts and events from TechCity</description>
    {% for schedule in schedules %}
      {% for broadcast in schedule.broadcasts %}
        <item>
          <title>Broadcast for event {{ schedule.event_id }}</title>
          <link>http://techcity.com/events/{{ schedule.event_id }}</link>
          <pubDate>{{ broadcast.scheduled_for.strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
          <description>Broadcast scheduled for {{ broadcast.scheduled_for }}</description>
        </item>
      {% endfor %}
    {% endfor %}
  </channel>
</rss>

from jinja2 import Environment, FileSystemLoader
from techcity.models import BroadcastSchedule
from techcity.services.broadcaster.repository import BroadcastRepository

class RSSFeedGenerator:
    def __init__(self, repository: BroadcastRepository) -> None:
        self.repository = repository
        self.env = Environment(loader=FileSystemLoader('path/to/templates'))

    def generate_feed(self) -> str:
        template = self.env.get_template('rss_feed.xml')
        schedules = self.repository.schedules_by_id.values()
        return template.render(schedules=schedules)

class Broadcaster:
    def __init__(self, repo: BroadcastRepository) -> None:
        self.repo = repo
        self.rss_feed_generator = RSSFeedGenerator(repo)

    def dispatch(self, event) -> None:
        self._schedule(event)
        self._update_rss_feed()

    def _schedule(self, event: Event) -> None:
        broadcast_offsets = [timedelta(days=14), timedelta(days=7), timedelta(days=1)]
        broadcasts = [
            Broadcast(scheduled_for=event.start_at - offset)
            for offset in broadcast_offsets
            if event.start_at - offset > datetime.datetime.now(tz=datetime.UTC)
        ]
        schedule = BroadcastSchedule(
            event_id=event.id,
            event_start_at=event.start_at,
            broadcasts=broadcasts,
        )
        self.repo.create(schedule)

    def _update_rss_feed(self) -> None:
        rss_feed = self.rss_feed_generator.generate_feed()
        with open('path/to/rss/feed.xml', 'w') as f:
            f.write(rss_feed)

@david-wolgemuth, with the new iCalendar features, do you still think RSS feeds are valuable enough to pursue?

If the discord bot is able to pull all of these in using ical, that's good enough @mblayman !

Yeah, Andres said he could use the iCal feed. I'll close this for now and we can reopen if it turns out that the iCal feed didn't work for some reason.


Add blurple GitHub Corner

The goal is to make it even more obvious that we're providing the source!

lgtm!
yay blurple


More statlist fixes (bug #27)

This fixes issues in Statlist D2Common.0x6FDB64A0 and LoadItemStatCost.
Might also fix #25

Note: this fixes #29


loading ssz HistoricalBatch with trin

So, I'm attempting to use the ssz compressed historical batches here to build proofs using trin. I used the following code:
       let content: HistoricalBatch = serde_yaml::from_str(&value).unwrap();
        let compressed = std::fs::read(format!(
            "../test_assets/beacon/bellatrix/HistoricalBatch/ssz_random/{case}/serialized.ssz_snappy"
        ))
            .expect("cannot find test asset");
        let mut decoder = snap::raw::Decoder::new();
        let expected = decoder.decompress_vec(&compressed).unwrap();
        HistoricalBatch::from_ssz_bytes(&expected).unwrap();

This code is available in trin tests. It does not work though, I imagine it is because of the difference between ssz and ssz_snappy compression. What is the correct way to load these into a data structure?

Try just removing the snappy decoding party do something like
        let compressed = std::fs::read(format!(
            "../test_assets/beacon/bellatrix/HistoricalBatch/ssz_random/{case}/serialized.ssz"
        ))
            .expect("cannot find test asset");
        HistoricalBatch::from_ssz_bytes(&expected).unwrap();

Closing this as I am assuming it is resolved, feel free to reopen the issue if this isn't true


More granular adequacy, representativePoint cache

To avoid extra network requests when we already have the data from a previous fetch.

We need to:

Enable HTTP2 on the backend (https://github.com/bayesimpact/tds-frontend/issues/26)

See example: https://github.com/Ucnt/docker-flask-nginx-uwsgi/blob/master/Dockerfile

Make backend endpoints RESTful (not batch queries like they are now). Eg. POST /api/representative_points becomes POST /api/representative_point.
Make frontend endpoints RESTful (not batch queries like they are now).
Use existing endpoint memoization on frontend to make cache more granular.

This is the cleanest way to let us avoid the majority of requests frontend issues when a user is enabling/disabling service areas, which will speed up the UI substantially.


finished signup backend

Description
This PR fixes #
Notes for Reviewer

Module you've worked on

[ ] Frontend (Signup/Login)
[ ] Backend (Login)
[x] Backend (Signup)
[ ] Homepage
[ ] Others

If you specified others, please mention...

ERROR IF USER ALREADY EXISTS

SUCCESS MESSAGE IF SUCCESSFULLY REGISTERED

DATABASE TO STORE STUDENT DETAILS

Being fixed via #46 Thanks @Prabakaran2712 for PR


Autoinstaller: disallow users from downloading next version if new .NET Core version not installed

Autoinstaller should predict whether there will be a change in the .NET Core version and prompt user to download the version
The "Install Now" button should be disabled until the new .NET Core version is installed

Should probably integrate this before https://github.com/smith-chem-wisc/MetaMorpheus/pull/2047 😅

Last time we had a .NET core upgrade I put it in the release notes, so we can do this without extra code

https://github.com/smith-chem-wisc/MetaMorpheus/releases/tag/0.0.305

Okay, that's awesome. I did some rough work on this earlier (https://github.com/smith-chem-wisc/MetaMorpheus/pull/2052), but will abandon it.


Max-flow alg for unorderedElemsAre , containsAll, containsOnly

unorderedElemsAre , containsAll, containsOnly should use a max-flow algorithm to match arguments, and then explain which elements and predicates are matched or unmatched in max flow.
  There is a vertex A_i for each element of the collection being tested, and a vertex P_i for each predicate in the list.  There is an edge from P_i to A_i whenever the element A_i matches the predicate P_i.  There are two special vertices Src with an edge to every P_i, and Snk with an edge from every vertex A_i.  The resulting max flow represents a best matching of predicates to elements.  When the matching succeeds, the total flow will be equal to the number of elements (containsOnly), number of predicates (containsAll), or both (unorderedElemsAre).  If the flow is less than that, there will be unused edges from Src and/or to Snk that identify the unmatched elements and/or predicates, and these can be explained in the result.

See https://en.wikipedia.org/wiki/Maximum_flow_problem#Maximum_cardinality_bipartite_matching

See also https://arxiv.org/abs/1105.1569, which looks promising for large instances because it has a complexity better than the number of edges, so (unlike most other choices) it doesn't look at all edges.  Looking at all edges is potentially expensive here because it means matching arbitrary predicates, which themselves can be expensive, a quadratic number of times.  The linked paper is still quadratic in the size of the smaller set, but necessarily doesn't require matching all predicates against all elements.

Played around with bipartite matching a bit.  An unfinished and completely untested implementation of bipartite matching is at https://code.world/haskell#Pdlc1oV5K5Ji_F4rR_FSx8A.  This is using Ford-Fulkerson rather than something fancier, but that would be plenty good enough given that there are likely to be only dozens of elements in test cases.

Also of note: https://hackage.haskell.org/package/fgl-<IP_ADDRESS>/docs/Data-Graph-Inductive-Query-MaxFlow.html  Probably more expensive to construct the graph explicitly, and it's overly general since the algorithm expects arbitrary paths rather than bipartite matching.  But it's already implemented and correct.


arkade: 0.8.36 -> 0.8.38

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/alexellis/arkade/releases.
meta.description for arkade is: "Open Source Kubernetes Marketplace"
meta.homepage for arkade is: "https://github.com/alexellis/arkade"
meta.changelog for arkade is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.8.38 with grep in /nix/store/48p2lsy6yy2669hjd6ddz4qbdf7qn0cn-arkade-0.8.38
found 0.8.38 in filename of file in /nix/store/48p2lsy6yy2669hjd6ddz4qbdf7qn0cn-arkade-0.8.38

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
arkade

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/48p2lsy6yy2669hjd6ddz4qbdf7qn0cn-arkade-0.8.38 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A arkade https://github.com/r-ryantm/nixpkgs/archive/6c87587737b45c837250a51c8e061f3930d2f4b8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/48p2lsy6yy2669hjd6ddz4qbdf7qn0cn-arkade-0.8.38
ls -la /nix/store/48p2lsy6yy2669hjd6ddz4qbdf7qn0cn-arkade-0.8.38/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

arkade

Maintainer pings
cc @welteki @techknowlogick for testing.

Result of nixpkgs-review pr 188917 run on x86_64-linux 1

1 package built:

arkade


docs(reference-spec.md): fix SemVer 2 link

Fixes the SemVer 2 link in the Reference Spec doc

Created an issue around the CI failure here: https://github.com/deislabs/bindle/issues/279
As this is just a docs change, I'm going to merge.


Custom validation with CEL

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

70 of 81 (86.42%)  changed or added relevant lines in 5 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-3.5%) to 89.583%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

netcheck/validation.py
20
23
86.96%

netcheck/dns.py
21
29
72.41%

Files with Coverage Reduction
New Missed Lines
%

netcheck/dns.py
1
79.07%

Totals

Change from base Build<PHONE_NUMBER>:
-3.5%

Covered Lines:
215

Relevant Lines:
240

💛  - Coveralls


Feature/drop php7.2

Drop PHP 7.2 from this repo
Also fixed tests error

The CI errors are caused by downstream libraries by the looks of it 🤔

Yes, some PSR-7 providers are not totally PSR-7 compliant.

I'm a bit confused as to where this status comes from on the psr7 integration test repo:

Laminas clearly doesn't pass the test:

Also, it seems that static analysis and code coverage is not running 🤔

php-http/psr7-integration-tests repo is not running tests anymore. They were on Travis-CI but "building on travis-ci.org is ceased".

Also, it seems that coveralls run on PHP 8 but the results are not being uploaded.

I think following jobs are not running if one already failed.

Opened an issue on Laminas repo:
https://github.com/laminas/laminas-diactoros/issues/74


[IMPROVEMENT]: ExternalInterface not required in defaults IDF's

Improvement 🔧
Currently, ExternalInterface IDF record is predefined in IDF's in order to can generate empty action spaces (or not, depending on the spaces definition). I think it is a better idea to not include in default IDF's project, and then Sinergym add this ExternalInterface object if it is not found.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)

:pencil: Please, don't forget to include more labels besides enhancement if it is necessary.

This issue has been solved in PR #229


feature-request: Allow setting format.message.mdc.fieldName to an empty string.

I'd love to set format.message.mdc.fieldName to an empty string. I have tried setting it to <fieldName></fieldName> but I am still ending up with an mdc_ prefix. Did I get the config wrong or is it not possible to unset the prefix completely?

Thanks for reporting this, @apollo13!
Looks like logback configuration system (joran) ignores empty values. Probably we would need to introduce a special property to signal that no prefix is needed.


Update scalatest to 3.2.15

Updates org.scalatest:scalatest from 3.2.11 to 3.2.15.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (3.2.11).
You might want to review and update them manually.
build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scalatest", artifactId = "scalatest" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Codecov Report
Base: 95.31% // Head: 95.23% // Decreases project coverage by -0.07% :warning:

Coverage data is based on head (2eb0cbb) compared to base (9d4c9f3).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #358      +/-   ##
==========================================
- Coverage   95.31%   95.23%   -0.08%
==========================================
  Files           6        5       -1
  Lines          64       63       -1
==========================================
- Hits           61       60       -1
  Misses          3        3

Impacted Files
Coverage Δ

...3-/main/scala/io.circe.config/compat/package.scala

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.


Removed all references of $globalRole and $contextRole

The distinction of "global role" and "context role" is still useful when discussing placement and usage, but change the code to go through the same path (except edge case handling).
Added a validation (and test) to make sure protocol structure always references declared record types.
This "should" wrap up the generalization of roles.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a842ef7) 98.41% compared to head (1bdd6ac) 98.41%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #692   +/-   ##
=======================================
  Coverage   98.41%   98.41%
=======================================
  Files          74       74
  Lines        9902     9924   +22
  Branches     1446     1448    +2
=======================================
+ Hits         9745     9767   +22
  Misses        151      151
  Partials        6        6

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


StructuredOutputParser does not contain min and max items from zodToJsonSchema

.length property mentioned in zod schema does not get added to format_instructions that we send to LLM

Thanks for the heads up!
@StefanTerdell I think unpinning may fix this as mentioned in #3983?

@jacoblee93 Yup! .length support was added after the current pinned version. I'm just about to look into unpinning it


Please make theme dark

It is too bright. -- theme dark from automatic1111 doesn't work.

I know it's not ideal, however you can temporarely get around this by manually going to : http://<IP_ADDRESS>:7860/?__theme=dark
after it has finished loading.


[Web Install] Rethink lack of ability to detect a successful install

While I understand the privacy issues with detecting arbitrary web apps on the system. Would it be possible to allow a site to somehow detect apps that they themselves installed through this API. It's common practice for stores to show a different UI based on the installation status.
Alternatively could the promise return with a secondary promise that resolves once successfully installed. That way sites can store that themselves and keep track. But not be able to query in future?

+1. We've discussed (and frankly still are) considering the ability to track a successful install. This is key for attribution and also just to adapt the UX of the origin web site after the installation. Plenty of use cases, we're evaluating what's the best way of doing this, but it is something I'd like to do.

Hey @lukewarlow, the latest explainer details that the promise will return if the app is installed. This would allow to detect a successful installation. Let me know if this seems useful with a thumbs up if possible and I'll close the issue if so!


Added starter kit for Python

Notice that the dim. red. in there is not yet optimised and stores dense matrices. Plus, no support for Spearman correlation yet, so it deviates a little bit from the rest. Nevertheless: the skeleton works and can be submitted to eval.ai.

Python starter kit uses UMAP and stores sparse matrices (but takes longer to run...)
Starter kit creation works
Submission creation works

Thanks @Pseudomanifold ! :bow:


pull request for e2e test at 12/30/2016 16:45:16

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


uv python uninstall error message for invalid requests is confusing

e.g.
❯ cargo run -q -- python uninstall any
warning: `uv python uninstall` is experimental and may change without warning.
error: Cannot download managed Python for request: executable name `any`

We should wrap this error to be clearer, i.e. we're not trying to download here but instead trying to suggest the request can't be mapped to a managed Python key.

Relatedly, do you want a way to uninstall all Pythons?

Yeah we should probably support that, though I think it should require some sort of opt-in.

I could either see... python uninstall all or python uninstall --all (mutually exclusive with a request).


compile problems

looks like an interesting addon. i hope it does things like Deep Belief image recognition framework:
https://github.com/jetpacapp/DeepBeliefSDK
anyway.
i am trying to compile your addon but get these errors:
https://www.dropbox.com/s/fnbw65wt2hf8qr0/Screen Shot 2015-02-18 at 7.51.40 PM.png?dl=0
i am on OS X 10.10 with of 0.8.4

ahh sorry, i just realized these are new features that will be release with OF 0.9.0.
you can either check out the most recent version of OF from github, or wait for 0.9.0 to be released, or i will get to these errors and make the addon backwards compatible when i get a chance.

i see.
i will just download  OF 0.9.0.
thanks.

got it to work with 32bit version and of_v0.9.0RC1_osx_release.
it thought i was a baboon but did identify my sunglasses correctly.


My Workplans - Filter Behaviour

name: User Story
about: 'User Story '
title: ''
labels: ''
assignees: ''

As a (type of user)
I want (goal)
so that (reason/ why/ value)
Acceptance Criteria
Scenario 1:
GIVEN ... (you or your condition)
WHEN ... (what you do)
THEN ... (what you see)
Scenario 2:
xxxxxx
Validation Rules?
(If yes, list here)
Screenshot
(Link above will always be the most up-to-date version.)

Hey team! Please add your planning poker estimate with Zenhub @jadmsaadaot @saravanpa-aot @TomChapmanGov

I have merged my code changes for the filters, they all work except the my workplan toggle. I have started working on it and will follow up with its PR soon

@jadmsaadaot , we need somehow to make the Project Type filtered view in one line as other filters are.

@jadmsaadaot, when clicking on 'Clear' button, filter options should be cleared in results automatically without pressing 'Apply' button

@maria-kuzmenko clear issue fixed.
The word wrap in the filter is a fix for the app's filter component, let's do that separately if you agree it wouldn't block this task

@jadmsaadaot @maria-kuzmenko I can't test Scenario 4. the others all work great for me.
@maria-kuzmenko we need to add the ability to update EPD to Team relationship in an admin menu


dl_report.rmd

report template is missing
library(lubridate)
needed because of the call to %within%

Fixed https://github.com/USFWS/migbirdHIP/commit/a9d5ddbb157d64f6a1282917145b6949c976a651


[ZEPPELIN-5233]. Clear output before running paragraph

What is this PR for?
Trivial PR to clean output before running paragraph. setStatus will broadcast paragraph to frontend. That means the output in frontend will be cleaned before running
What type of PR is it?
[ Improvement ]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5233

How should this be tested?

Ci pass

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Will merge if no more comment


I have a problem I get many #

@necro304 Does this happen with all models, or only llama2? What are the specs for you machine, what version of ollama are you running (use ollama --version), and what version of llama2 are you using (ollama list | grep llama2).

ollama version is 0.1.17
llama2:latest   78e26419b446    3.8 GB  11 hours ago

Hi @necro304 This issue seems to be similare to this issue: https://github.com/jmorganca/ollama/issues/969
Can you confirm? If yes, add a comment to issue 969 and close this one. it seems to be a memory error on your GPU or CPU. Could you give more details in issue 969 of your hardware configuration?

I believe this ended up being fixed a while ago. The most recent version of ollama is 0.1.28. The llama2 model that you have should still be the latest. I'm going to go ahead and close out the issue, but feel free to reopen it if you're still having the problem.


NUI Frontend for FlexibleConfig

With PR #2757 (Flexible Config) almost being ready to merge, it's about time we start looking at the future of FlexibleConfig, and the opportunities available for it's immediate use.
The current PR only deals with the actual implementation of FC, and not the front-end that will be used to display the settings to the user. This will have to be done via NUI, with the correct kind of widget (slider, drop-down list or something else) being displayed based on the kind and range of values that are applicable for a particular setting in the FC.
Further, the FC (and consequently the UI) will eventually be split into 3 parts - the gobal (default) FC, the per-module FC that overrides the global FC, and the per-saved-game FC that overrides the global and the per-module FC.
Ideally this would be done (at least in part) before the start of GSoC, so that this class can be used during the work period.
Pinging @eviltak @rzats @emanuele3d @Cervator for feedback, and suggestions.
[The description of this issue is a WIP]

New version of the description - this and other comments on the description iteself will eventually be deleted, to leave the issue clean for further discussions on the subject matter.

With PR #2757 almost being ready to merge, it's time we look at the future of FlexibleConfig.
The currently open PR only deals with the actual implementation of FC, and not the front-end that will be used to display the settings to the user. This will have to be done via NUI, with the correct kind of widget (slider, drop-down list or something else) being displayed based on the characteristics of a particular setting in the FC.
Notice that according to what is specified in #2893 the front-end will have to deal with three types of FCs: one or more engine FCs, storing global settings for Terasology as a whole, any number of module-based FCs, storing global module settings, and saved-games FCs, overriding global engine/module settings in the context of a single saved game.
This aspect also implies a number of visual challenges for the UI, in order to keep the UX as clear as possible. I.e. let's describe a number of scenarios:
Given an engine/module color setting S with a default value "red", the user could:

leave S set to its global default value "red"
change S to a global non-default value "blue"

In the context of a saved-game, the user could:
A. given scenario 1 set S to a per-saved-game non-default value, say "yellow"
B. given scenario 2 restore S to its default global value "red" or set it to an entirely new per-saved-game value, say "green".
The scenarios above suggest that:

while working on engine/module global settings, the user should be informed if the value of a setting matches an hardcoded default or not and should have an easy way to reset a setting to the hardcoded defaults.
while working on engine/module per-saved-game settings, the user should be informed if the value of a setting matches an hardcoded default, a different global default or entirely new value. Again we'd need functionality to easily reset the value of the setting to the hardcoded or global defaults.  (Potentially we could simplify this second aspect by ignoring hardcoded values and only considering existing global one as a base).

The functionality described above, in its simplest incarnation, could be achieved by providing a checkbox beside each setting with a label "use default" and perhaps a slightly more explanatory tooltip, say: "use hardcoded default (3.14)" in the former case and "use global default (2.71)" in the latter case. When the checkbox is ticked the input widget for a setting (i.e. a slider or a text field) is disabled and assumes the hardcoded or global default value. When the checkbox is not ticked the input widget is enabled and is free to be set by the user.
A more complicated setup, i.e. a pull-down menu, could be required if, in the context of per-saved-game setting, we wish to give the user the choice between an hardcoded default, a global default different from the hardcoded one or the chance to set a new value - perhaps an overkill level of flexibility.
Pinging @eviltak @rzats @emanuele3d @Cervator for feedback and suggestions.

@vampcat: have a look to the comment above. The idea is that it will eventually replace the initial description and will then be deleted, pending your comments.

"Given an engine/module color setting S with a default value "red", the user could"
Can we please revert to the SnowWhite Module with the Apple color? That was much more interesting than a generic S :P
Onto more serious matters.
"When the checkbox is ticked the input widget for a setting (i.e. a slider or a text field) is disabled and assumes the hardcoded or global default value."
Let's say we have a global value of 3, and I overwrite it to 2. Then, I (accidently) select the checkbox for "use global", and uncheck it again. Does the UI still remember the 2? Ideally, it should.. but that will add an extra layer of storing redundant data.
I would be more in the favour of drop-down menu, with "Use Default" and "Custom" for global settings, "Use Default", "Use Global" and "Custom" for per-module settings and so on, since it lets the user stop at any given level of the hierachy.

@vampcat: regarding the SnowWhite module and Apple color: sure feel free to cut, paste and customize the text. I'd be happy to see a more down to fairy-land example. :smile:
Regarding your check/uncheck scenario, I'd say to keep it simple, at least initially, I'd go for a plain reset. If we really feel there's a need for it we can implement it at a later stage.
Regarding your last paragraph: if the pull down is easier or easy enough - why not? Regarding the triple choice, I think "Use Default" and "Use Global" might be a bit puzzling for a user, as in: what's the difference. I guess if the UI clearly marks in one case the settings as "Global" and in another as "Per Saved Game Setting", it would hopefully be clear enough. Perhaps we could also rename "Use Default" as "Use Factory Default", as it is a reasonably widely known expression.


Improve rich text editor UI

The rich text editor is pretty quirky at the moment, and carries a learning curve for new users. This ticket aims to simplify the interface so that functionality is familiar and self-evident.
Requirements

Move the floating/hidden formatting bar to the top of the input
Make the formatting bar always visible
The floating formatting bar behavior is not reliable, so we'll remove it for now and revisit later
Move the image/video insertion functionality to static buttons, also in the formatting bar
Make image/video insertion buttons always visible
Allow image/video plugin form to display as an absolutely position overlay, separate from the buttons
Make formatting bar sticky within the input, so that it doesn't leave the viewport unless the entire input does
Ensure a consistent UI between visual and raw editors

Note - the "Image/video" buttons are block level editor components that will vary from site to site.
My ideal UI for the richtext widget would be like Dropbox Paper or Medium, and I think that's starting to be the expected standard more and more. That said, it's a harder design to pull off, so I'm fine with an initial toolbar based version, but the image/video buttons are NOT build into the editor, and it's a really important concept that you'll be able to define different block level components (figure, pull-quote, embed, code example, all kinds of shortcodes, etc) that can be inserted as block level elements. So I still think a button in the marging when at an empty block makes most sense for these (again, see Medium or Dropbox Paper for really good executions of this).

This is not final at all, but I'm thinking something like this for now, and we can spend the necessary time on a solid Paper-like interface in the near future:

It's just as extensible as the current setup, making use of the icon parameter for editor plugins.

You may be interested in checking https://github.com/liferay/alloy-editor for this purpose. It works quite similarly to what you currently have, and uses React as well.

The editor components still need something that's not icon base. For example, here's the components we want to use for Smashing Magazine:

Figure
Pull Quote
Signature
Newsletter callout,
Jobs callout
A row of ads in the content
Product ad banner

Would be really hard to come up with icons for those...

If no icon is selected, the component name will be displayed in text. Still not super scalable...maybe we'll need to reintroduce the dropdown menu (still in the static toolbar, though).

@Spone I just noticed your comment - alloy editor does look like a potential option, and it appears to support custom editor components written in React. Thanks for pointing it out! Using dedicated libraries for this stuff is definitely preferred.

FYI / FWIW quilljs.com has a number of react wrappers as well.  quilljs is sweet but have no experience with the react wrappers.


fix: database kind field

Adding kind to Database struct.

@sfc-gh-swinkler this should be good to merge now

Hi. Any reason this was closed instead of merged in?

Yeah, the database resource was upgraded to use Terraform SDK V2. This PR therefore is no longer relevant.


Possible bug in transform checker

#6658 threw up some semantic errors which look like they could be erroneous.
https://github.com/oxc-project/oxc/blob/4db28a4add2fdc22c9eba291c26f10f01f42080d/tasks/transform_conformance/snapshots/babel.snap.md?plain=1#L1754-L1757
Why is ScopeId(0) being mapped to ScopeId(3)?
This could be a bug in the transform checker.

I have resolved many semantic errors at #6658. Now, the remaining errors are related to this problem. I don't know the SemanticChecker how to check, ￼since I moved a scope to a new scope, it is correct that the scope ID does not match. However, if it checks its child scopes, it can prove that even though the scope ID mismatch, they are still correct.

I have corrected all semantic errors so close it because there is no bug in the transform checker.


有没有可能集成本地短地址服务？

Is your feature request related to a problem?
如果是很长的域名，就会让页面变得很丑。
Describe the solution you'd like
类似于 https://github.com/jwma/jump-jump 这样的本地短地址服务（不建议远程的，就是为了持久和安全）
Additional context
No response

What are the security risks of using external URL shortening services?

In what way is a URL too long? Your domain name is as long as you make it, no?


Idea: Node Pattern sample-based generator

Again, not a feature request, more like to start the discussion. Can't think of a better place for this discussion again.
As a prolific cop author, I personally find Node Pattern hard to write.
Please speak up if you use some tools, that visually indicate that a node pattern you're trying to craft matches a given set of source excerpts. I can think of this as:
(send {nil? (const :Greeter)} :hello str)

§ hello 'Dear'
§ Greeter.hello ''
§ hello 'world'
§ hello 1
§ hello
Think visual regexp matcher we got used to already.
I recall there are Regexp generators that build a minimal Regexp to match a given set of strings (and always returns .* haha).
Wondering if building a similar tool to automatically build node pattern given some code samples it should match, and some that it should not.
Unfortunately, I'm not aware of the principles of building such a tool. Do you have an idea of where to start?

Yes, I want to have an easy way to check a node pattern. I also was thinking of showing the compiled code (maybe side by side with the node pattern) and have it show in color for executed / not executed, to make it easier to understand non matches. I was even thinking of putting an executable in the gem (maybe rast, or else rubocop-ast)

I have worked in something like this on fast: https://jonatas.github.io/fast/similarity_tutorial/
Maybe instead of generating a very generic expression we can generate several about the same code.
I also implemented one very smart shortcut to find "any reference" about some wording:
# Search all references about some word
Fast.shortcut(:ref) do
  Kernel.class_eval do
    def matches_args? identifier
      search = ARGV.last
      regex = Regexp.new(search, Regexp::IGNORECASE)
      case identifier
      when Symbol, String
        regex.match?(identifier) || identifier.to_s.include?(search)
      when Parser::AST::Node
        regex.match?(identifier.to_sexp)
      end
    end
  end
  pattern = <<~FAST
    {
      ({class def sym str} #matches_args? ...)
      ({const send} {nil? _} #matches_args? ...)
    }
  FAST
  Fast::Cli.run!([pattern, '.', '--parallel'])
end

That's already something to start with.
Would you like to hack on it @jonatas ? I guess writing specs for some pretty basic cases would really spark the fire.

That's already something to start with.

@pirj you mean the example of the shortcut I shared "# Search all references about some word" or from the expression_from?
I'd love to contribute to the project, especially to introduce a basic CLI application to let more people know about the node pattern facilities :)

I meant RSpec examples of how a sample-based node pattern generator would work:
describe 'NP::G' do
  it 'generates' do
    expect(
      generate('hello.hello(1) { }', 'foo.foo(2) { }')
    ).to eq '(block (send (send nil? _) int) _ nil?)'
  end
end

or how a visual matcher will highlight matched and unmatched branches of the NP given a code sample:
describe 'NP::V' do
  it 'highlights' do
    expect(
      highlight('(block (send (send nil? _) int) nil?)', 'hello.hello(1) { 2 }')
    ).to eq '(block (send (send nil? _) int) _ *nil?*)'
  end
end

what you like most. The latter is a slightly different feature, it just happened to have born in this ticket.

I love the idea of highlight_unmatched especially when we need to merge node patterns and add extra edge cases.

I love the idea of highlight_unmatched especially when we need to merge node patterns and add extra edge cases.

green = match, red = no match, yellow = not reached, light blue = not something that can be matched.

It looks amazing!

Wow! that is very cool @marcandre! Looking ahead to test it locally :)
I was thinking about we have like a web interface like rubular.com  that we could test the patterns against some code. I know that @baweaver started something on https://github.com/baweaver/ast_explorer maybe we could join the ideas to create a good playground for it :)

@jonatas Opened #105 , check it out! Yes, I'd like something like rubular! Not sure about UI... TTY? Tk? web (can parser run in Opal?)?

@marcandre that is a good point I was watching a live coding about opal right now on Ruby Kaigi with @youchan. Looks like it transpile to create the code. I think if opal compiles over opal it's possible :)´
The presentation was great and I learned a lot about how to create an AST rewriter in opal.
I think we can start with the server version and see if we can evolve to use Opal in the FE as a second version due to the challenge of transpile all the dependencies to the FE. I'm not sure what is the state of opal actually.

I put an initial version of a live debugger at https://nodepattern.herokuapp.com/

@marcandre is a coding machine 😮 👏 ❤
I love to use it! very cool!

Great job on the UI there. I'd always considered doing it through Lambda or just a Rails server because ruby > AST isn't technically executing code

Great job on the UI there.

Thanks!

I'd always considered doing it through Lambda or just a Rails server because ruby > AST isn't technically executing code

Right, but the UI does test a node pattern, and NodePatterns are very permissive... #eval("insert ruby code") is a valid pattern! I disabled that on the server though...
My plan is to have a local version that can also do local searches.

If you ever want to collab on any of that feel free to shoot me a message later. Interesting note on eval there.

Over time I'd love to evolve it into something like Regexr but that's a beast of a task:
https://regexr.com/

Thanks for the sponsorship @baweaver 🎉

Over time I'd love to evolve it into something like Regexr but that's a beast of a task:
https://regexr.com/

Which features in particular do you think are particularly worthwhile?
I created an issue with what I'm thinking about.

The idea may be interesting, but probably not worth the effort. I'll close for now.


Turn on UnknownNullness lint check

This doesn't flag anything meaningful and we rely on platform types for lack of type use nullability for generics.


I miss your app... pls bring it back on windows 11

I've not used the smart taskbar for almost 3 months because of the existed bugs and it has driven me crazy since then.. my productivity getting worse.. I know u might have a busy workload but pls update the app as soon as possible

Windows 11 has rewritten a lot of UI parts. The old API method will cause bugs. I am trying to avoid it with new methods. The basic functions have been implemented, but many new bugs have been created unintentionally. At present, I don't know how long it will take to solve the problem. I am constantly trying.

I just released a version to the Microsoft store. If you find any bugs, please give me feedback.

I just released a version to the Microsoft store. If you find any bugs, please give me feedback.

it works flawlessly Thank u so much! u are truly a lifesaver

I just released a version to the Microsoft store. If you find any bugs, please give me feedback.

it works flawlessly Thank u so much! u are truly a lifesaver

edited: it kinda work somtimes but mostly just like enabling the auto-hide taskbar ... still tho a great improvement.. looking forward to the next updates

I just released a version to the Microsoft store. If you find any bugs, please give me feedback.

it works flawlessly Thank u so much! u are truly a lifesaver

edited: it kinda work somtimes but mostly just like enabling the auto-hide taskbar ... still tho a great improvement.. looking forward to the next updates

Just updated the new version, it should be much better now.

I just released a version to the Microsoft store. If you find any bugs, please give me feedback.

it works flawlessly Thank u so much! u are truly a lifesaver

edited: it kinda work somtimes but mostly just like enabling the auto-hide taskbar ... still tho a great improvement.. looking forward to the next updates

Just updated the new version, it should be much better now.

it is much better now but whenever i exit from maximized tabs or open start menu.. the taskbar will not show up on desktop ... hope u can fix it ( btw thanks again￼ for bringing back this amazing app)

I just released a version to the Microsoft store. If you find any bugs, please give me feedback.

it works flawlessly Thank u so much! u are truly a lifesaver

edited: it kinda work somtimes but mostly just like enabling the auto-hide taskbar ... still tho a great improvement.. looking forward to the next updates

Just updated the new version, it should be much better now.

it is much better now but whenever i exit from maximized tabs or open start menu.. the taskbar will not show up on desktop ... hope u can fix it ( btw thanks again￼ for bringing back this amazing app)

These are difficult. let me try.

Thank you very much! The update of Win11 version is the biggest surprise of my day !!!!

Hello! Thank you for sharing your work!
I've just installed SmartTaskbar, on Windows 11.
Windows Explorer's file context menu appears behind the taskbar and I can't reach those options with the mouse - it applies to the new Windows 11 menu, as well as the classic one.
I've got a busier (longer) menu which is maybe why I might be early to notice it, but I'd be surprised if this was news and no one noticed it. I imagine it will be an issue half of the times I use the file/folder context menu. This must be a Windows 11-specific issue?


Unable to send audio attachment to FB Messenger via bot

Hi,
I am unable to send an audio attachment via botbuilder. I am on the latest version of the botbuilder. Below is the snippet of code I am using.  I have tried all different options and it seems this is not working. When will this be fixed ?
var msg = new builder.Message(session).sourceEvent(                {facebook: {                     attachment: {                         type: "audio",                         payload: {                              url:"https://petersapparel.com/bin/clip.mp3"                         }                     }                 }             });         session.send(msg);
I am recieving the following error
Error: Request to 'https://facebook.botframework.com/v3/conversations/1106358962795256-204426340019460/activities/38b93pDlg4a' failed: [400] Bad Request     at Request._callback (/workspace/FranceSayBot/node_modules/botbuilder/lib/bots/ChatConnector.js:413:46)     at Request.self.callback (/workspace/FranceSayBot/node_modules/request/request.js:186:22)     at emitTwo (events.js:106:13)     at Request.emit (events.js:191:7)     at Request.<anonymous> (/workspace/FranceSayBot/node_modules/request/request.js:1081:10)     at emitOne (events.js:96:13)     at Request.emit (events.js:188:7)     at IncomingMessage.<anonymous> (/workspace/FranceSayBot/node_modules/request/request.js:1001:12)     at IncomingMessage.g (events.js:292:16)     at emitNone (events.js:91:20)

This question has been answered on your StackOverflow post:
http://stackoverflow.com/questions/41544251/unable-to-send-audio-attachment-to-fb-messenger-via-bot


Better Ergonomics for mapping Buildings

Description
For mapping huge amounts of buildings, it is required some improvement in the "Ergonomics" of such process:
The two main keys used are A for acceptance and R for rotation, however the distance between both keys in the Qwerty keyboard is Not Confortable and requires a lot of movement of the mapper hand (left hand usually), normally right hand operate the mouse to select the elements (Buildings in this case). So perhaps use or more adjacent keys could improve the production of the building's acceptance.
The other requirement is to easily be able change the size of the buildings to higher or lower size, maintaining the shape inferred.
So far, I has ever mapped buildings in small hamlets and villages but now mapping a medium city in Bolivia (Riberalta) with most likely between 10 to 14 thousand buildings, is required a better way to map faster, but keeping quality as much as possible.
Please consider these improvements.
Thanks
JJ

Relates to #1336
In the latest canary, I made it so that the A Accept and D Ignore keys work when hovering over a building - you don't need to select it anymore.
I'm thinking of ways to make the other editing keys work on hover too, like M Move, R Rotate, maybe others?
It would also be awesome to let users remap the keys to ones that they find more comfortable, but that's a bit more of a lift.  #1076 would help here, this whole part of the code needs a refresh.


Clang format

Pulled in extraneous commits.  Close this pull request and submit pull request with appropriate commits.


Detect WLAN Pi model and apply the right system config

Namely Pro, RPi4 CE, MCUzone CE.
Settings:

USB port mode
Fan controller
Enable display out of the box

Closing as this appears to be solved in https://github.com/WLAN-Pi/wlanpi-common/blob/main/opt/wlanpi-common/wlanpi-config-at-startup.sh


Crash when requesting items with Pretty Pipes

I made the Transmutation Link and connected it to my storage with pretty pipes. I decided to test it out by auto crafting a campfire. But once I pressed the request button to get the item my server crashed.
debug.log

I'd prefer the actual crash report over your log files

crash-2023-03-16_21.09.08-server.txt
^^^ Here is the file from the crash report folder, below are the log adn debug files i have from the crash incase you need them
debug-1.log.gz
2023-03-16-1.log.gz

Also, after getting back in the world the items I requested were inside the terminals recieve section and not the crafting section I requested them too.

putting items in is no issue tho
I tried requesting one item normally without using the crafter and it still crashed
crash-2023-03-16_21.25.18-server.txt
debug.log
latest.log

This is happening due to the way they go about extracting items
it isn't necessarily wrong, but it's different that what most mods do
the issue is coming from us, but due to it being an incompatibility with one mod I'm not considering it a priority

alright, ios there an eta on a fix?

no

Hi, just wanted too ask if a fix will come out for all versions or just one. Such as for 1.18.2 and 1.19.2, not only 1.18.2.

Hello, it’s been like half a year since this issue was made. Will it ever be fixed?

There are many different things that are much higher priority than compatibility with a mod that's behaving in a nonstandard way

Alright then. Also, the retrieval module still works. So if I set a retrieval module from the link to a chest and set the module to request emerald, emerald will safely be travel from the link to the chest with no issue. The problem only happens when I use the pretty pipes terminals.

Ellpeck/PrettyPipes#192

Fixed in 1.0.9 for 1.19.2

1.18: 1.0.21
1.16: 1.0.41


Manual End of Speech

Proposed changes

I believe it would be beneficial to incorporate a feature in the SDK for detecting a token at the end of speech to ensure accurate end-of-speech detection. This would provide a more reliable way to indicate the end of speech, especially in cases where automatic detection may be imperfect.

Hi @sidharth72
I am not sure if you are aware of these available options:
-endpointing - https://developers.deepgram.com/docs/endpointing

utternace_end_ms - https://developers.deepgram.com/docs/understanding-end-of-speech-detection

Those don't meet your needs and If you are proposing something else entirely, could you explain in greater detail what you are looking for? Something closer to a functional spec would be nice. You could drop it right here in this issue.

Thank You. I just found that it is possible to combine UtteranceEnd and Endpointing to detect End of Speech efficiently.

All good! Glad you have a solution!


[GIE Compiler] Add data type of algebra operator output to physical plan

What do these changes do?
as titled.

Related issue number

Fixes

Codecov Report

Merging #2870 (e91ea4f) into main (17819c8) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #2870   +/-   ##
=======================================
  Coverage   42.55%   42.55%
=======================================
  Files          99       99
  Lines       10667    10667
=======================================
  Hits         4539     4539
  Misses       6128     6128

Continue to review full report in Codecov by Sentry.

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


Allow design through css classes

Closing as focus is now switched towards basic content accessibility instead of building rich widgets.


"ais-refinement-list" not showing anything

Hello there,
Thanks for the awesome plugin.
I have a problem when I use "ais-refinement-list"
It doesn't show anything. Even after importing the module.
import {
    AisInstantSearch,
    AisConfigure,
    AisHits,
    AisSearchBox,
    AisRefinementList,
  } from 'vue-instantsearch/vue3/es';

Thanks.
Nuwan T.

Hi @nuwanz
On paper AisRefinementList works based on https://github.com/meilisearch/instant-meilisearch#table-of-widgets but not at 100%, some function or not support.
Is there your case ?
how do you implement in your template ? can you share the way you implement ?
Which version of Meilisearch do you use?

Hi xlanex6,
Thanks for the quick reply.
front end code
<ais-refinement-list attribute="Category"></ais-refinement-list>
When I run the application. Get this error from the browser.
"Error: MeiliSearchApiError: Invalid facet distribution, the fields Category, Title are not set as filterable."
Thanks,
Nuwan T.

Hi
it's look a MeiliSearchApiError, Are you well set Category, Title in your meilliseach  config
you can do so like this
https://docs.meilisearch.com/learn/advanced/filtering_and_faceted_search.html#configuring-filters
keep me update

@nuwanz
After update your  filterable-attributes with ( in your case Category  )
It should works.


lm-evaluation-harness computes MMLU results differently than original OpenAI/hendrycks method

Thank you to the EleutherAI team for supporting lm-evaluation-harness.
I have been computing MMLU scores on various LLMs (Llama-2-7B, Mistral-7B, Mixtral-8x7B) using the original OpenAI/hendrycks method:  https://github.com/hendrycks/test
My results for Llama-2-7B agree well with the HuggingFace Leaderboard (lm-evaluation-harness) results.  But for Mistral-7B and Mixtral-8x7B, my results are about 7% lower than the lm-evaluation-harness results.  More details here:
https://www.linkedin.com/posts/lloyd-watts-5523374_ai-llm-machinelearning-activity-7162209571627806720-q4en
OpenAI/hendrykcs computes a single answer for each question.  This method can output garbage (not A, B, C, or D) on some questions.
Eleuther/lm-evaluation-harness computes 4 loglikelihoods for each question, and chooses the best one.  This requires four times as much computation.  I presume it was done as a robustness mechanism, to "choose the best of A, B, C, or D, even when the greedy next token might not be one of those."  Is my understanding correct?
Is there any documentation about the decision to implement lm-evaluation-harness this way?  It looks like lm-evaluation-harness is different from OpenAI/hendrycks in this important way - potentially higher-quality results, but at the expense of four times the computation.  I've been searching and have not found any discussion of this important and interesting point.
And I notice that there appears to be no option to use lm-evaluation-harness on MMLU in a strictly hendrycks-compatible way, which I believe would be four times faster.
And there is the question of whether the lm-evaluation-harness method is really higher-quality.  It looks like it artificially boosts the apparent performance of the LLM under test.  If the LLM was going to give some other non-ABCD answer, the lm-evaluation-harness method forgives it and lets it give its best choice from ABCD.  So, is that really representative of real-world performance, i.e. is the benchmark fair?
Thank you in advance for taking time to consider these questions.

Not an answer to any of your questions, but a comparison of different approaches (sort of): https://huggingface.co/blog/evaluating-mmlu-leaderboard
And also an idea to check fairness (not sure if any benchmark supports it yet), and probably leakage of test to model training data, is testing with proper non-ABCD answer: ask to reply with ♠♧♥♢ (for example) and check that symbol (not ABCD).

Thank you @LSinev.  In fact, this discussion
https://huggingface.co/blog/evaluating-mmlu-leaderboard
does answer my main questions.  It acknowledges that the lm-evaluation-harness method is known to be different from the  "original" OpenAI/hendrycks implementation, and can produce substantially different results.  Since my goal was to be able to reproduce accepted benchmarks, it is clear that I must adopt the widely-used method used in lm-evaluation-harness.  I will do that!
Thank you,
Lloyd


App crashes when logging in for the very first time with a newly created user

iPad 4 iOS 10.2

Open the app and create a new user
Try to login with the newly created user and observe

Actual:
App crashes when logging in with the newly created user for the first time.
Expected:
No crash.

I tried again with the latest code. It still crashes. Can you please check?

The above issue is fixed. But I see another issue now.
After logging in, I added a food to consumption list, then I immediately logged out. Then after syncing is done (after loading symbol stopped spinning), I tried to login. It is showing me the same login screen. When I again try to login, it crashes.
Reproducible Rate: 3/3
Video:
2.mp4.zip
Crash log:
FoodIntakeTracker-2017-01-26-111801.crash

@nithyaasworld are you changing the Identifier to com.nithya.FoodIntakeTracker?
I will upload a new version in Hockeyapp. This way I can get the crash logs. Ok?

Yes.
Ok. Thanks.

@nithyaasworld new version was uploaded to HockeyApp

It crashed again now for the same scenario above https://github.com/NASA-Tournament-Lab/NTL-ISS-Food-Intake-Tracker/issues/157#issuecomment-275311234.  I have clicked the "Send Report" button. Hope you have received the crash log. Please check.

@nithyaasworld can you check if this is reproducible in simulator or is a device only issue? Thanks

There is no crash in the simulator (Tested with the latest code available in the repository).
However it did not login when I clicked on Login after logout. It showed the same login screen. Then when I tried to login again, it logged me in. But this happened only one time. All other time, there was no problem in simulator.

No crash now. But I would like to recheck this once #164 is fixed.

No Crashes now.


Fix Right\Left key press in input text

When you type the date and want to use the Right or Left keys to navigate through the date text, the navigation didn't work due to the stopPropagation and preventDefault was run after a key press. After the fix the handler.call function returns true only if the propagation is wanted.

I ran into this during use, looks like a good fix!

I would change something here, if the key was not handled by the "handler", the keyup should not stopPropagation either.
`
keydown = function (e) {
...
if (handler && handler.call(picker, widget)) {
e.stopPropagation();
e.preventDefault();
} else {
keyState[e.which] = 'r';
}
},
        keyup = function (e) {
            if (keyState[e.which] !== 'r') {
                keyState[e.which] = 'r';
                e.stopPropagation();
                e.preventDefault();
            }
        },

`
Thanks for you PR, I hope someone accepts this to avoid patching in the bower components folder.

I second this, It'd be nice if this fix makes it to the master rep

This should be considered a critical fix, as the bug breaks accessibility standards on all web pages using the Datepicker.

I agree with @jonatanjohnsson. Not having this fix makes it unusable if you have accessibility requirements.


Handle new OrgUser role for deleting orgs

Describe the bug
Hotfix branch adds a new org user role; what was maintainer is now an admin. There is new code in develop that probably needs to be updated, that the hotfix didn't update, because the code doesn't exist on the hotfix branch.
There is probably also UI code that needs to updated as well.
┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 1.11
┆Issue Number: DOCK-1581
┆Sprint: Backlog
┆Issue Type: Story

The code Charles linked should probably check the user is a organization admin not maintainer now. Maintainers became admins.

@NatalieEO , I'm going to reassign to you since you're more familiar with it. :)

Review: Was able to delete a pending Org I created on dev - issue seems to be resolved!


Use same settings to update samples

Issue #, if available: #363
Description of changes: parameters are now properly carried over to the update method
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@henrymoss @BrunoKM can you guys have a look plz?

LGTM

LGTM


How can i exec a command when garden container is starting?

I want to  mount a external storage when  Garden container is starting,How can i do?Thanks.

Hi, @ybshen,
Diego doesn't provide anything like a general pre-create hook when it creates Garden containers, although if the external storage you want to mount is a distributed filesystem you may be interested in the work that the CF Persistence team has been doing recently. What's the exact problem you're trying to solve?
Thanks,
Eric, CF Runtime Diego PM

Hi,@Eric,
When an app in diego needs to store some files on local filesystem,Garden container's filesystem is temporary,so  i want that Garden container   mounts the distributed filesystem.
Thanks

Hi, @ybshen,
Ok, thanks for the additional context, and @tedsuo and the CF Persistence team may want to weigh in with advice. Just to confirm: the app you want to run relies on persisting data to a filesystem, and so you're interested in mounting a distributed filesystem as a volume in the container?
Also, my GitHub username is "ematpl", not "Eric", so when you @-mention that name, it's some other person who likely doesn't care about this issue. :)
Thanks,
Eric

Hi, this is Julian from the persistence team. Can you give us more detail on what sort of external volume you would like to mount?

I'm sorry.@ematpl

Hi,@julian-hj,
I want to mount external storage when the container starting.such as NFS、Ceph.The app running in garden container can store files to NFS or Ceph.
Thanks

@ybshen:  so sorry for the slow response.  I somehow got my wires crossed & didn't see your reply.  Provided that you are using the open source version of CloudFoundry, we have experimental support for Ceph in the product today.  Your best bet will be to check out the volman readme file here: https://github.com/cloudfoundry-incubator/volman and follow the links to the various documents describing volume services and our ceph volume driver/service broker pair.
HTH,
-Julian

@ybshen: I hope the above response was enough to answer your query.  I'm going to close this issue as answered, but please feel free to re-open it or post a new issue if you need more details.


[stable/nginx-ingress] configmap name bug

install cmd:

helm install stable/nginx-ingress --tiller-namespace cdp-qa --namespace cdp-qa -n ingress-cdp-qa

log

I1003 02:29:03.205342       6 main.go:227] Running in Kubernetes cluster version v1.15 (v1.15.0) - git (clean) commit e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529 - platform linux/amd64
I1003 02:29:03.210056       6 main.go:91] Validated cdp-qa/ingress-cdp-qa-nginx-ingress-default-backend as the default backend.
I1003 02:29:03.618958       6 main.go:102] Created fake certificate with PemFileName: /etc/ingress-controller/ssl/default-fake-certificate.pem
W1003 02:29:03.684855       6 store.go:616] Unexpected error reading configuration configmap: configmaps "ingress-cdp-qa-nginx-ingress-controller" not found

query configmap

~ ᐅ kubectl get configmap -n cdp-qa
NAME                              DATA   AGE
ingress-cdp-qa.v1                 1      4m21s
ingress-controller-leader-nginx   0      4m14s

Was this ever addressed? I just ran into this same problem, which required manually editing the deployment to resolve.
Deployment YAML included the following:
  containers:
  - args:
    - /nginx-ingress-controller
    - --default-backend-service=support/support-nginx-ingress-default-backend
    - --election-id=ingress-controller-leader
    - --ingress-class=nginx
    - --configmap=support/support-nginx-ingress-controller

but the ConfigMap was actually supposed to be named:
$ kubectl get cm -n support
NAME                                      DATA   AGE
ingress-controller-leader-nginx           4      21m

This points to some problem in the logic of the templates named nginx-ingress.controller.fullname or nginx-ingress.fullname.
Relevant versions:

Kubernetes: v1.14.2
Chart version: nginx-ingress-1.26.1
NGINX Ingress Controller version: 0.26.1

I'm seeing the same thing in version 1.28.2 of the chart:
W0113 17:03:00.382853       7 store.go:635] Unexpected error reading configuration configmap: configmaps "building-clarity-api-ingress-nginx-ingress-controller" not found

kubectl get cm --namespace building-clarity
NAME                                                   DATA   AGE
ingress-controller-leader-nginx                        0      3d2h
ingress-controller-leader-nginx-building-clarity-api   0      64m

I supose issue is with configMap creation, for me its working when some option is added, e.g.
Will add custom configuration options to Nginx https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/
config:
client-header-buffer-size: 1k


add newera token

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

Added correct in correct format here https://github.com/TrustWallet/tokens/commit/527bedbfab30d1fb1c96d7873873582462032d7c


chore: reduce imports

This uses the improved shake script from #9772 to reduce imports across mathlib. The corresponding noshake.json file has been added to #9772.

This is essentially impossible to review in the traditional way, so the question is whether we trust your script or not. I'd say yes (the fact that it builds is proof enough that it works at least to reduce some imports) so I think we should merge this as quickly as possible (running the tool again to fix the conflicts), but it would be better that at least two people agree on this, so
maintainer merge

This PR was not actually written by my script, unfortunately. It was a few phases of looking at the output, moving some things to global noshakes, some to local noshakes, and accepting the rest, then cleanup and reformatting of the result, then doing a second and third pass to ensure a minimal diff and checking that things still compile.

Let me correct myself, then. The question is whether we trust script + Mario. My answer is yes, because in the end it builds and it reduces imports. Maybe in a slightly non-optimal way if Mario screwed up somewhere, but in any case it's a big improvement.

Going forward it might be worth teaching people (mainly maintainers) how to use noshake.json, because it's grown large enough that it is reasonable to expect it to need to be edited on a regular basis.
In short:

ignoreAll is for files which intentionally have unnecessary imports. Files which are import-only are automatically considered as being in this group, so really the only mathlib file we have in this category is Mathlib.Mathport.Syntax.
ignoreImport is for files which should be treated as used when importing into another file. This is when there is some property of the file itself which means that downstream users will depend on it without having any direct constant-to-constant dependency. That is, tactics and notation files, and files whose main purpose is to add or declare an attribute.
ignore is for individual imports in individual files. This is used when there is some unusual use of a constant which is compile-time only, like double-backtick names, Qq expressions, attribute [foo] bar, as well as check-only commands like #guard and example.

I've pushed fixes for the tests, which might warrant additional scrutiny since additional imports there imply some usability loss (to remember to import things otherwise the tactic has degraded behavior).

Could you please merge master and shake it again? I'm surprised that imports of Data.Set.Defs didn't change: it compiles with
import Std.Classes.SetNotation
import Mathlib.Init.Set
import Mathlib.Tactic.Attr.Core
import Mathlib.Tactic.Simps.Basic
import Mathlib.Order.Notation
import Mathlib.Util.CompileInductive
import Mathlib.Data.SProd
import Mathlib.Data.Subtype

(I removed Mathlib.Order.Basic, then fixed compile).

(I hadn't actually done the re-shaking from the last merge yet. I can't shake it until it compiles successfully. Seems I have to merge again and restart the process...)

AAH it conflicted again, I literally can't get this out the door fast enough


cmake errors during the build

I did everything step-by-step from install guide and got these errors. I used commands git submodule init and git submodule update, so it isn't a problem source.
sa@sa-VirtualBox:~/cpp-netlib/build$ cmake -DCMAKE_BUILD_TYPE=Release   ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.2g")
-- Performing Test HAVE_STD11
-- Performing Test HAVE_STD11 - Success
C++ Flags:  -Wall -std=c++11 -std=c++11 -Wall -Werror link flags:
-- Configuring tests
CMake Error at deps/uri/CMakeLists.txt:85 (add_subdirectory):
The source directory
/home/sa/cpp-netlib/deps/uri/deps/googletest

does not contain a CMakeLists.txt file.
Configuring documentation
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
CMake Error at CMakeLists.txt:136 (add_subdirectory):
The binary directory
/home/sa/cpp-netlib/build/deps/uri/test

is already used to build a source directory.  It cannot be used to build
source directory
/home/sa/cpp-netlib/deps/uri/test

Specify a unique binary directory name.
-- Configuring incomplete, errors occurred!
See also "/home/sa/cpp-netlib/build/CMakeFiles/CMakeOutput.log".
See also "/home/sa/cpp-netlib/build/CMakeFiles/CMakeError.log".

cd into /home/sa/cpp-netlib/deps/uri and run git submodule update --init --recursive - see if that does the trick

This seems to be a dupe of #849


Ping: invalid characters in name

Related to #33
# dcping ping "dchub://hub.magnet.211.ru:411"
2019/03/08 00:02:51 nmdc: protocol error: invalid characters in name: "Baloo>\n******   20 \xef\xee\xf1\xeb\xe5\xe4\xed\xe8\xf5 \xf1\xee\xee\xe1\xf9\xe5\xed\xe8\xe9 \xf7\xe0\xf2\xe0:\r\n  --- [16:56:24] <\xd2\xee\xd2"
{"addr":["dchub://hub.magnet.211.ru:411"],"status":"error"}

Same problem occurs in v0.8.8

now the error is:
$ dcping ping "dchub://hub.magnet.211.ru:411"
2019/03/09 23:27:59 nmdc: unknown text encoding: "\xcc\xe0\xe3\xed\xe8\xf2-\xf5\xe0\xe1"
{"name":"","addr":["dchub://hub.magnet.211.ru:411"],"soft":{"name":"verlihub","vers":"0.9.8e-r2","ext":["OpPlus","NoGetINFO","NoHello","UserIP2","HubINFO"]},"users":0,"status":"error"}


Manually unroll MDS calculation

Modify full_round to perform round inline when params.mds.len() == 3.
This optimization gave a ~3% speedup (measured by mina ledger test apply on top of a PR stack #2394, https://github.com/MinaProtocol/mina/pull/15980 and TODO open a PR.
Although 3% isn't much, I expect speed-up to be better when a batch version of hash (https://github.com/MinaProtocol/mina/issues/16053) is delivered.
P.S. change's diff is bloated by ^M characters present at the end of each line for the previous version of the poseidon/src/permutation.rs file.

As discussed with @georgeee online, we can close this for now.

let's close this one for now. Initially I thought it would be useful. But now I'm not that sure. For the work I was doing I developed a quite different version of this computation (relying on parallelism). So the usage against which I was seeing 3% speed-up (i.e. ocaml bindings) will end up not involving the optimized call. And I have no idea whether this optimization would still make sense in other contexts (like WASM) or is likely to worsen things.
3% is also not that convincing. I thought there will be a follow-up with more increases, but it turned out to be a futile endeavor.


$NFTE symbol is not showing up when item is listed in @NFTE

Token icon has been added successfully.


error: can't start new thread

The logger.warning(e) happens in a loop and this can try to send a lot of logs.
Traceback:
File "[...]/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 114, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "[...]/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)

File "[...]/local/lib/python2.7/site-packages/newrelic-<IP_ADDRESS>/newrelic/hooks/component_djangorestframework.py", line 8, in _nr_wrapper_APIView_dispatch_
return wrapped(*args, **kwargs)

File "[...]/local/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 57, in wrapped_view
return view_func(*args, **kwargs)

File "[...]/local/lib/python2.7/site-packages/rest_framework/views.py", line 400, in dispatch
response = self.handle_exception(exc)

File "[...]/local/lib/python2.7/site-packages/rest_framework/views.py", line 397, in dispatch
response = handler(request, *args, **kwargs)

File "./api/views/filemanager.py", line 49, in get
return Response(serializer.list_files_in_folder(path, images_only), 200)

File "./api/serializers/filemanager.py", line 156, in list_files_in_folder
logger.warning(e)

File "/usr/lib/python2.7/logging/__init__.py", line 1152, in warning
self._log(WARNING, msg, args, **kwargs)

File "/usr/lib/python2.7/logging/__init__.py", line 1258, in _log
self.handle(record)

File "/usr/lib/python2.7/logging/__init__.py", line 1268, in handle
self.callHandlers(record)

File "/usr/lib/python2.7/logging/__init__.py", line 1308, in callHandlers
hdlr.handle(record)

File "/usr/lib/python2.7/logging/__init__.py", line 748, in handle
self.emit(record)

File "[...]/local/lib/python2.7/site-packages/logentries/utils.py", line 124, in emit
self._thread.start()

File "/usr/lib/python2.7/threading.py", line 494, in start
_start_new_thread(self.__bootstrap, ())

error: can't start new thread

Can you try the latest version? https://pypi.python.org/pypi/Logentries

Hi guys,
Still having this issue with Celery workers - see my comment in https://github.com/logentries/le_python/issues/3 - are there any plans to address it? I contacted support, but they just told me it's not a priority.

@rsaftoiu hoping to have a branch hopefully with a fix for this soon. Ill let you know when it's available

@StephenHynes7 thanks, appreciate it!

@rsaftoiu Have a fork here of this https://github.com/StephenHynes7/le_python/blob/cddf42285cb59e88afeb2ce16e7de6867ff3b5a4/logentries/utils.py. We will be doing our own tests on this aswell

Thanks @StephenHynes7, I will take a look. We switched from using this to just using syslog though, so not as critical for us anymore. Still appreciate the fix :)

I (apparently) worked around this by removing logentries from the logger configuration:
    'loggers': {
        ...
        'logentries': {
            'handlers': ['null'],
            'propagate': False,
        },
    },

Necro bumping to get this pushed upstream to PyPi so I don't have to maintain a copy.

^^ Seconded.  Right now we have to manually apply this patch after installing LE with pip.

Maybe the PR #46 solve this issue

hi, still seeing issue after PR #46 in celery workers.  Logentries is upgraded to version 0.17 as per advised.
File "/app/.heroku/python/lib/python2.7/site-packages/logentries/utils.py", line 195, in emit


The method '>' is called on null

I am receiving this error for a while now, and all I try to do is make a container inside another container. I am certain that I'm using the right syntax, although the code and the stack trace are posted below. Also, can someone suggest a way which makes reading Flutter Stack traces Easier?
import 'package:flutter/material.dart';

void main() {runApp(MyApp());}
class MyApp extends StatelessWidget{

  Widget build(BuildContext context){
    return Container(
      alignment: Alignment.topLeft,
      height: 50,
      width:50,
      decoration: BoxDecoration(
        color:Colors.white,

      ),

      child: Row(
        children:<Widget>[
          Container(
            width: 50,
            height:50,
            decoration: BoxDecoration(color:Colors.deepOrange[400]),)
        ],
      ),

    ) ;
  }
}

`Performing hot reload...
Syncing files to device Android SDK built for x86...

════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
Horizontal RenderFlex with MainAxisAlignment.start has a null textDirection, so the alignment cannot be resolved.
'package:flutter/src/rendering/flex.dart':
Failed assertion: line 450 pos 18: 'textDirection != null'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

User-created ancestor of the error-causing widget was:
  Container file:///C:/Users/rjsod/AndroidStudioProjects/flutter_app/lib/main.dart:9:12
When the exception was thrown, this was the stack:
#2      RenderFlex._debugHasNecessaryDirections (package:flutter/src/rendering/flex.dart:450:18)
#3      RenderFlex.performLayout (package:flutter/src/rendering/flex.dart:638:12)
#4      RenderObject.layout (package:flutter/src/rendering/object.dart:1701:7)
#5      RenderPositionedBox.performLayout (package:flutter/src/rendering/shifted_box.dart:392:13)
#6      RenderObject.layout (package:flutter/src/rendering/object.dart:1701:7)
...
The following RenderObject was being processed when the exception was fired: RenderFlex#b62d3 relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...  parentData: offset=Offset(0.0, 0.0) (can use size)
...  constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=592.0)
...  size: MISSING
...  direction: horizontal
...  mainAxisAlignment: start
...  mainAxisSize: max
...  crossAxisAlignment: center
...  verticalDirection: down
RenderObject: RenderFlex#b62d3 relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
  parentData: offset=Offset(0.0, 0.0) (can use size)
  constraints: BoxConstraints(0.0<=w<=360.0, 0.0<=h<=592.0)
  size: MISSING
  direction: horizontal
  mainAxisAlignment: start
  mainAxisSize: max
  crossAxisAlignment: center
  verticalDirection: down
...  child 1: RenderConstrainedBox#2da87 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...    parentData: offset=Offset(0.0, 0.0); flex=null; fit=null
...    constraints: MISSING
...    size: MISSING
...    additionalConstraints: BoxConstraints(w=50.0, h=50.0)
...    child: RenderDecoratedBox#bd1c7 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
...      parentData: <none>
...      constraints: MISSING
...      size: MISSING
...      decoration: BoxDecoration
...        color: Color(0xffff7043)
...      configuration: ImageConfiguration(bundle: PlatformAssetBundle#f3ee4(), devicePixelRatio: 1.0, platform: android)
════════════════════════════════════════════════════════════════════════════════════════════════════

════════ (2) Exception caught by rendering library ═════════════════════════════════════════════════
'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 321 pos 12: 'child.hasSize': is not true.
User-created ancestor of the error-causing widget was:
  Container file:///C:/Users/rjsod/AndroidStudioProjects/flutter_app/lib/main.dart:9:12
════════════════════════════════════════════════════════════════════════════════════════════════════
Reloaded 1 of 468 libraries in 386ms.

════════ (3) Exception caught by rendering library ═════════════════════════════════════════════════
The method '>' was called on null.
Receiver: null
Tried calling: >(1e-10)
User-created ancestor of the error-causing widget was:
  Container file:///C:/Users/rjsod/AndroidStudioProjects/flutter_app/lib/main.dart:9:12
════════════════════════════════════════════════════════════════════════════════════════════════════
`

Your app needs to be within a MaterialApp (or a WidgetsApp or a CupertinoApp). The App widgets set up some basic inherited widgets, like https://api.flutter.dev/flutter/widgets/Directionality-class.html
The app generated by Flutter create is set up this way.

Hi @RJSD3V
Code Sample
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(home: MyApp()));
}

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Container(
          alignment: Alignment.topLeft,
          height: 50,
          width: 50,
          decoration: BoxDecoration(
            color: Colors.white,
          ),
          child: Row(
            children: <Widget>[
              Container(
                width: 50,
                height: 50,
                decoration: BoxDecoration(color: Colors.deepOrange[400]),
              )
            ],
          ),
        ),
      ),
    );
  }
}

Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


BXC-2198: Add metrics to deposit

Closing in favor of https://github.com/UNC-Libraries/Carolina-Digital-Repository/pull/747


urllib3 (1.26.16) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!

The txt content is:
STRING 0000001
ENTER
DELAY 5000
....

I got this:
/opt/homebrew/lib/python3.11/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.16) or chardet (5.1.0)/charset_normalizer (2.0.12) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
^CTraceback (most recent call last):
  File "Ducky-Script-Compiler/main.py", line 106, in <module>
    lex(line, prev)
  File "Ducky-Script-Compiler/main.py", line 46, in lex
    time.sleep(float(line[6:]) / 1000)

can u run this
pip3 install --upgrade requests

Try running the script again.


SCIM2/Me patch call fails due user search among all the userstores

Hi Team,
The SCIM2/Me patch request is failing when there are multiple userstores and some of them are slow. SCIM2 endpoint called with bearer access token. However, the user does not exist in that particular LDAP user store but in a JDBCUserStoreManger and it's trying to iterate the user store manager to get the user claim values.
In the SCIMUserManager component, it is called the getUserClaimValuesWithID method with user id. In this method, it will try to get the user using the User ID with the user store domain null. Since the user store domain is null, the abstract user store manager will try to search for the user in all the user stores and eventually will break the flow if one of the user stores fails.
Since the SCIM2/Me endpoint is authorized using the bearer access token and the user is already known at the SCIM2 component, iterating all the user stores to find the user should not happen. It is also wasting resources.
Steps to reproduce

Create 2 or more user stores including a JDBCUSerStoreManager and erroneous user store (LDAP with an incorrect password, etc.)
Restart the server.
Create a user in the JDBCUSerStoreManager and get an access token for that user.

curl --location --request POST 'https://localhost:9443/oauth2/token' --header 'Content-Type: application/x-www-form-urlencoded' --header 'Authorization: Basic WHBhZDlqTU5NQU1ObURKc01CUFJicHI5dVlRYTo5ZmVYN3dDUmplUkNOcEJJYjZlZGRTSHl0R3dh' --data-urlencode 'grant_type=password' --data-urlencode 'username=john2' --data-urlencode 'password=admin' --data-urlencode 'scope=internal_login'

Try to invoke the SCIM2/Me patch endpoint (If the user was searched in the erroneous user store first, it will throw a 500 error).

curl --location --request PATCH 'https://localhost:9443/scim2/Me' --header 'Authorization: Bearer aa9b0295-4d4e-3be3-b99b-263a7042e079' --header 'Content-Type: application/json' --data-raw '{
 "schemas": [
   "urn:ietf:params:scim:api:messages:2.0:PatchOp"
 ],
 "Operations": [
   {
     "op": "replace",
     "value": {
       "password": "admin"
     }
   }
 ]
}'

This issue still occurs for the first time when calling scim/Me patch since the user id to domain mapping is not populated during the authentication, but during password update.
The fix https://github.com/wso2/carbon-kernel/pull/3639 solves this. With this PR, it is persisting this mapping at a point where the domain of a user is known, thereby preventing the iteration through all userstores in search of that user's domain.


Using the in operator with a dynamic list within a SQL file

Can I have a sql file like:
select * from test1 as t1
inner join test2 as t2 on t1.customerId = t2.id
where t1.status in ($1)

where the actual status values are passed in?  Like [0,1,2]
I noticed your documentation said you cannot pass in an array as a single argument, so I am not sure how this would work.

Yeah, prepared statements don't work that way. The query engine just takes the parameters you give it and binds them in the appropriate places, it can't expand one parameter into several. With Postgres you can get around this by using the ANY array comparison operator instead of IN.

@dmfay so how would I do this using MassiveJS?

Like you'd expect: write your statement ...WHERE field = ANY($n), and make sure $n is an array of primitives. It's not a special case except in that it's a Postgres extension on the SQL standard.

@dmfay thank you very much for your support, you have been amazing supportive and responsive!  It worked, as you said.


Add Settings section

Add a 'Settings' section where some default values can be configured.
ex.
Enabled for workflow = True (on create)

Included in v1.2022.05.66
https://github.com/drivardxrm/XTB.CustomApiManager/releases/tag/v1.2022.05.66


change back to ppp 🙀

Description
I did the last step too early

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against b1b5c42ddfb70b645eccf16587aae33dce372739


Spider: ACLU Missouri

URL: https://www.aclu-mo.org/en/node/926/
Events URL: https://www.facebook.com/pg/ACLUMO/events/?ref=page_internal
Spider Name: aclu_missouri
Agency Name:  ACLU Missouri
See the contribution guide for information on how to get started

I'm going to work on this spider.


OpenTripPlanner modes adapter and ferry calculation

Note: work-in-progress. Submitted for preliminary peer-review.
Closes #45
Changes

Added OpenTripPlanner modes to Mode model.
Mapped most OTP modes to existing model modes.
Took an average of the large and small car for OTP CAR value.
Researched approach to get average CO2 emissions and occupancy for ferry mode.

TODO

[ ] Write unit tests
[ ] make changes that @MarkusShepherd suggests

I added a helper function for ambiguous or hybrid transport modes. I'm sure you'll love my function name :-)


Sunbreak VR graphics glitch

Awesome mod BTW. Was working fine with Rise, since the Sunbreak update I can get VR to work ok. But there seems to be a problem with the 3D/stereoscopic effect I think. Environments look fine but my hunter and other characters have a blurry line around them, almost like two images not matching up, and my hunter, if I close one eye has hair, and the other eye has no hair.
I've tried several builds, including the nightly but have the same issue.  I've uninstalled, manually cleaned the game folder, reinstalled and only run re-framework with no other mods. I've tried openxr and openvr. I'm using a Quest 2, tried airlink and virtual desktop.
Any suggestions?
re2_framework_log.txt

It is a problem with the newer version of the RE Engine, I haven't figured out why. Same issue as #400. Closed as duplicate.


wsgi tuning setup config

What are the relevant tickets?
Updates https://github.com/mitodl/mitxonline/issues/1682
Description (What does it do?)
Installs uwsgitop which we'll need on rc to run this
has instructions and an example file to set up locust locally which will be used to generate both local and RC traffic
How can this be tested?
Using the information provided, get locust running and sending requests to your local application and rc - if you can use this to set it up, I've done my job.
Additional Context
This is essentially this: https://github.com/mitodl/ocw-studio/pull/1898 with a little more information around the locust setup

I will say the only reason the locustfile.py is here right now is so locust starts (you need a valid user). Don't worry about the test passing, not, etc - just make sure you can load it and stuff happens when you hit the button :) We'll critique the test itself in the last PR