Limitation on number of viewers for group video chat

We are looking for a way to allow for a group video chat of hundreds of users simultaneously.
Is this something that Kinesis would allow us to do? I read that there is a maximum of 10 connected viewers.
We are currently using Twilio that has a hard 50 participant limit.
Thanks!

Well I wanted to have channels with possibility to have 250 viewers but AWS allocated only 30 for now.
It is a soft limit but it can be increased based on use case.
What they state is the following:

"The service team informed that Kinesis Video Streams WebRTC is not suitable for building applications that require multiple viewers because it only support Peer-to-Peer streaming which does not scale to a multi viewer scenario."

This basically becomes a dead end for me, I am using openvidu pro but in order to make some custom solution, there needs  to be flexibly of using N number of viewers per channel. They should look into it seriously otherwise there is not much use case for this feature apart from streaming from security cameras or 1 to 1 meeting.

Closing assuming answered, feel free to reopen in case of any further questions/issues.


Headings are the same

When I opened notion enhanced, the heading regardless of if it's 1, 2, 3, are all the same size

see https://github.com/notion-enhancer/desktop/issues/668


fix: popup closes on context menu copy

Closes https://github.com/ydb-platform/ydb-embedded-ui/issues/1452
Stand
Problem:
https://github.com/user-attachments/assets/64e2752f-05e4-4364-bd71-8fe10d0f6628
CI Results
Test Status: ⚠ FLAKY
📊 Full Report

Total
Passed
Failed
Flaky
Skipped

134
132
0
2
0

Bundle Size: ✅
Current: 78.95 MB | Main: 78.96 MB
Diff: 0.00 MB (-0.00%)
✅ Bundle size unchanged.

ℹ CI Information

Test recordings for failed tests are available in the full report.
Bundle size is measured for the entire 'dist' directory.
📊 indicates links to detailed reports.
🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@Raubzeug @artemmufazalov ping


add 2 website for Testing and Check The Security Score

Qualys SSL Labs - Provides a free analysis of your SSL web server's configuration.
HackerTarget - Offers various security tools and resources for testing and improving website security.

@DhanushNehru any changes required ??


DateTime assignment to Time

Hi,
I am getting the following error:

No mapping to a relational type can be found for the CLR type 'Time'.'

Following is my code:
[StructLayout(LayoutKind.Sequential, Pack = 1)]
internal struct DataPoint
{
	public Time Time;
	public double Value
	{
		get;
		set;
	}
}

and for writing it.
var values = repository.FindAll(m => m.MeasurementId == measurement, m => new DataPoint{Time = m.Time, Value = m.Value.Value});
tf.Write(values) ;

Thanks,
Attiqe

Well that looks good, you correctly use the Time class. Can you provide a (small) repo to reproduce it?


Get Image operation not returning the storage profile os_disk and data_disk size

Hi,
I am using the Compute API to get image. My requirement is to get the list of disks present in the Image and also size of the disk. In the get image operation result, the disk_size_gb property returning None for os_disk and also for the data_disk.
Please let us know, is there any additional information I need to pass to this get method.
Thanks,
Vikram

Hi @VikramAIS
Please look at this issue, this is a known limitation of the Compute RestAPI: https://github.com/Azure/azure-sdk-for-python/issues/672


2645: upgrade rails

Context
Upgrade rails to >= <IP_ADDRESS> due to vulnerability
Changes proposed in this pull request
Guidance to review

 Upgrade rails to >= <IP_ADDRESS> due to vulnerability


[Question] 监控错误

Question

连接是正常的，但是经常出现这个报警，是不是很不稳定

Probably it caused by network congestion.
Config alert threshold may solve you problem.
https://hertzbeat.apache.org/docs/help/alert_threshold
https://hertzbeat.apache.org/zh-cn/docs/help/alert_threshold


copy-my-requirements (Expected failure until migration is merged)

Update apps/models.py::Brief::copy
Add copy string to title
Specify fields from data to not copy (see ticket)
Remove test_cannot_make_a_draft_copy_of_a_brief_if_the_framework_is_not_live
No longer relevant. Framework does not need to be live
Update tests

The model method here is triggered by the api end point at digitalmarketplace-api/app/main/views/briefs.py::copy_brief which didn't need changing.
Migration:
https://github.com/alphagov/digitalmarketplace-api/pull/568

Looks good when tests are green 👍

Actually, one issue spotted. To use the copied_from_brief_id in our scripts repo it must be sent as part of the serialized response. We must add it to the serialize method (at which point camel case also is convention).


P

I use nothing but native arm64.....
I get this alert in visual studio code (arm64) an alert about an updated version of powershell.

when clicking it tries to install x64 version  instead of arm. would be nice to have an arm installer or recognize im using arm and not x64.

This seems like it's a bug in the PowerShell extension, since there is an arm64 version available.
However, if you're on Linux, it seems there's only amd64 .deb and .rpm packages available, so that may be the reason.


Resolved issue #74

Pull Request
Description
The time slice window in the data loader was too small (one) which did not allow the model to have a start and end timestamp. #74
Fixes
The time slice window was updated to two so there would be a beginning and an end timestamp for the model to train on.
How Has This Been Tested?
The file run_fulll.py was executed to test whether to model is running.
Further issues that need to be resolved
The current JSON file contains outdated names from the hugging face dataset. A new JSON file with a proper dataset needs to be uploaded to run the script in its entirety.
Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Thanks for these changes!


Extends teams app list command with support to retrieve Teams info based on teamName

Retrieve Teams info based on teamName.
Closes #1861

Thanks you @nanddeepn we will review shortly 👍🏻

Merged manually. Thank you! 🚀


Please provide jar for the recent release

Moreover perhaps README requires updating, as
java -jar iiif-server-demo-4.0.3.jar  gives no main manifest attribute, in iiif-server-demo-4.0.3.jar.

Thank you for the issue! I just uploaded a runnable jar for the latest release and updated the README.

TEST


Allow option in pubspec to not inject platform.js

When building/serving your project we automatically insert platform.js.
Now that you can run in Chrome without it, we could allow an option to not inject it for users that don't want the extra overhead and are only deploying to chrome version 36 and higher.

This issue has been moved to dart-lang/polymer-dart#437.


Spanish translation of Sparklyr cheatsheet

Send spanish translation of the Sparklyr cheatsheet latest version (act.2019-10)

Thank you!

Perfect! Thanks!
El lun., 30 dic. 2019 a las 16:18, Garrett Grolemund (<
<EMAIL_ADDRESS>escribió:

Merged #122 https://github.com/rstudio/cheatsheets/pull/122 into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rstudio/cheatsheets/pull/122?email_source=notifications&email_token=AMCMM66KV4E26QMPZHGON2TQ3JCO3A5CNFSM4J665FCKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVW4DXTY#event-2914532303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMCMM6Y7FD5TQO3YGP3RTEDQ3JCO3ANCNFSM4J665FCA
.


Update database ami to align to preprod.

Bit of misalignment when migrating from branch based development to trunk based.

Looks good for AMI deployment to preProd


Add an example json for using toBeDetached flag for data disks

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-js

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

Automation for azure-sdk-for-net
A PR has been created for you:
https://github.com/azure/azure-sdk-for-net/pull/6257
.NET SDK Commits:
https://github.com/adxsdknet/azure-sdk-for-net/pull/6257/commits/a3c306996fe3bcad5dbba0ad51de764c5601cd26

Automation for azure-sdk-for-java

@vamuzumd Required checks are not passing because the example you added is not referenced anywhere. That needs to be fixed.

Added a reference, please check the latest iteration.

@vamuzumd model validation is not passing. You can check the log here https://dev.azure.com/azure-sdk/public/_build/results?buildId=31222

I have fixed the validation issues

Discussed with @NelsonDaniel error not related to PR, merging as asked.


Handle window close event

We are using this SDK and it turns out we can't reset the authentication process if it was interrupted (user closed authentication window). I'd expect CE.createInstance to handle that in its callback, but callback is never invoked unless authentication went as normal. Is there an undocumented API or a workaround to handle this?

Hi Adi,
I had a solution for this working locally but for some reason its not working consistently.  Sometimes the event message posts, but not always and I haven't figured out why.
Let me know if you have any suggestions. I did deployed the msg-onunload  branch to staging if you want to test it outh... though I had even less luck on staging.

I made some progress on this today and deployed to staging.
Heimdall will now send an unloaded message back to the parent callback for refreshes and Heimdall form closes. Also if the Heimdall form was submitted a submitted message will be sent. What I don't have working yet is detecting events past that. Once the redirect has occurred and the vendor form loads the window event listeners are not working even though it is the same window.
demo: https://share.getcloudapp.com/JruweYqX

@adi518 did you see my last message above? You can test the update on staging... don't have to setup locally.  Let me know if you have any questions.

Looks like there is an issue with the basic auth form... its not returning properly. Oauth 1 and 2 do though. I'm looking into this.

Yes, thanks. 👍


Telegram messages

Markdown in joining msg not working.
Also, auto-pinning of automated messages to be figured out.

@KartikSoneji can you please look into these two things?

Did this end up being fixed?

Nope it is not fixed

It might be easier to call the telegram rest api directly, the methods seem quite straightforward:

sendMessage
pinChatMessage

The telegram joining message goes out at 10pm, and the twitter joining message goes out at 9:50pm.
Is this intentional? Should I change both to 10pm?
https://github.com/OurTechCommunity/catchup/blob/66dfaae7ed3e4ed6e82bdcd0b6871276b3bec14b/.github/workflows/tg-joining-msg.yaml#L5
https://github.com/OurTechCommunity/catchup/blob/66dfaae7ed3e4ed6e82bdcd0b6871276b3bec14b/.github/workflows/joining-tweet.yaml#L5

They go out so early because of the delays in running CRON jobs at specific times that I have experienced umpteen number of times.
Also, the difference in timings between the two was intentional, but I don't clearly remember the reasoning now. I think it was because I wanted the Twitter CRON job to run before the Telegram CRON job (because it takes some time for the Tweet to appear in people's timelines), so that people have more time to see the Tweet and join in. (I think CRON jobs run serially on the repo even if they're started at the same time due to runner availability, but I may be completely wrong.)


Solution-wide code cleanpu

Description
Run code cleanup in entire solution

Draft a new release after this

Tag with v0.1.1


Feature request - Pass all extra properties into the log

we switched from json-lgging-py to this, and we already have many logs writing like this:
logger.info('Something happened', extra={'correlation_id: crrelation_id, 'some_tag': tag})

Switching to json-logging we lost those data points until i read again the docs about logging extra details.
Personally I think this complicates things and can be simplified, I am going to do it any way for our usage, but want to know if this contribution back is wanted (with backwards compatibility for users of json-logging), with optional precedence of props over direct properties or the other way around.

contribution is welcomed


Issue #000 fix: Fixed configuration for swarm manager IP

Codecov Report

Merging #650 into release-2.3.5 will increase coverage by 0.01%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             release-2.3.5     #650      +/-   ##
===================================================
+ Coverage            32.36%   32.38%   +0.01%
  Complexity            1225     1225
===================================================
  Files                  170      170
  Lines                14981    14981
  Branches              2371     2371
===================================================
+ Hits                  4849     4851       +2
+ Misses                9408     9406       -2
  Partials               724      724

Impacted Files
Coverage Δ
Complexity Δ

...p/searchindex/elasticsearch/ElasticSearchUtil.java
43.56% <0%> (+0.54%)
49% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Post ScalaDays Chicago 2017 talk highlights at scalameta.org

In order to do that, I need to figure out where I'm storing the slides. scalamacros.org doesn't cut it, and our scalameta.org infrastructure doesn't yet support static files.

Put the pdf under readme/resources, that should be enough to host static
files on scalameta.org
On Fri, 21 Apr 2017 at 21:50, Eugene Burmako<EMAIL_ADDRESS>wrote:

In order to do that, I need to figure out where I'm storing the slides.
scalamacros.org doesn't cut it, and our scalameta.org infrastructure
doesn't yet support static files.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scalameta/scalameta/issues/809, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABV8XVHu0uwK2NFfZJ_vc2DHcpkQQMY8ks5ryQiagaJpZM4NEtrr
.

https://github.com/scalameta/scalameta/pull/810


Incorrect paths used in project creation with Axmol 1.0

axmol version: 1.0
devices test on:
developing environments

NDK version: r23c
Xcode version: 14.2
Visual Studio:

VS version: 2022 (17.6+)
MSVC version: 1929, 1934, 19.35, 19.36, 19.37
Windows SDK version: 10.0.22621.0

cmake version: 3.27.5
Steps to Reproduce:

Run this command:
axmol new -p org.axmol.test -d . -l cpp axmol_test
It results in these errors (note the "C:\WINDOWS\system32" prefix on the paths):

Fixed


Fill out the grouping focus board

We should add a grouping focus board. The purpose of this board is to show everything we can think to show for a given grouping (course, section, group etc). This is kind of the free-style section of the project where we should fill out what we can easily that we think might be helpful.
Tasks

[ ] Ensure we have sensitive data ready to join for teacher emails (if we don't already)
[ ] Create a the board and make sure it's linked to via the course tables elsewhere in Report
[ ] Populate with things we already have on tap at this point
[ ] Consider more additions and discuss them

Required reports
Some ideas / requirements:

List of teachers, with emails - This is a must rather than a could

May depend on: https://github.com/hypothesis/report/issues/121

General metadata about the grouping (type / name / create etc.)
Sub-groups (with links to the grouping focus board)
Assignments

There are some summary metrics we might want, which might indicate we should have this on every grouping:

Total shared annotations
Total shared replies
Average annotations per user

This is a derived metric from things we would already have?

Average annotations per doc

This is an odd metric, as we might not know annotations for any docs?
This implies we want to track docs per grouping

Data required
assignments

If we end up reporting on assignments and want to show them, we'll have to pull them through
The assignment model is complex, can we simplify it any? Do we need to?

We have a grouping focus board, but instead of throwing everything at the wall and seeing what sticks (everything because we never get any feedback asking to remove things), I think we should hit the minimum requirements in the project doc and see if people complain about things being missing.

I need to work out which parts of the requirements are "you must" and how many were "we could". I think quite a few are the latter.
We don't tend to get much feedback, so by default if we add something in, and receive no information, it will stay. This doesn't mean it's useful. So in the future we are going to be a bit more careful about adding only that which is actually a result of a request, rather than trying to impress.


Node.js echo server

I wrote this for you, I had forgot you asked about it.
Here is one which takes the same flags as yours, I did not implement streaming because I do not understand much about streaming.
// flags.ts
export const flags = {
    SHOW_STATISTICS_INTERVAL: Number(process.env.SHOW_STATISTICS_INTERVAL || 1),
    CLIENT_MODE: "ping-pong",
    CLIENT_CONNECTION_NUM: Number(process.env.CLIENT_CONNECTION_NUM || 100),
    IP: process.env.IP || "<IP_ADDRESS>",
    PORT: Number(process.env.PORT || 9527),
    BUF_SIZE: Number(process.env.BUF_SIZE || 512),
    VCPU_NUM: Number(process.env.VCPU_NUM || 1), // TODO: Node is single-threaded, so this is not useful
}

You can run it with yarn dev:server and yarn dev:client after doing yarn install for dependencies 👍

FILE: photon-node-echo-server.zip

https://user-images.githubusercontent.com/26604994/202878688-36236673-cba2-4584-9f0a-b998fef35824.mp4

It's QPS is 192K. I'd like to update it into my data sheet.
I'm not an expert here, please correct me if I'm wrong. So typescript is the project name and nodejs is the language? And what is its concurrency modle ? Coroutine ? Async callback ?

Sure, Node.js is a runtime which uses Chrome V8 engine to allow JavaScript to execute on server.
It provides API's for interacting with network/filesystem etc.
TypeScript is a type-system for JavaScript -- it gets removed at runtime, and compiled into JavaScript.
TypeScript code (with types) --> transpile --> JavaScript code --> Node.js runs JS code --> executes on V8 C++ engine

https://github.com/nodejs/node

Node.js is an open-source, cross-platform JavaScript runtime environment.

https://v8.dev/

V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js,

https://github.com/microsoft/TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

I mostly use TypeScript as it makes the code easier to read/maintain,
It has no performance impact and disappears after compiling👍

And what is its concurrency modle ? Coroutine ? Async callback ?

It is async callback, the low-level net package in Node.js has event-listeners which fire callback functions when operations happen like data received, socket opened, connection acquired etc.
The server code is tiny, it just echos back out what it received:
function server() {
    const server = net.createServer()
    server.on("connection", (socket) => {
        socket.on("data", (data) => {
            console.count("server received ops")
            socket.write(data)
        })
    })
    server.listen(flags.PORT, flags.IP, () => {
        console.log(`server listening on ${flags.IP}:${flags.PORT}`)
    })
}

And then the callbacks are registered when the ClientSocket class is created here:
(I made some notes in comments below, for instance right now a static buffer is allocated, I'm not sure if this is supposed to be re-allocated every time)
class ClientSocket {
    // Should this be re-allocated every operation?
    // If so, this needs to be removed, see <---- down below
    private static buf: Buffer = Buffer.alloc(flags.BUF_SIZE)

    constructor() {
        this.socket = new net.Socket()
        this.sentOpsTotal = 0
        this.receivedOpsTotal = 0
        this.sentBytesTotal = 0
        this.receivedBytesTotal = 0
        this.lastOpStartTime = performance.timeOrigin
    }

	// Handlers for what should happen when data is received are registered as callbacks here
    async connect() {
        return new Promise((resolve, reject) => {
            this.socket.connect(flags.PORT, flags.IP, () => {
                resolve(this)
            })
            this.socket.on("data", (data) => {
                this.receivedOpsTotal++
                this.receivedBytesTotal += data.length
                // this.socket.write(Buffer.alloc(flags.BUF_SIZE))   <------
                this.socket.write(ClientSocket.buf)
                this.sentOpsTotal++
                this.sentBytesTotal += data.length
                this.lastOpStartTime = performance.now()
            })
            this.socket.on("error", (err) => {
                reject(err)
            })
        })
    }
}

I was using my own client to test against your server, in order to reduce variables.

Oh LOL, that makes a more sense doesn't it?
You may want to try commenting out this line
console.count("server received ops")
And see if it makes any difference btw

Closed for https://github.com/alibaba/PhotonLibOS/pull/97


API for User Tasks

Hi,
I'm trying to implement some Android Client App for KanBoard, and i'm looking at the API documentation, how i can log-in through the API as a user and to get User's Tasks, User's Projects for the specific user i'm logged in with.  is there a Log-in API call with User/Password and then every API Call will be related to this user?

@hussam789 probably for the next version, I want to test master and release a new stable version before making any important changes.

Any news on user-authenticated access via the API?

I started to implement the user api access in the development branch. At the moment, it's pretty basic, more procedures will be available later.

Differences between the application and user api: https://github.com/fguillot/kanboard/blob/master/docs/api-json-rpc.markdown#user-and-application-api
List of methods available through the user api: https://github.com/fguillot/kanboard/blob/master/docs/api-json-rpc.markdown#authorized-user-api-procedures

It's a work in progress...

Thank you very much, i will play around with it alter :)


Bug-fix wait_ready functionality

Issue link

Jira: https://issues.redhat.com/browse/RHOAIENG-5272
What changes have been made

Verification steps

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

/approve


VNC environments' log output makes iPython unusable.

Option to quiet/silence VNCEnv Logs
Starting a vnc environment from within python cli/ipython is nearly impossible because the vnc process creates so many logs that it floods the output and makes interactive python unusable.
To solve this, it would be nice if there was a way to configure the logLevel on the (I assume) forked vnc process before starting it. I know that some environments allow configuration, but I couldn't find any options to silence the logs. I think it would be helpful to be able to either:

disable / silence all output from the forked VNC process
set the logLevel for that process.

Here is a gist that demonstrates this difficulty in a Jupyter notebook, but the problem is even worse on the command-line iPython, since the output writes over your input line:
https://gist.github.com/NHDaly/346315a83d3a386de7c6ed6249c82b57
Thanks!
Versions

Please include the result of running
$ uname -a ; python --version; pip show universe gym tensorflow numpy go-vncdriver Pillow

My output:
$ uname -a ; python --version; pip show universe gym tensorflow numpy go-vncdriver Pillow
Darwin Nathans2016MBP 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
Python 3.5.2 :: Continuum Analytics, Inc.
Name: universe
Version: 0.21.2
Summary: Universe: a software platform for measuring and training an AI's general intelligence across the world's supply of games, websites and other applications.
Home-page: https://github.com/openai/universe
Author: OpenAI
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /Users/daly/src/universe
Requires: autobahn, docker-py, docker-pycreds, fastzbarlight, go-vncdriver, gym, Pillow, PyYAML, six, twisted, ujson
---
Name: gym
Version: 0.7.3
Summary: The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.
Home-page: https://github.com/openai/gym
Author: OpenAI
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: /Users/daly/miniconda3/envs/universe_p3/lib/python3.5/site-packages
Requires: six, numpy, pyglet, requests
---
Name: tensorflow
Version: 0.12.1
Summary: TensorFlow helps the tensors flow
Home-page: http://tensorflow.org/
Author: Google Inc.
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /Users/daly/miniconda3/envs/universe_p3/lib/python3.5/site-packages
Requires: protobuf, numpy, six, wheel
---
Name: numpy
Version: 1.11.3
Summary: NumPy: array processing for numbers, strings, records, and objects.
Home-page: http://www.numpy.org
Author: NumPy Developers
Author-email<EMAIL_ADDRESS>License: BSD
Location: /Users/daly/miniconda3/envs/universe_p3/lib/python3.5/site-packages
Requires:
---
Name: go-vncdriver
Version: 0.4.19
Summary: UNKNOWN
Home-page: UNKNOWN
Author: UNKNOWN
Author-email: UNKNOWN
License: UNKNOWN
Location: /Users/daly/miniconda3/envs/universe_p3/lib/python3.5/site-packages
Requires: numpy
---
Name: Pillow
Version: 4.0.0
Summary: Python Imaging Library (Fork)
Home-page: http://python-pillow.org
Author: Alex Clark (Fork Author)
Author-email<EMAIL_ADDRESS>License: Standard PIL License
Location: /Users/daly/miniconda3/envs/universe_p3/lib/python3.5/site-packages
Requires: olefile

If you check out the tlb-less-logging branch and set OPENAI_REMOTE_VERBOSE=0 in your environment, it does this. Should I merge this to master?

Oooh, cool, thanks!
I haven't had a chance to try this yet, but yes, I think it would be a useful option. Thank you!

merging tlb-less-logging to master would be preferred

Merged to master


074d409deff4524194e13487174d8f0c08ce2590

074d409deff4524194e13487174d8f0c08ce2590@SparrowWhiteElkRav# - [ ] en @JCSIVO ****

074d409deff4524194e13487174d8f0c08ce2590@SparrowWhiteElkRav# - [ ] en @JCSIVO ****

074d409deff4524194e13487174d8f0c08ce2590@SparrowWhiteElkRav# - [ ] en @JCSIVO ****

AltLayer Airdrop Season One Update

🚀 Exciting Announcement!
AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 400,000,000 (4% of the total supply)

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 08, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
ygeezus, @kleinzcy, @Decike8, @steph-mipt, @nninnnin, @Pierrot-l3-F0U, @JaggerFoo, @M0l0k0plv5, @Josh-Chang, @githubgoogl, @wrong1man, @santinb, @lpettecrew, @wangqi-jeffrey, @egesabanci, @TamasRusvai, @ngminhsu118, @ub212, @alumowa, @MonstarCoder


Change AuthGuard Route

Changing the default route in authentication.guard from login to custom path results in crashing the webpage.

Can you give us more information, and follow the issue template please? It's hard to help you with so little details

Closing this due to lack of information.


Dotty preparation

I've been experimenting with cross-building http4s (just core for now) on Dotty, with the goal of turning up major blockers early if there are any. So far porting the necessary subset of Parboiled2's macros has been the hardest part, and I have those close enough to working that I can compile most of http4s-core with a few changes to the parsers on this end (changes I've not made in this PR). The log4s macros are also a problem, but I just rewrote them in a commit in my actual Dotty cross-building branch. Porting http4s's own macros to Dotty's macro system was ~trivial, but again I've not included that in this PR.
This branch just takes care of a few kinds of changes that are needed for Dotty and that are improvements (or at least neutral) on Scala 2. I'll go through the changes in roughly increasing order of complicatedness.
I didn't run formatting because when I tried running it it made a lot of unrelated changes. I'm happy to run it on master and then rebase and format this branch if people would prefer.
Build config
I simplified the version-specific source configuration a little, which is possible now that http4s has dropped Scala 2.11 support. Before this change we have the following for e.g. 2.13:
[info] * /home/travis/code/projects/http4s/core/src/main/scala-2.13
[info] * /home/travis/code/projects/http4s/core/src/main/scala
[info] * /home/travis/code/projects/http4s/core/src/main/java
[info] * /home/travis/code/projects/http4s/core/src/main/scala-2.13-2.13
[info] * /home/travis/code/projects/http4s/core/src/main/scala-2.13
[info] * /home/travis/code/projects/http4s/core/src/main/java-2.13

Now it looks like this:
[info] * /home/travis/code/projects/http4s/core/src/main/scala-2.13
[info] * /home/travis/code/projects/http4s/core/src/main/scala
[info] * /home/travis/code/projects/http4s/core/src/main/java

I haven't added Dotty-specific source folders yet, just made things a little cleaner for when we do.
Parentheses for lambda parameters with types
Dotty doesn't accept e.g. decode { json: Json =>, so I've added parentheses to all of these, which I think looks nicers anyway.
Placeholders
I replaced kind-projector's ? with the equivalent * everywhere, since ? has a different meaning for Dotty and isn't supported as a placeholder by -Ykind-projector. We've already done this in Cats, cats-effect, etc.
Polymorphic function value syntax
Dotty's -Ykind-projector supports the λ syntax in types, but not the value-level λ for defining polymorphic function values. It only appears once in this project, so I just expanded it manually, which adds a few dozen characters to one test.
Higher-kinded placeholders
Dotty's -Ykind-projector doesn't support the ?[_] in constraints like F[_]: MonadError[?[_], Throwable]. There were only 13 of these, most of them in ember-core, so I just expanded them to the equivalent implicit parameters.
Type annotations
Dotty requires type annotations on implicit definitions, so I added one of these that was missing. I also added a type in one place in the Response companion object that Scala 2 can infer but Dotty can't.
Cats imports
In one place Dotty was complaining about cycles because of a cats.implicits._ import. I'm guessing this will be resolved in an upcoming release by changes I made to get Cats cross-building, but it's easy enough to work around by changing this one import to the more specific cats.syntax.either._
Companion object imports
In another place Dotty was freaking out about cycles because we're importing org.http4s.Uri._ at the top of the file where the Uri case class and companion object are defined, and then using imported types in the definition of the case class. I tried quickly to minimize the issue and wasn't able to, and I'm not sure it's worth the effort since this kind of seems like a weird thing to do anyway. I resolved it by just writing out the Uri. in four places.
Mixing constraint bounds and implicit parameters with defaults
This project turned up a Dotty bug that I minimized and reported that affects methods with mixed constraint bounds and implicit parameters when the implicit parameters have default values. It's likely to get fixed, but it only happens in two places here, and I think mixing constraint bounds and implicit parameters is a bad idea anyway (and likely to be worse on Dotty, where they might desugar a little differently), so I just rewrote the constraint bounds as implicit parameters in those two places.
API change
I did make one breaking change, to PlayInstances#jsonEncoderOf, which looked like this before:
  def jsonEncoderOf[F[_]: EntityEncoder[?[_], String], A: Writes]: EntityEncoder[F, A] =
    jsonEncoder[F].contramap[A](Json.toJson(_))

Note that the EntityEncoder instance isn't used here, although the compiler doesn't tell you that. When I rewrote the ?[_] syntax (see the "Higher-kinded placeholders" section above for details), the compiler finally noticed that the parameter wasn't used. I'm happy to keep it around for now to avoid breaking bincompat and add a TODO or open an issue to track it—just let me know.

Oh, I think the formatting issue was because I also ran scalafmtSbt, which doesn't seem to have been run lately, and isn't checked in CI. I just pushed the result of scalafmtAll alone.

Nice stuff. Well done @travisbrown . I have planned taking a crack on replacing all the ? with * next weekend, so very nice that this is done here.
With regards to functions with a a single parameter, could we add a scalafix rule that handles that for us? That would allow us to keep the compatibility without having to run through dotty.

@hamnis Thanks! I agree that it would be nice to have a Scalafix rule for unparenthesized typed parameters, but I've just been hoping (for Cats, etc.) that we'll have Dotty cross-building in CI sooner rather than later and won't have to worry about it. Also Dotty has a built in rewriting tool for that specifically, so if a few slip in after this initial big change it's not that disruptive to catch them and fix them.

Can u tell me who started this whole project cuz they have hacked my phone want to know starters username

@rossabaker I'm definitely happy to rebase this against series/0.21, and move the play-json change to a follow-up PR against master. Will do that today.
The locally-published parboiled2 I've been using for Dotty has been built from the http4s fork, which is probably a little nicer than migrating upstream would be, since I can have Dotty-specific code for the Shapeless parts (although so far I haven't done that). The future of parboiled2 on Dotty / Scala 3 is still an open question—see e.g. Mathias's response here and my update.

Superseded by #3253.


css-grid: Use correct note for Firefox

The note listed for Firefox is currently one meant for IE.

Nice catch, thanks!


Gin index created each run

On each application run Marten re-create index, is it correct?
public class Clip
{
  public int Id { get; set; }
  public string Name { get; set; }
}

var store = DocumentStore.For(_ =>
{
   _.Connection(connectionString);
   _.AutoCreateSchemaObjects = AutoCreate.CreateOrUpdate;
   _.Schema.For<Clip>()
   .HiloSettings(new Marten.Schema.Identity.Sequences.HiloSettings()
   {
    MaxLo = 10
   })
   .GinIndexJsonData()
    .SoftDeleted();
});

Schema already exists in Pg and when I run store.Schema.AssertDatabaseMatchesConfiguration()
I have next result below each time
-- SchemaDiff for Library.Clip drop index public.mt_doc_clip_idx_data; CREATE INDEX mt_doc_clip_idx_data ON public.mt_doc_clip USING gin ("data" jsonb_path_ops);;
Maybe last semi column an issue?

Did some debug and found the the problem
IndexDefinition.Matches work incorrect and particularly next lines
            _columns.Each(col =>
            {
                actual = actual.Replace($"({col})", $"(\"{col}\")");
            });

if index column has operator class, column wont be replaces and quotes will not be applied
as result
ToDDL().EqualsIgnoreCase(actual);
will return false since
actual = CREATE INDEX mt_doc_clip_idx_data ON public.mt_doc_clip USING gin (data jsonb_path_ops);
ToDDL() = CREATE INDEX mt_doc_clip_idx_data ON public.mt_doc_clip USING gin ("data" jsonb_path_ops);

Cool, meant to tell you it had to be something we weren't doing right in comparing the actual to the expected. When Postgresql processes DDL, it frequently changes some details of it, so when you query the metadata, you don't necessarily get the same body text back and you end up having to massage both of the expected & actual before comparing. I clearly missed this one.
Do you have any interest in doing the PR to correct that by chance?

Sure. How do you think would be better to fix this issue? Should I use Regex to replace column with column in quotes to ensure that correct part of script is replaced?

I don't have any better ideas. Sounds good to me.

Ok, thanks, then I will provide PR soon.

Bueno, thank you.

Addressed by #704

Thank you thank you thank you.


Update CHANGELOG.md for v.0.0.3

Closes: #214
Description
Update CHANGELOG.md for v.0.0.3

For contributor use:

[ ] Unit tests written
[ ] Added test to CI if applicable
[ ] Updated CHANGELOG_PENDING.md
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Updated relevant documentation (docs/) and code comments
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #215 into master will increase coverage by 20.1%.
The diff coverage is 50.6%.

@@            Coverage Diff            @@
##           master    #215      +/-   ##
=========================================
+ Coverage    13.6%   33.8%   +20.1%
=========================================
  Files          69      67       -2
  Lines        3752    4503     +751
  Branches     1374    1546     +172
=========================================
+ Hits          513    1524    +1011
- Misses       2618    2848     +230
+ Partials      621     131     -490

Impacted Files
Coverage Δ

modules/src/events.rs
0.0% <ø> (ø)

modules/src/ics02_client/events.rs
0.0% <ø> (ø)

modules/src/ics02_client/raw.rs
0.0% <0.0%> (ø)

modules/src/ics03_connection/error.rs
25.0% <0.0%> (-8.4%)
:arrow_down:

modules/src/ics04_channel/error.rs
23.0% <0.0%> (-2.0%)
:arrow_down:

modules/src/ics04_channel/packet.rs
0.0% <0.0%> (ø)

modules/src/ics07_tendermint/client_def.rs
0.0% <0.0%> (ø)

modules/src/ics07_tendermint/error.rs
33.3% <0.0%> (+33.3%)
:arrow_up:

modules/src/ics07_tendermint/msgs/update_client.rs
0.0% <0.0%> (ø)

modules/src/ics23_commitment/mod.rs
0.0% <0.0%> (ø)

... and 99 more

Continue to review full report at Codecov.

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

For a changelog this one is quite beautiful I gotta say.
PLS don't forget to:

[ ] Bump all crate versions to v0.0.3


HTTP Not working in NativeScript

I am working on angular2 + nativescript project using this seed project and I am not able to make a simple HTTP POST call using this code
    return this.http.post(`${AppConfigService.API_PATH}/login`, body, options)
              .map(res => res.json())
              .catch((err: any) => {
                return Observable.throw(err);
              });

this code works fine in normal angular2 app but in native script it gives the error:
Response with status: 200 for URL: null

Hi @zeeshanjan82 are you working off the latest master from this seed?
Lemme know if you have HttpService in your codebase (previously the seed provided that service as an intermediate to bridge to next version of {N}), it was recently removed as was no longer needed.
Also please check that your nativescript/package.json should ref at least these 2:
"nativescript-angular": "next",
"tns-core-modules": "next",

Lastly, ensure that your NS_APP_PROVIDERS should be using NS_HTTP_PROVIDERS here:
https://github.com/NathanWalker/angular2-seed-advanced/blob/master/nativescript/app/shared/nativescript/index.ts#L21
However sounds like your issue may be due to your api being unreachable due to invalid ip used from device or emulator: https://github.com/NativeScript/NativeScript/issues/2536#issuecomment-236407132

thanks @NathanWalker the issue was mainly because I was calling an https service which has not valid SSL certificate though I was not able to make out this error easily, but I am closing this issue.

Just faced same issue. If you are tying to connect to localhost address in your emulator then make sure you are accessing http://<IP_ADDRESS>/api instead of http://localhost/api

For GenyMotion emulator the loopback address is http://<IP_ADDRESS>/api:
https://stackoverflow.com/a/39958955/1440095

I dont think this issue was resolved fully. Can someone explain why apiUrl = "http://<IP_ADDRESS>:8080/myapp/api" does not work in nativescript?? Even after including appropriate headers.
login(user: User) {
let headers = new Headers();
headers.append("Accept", "application/json");
headers.append("Content-Type", "application/json");

return this.http.post(
  Config.apiUrl + "users/token",
  JSON.stringify({
    username: user.phone_no,
    password: user.pin_code

  }),
  { headers: headers }
)
.map(response => response.json())
.do(data => {
  Config.token = data.Result.access_token;
})
.catch(this.handleErrors);

}

@Irvinhoe does http://<IP_ADDRESS>:8080/myapp/api point to an address on an actual server or on your local machine?
Secondly, are you testing out your app via an emulator or an actual device?

@jogboms The address point to a local pc. Testing on emulator and actual device.

import { isAndroid, device } from "tns-core-modules/platform/platform";

function isEmulator() {
	if (device.model.includes("google_sdk") || device.model.includes("Emulator")) {
		return true;
	}
	return false;
}
const localnetwork = "<IP_ADDRESS>";
const localhost = isAndroid ? (isEmulator() ? "<IP_ADDRESS>" : localnetwork) : "localhost";

@Irvinhoe that's the way i do it.


Cache-by-position or reinit each time

Possible solution:
Add a unique (prior art symbol vs unique symbol in typescript) modifier to tell which the semantics should be use.
const x = [0,1].map(() => unique module {})
// two different module. Need opt-in cause performance trap
const y = [0,1].map(() => module {}) // the same module

Since modules don't capture variables in the current scope, you can always hoist the module outside of the callback.

The question came up in the context of the follow code sample:
someButton.onclick = () => runInWorker(module { ... });

Currently, each execution creates a new module block, resulting in a new module being added to the module map in import(). The worry here is that this could be a performance foot gun, as the module map will grow each time the event handler is executed. The module map not well-understood by developers (they don’t come into contact with it) and they might not be aware of the long-term cost of a pattern like this.
If we cached module blocks by source position, executing the same module block would return the same module block. More specifically, that would mean:
const arr = [];
for(let i = 0; i < 10; i++)
  arr[i] = module { /* ... */ };

await import(arr[0]) == await import(arr[1]);

While this mitigates potential the performance foot gun, I would find this behavior to be strange and unexpected.
In contrast, the current module block behavior (no caching) is more in line with function literals or object literals behave:
runInWorker(() => {})
// vs
let h = () => {}
runInWorker(h)

Most developers know that closures (or object literals) can be expensive and need to be manually hoisted in hot-paths. The same logic would apply to module blocks:
const m = module { ... };
onclick = () => runInWorker(m);

Additionally, one of the goals of this proposal is to be a building block for future scheduler-like libraries and platform-level proposals. Let’s pretend such a scheduler exists that implements the Actor Model, where the location of the code execution is abstracted away from the developer.
If we wanted to spawn 10 actors executing the same code, caching by source position could have the unintended side-effect that multiple actors end up sharing state just because they end up on the same thread.
for(let i = 0; i < 10; i++) {
  spawnActor(module { /* ... */ });
}

I talked to @littledan as well and we are contemplating to weakly hold module blocks in the module map, which allows them to be cleaned up throughout the lifecycle of a document.

Would it be possible to make the return value of module {} be the same object based on source position, but import() create a new weakly held module in the map each time? That way you can put a caching layer over top if you want since the module has a stable object identity (like urls today) even if each time you call import() you get a different result.
const cache = new Map();

function cachedImport(m) {
  const result = cache.get(m) || import(m);
  cache.set(m, result);
  return result;
}

for (let i = 0; i < 100; ++i) {
  const m = module {};
  assert(await cachedImport(m) === await cachedImport(m));
  assert(await import(m) !== await import(m));
}

Maybe that's too weird, but I think it's nice to not have to back derive the "url" of a module block.

I would compare it to template literals which also has some notion of cache-by-position. I'm a bit concerned about accidental memory leaks if anything keeps previously initialized module bodies alive.
I'm concerned about innocent looking refactors like:
// Before:
async function getStuff() {
  const stuff = await import('./helper.mjs');
  return stuff.default;
}

// After:
async function getStuff() {
  const stuff = await import(module {
    // This was a one-line helper file, this is so much simpler!
    export default 42;
  });
  return stuff.default;
}

If the return value is retained, this would now keep leaking copies of that module record even though the underlying assumption of the refactor ("import imports once") was fairly reasonable today.

@jkrems I don't think I understand which option you are supporting :sweat_smile:

If it will be "cache by position", it will leak a single module and not multiple copies
If it will be "don't cache", every module will be garbage-collectable as soon as getStuff returns.

That example to me is a compelling argument for why it must be cached by position; module exports can have identity and that identity can be important.

Let me summarize my current position:

Module blocks behave like object literals.
While cache-by-source-position has precedent in the language via tagged template literals, I don’t think many JS devs are aware of that behavior or rely on it (I know libraris likee lit or hyperHTML very much do rely on it, but I’d say those are not written by an average JS dev).
It’s commong for function literals, object literals etc to be moved outside a loop if you don’t want to duplicate the value and generate garbage. This seems to be working fine. I don’t see a reason why it wouldn’t be fine with module blocks.
Module blocks can be GC’d if they are unreferenced.
The potential performance footgun with workers is orthogonal to this problem.

Overall, I am strongly leaning towards not caching by source position.

Another point in favor of not caching:

Since module blocks don't capture any variable, they can easily be manually hoisted whenever you want to control the level of cache granularity you want.

function getModules(len) {
  let modules = [];
  for (let i = 0; i < len; i++) {
    modules.push(module {});
  }
  return modules;
}

// vs

function getModules(len) {
  let modules = [];
  let mod = module {};
  for (let i = 0; i < len; i++) {
    modules.push(mod);
  }
  return modules;
}

// vs

let mod = module {};
function getModules(len) {
  let modules = [];
  for (let i = 0; i < len; i++) {
    modules.push(mod);
  }
  return modules;
}

There is a fundamental reason that module blocks cannot be cached at all, assuming we eventually have a module loader API and assuming we can communicate with that module loader API in a separate process. For the sake of argument, I assume the Compartment proposal is the module loader API.
Being able to dynamically import a module block implies that the module loader API would support compartment.import(moduleBlock). I am assuming that moduleBlock corresponds in this case to a StaticModuleRecord and that its representation on the wire is just the text of the module and the type tag for a static module record.
This assumption is grounded in the XS Compartment implementation which allows a parent Compartment to communicate static module records to a child Compartment with different module specifiers.
new Compartment(null, {
  "your.js": "my.js"
})

This is important because it allows XS to precompile all of the modules in the program’s working set and reveal them to child compartments where they may be linked according to their import maps relative to the referrer specifiers they were given. XS Precompilation is analogous to bundling, so I expect similar patterns will be relevant in contexts beyond embedded systems.
And, import maps also lend this kind of flexibility. When a static module record transits from one worker to another, and the workers have different import maps, the import specifiers may link to different modules in the receiving module graph than they would have in the sender’s.
So, with invocations like import(module), compartment.import(module), and worker.import(module), we can assume that module is a static module record and that it may have been created from a module block.
There is a problem with this idea though. Since a static module record doesn’t carry the referrer module specifier, there is no vessel to carry import.meta.url or to resolve import specifiers in the module. The proposal as written states that the referrer is inherited, which means it would have to be carried by whatever “module” is, and that couldn’t just be a static module record. There would need to be an envelope. That envelope could carry url, but not a closure like resolve: import.meta is not necessarily communicable between workers.
And, if “module”, is an envelope with a referrer module specifier and a static module record, it would be enticing to assume that the referrer module specifier is a cache key. To be a suitable cache key, it would have to include a content address hash of the text of the block, or transmission of a module block would have to include the whole text of the surrounding module and the referrer would need to contain the position. Thinking in this direction is problematic because there would be an integrity issue: the sender could override the module that would have been loaded by the recipient for the given referrer module specifier.
In short, I’m strongly in favor of not caching module blocks. I’m also in support of module blocks corresponding to static module records. I’m also in support of the receiving compartment governing the referrer module specifier for the block, but that is irreconcilable with my desire for module blocks to correspond to static module records. The only course out of this dilemma that I can see is for the module block to produce an envelope with the static module record and the referrer module specifier, for the initialization of the block to be ephemeral and not have a cache key, but use the referrer module specifier only for the purpose of resolving import specifiers of the module block, using the resolver math or importmap of the receiver.

I talked to @littledan as well and we are contemplating to weakly hold module blocks in the module map, which allows them to be cleaned up throughout the lifecycle of a document.

If there is no way to refer to the module, it actually doesn't observable so the engine can GC them. (This requires module blocks to not have a unique identifier to reference, e.g. via import.meta.url)

I’m not deeply familiar with the precedent established by template literals

For anyone don't know that behavior (including me), the following code is an example of cache-by-position. (Though I don't know why it is designed like this).
function id(x) {
  return x;
}
function templateObjectFactory() {
  return id`hello world`;
}
let result = templateObjectFactory() === templateObjectFactory();
// true

Overall, I am strongly leaning towards not caching by source position.

Yes, it seems like the current argument can convince me that the current behavior is good enough. (It will be better if anymous module block instances can be GCed).
If there is no anyone think this is a problem, I'll close this issue.

I'm not sure why the performance footgun should be the default behavior? I mod { } creates a new module instance every time, how expensive is that going to be in a loop? Especially if we want to encourage mode () => {} usage, where we should be viewing these as throw aways items.
These should absolute be cache-by-location. If you want the slow-do-all-module-evaluation-again way, mark it with a clone call.

Creating anything in a loop is an antipattern; I'm not sure we need to worry about that.

One of the use cases is to add an event listener that sends off to a worker thread to compute. A keyDown listener isn't a loop, but it's certainly expensive. Most of the use cases I've seen in module-function thread are all throwaway values that would be called multiple times.

The way you'd solve that with addEventListener is the same - you'd hoist the function outside the scope so it could be reused.

The entire point of the mod-function thread is that the normal syntax is too heavy for inline use. It's core use is not hoisted.

If mod { } creates a new module instance every time

I’m pointing out a nit, because I wonder if some other folks might get this distinction wrong: module { ... } creates a new module block, which in it’s currently spec’d format is not much more than a glorified, parsed string. I don’t see it as very expensive. import(moduleBlock) creates an instance of the module, which is arguable more expensive.

when you have a module block, you always want to instantiate it to make it useful, no matter using import call, worker.addModule or any other API, so these two things I think are identical

when you have a module block, you always want to instantiate it to make it useful,…, so these two things I think are identical

This is my impression as well. It doesn't matter if module { … } is fast to make an object, if it's slow to actually instantiate and make it usable, then it slow overall.

To illustrate the way I see this, imagine the following code:
function make() {
  return module { … }
}

const a = make();
const b = make();

It doesn't really matter to me if a === b. But what does matter is that import(a) === import(b), so that reusing a module location can be fast regardless of where it's used (in particular module () => {} being written inline). I also think that sending a and b to a web worker should maintain this, so that import(a) === import(b) on the worker side of the boundary (obviously the worker will have to create its own instantiation of the module, but the module should be cached).
So given import(a) === import(b), should a === b. I think so, because it make it more obvious that importing them would give the same value. But if we to treat these as unique object referencing the same underlying module instance, then that wouldn't be terrible.

You're describing the same problem if you create a new object or function inside make - and the solution is the same. Move the declaration outside the function, or use a memoization abstraction.

There's a big difference between a module block and other things folks might use in a loop like a function. Function instances have no state and are very cheap to create, the actual function code is only created once. That's not the same thing as running all the global initialization within a module when you do import(). The other big difference is that you don't transform a class or function into another thing to use it, while a module does get transformed by way of import().
I think the most important thing here is that you can create a cache within libraries by having some kind of stable identifier for the thing returned by the module block. So like:
fn = () => module {}
fn() !== fn() // this is fine
await import(fn()) !== await import (fn()) // also fine

but somehow libraries need a way to cache passing in the exact same module text so they can make
runTask(module { ... })

not resolve the module state repeatedly.
Similarly if I can postMessage a module to another thread for evaluation, the other side needs a way to avoid doing import() by way of some kine of caching. That can't be fixed by loop hoisting, since the ModuleBlock is cloned when it gets structured cloned.

Function instances have no state and are very cheap to create, the actual function code is only created once. That's not the same thing as running all the global initialization within a module when you do import().

I'd like to understand this assumption.
Declaring a closures in loops capture a lot more state (parent contexts) than a module by itself would. And importing a module declaration doesn't have to be particularly more expansive than calling a function, especially if there are no dependencies like there would be for module function. The code has already been parsed, so it's only the linking that is expensive.

Similarly if I can postMessage a module to another thread for evaluation, the other side needs a way to avoid doing import() by way of some kine of caching. That can't be fixed by loop hoisting, since the ModuleBlock is cloned when it gets structured cloned.

I believe this is a separate topic discussed in #58. The question is whether a single module declaration results in a single module namespace object when imported, regardless of the identity of the "pointer" to the module declaration, or how it got to the importing realm. This is particularly a problem for realms in different agents.

How much does hot-module-reloading feed into this?
I can imagine it might be nice to be able to transpile a module block in a way that allows it to be replaced without reloading the outer container module, for when the code change only happened inside the block.

How much does hot-module-reloading feed into this?
I can imagine it might be nice to be able to transpile a module block in a way that allows it to be replaced without reloading the outer container module, for when the code change only happened inside the block.

I think it's not the topic of this thread. For HMR, I think the bundler can generate a "forward" module so it can keep the identity stable.

Possible solution:
Add a unique (prior art symbol vs unique symbol in typescript) modifier to tell which the semantics should be use.
const x = [0,1].map(() => unique module {})
// two different module. Need opt-in cause performance trap
const y = [0,1].map(() => module {}) // the same module

I like the idea of the unique module, it is very explicit and very readable. This could also solve the problem of SharedWorker and ServiceWorker instantiation!

I am of the opinion that we should go with a cache-by-position semantic here. I have multiple reasons:
Folks are already familiar with the semantic of each bit of source text belonging to only one module, and each module only being executed once. If the same "module" in source text could result in multiple instances of a module existing in a module map, the current understanding that each bit of source text in the global scope in a module is only evaluated once per realm would be violated. This may be confusing to users.
I don't see a compelling use-case for non-cached modules. Because it is quite questionable how well module blocks, and module instances created from module blocks can and will be garbage collected, we should discourage using modules as stateful actors at all costs. Instead if folks want stateful actors, they should export default class Actor from a module block, and instantiate that as many times as is necessary. This has much clearer GC semantics.
In combination with the inability for module blocks to close over scope, I think there are no compelling use-cases where one would want to create multiple instances of a module block with the same source text in a single realm.
We are already getting a proper way of explicitly creating multiple module maps per agent (using ShadowRealm) so for users who really want to execute the same module source text multiple times, they can do that I think.


Added new resource to learn Django

@sandipbgt hi, due to other PR, you have to pull and send the PR again  to resolve conflicts.

Conflict resolved


Permission Denied? Already state in AndroidManifest

<uses-permission android:name="android.permission.INTERNET" />

Fatal Exception: java.lang.SecurityException: Permission denied (missing INTERNET permission?)
       at java.net.InetAddress.lookupHostByName(InetAddress.java:418)
       at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
       at java.net.InetAddress.getAllByName(InetAddress.java:214)
       at com.squareup.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
       at com.squareup.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:187)
       at com.squareup.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:156)
       at com.squareup.okhttp.internal.http.RouteSelector.next(RouteSelector.java:98)
       at com.squareup.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:344)
       at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:327)
       at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
       at com.squareup.okhttp.Call.getResponse(Call.java:267)
       at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)
       at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)
       at com.squareup.okhttp.Call.access$100(Call.java:34)
       at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162)
       at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
       at java.lang.Thread.run(Thread.java:841)
Caused by libcore.io.GaiException: getaddrinfo failed: EAI_NODATA (No address associated with hostname)
       at libcore.io.Posix.getaddrinfo(Posix.java)
       at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
       at java.net.InetAddress.lookupHostByName(InetAddress.java:405)
       at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
       at java.net.InetAddress.getAllByName(InetAddress.java:214)
       at com.squareup.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
       at com.squareup.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:187)
       at com.squareup.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:156)
       at com.squareup.okhttp.internal.http.RouteSelector.next(RouteSelector.java:98)
       at com.squareup.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:344)
       at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:327)
       at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
       at com.squareup.okhttp.Call.getResponse(Call.java:267)
       at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)
       at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)
       at com.squareup.okhttp.Call.access$100(Call.java:34)
       at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162)
       at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
       at java.lang.Thread.run(Thread.java:841)
Caused by libcore.io.ErrnoException: getaddrinfo failed: EACCES (Permission denied)
       at libcore.io.Posix.getaddrinfo(Posix.java)
       at libcore.io.ForwardingOs.getaddrinfo(ForwardingOs.java:61)
       at java.net.InetAddress.lookupHostByName(InetAddress.java:405)
       at java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
       at java.net.InetAddress.getAllByName(InetAddress.java:214)
       at com.squareup.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)
       at com.squareup.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:187)
       at com.squareup.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:156)
       at com.squareup.okhttp.internal.http.RouteSelector.next(RouteSelector.java:98)
       at com.squareup.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:344)
       at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:327)
       at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:245)
       at com.squareup.okhttp.Call.getResponse(Call.java:267)
       at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)
       at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)
       at com.squareup.okhttp.Call.access$100(Call.java:34)
       at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162)
       at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
       at java.lang.Thread.run(Thread.java:841)

Is it a report from the user device or you got this error during development?
If it's from user device, it may be a rooted device with deep permissions management and user might disable INTERNET permission for you app.
If you see this error during development — make sure INTERNET permission was merged into final AndroidManifest.xml (build/intermidiates/manifests/... or grab it from the output apk). You can also try to do clean build.

No action for us to take here.


[v1.4.0] IC check fails

IC error with HighDigitSAMs v1.4.0:
models/48h6e2.edm @ c:/users/XXXX/saved games/dcs.openbeta/mods/tech/highdigitsams/shapes
Just like the error with HighDigitSAMs v1.3.0 that required the v1.3.1 hotfix.
Downloaded from: https://github.com/Auranis/HighDigitSAMs/releases/download/v1.4.0/HighDigitSAMs_v1_4_0.zip

That's interesting, V1.4.0 doesn't fail the IC check on my side:

I'll take a look.

That's interesting, V1.4.0 doesn't fail the IC check on my side:

I'll take a look.

From what I see, the 48h6e2.edm file stuck after an internal update, as it coexists with the new, IC-compliant 48h6e2_hds.edm. A simple solution is to just delete the 48h6e2.edm file, as it is not used anymore. I will make these changes on the Main and Dev branches.

From what I see, the 48h6e2.edm file stuck after an internal update, as it coexists with the new, IC-compliant 48h6e2_hds.edm. A simple solution is to just delete the 48h6e2.edm file, as it is not used anymore. I will make these changes on the Main and Dev branches.

Fixed locally, will put out another hotfix tomorrow. Sorry this one crept back in, guys.

Fixed locally, will put out another hotfix tomorrow. Sorry this one crept back in, guys.


Compilation Error

Hi:
I've been bothered by this error report for a while
/usr/bin/ld: ./minimap2/libminimap2.a(misc.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: ./minimap2/libminimap2.a(misc.o): unable to initialize decompress status for section .debug_info
./minimap2/libminimap2.a: error adding symbols: File format not recognized
collect2: error: ld returned 1 exit status
make: *** [nanopolish] Error 1

gcc version info
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)

g++ version info
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)

Maybe it's the inconsistency between GCC and G + +?
I have change the version of GCC and G++ to be  same.
But the problem remains.
Thanks

Before your edit I thought it was likely to be the compiler mismatch. Did you do a make clean in both nanopolish and minimap2 directories before re-compiling?

Thank you for your support. How timely :)
Yes,I forget to execute make clean in minimap2 sub-folder,I mistakenly thought it was a recursive command with default.Forgive me,I'm not familiar with C / C++ .
Now,every thing is all right.
Thank you very much for your help!

No problem, glad it is resolved.


[CMake] Stop re-linking

What's in this pull request?
CC: @dabrahams
https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160404/001621.html
${BUILD_DIR}/lib/Basic/SwiftRevision.inc used to be re-generated every time
git revision "hash" has changed. I feel, that is superfluous while developing.
With this change, {LLVM,Clang,Swift}Revision.inc generation is done
at configure time, instead of build time. That means:

Fresh build: build everything normally
Rebuild with --reconfigure:  re-link and refresh --version output
Rebuild without --reconfigure: no re-link and remain old  --version output

AFAIK, every CI build has --reconfigure or perform scratch build.
So, this change should not affect CI bot behavior.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

I'm concerned about this; it means that in a non-reconfiguring build, the revision hashes are lying to you.
There are also correctness implications; see my previous attempt at making it an option. https://github.com/apple/swift/pull/2105#issuecomment-207634883

Oh, I didn't know #2015. Thank you, closing.

I would definitely like to make it an option, just not sure how to do so.


Delete logo.gif

Questions
Answers

Description?
Delete old logo from 1.5 times, since 1.6, the PNG logo is used.

Type?
-

BC breaks?
-

Deprecations?
-

Fixed ticket?
-

How to test?
-

Possible impacts?
-

Ping @SharakPL for approval and merge


Updating to v1.15.0-rc requires --user and --project

I initially installed the latest stable version of this library (v1.14.3) and was able to have it automatically figure out my username and project. However, after updating to the v1.15.0-rc, running it generates the following output:
$ github_changelog_generator
Configure which user and project to work on.
Options --user and --project, or settings to that effect. See --help for more.
Usage: github_changelog_generator --user USER --project PROJECT [options]

Is it now a requirement to explicitly specify these things, or did I do something wrong?

@TAGC You're right, this is a feature that got removed.
For the GitHub project weyland-yutani/alien-species-test1, the invocation is:
$ github_changelog_generator --user weyland-yutani --project alien-species-test1

(You can use the file-based configuration to store these settings, too.)

Ah okay, thanks.

For reference #451


CB-13829 Fix tests that were broken since CB-13237

Platforms affected
Windows 10, Visual Studio 2015 and 2017
What does this PR do?
This PR fixes the e2e tests that were broken since https://issues.apache.org/jira/browse/CB-13237 was merged which was not caught because of broken CI.
For that I rewrote all of them from "default 8.1" to "default 10" by fixing the expects, extracting the comparison stuff in its own function along the way. I think I replicated all test cases that were there before.
What testing has been done on this change?
Local runs of e2e test suite + CI.
Note: The remaining 1 failing test with Visual Studio 2017 is from another, unrelated change (that was also not caught because of broken CI). I changed the order of tests so it is the last one being executed, so all the others are passing. This one will be tackled in https://issues.apache.org/jira/browse/CB-13834
Checklist

[x] Reported an issue in the JIRA database
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[x] Added automated test coverage as appropriate for this change.

@janpio can you give any explanation of how reverting dd91933 ("CB-13799 Updated checked-in node_modules") in 18eb64389700667608c0186da1e5112afc67e23e could trigger the test failures?
Also can you also give me an idea what dd91933 was supposed to do in the first place?

https://github.com/apache/cordova-windows/commit/dd91933d7030f6f0bb207a676968c4fdad9e3691 has nothing to do with this, it was just a commit of the release process that is documented here: https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#update-and-pin-dependencies It had to be reverted as the release process was canceled as I discovered the failing tests and breaking changes (which requires a 6.0 release instead of a 5.1 I was working on).
The culprit for the failing tests is in https://issues.apache.org/jira/browse/CB-13237 / https://github.com/apache/cordova-windows/commit/c1dfc77ddf866b4872330eb2b8874ede05daddcd but wasn't noticed as earlier jasmine-node was replaced by jasmine which doesn't have the same command line params, which caused the tests to fail silently and not to be run at all via https://github.com/apache/cordova-windows/commit/1c6d245fbb10ab71c77eed6a73989827042422f5

Thanks @janpio. Can you give me an idea of what portion of tests are now passing vs failing?

Look below - there is a "Details" link next to the checks that go to the actual test runs. All but one are passing, but this will be covered in https://issues.apache.org/jira/browse/CB-13834 - this PR is about the changes to the tests to match the actual implementation.

All but one are passing, but this will be covered in
https://issues.apache.org/jira/browse/CB-13834 - this PR is about the
changes to the tests to match the actual implementation.
Thanks I will review later today. It would be ideal if you can rebase on
the latest changes on master.

Done (although there are no relevant changes that would require this in that last commit).

Done (although there are no relevant changes that would require this in that last commit).

Thanks @janpio for the nice work so far. I gave my review comments what I think are all minor (non-blocking), leaving it up to your best judgment. I am also looking forward to the fix for https://issues.apache.org/jira/browse/CB-13834. I am really hoping to see a release to fix the crash on Windows 8.1 (https://issues.apache.org/jira/browse/CB-13175 - fixed in PR #239).

I would favor making these changes in two parts (maybe split into 2 different issues): one to fix the actual Windows build (with just enough test coverage to prove it working) and another to fix and extend the test coverage.

In my opinion these changes actually are only to fix the previously existing tests, I just went through those that didn't work and replace them with the new equivalents for the new "UWP = standard" situation. I didn't really extend the test coverage, did I? If so, it was more an accident ;)

I do not really like the idea of moving the failing test function if we expect to to move it right back. I would favor just marking it as pending (use xit or pending function) and then fixing it in issues.apache.org/jira/browse/CB-13834.

Yeah, in principle I agree - but I wanted to make sure the tests keep failing as that test is actually broken. So moving it down just enabled them all to run but it is still clearly visible that master is in a broken state.

Thanks for the review @brodybits, very helpful.
I did some smaller changes, and think I will "ignore" the other things for now.
Do you think the "new"/rewritten tests are doing their job equivalent to what was there before? If you agree, I think I will just merge this in to see some progress here.
If you have any ideas about https://issues.apache.org/jira/browse/CB-13834... I am pretty much out of ideas as I can't reproduce locally and don't know what is going on on AppVeyor :/

In my opinion these changes actually are only to fix the previously existing tests

It is clear to me that a major goal is to pass most of the existing test cases. It is not clear to me whether or not the following items are other goals of this change:

fix actual script behavior
fix test cases that were incorrect

I didn't really extend the test coverage, did I?

It looks like the following test cases were added: 2b, 2c, 2d, 2e, 3b, 3c, 3d, 4b, 5b, 6b
It appears that the test coverage would be expanded to cover Windows 8.1, Windows Phone 8.1, Windows 10 and all possible CPU targets more completely.

I did some smaller changes, and think I will "ignore" the other things for now.

Fine for me, they are all minor anyway.

Do you think the "new"/rewritten tests are doing their job equivalent to what was there before?

Yes, with more complete coverage of Windows 8.1/Windows Phone 8.1/Windows 10 build and all CPU targets.

If you agree, I think I will just merge this in to see some progress here.

Yes, please.
In general I think this is a major step in the right direction. I would be happy to take a look at CB-13834, cannot promise anything though. I am still hoping we can have a release within the next few days to solve the Windows 8.1 crash problem.

It looks like the following test cases were added: 2b, 2c, 2d, 2e, 3b, 3c, 3d, 4b, 5b, 6b

It appears that the test coverage would be expanded to cover Windows 8.1, Windows Phone 8.1, Windows 10 and all possible CPU targets more completely.

Before the default was Win8.1, now it is Win10. That meant that the Win8.1 stuff that was automatically done before now has to be done explicitly. Also some of the architecture splits that were possible with default Win8.1 are not possible with Win10, so this had to be transformed as well.

I am still hoping we can have a release within the next few days to solve the Windows 8.1 crash problem.

I can not do a release with failing tests which represent an actual problem, which CB-13834 seems to do. Either the test is broken or the actual implementation for VS2017 is broken - both won't allow me to cut a release.
The only way to do a 5.1 with the patch you need would be to go back to before the UWP (and probably also test) changes, then cherry pick the one you need and do a release only for with that. But that is definitely not a viable option though because of the work involved, sorry. So we nee to get CB-13834 fixed, then I can continue.

Thanks for all of your efforts so far, definitely appreciated! I would definitely agree that we need to deal with CB-13834 before releasing 5.1 and would be happy to take a look within the next week or so.

(6.0 actually because the UWP change was a breaking one - but looking for any feedback on CB-13834)


Readme.md file addition

README.md file explaining the usage of the tool

Ok

Thank you. Merging the changes


Working on a better Chromium AppImage

Hi,
I have been trying to create an arguably better AppImage for the Chromium web browser, this one would build the latest stable release of Chromium. Your existing one builds a preview release. Here is my yaml:
app: Chromium

ingredients:
  dist: trusty
  sources:
    - deb http://archive.ubuntu.com/ubuntu/ trusty-security universe
    - deb http://archive.ubuntu.com/ubuntu/ trusty main universe
  packages:
    - chromium-browser
  script:
    - VERSION=$(wget -c http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/ -qO- | grep "chromium-browser_"  | cut -d '"' -f 8 | tail -n 1 | sed 's/chromium-browser_//g' | sed 's/.orig.tar.xz//g')
    - echo $VERSION > VERSION

script:
  - cp ./usr/share/applications/chromium-browser.desktop chromium.desktop
  - sed -i -e 's/Icon=chromium-browser/Icon=chromium/g' chromium.desktop
  - cp ./usr/share/pixmaps/chromium-browser.png chromium.png

here is the error message I get when I try to run it:
/bin/bash: ../lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: ../lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
/usr/lib/chromium-browser/chromium-browser: ../lib/x86_64-linux-gnu/libpci.so.3: version `LIBPCI_3.3' not found (required by /usr/lib/chromium-browser/libs/libgpu.
so)

Any fix ideas?
Thanks for your time,
Brenton

When I added the line union: true to the yaml I get the runtime error:
/bin/bash: /tmp/.mount_QSdkgU/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /tmp/.mount_QSdkgU/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
[28378:28378:1119/113824:FATAL:zygote_host_impl_linux.cc(196)] Check failed: ReceiveFixedMessage(fds[0], kZygoteHelloMessage, sizeof(kZygoteHelloMessage), &real_pi
d).
#0 0x7f63b547da2e base::debug::StackTrace::StackTrace()
#1 0x7f63b5497f87 logging::LogMessage::~LogMessage()
#2 0x7f63b392219b content::ZygoteHostImpl::LaunchZygote()
#3 0x7f63b3921232 content::ZygoteCommunication::Init()
#4 0x7f63b39217ae content::CreateZygote()
#5 0x7f63b35ed677 content::BrowserMainLoop::EarlyInitialization()
#6 0x7f63b35f07ff <unknown>
#7 0x7f63b35e9e1d content::BrowserMain()
#8 0x7f63b35583d4 <unknown>
#9 0x7f63b3557611 content::ContentMain()
#10 0x55fdb19f08e8 <unknown>
#11 0x7f63a8ead830 __libc_start_main
#12 0x55fdb19f07ba <unknown>

[1]    28378 abort      out/*

Same error happens with binpatch: true.

Wouldn't that always be outdated? Chromium moves very fast, probably much faster than what is in Ubuntu trusty.

Its security updates are pretty up-to-date for both Trusty and Xenial, presently it provides 53.0.2785.143, which I think is the latest stable version, right?

If not you're right. I thought it was the latest. Besides your present Recipe for me builds version 51 of Chromium.

Mine come from https://download-chromium.appspot.com which is, according to https://www.chromium.org/getting-involved/download-chromium, an official upstream binary download page. Also check https://github.com/scheib/chromium-latest-linux/blob/master/update.sh

OK, but it provides an old version of Chromium per https://travis-ci.org/fusion809/AppImages/builds/177190178.

The "Last Known Good Revision" currently is Build Revision: 382014, updated 8 months ago according to https://download-chromium.appspot.com/?platform=Linux_x64&type=continuous. Maybe it is stuck? In that case use the one from https://download-chromium.appspot.com/?platform=Linux_x64&type=snapshots which is a current but supposedly untested one.

Since that issue mentioned above they seemed to have updated the revision but now Travis CI is getting the error (with your Recipe, I just copied it straight from your repo): https://travis-ci.org/fusion809/AppImages/builds/177238369.

Found solution substitute AppData XML download URL with https://github.com/hughsie/fedora-appstream/raw/61570fa1809055074dfaf7a760d768ab074a0d56/appdata-extra/desktop/chromium.appdata.xml.

Build still fails though https://travis-ci.org/fusion809/AppImages/builds/177239512.


Added Amman, Jordan, but it doesn't show the flag

I added the city Amman, (Hashemite Kingdom of) Jordan. The flag has a question mark on it. However I can see a Jordan.png file in the source.

The workaround did fix the issue. Thanks.

Fixed (at least in v2.16), closing


CMakeLists.txt: respect BUILD_SHARED_LIBS

Don't build and install pistache_shared if the standard cmake
BUILD_SHARED_LIBS is set to OFF
Signed-off-by: Fabrice Fontaine<EMAIL_ADDRESS>

Codecov Report

Merging #828 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #828      +/-   ##
==========================================
- Coverage   68.29%   68.19%   -0.10%
==========================================
  Files          55       55
  Lines        7597     7597
==========================================
- Hits         5188     5181       -7
- Misses       2409     2416       +7

Impacted Files
Coverage Δ

src/client/client.cc
78.78% <0.00%> (-1.49%)
:arrow_down:

src/common/stream.cc
87.29% <0.00%> (-0.56%)
:arrow_down:

include/pistache/async.h
89.19% <0.00%> (+0.25%)
:arrow_up:

src/common/reactor.cc
79.31% <0.00%> (+0.76%)
:arrow_up:

Continue to review full report at Codecov.

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

The wonderful thing about standards is that there are so many to choose from!


Samplers by type

Added a new display option argument for the printSamplers method of MCMC configuration objects.
The option is called byType, and specifying printSamplers(byType = TRUE) will print the sampled nodes, grouped by the sampling algorithm assigned to them.
Example:
> conf$printSamplers(byType = TRUE)
##
## conjugate_dnorm_dnorm sampler (2):  a[1], a[2]
##
## conjugate_dgamma_dnorm sampler (1):  b
##
## RW sampler (10):  x[1], x[2], x[3], x[4], x[5], x[6], x[7], x[8], x[9], x[10]
##

Checks passed.  Merging this in.
It's a useful feature for larger models, if anyone ever wants to try it out:
conf <- configureMCMC(Rmodel)

conf$printSamplers(byType = TRUE)


Fix #2939: Fix %g formatting for exact powers of 10.

The temporary variable sig needs to be the smallest value such 10^sig is strictly greater than m. It used to, sometimes (depending on rounding errors) be such that 10^sig = m.

Review by @mkotsbak?

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3939/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5215/
Test PASSed.

Thanks.


Old product names in screenshots

In the "Enable Microsoft Defender for Azure SQL Database at the resource level" section and "Manage Microsoft Defender for SQL settings" sections, the screenshots have references to Azure Security Center and Azure Defender. These should be updated to match the current Microsoft Defender for Cloud naming & interfaces.

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

ID: 01f9e1c0-9d21-6de0-cfe7-2686ec5bdbbd
Version Independent ID: 02f58fb6-eac3-6fc6-496f-68e8477b20d6
Content: Microsoft Defender for SQL - Azure SQL Database
Content Source: azure-sql/database/azure-defender-for-sql.md
Service: sql-db-mi
Sub-service: security
GitHub Login: @bmansheim
Microsoft Alias: benmansheim

Hi @Torch02 Thanks for your findings, We will look into it and update as appropriate.

@Torch02 , well that's ambarassing. 😁
Looks like the process for updating the brand needs to be widened to cover the other services as well. That's a big help.
This could take a while so I'll open a internal ticket for it and close this one. Thanks!
#please-close


Index Error while training

Hello
I am getting the following error while training :
 File "/data/home/ameen.ali/food/im2recipe-Pytorch/data_loader.py", line 103, in __getitem__     path = os.path.join(self.imgPath, loader_path, imgs[imgIdx]['id']) IndexError: list index out of range

ANy idea what is the problem ?

Hi,
Thanks for using our code. Are you using the LMDB files we provide? I am afraid those may need to be updated. I will check that this is not the issue.
Best,
Javier

I had the same problem.

Hi,
Checked! You need to create again the LMDBs (using mk_dataset.py). I'll try to update the current ones we provide.
Best,
Javier

@jmarintur is this also the case for the recipe1M dataset? I am using the pre-trained lmdb files. Will these work without any change to the code when I use recipe1M? (asking as the recipe1M dataset spawns a train, test, val folder as opposed to the recipe1M+ images which do not spawn any such folders).


Use push helpers to format Talker messages

This correctly shows the actual pusher when a push happens instead of
whomever committed the last commit. It will also make the message a tad
more interesting:

Joe Pusher created some-branch from master (+2 new commits)

instead of

Mary Committer pushed 2 commits

Tests continues to pass on 1.8.7. Get syntax error when trying to run with 1.9.2.

Why you remove the link? :(

@jrom Sorry, that was a mistake. It should be trivial to add

@technoweenie Can you check pull request #224? It's rather annoying and useless without the URL :)


Add Properties section to each datasets docs

This involves expanding the DatabaseEntry schema to include units and descriptions of each per structure/atom property. We can infer types (and shape where applicable) from the data.

Also include ad-hoc properties and their coverage (i.e. properties that are not defined for all structures)


export * as ns from './file' inconsistencies

🐞 bug report
Affected Package

The issue is caused by package @ngtools/webpack ?
Is this a regression?

I don't think it's a regression
Description

The use of export * as ns from './file' sometimes works, sometimes creates an error. In all cases, TS is configured with "module": "es2020", "target": "es2015" (I think).
🔬 Minimal Reproduction

https://github.com/Booster2ooo/angular-export-as

🔥 Exception or Error

Error: ./projects/module-with-export-as/src/lib/data/index.ts 1:9
Module parse failed: Unexpected token (1:9)
File was processed with these loaders:
 *<EMAIL_ADDRESS>You may need an additional loader to handle the result of these loaders.
> export * as Anwsers from './answer';
|
 @ ./projects/module-with-export-as/src/lib/test.spec.ts 1:0-33 4:18-25
 @ ./projects/module-with-export-as/src sync \.spec\.ts$
 @ ./projects/module-with-export-as/src/test.ts

🌍  Your Environment
Angular Version:

Angular CLI: 11.1.4
Node: 10.23.1
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1101.4
@angular-devkit/core         11.1.4
@angular-devkit/schematics   11.1.4
@schematics/angular          11.1.4
@schematics/update           0.1101.4

Anything else relevant?

I don't think so

Transferring to CLI project as I think this is related to bundling...

Duplicate of https://github.com/angular/angular-cli/issues/19500 and https://github.com/angular/angular-cli/issues/17231#issuecomment-709372331

I'm not sure it's useful but I'd like to underline that it is working in some cases, which I find unsettling.

it's working in some cases, because a library is bundled using Rollup, which does support this syntax. However, when testing the library and/or using export * as directly in the application sourcefiles Webpack will be used to bundle this. Prior to Webpack 5, this syntax was not supported.


Endless lights and switches

 is a comment.
You will see these throughout the issue template. Make sure you do not type your comments
between these characters or we will not be able to see what you wrote!

4. Links
To create a hyperlink, type the [text you want to link](followed by the url in parenthesis)
-->
Describe the bug

iam getting endless amount of the same lights.
It creates every seconde the same light again and again
Steps to Reproduce
Clean install

Expected behavior

Logs

Hardware Info:

Architecture (Ex: x86, ARM): arm
Addon version (Ex: stable or dev): dev and stable
OS (Ex: Windows 10, Ubuntu Buster): hassio 6.6 core 7.4
Hardware (Ex: PC, Raspberry Pi 1/2/3/Zero):

Additional context

Logs?

FileNotFoundError: [Errno 2] No such file or directory: '/config/hass-emulated-hue/emulated_hue.json' -> '/config/hass-emulated-hue/emulated_hue.json.backup'
2021-07-24 20:49:52,026 ERROR aiohttp.server -- Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/app/emulated_hue/api.py", line 80, in wrapped_func
if not username or not await cls.config.async_get_user(username):
File "/app/emulated_hue/config.py", line 286, in async_get_user
await self.async_set_storage_value("users", username, user_data)
File "/app/emulated_hue/config.py", line 245, in async_set_storage_value
await async_save_json(self.get_path(CONFIG_FILE), self._config)
File "/app/emulated_hue/utils.py", line 121, in async_save_json
return await loop.run_in_executor(None, save_json, filename, data)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/app/emulated_hue/utils.py", line 128, in save_json
os.replace(filename, safe_copy)

Sorry my bad thought I can add hue integration from home assistant

That would definitely create endless lights because it's importing lights from itself...


(Bug ?) The titles of books marked as completely read do not display the current page anymore

Configuration: Windows 10, Chromium-based browser, Lute v. 3.6.0 installed via pip
Hello. I do not know whether this is intentional, but I wanted to mention it just to be sure. When you reach the end of a book and click the tick named "Mark as read", the book's title will then have a green tick to its left, in the "Home" screen and in the "Book archive" screen, but the current page will not be displayed any more. This situation is the same regardless of whether the book is in the "Home" screen of in the "Book archive" screen. Even when I reach the end of another page and click on that page's "Mark as read" arrow, the current page will still not be displayed next to the book's title in the "Home" screen and in the "Book archive" screen.
When I finish a book, I always click on that tick in the book's last page, and I then archive the book. Sometimes, however, for various reasons, I like getting back to books which I have already finished reading, and it would be nice to be able to see the current page in the book's title in the "Home" screen and in the "Book archive" screen, just to know where I left off. I have included an image to clearly show what I mean.
Thank you for your time, and thank you for your amazing software.

Ah I thought it already did that, so that's a bug, thank you!

Confirmed, below I'm on page 5/6 of the tutorial:

Fixed in develop, thanks @Inquisitor-Ignotorum :

Will be launched soon.

Released in 3.6.1.


v5.14.14

[x] I have followed (at least) the PR section of the contributing guide.

Hi! Looks like @mui/styled-engine didn't get released as part of this. We're seeing breakages when importing the latest version of @mui/system because MUIStyledComponent from #39395 is missing

Just in case, 👀 ☝ @mnajdova @brijeshb42

@Rugvip The change that you are talking about was actually release and the package name and version is<EMAIL_ADDRESS>Are you using styled-engine or styled-engine-sc?