Alternative to Introduction to Computer Networking on Langunita

I started the course a little while ago and found it to be very tough to get through. There are zero assignments or practical exercises and the only feedback is via in-video questions, which are pretty basic. I ended up writing notes, so the stuff sticks a bit better, but this course essentially became my chore of the day, where I had to force myself to do at least one video a day. I stopped at the end of week 2.
I don't want to skip this topic however so I was looking for alternatives and only found the following two:

Georgia Tech's Computer Networking on Udacity: https://eu.udacity.com/course/computer-networking--ud436. This is already listed under Extra's and it doesn't seem to be a direct replacement, because the Stanford course is a lot more basic/low level (please CMIIW). Therefore I don't think it is a valid alternative.
Computer Networks and the Internet by a small German University on edx: https://www.edx.org/course/computer-networks-internet-kironx-fhlcnx. This seems to cover the same content on the same level as the Stanford course.

Has anyone done the second course I listed above or knows of any other alternatives?

I am also interested to hear more about the second course mentioned above. If it provides more exercises and feedback while covering the same content as the Stanford course, it might be a viable replacement.

Ok, I just started some other courses, but will most likely give the second course mentioned above a try after finishing my current ones. Will leave feedback here in that case.

https://www.edx.org/course/computer-networks-internet-kironx-fhlcnx

"No playable video sources found." - is shown instead of videos.
No programming assignments.
=(

The main disadvantage of current networking course is lack of programming assignments. We could supplement Lagunita course with url to assigments from Princeton University COS 461 https://www.cs.princeton.edu/courses/archive/spring18/cos461/ (or directly to github https://github.com/PrincetonUniversity/COS461-Public).
(Have not tried them myself)

I've just completed the "Intro to CompNetworking" by Stanford on Lagunita this month. It was a rather comprehensive intro course with a steep learning curve in my case. I don't know a good alternative as it's free, it has lots of quizzes to test understanding (and not all of them are 'basic'). The mid-term and final exams are challenging. The course is already rather time consuming, and I think adding programming assignment would make it over-tiresome. Just do it through! The Kurose and Ross textbook with free Wireshark labs is a good complementary reference for those who wants more practice.

Tldr

Yes, add an alternative if there's a good one.
No, don't remove or replace this course entirely

In addition to the Wireshark labs from the Kurose textbook, there is also a Socket Programming exercise in python (Kurose edition 6, chapter 2.7)
I found that this course was extremely beneficial.  For me, learning how to program clients/servers/etc. in a "practical way" was much easier after taking the course.
If there's another course that works well for a lot of people, it should be added as an alternative.
But don't replace/remove this course of the list entirely.  I found it highly valuable, educational, and worthwhile, and I'm sure there are others who will appreciate it as well.
On a side note...
For those who left the class earlier because they found it tedious, go back and watch some the videos from week 8 (security)
Those are great!  (Especially the demos)
=)

I agree. I found this class both inefficient at teaching what it does (no homework), and that it covers kinda the wrong material. I think that at points it gets lost in the weeds. I think a class that took out the 'lost in the weeds' portion and substituted practical application demonstrations would be super helpful. Ex. tutorials/assignments with Wireshark and Mininet, and other net/sec tools. Something that combines an intro to networking ideas, with practical sys admin tools

@ceik I'm done with CS 6250 at Georgia Tech. It's alright, but even on its own, insufficient. They link the Stanford course for those who want to understand fundamentals.

It appears that most people are satisfied with the topics covered by the Stanford course and are interested in finding assignments that augment the material. As @kathgironpe points out, the largest online CS masters program recommends this course as a pre-req. I certainly found the lectures appropriate to prepare me for graduate work.
Some courses that we might expect to be high quality alternatives also use simple quizzes for assessments. See for example Google's intro to networking on Coursera. Cisco has courses with labs that require use of network tools. But my impression is that these courses are more professional development courses for network administrators rather than CS courses on network principles. (I welcome discussion on this)
I have seen 3 sets of Computer Network course assignments that we can assume are high quality (one recommend by @szaitseff, another by @a1h05)

Princeton 2019
Stanford 2010
Computer Networking: A Top-Down Approach by Kurose Ross

Some notes on these:

The Princeton and Stanford assignments come with test suites, while the Kurose and Ross assignments do not.
The Princeton assignments are actively maintained, with changes in the repository in the last few months.
The Kurose and Ross book is a well regarded textbook. It is recommended for both the Stanford and Princeton course. We can assume some degree of alignment of the courses with this text, and thereby with its assignments.
The Princeton course is more similar to advanced networking courses. The supplemental lectures are the same as Georgia Tech's masters degree. One of the Princeton assignments states that it is modeled from a Stanford assignment, which was an Advanced Networking course.

To determine what work students need to undertake, we should look at the expectations for undergraduate computer science students. Our curriculum guidelines include the Curriculum Guidelines for
Undergraduate Degree Programs in Computer Science from The Joint Task Force on Computing Curricula Association for Computing Machinery (ACM) IEEE Computer Society. Page 130 describes the Computer Networking learning expectations for undergrads.
One thing to note is how many of the networking topics students are meant to understand at a level of "Familiarity".
Familiarity: The student understands what a concept is or what it means. This level of
mastery concerns a basic awareness of a concept as opposed to expecting real facility
with its application. It provides an answer to the question “What do you know about
this?”
By this standard, for most networking topics we can assume that quizzes in the place of labs are acceptable. There are 4 learning outcomes that go beyond familiarity. Below I match these goals with assignments available online.

Implement a simple client-server socket-based application.

Princeton assignment on creating a server and client

Design and implement a simple reliable protocol.

Stanford assignment creating reliable transport

Compare and contrast fixed and dynamic allocation techniques.

Read the following chapter and respond to the short answer questions.

Compare and contrast current approaches to congestion.

Wireshark Lab on TCP
Alternatives include:

https://computer-networks.github.io/sp19/handout/project2.pdf
https://www2.cs.duke.edu/courses/spring14/compsci356/labs/lab3/lab3.html
http://user.it.uu.se/~perg/course/datakom2/it98/tcpsims_lab.html
https://booksite.elsevier.com/9780123850591/Lab_Manual/Lab_10.pdf

Based on the above, I propose that we retain the Stanford Lagunita course as the lectures for Computer Networking. In addition, I propose we specify the 4 above assignments for students.
I will leave this issue open for 1 month for discussion of this proposal. Suggestions of alternative lecture series, alternative assignments, even alternative curricula guidelines are welcome and encouraged. Helpful recommendations will include in depth analysis of the strengths and weaknesses of the materials and/or of the fit of the material to the learning goals.

I know a lot of you checking this repo are not graduate school students like myself, and that's even better because you're likely not doing this to get an A. Might as well give you some hints on what it feels like to go through it. It's a top 6 global CS University, and even with that fact, education is really just something you can only give to yourself. I am suggesting that I could have learned a lot more by creating my own curriculum. But I don't regret going through this.
For those who feel insufficient in terms of skills because they're not doing any projects, I don't think you are missing a lot for that reason. You are missing more because there aren't a lot of papers linked to courses like Stanford's Introduction to Computer Networking.
Over 3 months, I have read  over 37 Computer Network books, and more than 40 research papers on Computer Networks. It feels like a lot, but actually, it's NOT. What's worse: when it comes to the actual exam, it's my lack of CS fundamentals and formal education on Distributed Computing that made me scratch my head. I can't believe how seemingly simple some questions were to those with background, but I didn't know what they meant. I leaped from a top 200+ University to a top 6 in CS, and knew something like this could happen. I just get shocked about the terminology that I never encountered on the transcripts.
It must be fun to just create your own curriculum.
What is a sufficient introduction to Computer Networking?
I would still list the Stanford Introduction to Computer Networking as a number one resource.
And probably add:
CS 6250 at GT
CMU's Computer Networks' Syllabus
For real world work, you definitely need a lot more than this and CompTIA courses. AWS certificate courses help.
If you're doing this for interview preparation, I can assure you that Computer Networking questions are common. You might not expect companies like AirBnB to ask you to convert an I.P range to CIDR but they do. If you hated these kind of questions in school, you might get them when you apply for work.

14-740
Graduate level with lots of reading, it seems not to different from the Stanford course in terms of content.

There is a pull request which addresses this issue. Accepting comments on the PR for the next week.
https://github.com/ossu/computer-science/pull/590


Add tests for previous fix, also fix two small things I saw

This change is

Hey Everett,
thanks for these changes. I like all of them and left only one comment where I ask for clarification.
However I found it a bit hard to review this PR because it contains several changes that are not related to each other. Pascal trained me to always open tiny PRs that only related to one aspect. Here I guess that would be

one with the fix that Mehdi submitted and the test for it
one with the multiple emit exception and its test
one fixing the readme
one with this exception and comment I don't understand

What do you think of this method? I started to really like it.

Reviewed 6 of 6 files at r1.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

README.md, line 37 [r1] (raw file):

        This is the place where one would do the data extraction and transformation.
        """
        data = {'col1': [42]}

Thanks for updating the example. That's something I must have forgotten when I made the changes to emit last time.

fex/feature_extractor.py, line 23 [r1] (raw file):

            self._source_hash = hashlib.md5(class_source.encode()).hexdigest()
        except TypeError:
            # No source code - created in python interpreter

I don't understand this comment.

If the _source_hash is None, wouldn't that cause trouble in deployment mode?
If there is a case in which it can be none, maybe we should let it explicitly fail in that case?
Can we find a test case that reproduces this case?

fex/feature_extractor.py, line 46 [r1] (raw file):

        :param data_frame: DataFrame to be recorded.
        """
        if self.result is not None:

Good call to explicitly crash in this case.

Comments from Reviewable

Yeah you're definitely right. I was just reading and fixing as I went along, but should have broken this out into orthogonal changes.

Review status: all files reviewed at latest revision, 1 unresolved discussion.

fex/feature_extractor.py, line 23 [r1] (raw file):
Previously, dedan (Stephan Gabler) wrote…
> I don't understand this comment.
>
> * If the `_source_hash` is None, wouldn't that cause trouble in deployment mode?
> * If there is a case in which it can be none, maybe we should let it explicitly fail in that case?
> * Can we find a test case that reproduces this case?

So, what happened is I wanted to test something at the python interpreter, and defined a small subclass of fex via the interpreter. However, when instantiating it, it crashed because `inspect.getsource(self.__class__)` threw an error as it couldn't find the source file. I don't think this will break anything, as _source_hash is only used to compare to other Fex instances for equality. I will, however, change it so only the operative line is in the try block, so it doesn't accidentally catch errors in the hashlib line.
I tried creating a test, but it doesn't catch the problem because classes defined in a test file have a source file! There's maybe a fancy way to do this but I don't think it's worth it. I'm also OK just removing this change. This just isn't important enough to spend much time on.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Get involved contribution

Added a bit more content to the Get Involved / Contributors guide.

Thanks for this! You'll need to sign the CLA - you can do this at https://identity.linuxfoundation.org/projects/cncf. Thanks!

Ok, got a little lost! Ha. I created an account as an individual via my github but not sure what to do next. Do I also need to fill out the organization contribution form? Sorry can't seem to find out how to sign the CLA as an individual.

You'd use https://identity.linuxfoundation.org/?destination=node/285/individual-signup to sign as an individual.

rad, that's how i signed up austin. sorry for all the back and forth.

Can you try making another commit (just add a space somewhere or new line or something) to get the CLA check to re-run?

Hm, still not working it seems... maybe try opening a new PR in a new branch? Sorry, sometimes the CLA bot gets stuck :(

okay. do i close out this pr then? not sure proper etiquette / procedure.

Closed by #54


Fix autocomplete/autocorrect edge cases

Codecov Report

Merging #96 (7792aa3) into master (e56cbba) will increase coverage by 0.21%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #96      +/-   ##
============================================
+ Coverage     56.22%   56.44%   +0.21%
- Complexity      530      534       +4
============================================
  Files           103      103
  Lines          2015     2032      +17
  Branches        203      203
============================================
+ Hits           1133     1147      +14
- Misses          814      817       +3
  Partials         68       68

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/CommandBox.java
0.00% <0.00%> (ø)

...a/seedu/address/model/transaction/Transaction.java
44.89% <0.00%> (-0.94%)
:arrow_down:

...va/seedu/address/logic/commands/DeleteCommand.java
100.00% <0.00%> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
80.59% <0.00%> (+0.59%)
:arrow_up:

src/main/java/seedu/address/model/AddressBook.java
81.81% <0.00%> (+0.68%)
:arrow_up:

...c/main/java/seedu/address/model/person/Person.java
69.89% <0.00%> (+1.76%)
:arrow_up:

...edu/address/model/transaction/TransactionList.java
39.39% <0.00%> (+10.82%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Return exact gasUsed for eth_createAccessList

Describe the feature
currently we're failing eth_getTransactionReceipt/get-access-list:
https://hivetests2.ethdevops.io/suite.html?suiteid=1724234283-97d383360f6fb3acb2dcc0e447b02aca.json&suitename=rpc-compat#test-22
due to a gasUsed mismatch

gasUsed: A hexadecimal string representing the approximate gas cost for the transaction if the access list is included.

the issue is likely this estimate call:
https://github.com/paradigmxyz/reth/blob/1f5fb90bc83dd48d38e2f376790125d68ba92f3e/crates/rpc/rpc-eth-api/src/helpers/call.rs#L283-L284
which isn't gasUsed but estimates gas
TODO

change this estimate call to another transact call with the set accessList of the txEnv after tracing, similar to:

https://github.com/paradigmxyz/reth/blob/1f5fb90bc83dd48d38e2f376790125d68ba92f3e/crates/rpc/rpc-eth-api/src/helpers/call.rs#L262-L262
but with self.transact after setting env.txEnv.accessList
Additional context
No response

@mattsse assign me


Add support for ES6 Maps and Sets

I know that these aren't natively supported as JSON types, but it would be great if localforage could support a way to mark them as maps and/or sets when it serializes and deserializes.
Thanks!

I think we could add to the list of types we serialise already quite easily, so I'm cool with this. Do Maps and Sets (de)serialize predictably? I've never tried.

I think that IndexedDB supports them natively, but I could be wrong.
In any case, you could probably:
Maps: Convert to Object upon serialization and Map upon deserialization (via JSON?)
Sets: Convert to Array upon serialization and Set upon deserialization

Cool, makes sense to me!
(Given there is already serialization code to work with I'd say this a good bug for anyone looking to be a first-time contributor 😄)

Note AFAIK the standard JSON format for Map is an array of pairs - the kind of thing you pass to its constructor. E.g. [["foo", 0], ["bar", 1], ["baz", 2]]

Chrome 56 seems to store and retrieve Maps just fine using localforage 1.5.0... At least simple maps with strings or numbers as keys.

You could add detection for these object types and save them converted. See 'Arbitrary Maps as JSON via Arrays of pairs' in http://www.2ality.com/2015/08/es6-map-json.html.
You could use the same mechanism as for blobs and type_arrays. Declare new TYPE vars for Maps and Sets, and convert them to arrays of arrays before stringify and back to Map/Set on parse.

I would like to work on this issue. I have forked and will post a PR when ready.

@finnef Any updates as it seems that the issue still persists.

Sorry, I did not get anywhere, and have worked around this issue for now.

@finnef What do you mean worked around? I've tried serializing it with custom code, but deserializing requires special implementation so that after deserialization it is still a Map/Set/Object. This creates a need for a lot of custom code sadly.

I'm not sure anymore, it was 5 years back. Custom code or I think I switched to another data storage option.

Thanks for the help then! ;)


Naming convention doc

This is the first draft for the contributing naming convention as discussed here

📚 Documentation preview 📚: https://earthaccess--822.org.readthedocs.build/en/822/

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@2939f80). Learn more about missing BASE report.

Files with missing lines
Patch %
Lines

earthaccess/store.py
0.00%
6 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #822   +/-   ##
=======================================
  Coverage        ?   67.84%
=======================================
  Files           ?       22
  Lines           ?     1468
  Branches        ?        0
=======================================
  Hits            ?      996
  Misses          ?      472
  Partials        ?        0

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


Custom symetric key doesn't seem to work, no output [Question]

I'm trying to generate a key and use that for the token, but everything below the encrypt method doesn't work.
"paseto.js": "^0.1.3",
const crypto = require("crypto")
const Paseto = require("paseto.js")
const uuid = require("uuid/v4")

async function generateToken() {
	const message = {
		tokenId: uuid(), // Token Id
	}

	// Generate key
	//const key = crypto.randomBytes(32)

	const keyRaw = Buffer.from(
		"deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef",
		"hex"
	)

	const sk = new Paseto.SymmetricKey(new Paseto.V2())

	await sk.inject(keyRaw)
        console.log(sk) // <-- output key object
	const encoder = sk.protocol()

	const token = await encoder.encrypt(message, sk)

        // No output below --v--
	console.log(message)
	console.log(token)

	return token
}
generateToken()

Output:
# node auth.js
SymmetricKey {
  INFO_ENCRYPTION: 'paseto-encryption-key',
  INFO_AUTHENTICATION: 'paseto-auth-key-for-aead',
  _protocol: V2 { _repr: 'v2', _constants: { SYMMETRIC_KEY_BYTES: 32 } },
  _key:
   <Buffer de ad be ef de ad be ef de ad be ef de ad be ef de ad be ef de ad be ef de ad be ef de ad be ef> }

It may just be me but I find it as difficult as JWT to use for now :laughing:

@Extarys even I'm facing the same issue, apparently this lib doesn't support encryption of json/objects only simple string works.

@solancer thanks I feel less alone. In the mean time I switched to branca, way easier to implement. For now it will do the job:
function encodeToken(key, payload) {
	const branca = require("branca")(key)

	payload.tid = payload.tid ? payload.tid : uuid()

	if (payload.exp) {
		payload.exp = payload.iat + payload.exp * 60
	} else {
		payload.ext = 60 * 60 * 24 // Default 1 day
	}

	return branca.encode(notepack.encode(payload))
}

I use notepack as it produce a shorter output and is the fastest library out there.

It does appear that encoder.encrypt accepts a string and doesn't automatically stringify other types for you.  I think this makes sense given PASETO's goal, which is to provide Platform-Agnostic Security Tokens.  Adding stringification via JSON.parse, notepack, etc. might be too opinionated for this project.
Can you confirm if replacing const token = await encoder.encrypt(message, sk) with const token = await encoder.encrypt(JSON.stringify(message), sk) resolves this issue?  You can even use notepack there.

Thanks @neodon I cannot believe I fall for this and didn't think about providing a simple string.
I guess I'm just used of using JSON for everything.

@Extarys - At the moment I don't have support for JSON encoding directly, but it is intended at some point. My time to maintain this library has fallen off to some minimum maintenance, but I'm hoping to find a window at some point to drop it in.

I understand. But now that we found why it wasn't working, it's quite easy to implement how we want to convert our object to a string on our end.
Thanks for the time you put into this library, I understand the time constraint.


RCJ RescueOnlineSim Scoring

[x] Add the calculated point in the scoring view during a run. This are mainly the fields in the column "SCORE".
[x] Activate "Lack of Progress" automation

works

not yet tested.


Implement new design with CodeMirror 5

To achieve the new design in an incremental fashion, we want to first implement as much as possible of it with the current GraphiQL technology stack before moving to Monaco / modernize any components.
This is the tracking issue for that work.

The new design has been implemented and shipped with graphiql@2


Sheet component improvements

Couple of improvements to the sheet component:

Top corner radius: 16px instead of 24px
Header:

Type style (should be open sauce, correct color, etc. I assume this is a UI library issue)

Icon

Icon should be centered vertically with the title
Use the correct icon and color: https://www.figma.com/file/Li7qK8ZIG9c5dKSNOPO4iCtv/❖-Design-System?node-id=1167%3A0
You can find the title component with close icon here: https://www.figma.com/file/8CaxP6TRWskoTO9cmlvX9M/📐Connect?node-id=231%3A8212

The content has a margin-top of 24px. See the component on the right with the blue area for the content and the margin between the content and the title.
Same as above, but margin-bottom between the content and the actions. Also 24px.
The buttons need to be updated, I assume this is a UI library task. We're tracking this here: https://github.com/blockstack/ui/issues/78. This is a minor point, but they look better with 12px margin between them.

You can find the Sheet component design here: https://www.figma.com/file/8CaxP6TRWskoTO9cmlvX9M/📐Connect?node-id=323%3A24744

These changes appear pending still:

This one is fixed in the current version


Update logback-classic to 1.2.9 in series/0.23

Updates ch.qos.logback:logback-classic from 1.2.7 to 1.2.9.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.2.7).
You might want to review and update them manually.
website/src/hugo/content/changelog.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback", artifactId = "logback-classic" } ]

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

Superseded by #5751


refactor(config): remove support for tsConfig option

Summary

Remove support for tsConfig.
Test plan

Adjusted tests, green CI
Does this PR introduce a breaking change?

[x] Yes
[ ] No

One currently use tsConfig should change to tsconfig in your jest.config.js or package.json
Other information
N.A.

Pull Request Test Coverage Report for Build 355635121

0 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 93.682%

Totals

Change from base Build 355590872:
-0.03%

Covered Lines:
1026

Relevant Lines:
1055

💛  - Coveralls

Pull Request Test Coverage Report for Build 355635121

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 93.682%

Totals

Change from base Build 355590872:
-0.03%

Covered Lines:
1026

Relevant Lines:
1055

💛  - Coveralls


npm run serve fails with a missing script error, though still listed in package.json

Console Output:
npm ERR! Darwin 16.5.0
npm ERR! argv "/Users/jmedley/Homebrew/Cellar/node/7.4.0/bin/node" "/Users/jmedley/Homebrew/bin/npm" "run" "serve"
npm ERR! node v7.4.0
npm ERR! npm  v4.0.5

npm ERR! missing script: serve
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jmedley/Documents/tools/workbox/npm-debug.log

npm-debug.log:
0 info it worked if it ends with ok
1 verbose cli [ '/Users/jmedley/Homebrew/Cellar/node/7.4.0/bin/node',
1 verbose cli   '/Users/jmedley/Homebrew/bin/npm',
1 verbose cli   'run',
1 verbose cli   'serve' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose stack Error: missing script: serve
4 verbose stack     at run (/Users/jmedley/Homebrew/lib/node_modules/npm/lib/run-script.js:151:19)
4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/lib/run-script.js:61:5
4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5
4 verbose stack     at checkBinReferences_ (/Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45)
4 verbose stack     at final (/Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3)
4 verbose stack     at then (/Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5)
4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:311:12
4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16
4 verbose stack     at tryToString (fs.js:426:3)
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)
5 verbose cwd /Users/jmedley/Documents/tools/workbox
6 error Darwin 16.5.0
7 error argv "/Users/jmedley/Homebrew/Cellar/node/7.4.0/bin/node" "/Users/jmedley/Homebrew/bin/npm" "run" "serve"
8 error node v7.4.0
9 error npm  v4.0.5
10 error missing script: serve
11 error If you need help, you may report this error at:
11 error     <https://github.com/npm/npm/issues>
12 verbose exit [ 1, true ]

It was renamed to local-docs in https://github.com/GoogleChrome/sw-helpers/pull/467/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R7, because npm run serve didn't fully describe what it did.
I'm not sure what you mean when you say that it's still listed in package.json, since it was renamed in that PR.


opentelemetry-collector: 0.38.0 -> 0.40.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/open-telemetry/opentelemetry-collector-contrib/releases.
meta.description for opentelemetry-collector is: "OpenTelemetry Collector"
meta.homepage for opentelemetry-collector is: "https://github.com/open-telemetry/opentelemetry-collector"
meta.changelog for opentelemetry-collector is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/b8f6dl1d6fz70h8w9qs5abjwplr9p6zz-opentelemetry-collector-0.40.0/bin/otelcontribcol passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.40.0 with grep in /nix/store/b8f6dl1d6fz70h8w9qs5abjwplr9p6zz-opentelemetry-collector-0.40.0
found 0.40.0 in filename of file in /nix/store/b8f6dl1d6fz70h8w9qs5abjwplr9p6zz-opentelemetry-collector-0.40.0

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

4 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
opentelemetry-collector

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b8f6dl1d6fz70h8w9qs5abjwplr9p6zz-opentelemetry-collector-0.40.0
ls -la /nix/store/b8f6dl1d6fz70h8w9qs5abjwplr9p6zz-opentelemetry-collector-0.40.0/bin

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

1 package built:

opentelemetry-collector

Maintainer pings
cc @uri-canva @kalbasit for testing.

Tested locally.


kubectl cp: "Unexpected EOF" / kubectl exec fails to read entire buffer

What happened:
kubectl cp pod:/tmp/500MB 500MB fails to transfer the entire file.
The last 10-40MB are not transferred.
What you expected to happen:
The file (500MB) is transferred completely and correctly.
How to reproduce it (as minimally and precisely as possible):
To debug this I've used kubectl exec with a redirection instead of kubectl cp.
# This doesn't work (for me), it transfers only about 170MB. Runs for 50-60 seconds.
# I can see in a parallel console that after the bash process terminates, kubectl still runs for about 10-12 seconds.
kubectl bash -c "(dd if=/dev/zero bs=1MB count=200)" > output-200

# This works correctly.
# After sleep and bash terminate, kubectl terminates promptly.
# The file has the expected size.
kubectl bash -c "(dd if=/dev/zero bs=1MB count=200; sleep 15s)" > output-200

Anything else we need to know?:
From my laptop I can achieve a download speed of about 4 to 7 MB/s from the K8s cluster.
I've tested the speed during the transfer using pv.
My assumption is that some buffers are getting full (as the download speed is limited), and either kubectl is notified that the process ended and doesn't wait for the transfer to complete or Linux closes the connection after some timeout.
Environment:

Kubernetes client and server versions (use kubectl version):

Client Version: v1.25.4
Kustomize Version: v4.5.7
Server Version: v1.24.8-dhc

Cloud provider or hardware configuration: n/a
OS (e.g: cat /etc/os-release): Windows 10 (client), Ubuntu 20.04.1 LTS (pod)

Probably related to https://github.com/kubernetes/kubectl/issues/1103

I put together a standalone repro and pointed to the likely root cause in the discussion here:

https://github.com/kubernetes/kubernetes/issues/60140#issuecomment-1364264111
https://github.com/kubernetes/kubernetes/issues/60140#issuecomment-1364369348
https://github.com/kubernetes/kubernetes/issues/60140#issuecomment-1364566417

It's possible that the existing issue (60140) mixes reports of multiple unrelated problems related to kubectl cp and so perhaps a standalone issue just for the EOF problem makes sense.

Let's track this on the other issue
https://github.com/kubernetes/kubernetes/issues/60140#issuecomment-1363456588
/close


Cleanup extensions verification

Cleans up the code for extensions verification

Move each check to a separate file
Execute the checks in parallel via promises
Make it easier to add new tests
Add parameter descriptions to fields to check for emptiness
Move some constants out of functions to not have to recreate those each time the function runs

Giving this a try now :)
!rebase

Great cleanup ❤  this should help save time + improve the checks easily later on. Thanks!!


move Primer::ButtonComponent to Primer::Beta::Button

split from #676
this PR migrates the Primer::ButtonComponent to Primer::Beta::Button, updates all references, and creates a properly deprecated Primer::ButtonComponent in place of the original
files to note
this PR is huge because most components reference button for examples and sometimes for direct use. there are also several extra test files and a couple of linters for buttons, specifically.
these are the files you should pay most attention to when reviewing

app/components/primer/beta/button.rb
app/components/primer/button_component.rb
lib/primer/view_components/linters/argument_mappers/button.rb
lib/primer/view_components/linters/button_component_migration_counter.rb
lib/primer/view_components/linters/helpers/deprecated_components_helpers.rb
lib/rubocop/cop/primer/component_name_migration.rb
lib/rubocop/cop/primer/deprecated_button_arguments.rb
static/statuses.json
stories/primer/button_component_stories.rb → stories/primer/beta/button_stories.rb
test/components/button_component_test.rb → test/components/beta/button_test.rb
test/components/component_test.rb
test/lib/yard/docs_helper_test.rb
test/linters/button_component_migration_counter_test.rb
test/rubocop/deprecated_button_arguments_test.rb

screenshots
storybook:

docs site:

I'm going to hold on this one until we can get a single release, with only this change, ButtonComponent is currently our most used with OcticonComponent closely behind. Because of the linter I don't have to change all these instances in a single pr, but I do need to update erblint disable comments in all files using this components.

👋🏻 I'm closing this in favor of https://github.com/primer/view_components/pull/1325
The reason is, we want to use the Beta namespace for the Button update and instead deprecate the old component


File Error

Expected behavior
When i upload a file
Actual behavior
/*-------------------------------------

Dropzone Apex Plugin
Version: 1.9.2 (25.01.2015)
Author:  Daniel Hochleitner
*-------------------------------------
*/

I use this pluggin cause let me customize insert process on a table. I only change the filezise in the attributes region.
Install the pluggin
Change Filesize Default 2 Mb to 8 Mb (or any size biggest)
APEX version (4.2.6 / 5.0.3)
5.1
Used web server / version and platform (ORDS 3.0.3 / Tomcat 7 / Apache 2.4 / Linux x64)
Tomcat 8
Used web browser / version and platform (Chrome 48 Mac / Firefox 44 Windows)
Safari, Chrome, Mozilla
Please can you help me?

Do you use "Normal" or "Chunked" upload method?
It seems that you are hitting the maxPostSize limit of tomcat web server...
Just change it to chunked and try again! Then the file is split into 1MB pieces and you won´t hit any web server limits...

Hi Dani3l
I can't find the "Buy me a beer" button in
https://github.com/Dani3lSun/apex-plugin-dropzone
Best Regards
PD. I need to learn how to do plugins if you can give me a clue a very
appreciate
On Wed, Apr 18, 2018 at 11:46 AM Daniel Hochleitner <
<EMAIL_ADDRESS>wrote:

Do you use "Normal" or "Chunked" upload method?
It seems that you are hitting the maxPostSize limit of tomcat web server...
Just change it to chunked and try again! Then the file is split into 1MB
pieces and you won´t hit any web server limits...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Dani3lSun/apex-plugin-dropzone/issues/47#issuecomment-382489841,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATzM34HDjQMNte41-d4QaECrxGojIBkvks5tp4oFgaJpZM4Tahu_
.

--
***** ----- ***** ----- ***** ----- ***** ----- *****
M. T. I. Carlos Garduño Muñoz
***** ----- ***** ----- ***** ----- ***** ----- *****

Click "Donation" on https://apex.world/ords/f?p=100:710:::::P710_PLG_ID:DE.DANIELH.DROPZONE


more logs

want to know the details of what happens here: https://github.com/palomachain/paloma/blob/master/x/evm/keeper/keeper.go#L337
constsructor input here https://github.com/palomachain/pigeon/blob/master/chain/evm/deploy_contract.go#L93
add this right after this line https://github.com/palomachain/paloma/blob/master/x/evm/keeper/keeper.go#L225` and ensure  that it gets captured in the logs (see https://discord.com/channels/987730379182051408/1014759589150998588/1055256425561067590)

vals, err := contractABI.Constructor.Inputs.Unpack(input)
fmt.Printf("[deploySmartContractToChain] UNPACK ERR: %v\n", err)
fmt.Printf("[deploySmartContractToChain] UNPACK ARGS: %+v\n", vals)

https://github.com/palomachain/pigeon/pull/78
https://github.com/palomachain/paloma/pull/592


Modify News Flash API to return source in a different way

Let's have this in 2 stages:
Stage 1:

[x]  In News Flash API return the following mapping (on the left - data in the DB, on the right, the returned data):
walla -> וואלה
twitter -> מד״א
ynet -> ynet

Stage 2:

[x] Add an "organization" column in news flash table, called organization, make sure that column is filled when a new news-flash is inserted to the news_flash table.
[ ] Write a code that add fill this column for the existing data in the news_flash db table.

#1425

@karzmei can you take this?


No longer working

Regular Youtube, Firefox, Windows 10, pause prompt between videos is appearing again. It looks as if Youtube's software upgrades to empower their monopoly are working. Ad blockers are failing, too. Time to give up on Youtube and just go watch Vimeo.

I forked this project at https://github.com/JohnyP36/YT-Nonstop and made it working again. (Install at https://addons.mozilla.org/en-US/firefox/addon/ytnonstop/)

Or look at https://github.com/Nomes77/YT-Nonstop.
AMO: https://addons.mozilla.org/en-US/firefox/addon/yt-nonstop/
Microsoft Edge Store: https://microsoftedge.microsoft.com/addons/detail/youtube-nonstop/ddobgngkifgapahlheghhckckkcgpikf


Anomaly on application_start duration

Describe what happened
We have over 1k sessions with application_start duration of over 1 hour. But the user behavior seems normal. Is it a known bug for dd-sdk-flutter on Android OS?  Is there a way to fix it?
Steps to reproduce the issue:
Search actions using this query
@action.type:application_start @session.type:user env:release @os.name:Android

User behavior seems fine even with the 2-hour-long startup time:

Describe what you expected:
application_start working normally, without anomaly of duration > 1 hour
Additional context

Flutter version: 3.7.12
Android: across all versions

Hi @fahmisdk6, thanks for reporting.
This looks related to https://github.com/DataDog/dd-sdk-android/issues/1765
What version of the Datadog SDK are you using?

ah we are still using v1.6.2. we'll update to v2.x then

Be aware this may not fix the issue, we're still investigating.
To help us, can you let us know if your app does any background work?

Yes we are aware, thanks.
No our app does not have any background work

Hi @fahmisdk6,
Are you still seeing this issue?

Yes @fuzzybinary, unfortunately upgrading the dd version does not solve it.

Okay, thanks for letting us know.  We'll continue to look into it.
Is there anything you can tell us about your setup that might be unusual?


Split birth city & country into two questions [LEI-244]

Refs: https://openscience.atlassian.net/browse/LEI-244

Make birth city & country two questions
Update showOptional computed to track the optional question that is now at questions[9]

This one really doesn't need much review; in it goes!


How to perform a click button with scrapy-selenium?

Hello, i want to make some actions after getting response from page like clicking, hovering scrolling etc..

Requests have an additional meta key, named driver containing the selenium driver with the request processed.
You can perform those actions with it like:
class WhateverSpider(scrapy.Spider):
	def start_requests(self):
		urls = ['www.google.com']
		for url in urls:
			yield SeleniumRequest(
				url = url,
				callback = self.parse,
				wait_time = 10)

	def parse(self, response):
		driver = response.request.meta['driver']
		# Do some stuff..
		# Click a button.
		button = driver.get_element_by_xpath( '//*[@id="clickable-button-foo"]')
		button.click()
		# Do more stuff

Requests have an additional meta key, named driver containing the selenium driver with the request processed.
You can perform those actions with it like:
class WhateverSpider(scrapy.Spider):
	def start_requests(self):
		urls = ['www.google.com']
		for url in urls:
			yield SeleniumRequest(
				url = url,
				callback = self.parse,
				wait_time = 10)

	def parse(self, response):
		driver = response.request.meta['driver']
		# Do some stuff..
		# Click a button.
		button = driver.get_element_by_xpath( '//*[@id="clickable-button-foo"]')
		button.click()
		# Do more stuff

Requests have an additional meta key, named driver containing the selenium driver with the request processed.
You can perform those actions with it like:
class WhateverSpider(scrapy.Spider):
	def start_requests(self):
		urls = ['www.google.com']
		for url in urls:
			yield SeleniumRequest(
				url = url,
				callback = self.parse,
				wait_time = 10)

	def parse(self, response):
		driver = response.request.meta['driver']
		# Do some stuff..
		# Click a button.
		button = driver.get_element_by_xpath( '//*[@id="clickable-button-foo"]')
		button.click()
		# Do more stuff

Hello, I think your solution solved part of the problem. However, there is still a problem with this snippet of code since downloading requests and parsing responses are asynchronous in scrapy. Thus, it is possible that scrapy invoked
driver.get(another_url)
in the middleware's process_request method before scrapy reaching the line:
driver.get_element_by_xpath( '//*[@id="clickable-button-foo"]')
which means at the time scrapy reached that line, the page source may have been changed.

This will case some problem, while the code are asynchronous.
But there is another solution.
You could use the request option wait_until to perform some action like this:
def some_action(driver):
    if wait_until_conditions:
        driver.find_element(By.CLASS_NAME, '.klass')
        ……
       return True

SeleniumRequest(
            url='http://xxx.ofg',
            wait_until=some_action
        )

# if you forget to return True in wait_unitl callback, This code would run again and again.

Hello, i want to make some actions after getting response from page like clicking, hovering scrolling etc..

I have the same requirement.
you can check this repo before the pull request accepted.

Requests have an additional meta key, named driver containing the selenium driver with the request processed.
You can perform those actions with it like:
class WhateverSpider(scrapy.Spider):
	def start_requests(self):
		urls = ['www.google.com']
		for url in urls:
			yield SeleniumRequest(
				url = url,
				callback = self.parse,
				wait_time = 10)

	def parse(self, response):
		driver = response.request.meta['driver']
		# Do some stuff..
		# Click a button.
		button = driver.get_element_by_xpath( '//*[@id="clickable-button-foo"]')
		button.click()
		# Do more stuff

Hello, I think your solution solved part of the problem. However, there is still a problem with this snippet of code since downloading requests and parsing responses are asynchronous in scrapy. Thus, it is possible that scrapy invoked
driver.get(another_url)
in the middleware's process_request method before scrapy reaching the line:
driver.get_element_by_xpath( '//*[@id="clickable-button-foo"]')
which means at the time scrapy reached that line, the page source may have been changed.

You are right. There is only one drive. So response.request.meta['driver'] is dealing with the current url which is different from response.url. See #22
Any solution to this?

get_element_by_xpath change to find_element_by_xpath


[android] m jsservice register && jsservice options

modify register jsservice options type to Object, thus can pass whatever type params
modify jsservice script to support js object
add method getService

take care of that  Changing the  parameter type of public Api  may cause problem of compatibility


make: *** [build] Error 1 Sailfish

Trying to build image for Pixel XL per instructions in Readme.md files.  First attempt to build ended  with the first error.  Second attempt ended up with with the second error.  The second error seems related to possibly signing error but I am pretty sure I entered the right password when prompted.  Any thing else I should try?
Commands Issued
make DEVICE=sailfish keys
make DEVICE=sailfish clean build release
First Error
ERROR at //third_party/libaom/options.gni:5:24: Undefined identifier   enable_av1_decoder = checkout_libaom && !is_android && !is_ios &&                        ^-------------- See //media/filters/BUILD.gn:7:1: whence it was imported. import("//third_party/libaom/options.gni") ^---------------------------------------- See //media/media_options.gni:22:3: which caused the file to be included.   "//media/filters",   ^---------------- Makefile:49: recipe for target 'build' failed make: *** [build] Error 1
Second Error
ERROR: signapk.jar failed: return code 1 Makefile:80: recipe for target 'release' failed make: *** [release] Error 1

Got some patches up that resolved this issue for me. Also added manifest files to repo to make sure everyone is building the -exact- same thing.
Closing for now but feel free to re-open if you have this issue again.

Getting the following error, seems the string /opt/android/manifests is getting picked up as a git repository.
~/os$ make DEVICE=marlin keys
docker run
-it
-h "android"
-v android:/home/build
-v /home/elproducto/os:/opt/android
hashbang/os bash -c "fetch"
Get /opt/android/manifests
fatal: '/opt/android/manifests' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: '/opt/android/manifests' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: cannot obtain manifest /opt/android/manifests
Makefile:28: recipe for target 'fetch' failed
make: *** [fetch] Error 1


Pattern rendering on studio classic 3.5.0

For a layer with a .png image as a pattern and agg-stack-blur applied, pattern is not rendered, and the polygon color is darker.
In 3.5.0 water-polygon looks like this, carto-css on right:

in studio classic 3.3.0:

@xrwang you found a great bug here - it looks like the mix(color1, color2, weight) has been flipped from its previous functionality, now you get weight amount of color 2 rather than weight amount of color 1. Going to solve this in the next studio release.


Broken link in release v1.5.1 changelog

In the changelog release note here https://github.com/icub-tech-iit/ipts/releases/tag/v1.5.1 we have an error in the link to the IPTS-Setup.exe.
Link need to be fixed otherwise user cannot download the correct executable since it is currently unreachable.
The correct link should be at: https://github.com/icub-tech-iit/ipts/blob/master/ipts-test-suite/iCubProductionTestSuite/Output/IPTS-Setup.exe
cc: @valegagge
Thanks to @AntonioAzocar for the heads up

Solved by editing Release  v1.5.0 changelog message.


Remove unnecessary dependencies

With https://github.com/tecton-ai/tecton-http-client-java/pull/85 merged, we no longer need to specify okhttp3 (or gson for that matter) as a dependency. We would still have to include it for locally-built JARs and older versions, but that's addressed by the client library repo's README.

#19  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @zack13532 and the rest of your teammates on  Graphite

Merge activity

Oct 16, 4:35 PM EDT: A user merged this pull request with Graphite.


Error when adding discovery job(s) if there are over 500 existing discovery jobs

Prerequisites

[X] Have you tested the operation in the API directly?
[X] Do you have the latest Terraform provider version?
[X] Review the compatibility matrix before opening an issue.

Describe the bug
The dnacenter_discovery resource does a dnacenter_discovery_count before adding discovery jobs. It then uses the value returned to get all the discovery jobs using dnacenter_discovery_range. The problem is that dnacenter_discovery_range can only accept up to 500 discovery jobs as the range. If the dnacenter_discovery_count returns more than 500 discovery jobs the dnacenter_discovery fails.
Expected behavior
The dnacenter_discovery resource shouldn't be dependent on limitations of the dnacenter_discovery_range resource.
Screenshots
--
364 | GET  /dna/intent/api/v1/discovery/count  HTTP/1.1
365 | HOST   :
366 | HEADERS:
367 | Accept: application/json
368 | Content-Type: application/json
369 | User-Agent: go-resty/2.7.0 (https://github.com/go-resty/resty)
370 | X-Auth-Token:
371 | BODY   :
372 | ***** NO CONTENT *****
373 | ------------------------------------------------------------------------------
374 | ~~~ RESPONSE ~~~
375 | STATUS       : 200
376 | PROTO        : HTTP/1.1
377 | RECEIVED AT  : 2024-05-09T21:46:58.11714584Z
378 | TIME DURATION: 68.336514ms
379 | HEADERS      :
380 | Access-Control-Allow-Origin:
381 | Cache-Control: no-store
382 | Connection: keep-alive
383 | Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' blob: data:
384 | Content-Type: application/json;charset=UTF-8
385 | Date: Thu, 09 May 2024 21:46:58 GMT
386 | Pragma: no-cache
387 | Set-Cookie: JSESSIONID=22ACFDFB66C21CB21FB8B1CBB165A08B; Path=/apic-em-inventory-manager-service; HttpOnly; Secure; HttpOnly; SameSite=Strict
388 | Strict-Transport-Security: max-age=31536000; includeSubDomains
389 | Vary: Origin
390 | Via: api-gateway
391 | X-Content-Type-Options: nosniff
392 | X-Correlation-Id: 8aec7b6f-cd41-42ba-94cf-9fb01e46337c
393 | X-Frame-Options: SAMEORIGIN
394 | X-Xss-Protection: 1
395 | BODY         :
396 | {
397 | "response": 509,
398 | "version": "1.0"
399 | }

~~~ REQUEST ~~~
--
404 | GET  /dna/intent/api/v1/discovery/1/509  HTTP/1.1
405 | HOST   :
406 | HEADERS:
407 | Accept: application/json
408 | Content-Type: application/json
409 | User-Agent: go-resty/2.7.0 (https://github.com/go-resty/resty)
410 | X-Auth-Token:
411 | BODY   :
412 | ***** NO CONTENT *****
413 | ------------------------------------------------------------------------------
414 | ~~~ RESPONSE ~~~
415 | STATUS       : 400
416 | PROTO        : HTTP/1.1
417 | RECEIVED AT  : 2024-05-09T21:46:58.201092033Z
418 | TIME DURATION: 83.819848ms
419 | HEADERS      :
420 | Access-Control-Allow-Origin:
421 | Cache-Control: no-store
422 | Connection: keep-alive
423 | Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' blob: data:
424 | Content-Type: application/json;charset=UTF-8
425 | Date: Thu, 09 May 2024 21:46:58 GMT
426 | Pragma: no-cache
427 | Set-Cookie: JSESSIONID=D557BAF4713D00218F5551AE04032A4A; Path=/apic-em-inventory-manager-service; HttpOnly; Secure; HttpOnly; SameSite=Strict
428 | Strict-Transport-Security: max-age=31536000; includeSubDomains
429 | Vary: Origin
430 | Via: api-gateway
431 | X-Content-Type-Options: nosniff
432 | X-Correlation-Id: 046e56da-fd4b-4215-a555-2cd8bd7debed
433 | X-Frame-Options: SAMEORIGIN
434 | X-Xss-Protection: 1
435 | BODY         :
436 | {
437 | "response": {
438 | "errorCode": "Bad request",
439 | "message": "Invalid input request",
440 | "detail": "Invalid records to return / Invalid records to delete. Records to return value should be 1 to 500"
441 | },
442 | "version": "1.0"
443 | }

Error: Failure when setting GetDiscovery search response
--
636 | │
637 | │   with dnacenter_discovery.global["switch1"],
638 | │   on discovery.tf line 54, in resource "dnacenter_discovery" "global":
639 | │   54: resource "dnacenter_discovery" "global" {
640 | │
641 | │ error with operation GetDiscoveriesByRange
642 | ╵
643 | ╷
644 | │ Error: Failure when setting GetDiscovery search response
645 | │
646 | │   with dnacenter_discovery.global["switch2"],
647 | │   on discovery.tf line 54, in resource "dnacenter_discovery" "global":
648 | │   54: resource "dnacenter_discovery" "global" {
649 | │
650 | │ error with operation GetDiscoveriesByRange
651 | ╵
652 | ╷
653 | │ Error: Failure when setting GetDiscovery search response
654 | │
655 | │   with dnacenter_discovery.global["switch3"],
656 | │   on discovery.tf line 54, in resource "dnacenter_discovery" "global":
657 | │   54: resource "dnacenter_discovery" "global" {
658 | │
659 | │ error with operation GetDiscoveriesByRange

**Environment (please complete the following information):**
* Cisco DNA Center version and patch: <IP_ADDRESS>-70026
* Terraform version: 1.7.2
* Cisco DNA Center provider version: 1.1.31-beta
* OS Version: hashicorp/terraform:latest

**Additional context**
Add any other context about the problem here.

Hi @jschingen
Version 1.1.33-beta has been released. Please test with this new version.
I will close the issue for now. If the problem persists, feel free to reopen the issue.
Best regards


Add regex benchmarker

Simple benchmarking setup reusing the timing code from swift-collections-benchmark

It may make sense to move the benchmark target out of the top-level package and into a hidden sub-package in a subdirectory, like with swift-collections.
This will let you be more flexible about bringing in extra dependencies for benchmarking without burdening the top-level package with them.
Granted, this isn't a package that is designed to be a dependency of anything else, so it may not matter that much!


API: Allow overriding which block TOP displays

In my mod, Facade Everything, there's a Facade block which has a base block and a facade block for each side. I'd like to be able to modify which block TOP shows based on the side hit using the API, and as far as I can tell, this isn't currently possible.
Here's an example of what I want to do, but with Waila: https://twitter.com/ShadowfactsDev/status/834142899637993472
As you can see, the block that Waila displays changes depending on which side of the Facade block the player's looking at.

The latest version of TOP actually has a very new API for this:
https://github.com/McJty/TheOneProbe/blob/1.11/src/main/java/mcjty/theoneprobe/api/IBlockDisplayOverride.java
With that you should be able to do this as the side at which you are looking at the block is given in the 'data' parameter. Let me know if that is sufficient for you

Ah, I didn't see that. I'll try to use that later.

That worked perfectly, thanks!


How to use DSP-accelerated multiplication

The README.md states that this supports "multiplication using FPGA DSP blocks", however the given examples appear to generate MulPlugin and MulDivIterativePlugins.
Should these be using special plugins, or is their DSP-acceleration inferred some other way?

MulPlugin  is implemented that way :
https://github.com/SpinalHDL/VexRiscv/blob/master/src/main/scala/vexriscv/plugin/MulPlugin.scala#L74
Which infer 4 partial multiplication to execute a 32 bits multiplication.
The two synthesis tools used for the context were able to pick it up as DSP blocks. Probably not in the most optimal manner, but at least a portable one.
I don't know if yosys is happy with it.
There is no explicit DSP block implementation for  MUL instruction done  in VexRiscv yet.

The issue is that yosys doesn't yet properly infer the MUL16 blocks.  There's an open issue on this.  Once that happens it'll naturally support DSP-accelerated multiplication.


app doesn't behave like a SSR app

Describe the bug
Hi guys, here is the problem that bothers me few days, I have no idea why my sveltekit app doesn't behave like a SSR app.
When I run my app on dev mode or deploy it on vercel, there're not render anythings that I build (contents of %svelte.head% & %svelte.body%) in the source page, but those things just show normally on my page ... and I pretty sure all of my libraries are up to date. So I think it's a bit weird.
Because of this, crawlers on social networking sites or search engines may not be able to obtain the correct content from my website.
content from source page:

some stuff in src/routes/index.svelte:

  ...

  ...

  ...

  ...

Reproduction
reproducible repo: https://github.com/shihjyun/dd-story-hub
vercel app: https://www.ddstoryhub.com/
Logs
No response
System Info
System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 120.19 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.6.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 7.19.1 - /usr/local/bin/npm
  Browsers:
    Chrome: 92.0.4515.107
    Firefox: 90.0.1
    Safari: 14.1.1
  npmPackages:
    @sveltejs/adapter-vercel: next => 1.0.0-next.27
    @sveltejs/kit: next => 1.0.0-next.140
    svelte: ^3.38.0 => 3.41.0

Severity
annoyance
Additional Information

I found that some meta tags that I add in <svelte:head> in src/routes/index.svelte show up within the _app/pages/index.svelte-cd04194d.js(the link I provided above), maybe those tags get render after this script is been run.
there is the same problem with another adapter(adapter node)

My guess would be that this line returns false on the server?
https://github.com/shihjyun/dd-story-hub/blob/edae0f00d553d8caf303acce3222d7def045eae8/src/routes/__layout.svelte#L39

thank you very much! That's the problem, I will find other ways to achieve the feature I want.


Changing color on the editor theme sometimes crashes

Godot version
v4.0.beta2
System information
Linux
Issue description
I change one of the color options on the current editor theme which is the stock theme, works sometimes, sometimes produces a crash
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta2.official (f8745f2f71c79972df66f17a3da75f6e328bc55d)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f49916d0090] (??:0)
-- END OF BACKTRACE --
================================================================

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta2.official (f8745f2f71c79972df66f17a3da75f6e328bc55d)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7ff3853dc090] (??:0)
[2] /lib/x86_64-linux-gnu/libpthread.so.0(pthread_mutex_lock+0x4) [0x7ff3856eafc4] (??:0)
[3] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x28d1e4c] (??:0)
[4] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x291a531] (??:0)
[5] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x295a47b] (??:0)
[6] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x295dd6c] (??:0)
[7] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x295e423] (??:0)
[8] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x29412c7] (??:0)
[9] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0xe08004] (??:0)
[10] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x3ff844e] (??:0)
[11] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0x3ff92c5] (??:0)
[12] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0xe09fa9] (??:0)
[13] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0xd8b2e8] (??:0)
[14] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7ff3853bd083] (??:0)
[15] /home/efrfred/Desktop/Godot_v4.0-beta2_linux.x86_64() [0xdac6ee] (??:0)
-- END OF BACKTRACE --
================================================================

Steps to reproduce
Don't know how to reproduce, sometimes is fails sometimes it works
Seems to happen more often if the project is bigger or if I have multiple instances but I am not sure.
Running Ubuntu with this kernel:
 5.15.0-48-generic
libc:
libc6:amd64            2.31-0ubuntu9.9   # GNU C Library: Shared libraries
linux-libc-dev:amd64   5.4.0-126.142     # Linux Kernel Headers for development

Minimal reproduction project
No response

Duplicate of #59798. This should be fixed in 4.0 beta 3 :)


feat(kibbeh): redesign and implement new staff and contributor badges

Implements the newly redesigned staff and (evolving) contributor badges.

These look great

I really like the way these look!


What does calling destroy on Session do?

Reading the code i couldn't figure out what calling Session::destroy really does. The documentation currently reads:

mark this session for destruction. the actual session record is not destroyed until the end of this response cycle.

From my quick reading of the code I didn't find find any location in the code where the destroy flag is read and the Session is actually destroyed.

https://github.com/http-rs/tide/blob/main/src/sessions/middleware.rs#L99-L108

Thank you for your response. That makes a lot of sense. I stubled over async-session in the example code of axum (https://github.com/tokio-rs/axum/blob/main/examples/sessions/src/main.rs) where only an incomplete implementation exists.


[DR-2213] Add Mixpanel events

Add events for interactables in the catalogue ui

@tcjiang9 There's been no activity on this PR for about a week now. Could you please close it if you're not planning on working on it soon.

@kyuksel was blocked from deploying by integration test failure, I thought I had addressed your comment, but I can move {filter} onto the same line

was blocked from deploying by integration test failure in dev, I thought I had addressed your comment, but I can move {filter} onto the same line

Thank you. Could you please also rebase your PR branch with the dev branch?


Unable to send translated text.

I want to send the translated text from the page at the URL below. I cannot send it and an error appears.
Student Quick Start Guide

Please fix the bug.

did you login your account to save the translation?

This should be fixed now.


Update the documentation for type_ctrl

In the current documentation the list of values for type_ctrl does not reflect the values as described in the calc_t_em_ls (or, as of #371 / #358) setpoint_correction_for_space_emission_systems). Especially T0 should not be described as a valid value. But we also need to check the remaining descriptions for T1 through T3.

@shanshanhsieh can you do this please?

The documentation of Building Properties in the Archetype section  is updated according to the current "Archetypes_properties.xlsx" spreadsheets now.
Except there are three properties that is described in the documentation but not in the Architecture spreadsheets.
They are : type_roof/type_wall/type_win. Are these properties currently in use, @JIMENOFONSECA ?

The  type_roof/type_wall/type_win are implemented for issue #375 .
The building properties section documentation is up to date.

yes, they will be used in once #381 be merged.
On 21 Oct 2016, at 5:49 pm, shanshanhsieh <notifications<EMAIL_ADDRESS>wrote:
The documentation of Building Properties in the Archetype section https://architecture-building-systems.gitbooks.io/cea-toolbox-for-arcgis-manual/content/building_properties.html is updated according to the current "Archetypes_properties.xlsx" spreadsheets now.
Except there are three properties that is described in the documentation but not in the Architecture spreadsheets.
They are : type_roof/type_wall/type_win. Are these properties currently in use, @JIMENOFONSECAhttps://github.com/JIMENOFONSECA ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/architecture-building-systems/CEAforArcGIS/issues/378#issuecomment-255340442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIjrgtJeVn0VJnaGAr5DHCgkQhE6f5UYks5q2IqygaJpZM4Kc8EC.


[BUG] setup.py error on python 2.7.x

Description
I came across below error by mistake when following instructions in
https://github.com/scikit-multiflow/scikit-multiflow/blob/master/CONTRIBUTING.md:
pip install -e .
Obtaining file:///home/nuwan/Desktop/scikit-multiflow
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/nuwan/Desktop/scikit-multiflow/setup.py", line 12, in <module>
        " Python version is {} installed in {}}.".format(platform.python_version(), sys.executable))
    ValueError: Single '}' encountered in format string

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /home/nuwan/Desktop/scikit-multiflow/

Removed the extra '}' at line 12, and the setup failed with the appropriate error:
pip install -e .
Obtaining file:///home/nuwan/Desktop/scikit-multiflow
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/nuwan/Desktop/scikit-multiflow/setup.py", line 12, in <module>
        " Python version is {} installed in {}.".format(platform.python_version(), sys.executable))
    RuntimeError: scikit-multiflow requires Python 3.5 or later. The current Python version is 2.7.17 installed in /usr/bin/python.

To Reproduce
run setup.py with python 2.7.x
Expected behavior
Early termination without script failure.
Screenshots
N/A
Additional context
N/A

Hi @nuwangunasekara. As described on the installation instructions, skmultiflow works with Python 3.5+ only. You can check that either on the following line of your error log:
RuntimeError: scikit-multiflow requires Python 3.5 or later. The current Python version is 2.7.17 installed in /usr/bin/python.
I suggest you change your current python setup for a newer version. If you are running a Linux distribution, you can simply change the python command to python3. This should make everything work as intended. You can find detailed information on installing skmultiflow in the documentation page.

Hi @smastelini,
Thanks for the reply!
It looks like the setup.py yields below syntax error if ones /usr/bin/python is linked to python 2.7 binary:
pip install -e .
Obtaining file:///home/nuwan/Desktop/scikit-multiflow
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/nuwan/Desktop/scikit-multiflow/setup.py", line 12, in <module>
        " Python version is {} installed in {}}.".format(platform.python_version(), sys.executable))
    ValueError: Single '}' encountered in format string

instead of the expected:
RuntimeError: scikit-multiflow requires Python 3.5 or later. The current Python version is 2.7.17 installed in /usr/bin/python.

error message.
I think this is a very minor issue. Just raised a ticket as I came across the same.

That is a fair point. A graceful termination is desirable.


fix: relace antd menu jsx elements children with items prop

see https://ant.design/components/menu/#Usage-upgrade-after-4.20.0
current console reports deprecation warning

Thanks!

The title prop of SubMenu and ItemGroup are no loger supported in the new items usage. Shoule replace title with label.

The english version of the antd doc is currently incorrect. It says SubMenuType supports title props but actually it doesn't.

Fixed by: https://github.com/vitejs/vite-plugin-react-pages/commit/3b4d8aeeb9fb2cc132cebb6f16bec85ef7fcf592


Change name Traffic island -> Traffic calming (island)

Hello.
I disagree with the name 'Traffic Island' as it does not include any reference to traffic_calming.  The tag traffic_calming should only be used only in places where the structure somehow makes the cars go slower - not every 'traffic island' does that.
https://wiki.openstreetmap.org/wiki/Key:traffic_calming
People are making mistakes due that name. Practical example of what issue this raises is that OsmAnd navigation has a feature to alert drivers of incoming traffic_calming nodes on their route.
Of course I'm open for any other name suggestion.

Thanks for bringing this up. It always bothered me that traffic islands were lumped under traffic_calming, since the effect is usually the opposite as you point out. If this tag is only meant for a subset of traffic islands that calm traffic, do you have any reference materials on this kind of device (such as traffic engineering manuals) that could inform our naming of the preset?
In the absence of an established term for these devices, I guess “Traffic Island Obstacle” would get the point across. I’d probably steer clear of a parenthetical, because translations of that might not capture the meaning in the way that you intend.
Also, do we know if the tag has already been skunked due to this misnomer? The traffic_calming=painted_island tag seems to suggest that some have viewed island as applying to all traffic islands, such as refuge islands, to the extent of putting other non-calming features under the same key.

do you have any reference materials
Sadly I don't, i live in non-English speaking country so I don't even know where I could find such thing. :)

since the effect is usually the opposite as you point out
Indeed, traffic islands whose sole purpose is to direct traffic to flow better do not slow down traffic, they do the opposite.
To calm the traffic usually the turn would be sharp. Example.

I think that for traffic islands that do not impose 'calming' effect area:highway=traffic_island should be used instead. Despite it's from an inactive proposal it still has almost 18k usages.

because translations of that might not capture the meaning in the way that you intend
Isn't what context informations should be used for?

But I'm still open in that regard, maybe just 'Traffic calming island' would se sufficient.

Oh good call, that seems to be what they’re called in the wild too.


future division not working for the debug console

Environment data

VS Code version: 1.32.3
Extension version (available under the Extensions sidebar): 2019.3.6139
OS and version: Ubuntu 18.04
Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.15rc1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: future

Expected behaviour
For file:
#! /usr/bin env python
from __future__ import division
a = 2 / 3
print(a)

Set a breakpoint at the last line and run, after pause, in the DEBUG CONSOLE, type a, should print 0.6666666666666666
type 2/3, should print 0.6666666666666666
Actual behaviour
2/3 prints 0
from __future__ import division didn't work for the debug console.
Steps to reproduce:
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)

Closing in favour of https://github.com/microsoft/ptvsd/issues/1275


Would be nice if it dropped privs / chrooted if running as root

I'm about to run Endlessh on port 22, for which I need to run it as root to be able to bind to it. While it doesn't read anything from the clients, so exploiting it would be quite a challenge, I'm still uneasy running things as root, long-term, if I can avoid it.
Would it be possible to drop privileges once bound to the port, if running as root? Perhaps even chroot into an empty dir too?
I can prepare a pull request for both, if the idea is acceptable to you.

I agree that this would be a good addition for users running a minimal linux.
This specific use-case however can also be solved with capabilities.
For example using systemd, you can add the following to your service file:
User=nobody
Group=nobody
AmbientCapabilities=CAP_NET_BIND_SERVICE

You will have to set PrivateUsers to false in case you're using the included systemd service file. That's the tradeoff. There are a lot more isolation shenanigans you can do with systemd though.

I had looked into dropping privileges, but it seemed messy and not worth
it so I dropped the idea. As @ml- pointed out, today there are better
ways for systems to impose the policy they want on services.
However, if it's pretty straightforward I'll accept a PR to do it. I
imagine it being a new configuration option that indicates the final
user and group (separate options for each?). This option should default
to null/empty/disabled/etc. so it only happens when requested.

Truth be told, I am using systemd, but completely forgot about it being able to do the privdrop for me. As such, I'll be using that instead of implementing it for Endlessh. Thanks for the instructions!
Closing this issue, 'cos there are better ways to accomplish the same thing.


Update logger and tracer

Add traceLogger
Support a logger to be used in tracing middleware

Log to file, Loglevel=trace

Add an API to test tracing

/approve


build!: upgrade all packages + root to latest Hardhat version and ethers v6

What does this PR introduce?

PR Checklist

[ ] Wrote Tests
[ ] Wrote & Generated Documentation (readme/natspec/dodoc)
[ ] Ran npm run lint && npm run lint:solidity (solhint)
[ ] Ran npm run format (prettier)
[ ] Ran npm run build
[ ] Ran npm run test

Referencing this issue on Hardhat for the blocker on LSP17 Extensions contracts tests and the Create2Factory not deploying: https://github.com/NomicFoundation/hardhat/issues/4939


Enable parallel flowgraph

Putting this up as a draft as I still need to add some tests.
closes #1155

I still need to add some tests.

I've noodled on this a little and I'm not coming up with useful system tests for this on top of the existing unit tests for the individual components involved (AST parallization; orderedMerge; parallel sources). Maybe just rounding out the zar zq coverage in ztests. Suggestions welcome. I hope my record will show that I am not averse to test-writing 🙂

Brim integration test passed here https://github.com/brimsec/brim/pull/1023 with the exception of one pcapng ingest test which appears unrelated.


I am having an issue trying to get this bot online

I'm not quite sure where I enter my bots token ID to make it appear online on my discord server. I read the instructions and itt said I need to create/edit a .env file. I'm not sure how to do that, any help would be greatly appreciated!

I tried adding a secret in replit Called "TOKEN" with my token id as the value. Also, I tried to add TOKEN: to the config.json file and I am getting this error message. Any help would be greatly appreciated!


[Bug] Android build fails if Kotlin files included in project

[REQUIRED] Please fill in the following fields:

Unity editor version: 2021.3.29f1
Firebase Unity SDK version: 11.4.0
Source you installed the SDK: Unity Package Manager
Problematic Firebase Component: Base App
Other Firebase Components in use: NA
Additional SDKs you are using: A single .kt file
Platform you are using the Unity editor on: Mac
Platform you are targeting: Android
Scripting Runtime: IL2CPP
Pre-built SDK from the website or open-source from this repo: pre-built

[REQUIRED] Please describe the issue here:
If any kotlin files are included in the Unity project the generated gradle project fails to build with incompatible Kotlin metadata issues.
Example project containing a single empty kotlin class attached:
FirebaseBuildError.zip
Produces the following errors when built for Android:
e: /Users/allanbush/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation/1.5.0/857678d6b4ca7b28571ef7935c668bdb57e15027/annotation-1.5.0.jar!/META-INF/annotation.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.2.
e: /Users/allanbush/.gradle/caches/transforms-2/files-2.1/3bace5d5f9a6e271a107a0b9ac931c14/jetified-kotlin-stdlib-1.7.10.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.2.
e: /Users/allanbush/.gradle/caches/transforms-2/files-2.1/7d85e3ac41f13fcbd1d0187ffb3f07f1/jetified-kotlin-stdlib-common-1.7.10.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.7.1, expected version is 1.4.2.

Full log: Editor.log.zip
Removing either the NativeCode directory or the com.google.firebase.app entry from the package manifest resolves the issue and the build works as expected.  But having both of these together results in the build failure.
This issue was not observed with version 9.6.0 of the firebase libraries.
Steps to reproduce:

Unzip the attached project
Replace the 0 byte files in the GooglePackages folder with the proper files: https://dl.google.com/games/registry/unity/com.google.firebase.app/com.google.firebase.app-11.4.0.tgz and https://dl.google.com/games/registry/unity/com.google.external-dependency-manager/com.google.external-dependency-manager-1.2.177.tgz
Open the project, targeting an Android build
Resolve the external dependencies: Assets->External Dependency Manager->Android Resolver->Resolve
Build and run

The problem is mostly with dependencies. Some of the dependencies for Firebase seem to depend on Kotlin 1.7.1, but when a Kotlin file is included in Unity, it adds a dependency on Kotlin 1.4.2 in Unity 2021.  If you use a custom mainTemplate.gradle file, you can adjust it to use a newer version of the Kotlin plugin, but that might also require changes to the gradle version being used.
From testing, another possibility is to update to Unity 2023.  That seems to use Kotlin 1.7.2, which is compatible with the dependencies needed by Firebase.  You might still need to set it to use a mainTemplate.gradle, since it might be confused between 1.7.1 and 1.7.2, but you don't actually need to change the file, just having it present is enough to resolve it.

Is there any chance for a LTS version of the Firebase Unity SDK that gets maintenance updates or work with LTS versions of Unity?
We only just found Unity 2022 stable enough to upgrade our project and Unity 2023 isn't scheduled to be "stable" until "late 2024".  Having to run unsupported versions of the firebase libraries until than doesn't seem viable.
I've already run into an issue with phone authentication triggering a captcha because I can't register my app for the deprecated SafetyNet api and the 10.3 version of firebase auth doesn't support Play Integrity.

I was able to get this working by overriding the base gradle template and adding:
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false

It's a little concerning making a change like this, but so far there doesn't appear to be any knock-ons with the rest of the project.


Update import-order-cleanup.py

Which problem is this PR solving?

Short description of the changes

I'm closing this with the same reasoning as #1.


Dark themed table filters

Status quo
It looks like the DARK theme selection in the user settings do not affect the style of the table filters. A light gray would fit in here nicely, I guess.

Improvement
Check the dark theme for table filter sections.

We should remove the current theme feature

we will remove this feature. see #50


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Fails to install.
Steps to reproduce
Run winget install KDE.Okular.
Actual behavior
Found Okular [KDE.Okular] Version 23.08.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://binary-factory.kde.org/view/Windows%2064-bit/job/Okular_Release_win64/1528/artifact/okular-23.08.1-1528-windows-cl-msvc2019-x86_64.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190193 : Forbidden (403).

Expected behavior
The package installs successfully.
Environment
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2361
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs
No response

It look like I can't find your installers in download.kde.org

Yes. It seems like that is the issue but I don't know how to solve that.

I will still using the link as above but the link will broke frequently in https://binary-factory.kde.org/. In the download,kde.org, the link will not broke it easily. Also, I just now identified the newest update on KDE.KdenLive because it is in download.kde.org

What is the status of this?

Completely broken. Microsoft does not check links for problems, neither it seems they are reported. Issues are ignored or half-fixed.
See for instance #133937, which supposedly was fixed.

14:51:19 D:\Repository 3ms pwsh> winget search -e KDE.Okular
名称   ID         版本    源
---------------------------------
Okular KDE.Okular 23.08.4 winget

14:51:27 D:\Repository 1.253s pwsh> winget download -e KDE.Okular
已找到 Okular [KDE.Okular] 版本 23.08.4
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责，也不向第三方程序包授予任何许可证。
正在下载 https://binary-factory.kde.org/view/Windows%2064-bit/job/Okular_Release_win64/1649/artifact/okular-23.08.4-1649-windows-cl-msvc2019-x86_64.exe
执行此命令时发生意外错误：
Download request status is not success.
0x80190193 : �ѽ�ֹ(403)��

From the download center, developers of this package recommends installing via Microsoft Store, or via msstore source with winget.exe.
15:01:40 D:\Repository 2ms pwsh> winget search -s msstore -e 9N41MSQ1WNM8
名称   ID           版本
---------------------------
Okular 9N41MSQ1WNM8 Unknown
15:01:53 D:\Repository 1.469s pwsh> winget show -s msstore -e 9N41MSQ1WNM8
已找到 Okular [9N41MSQ1WNM8]
版本: Unknown
发布者: KDE e.V.
发布服务器 URL: https://okular.kde.org/
描述: Okular is a universal document viewer developed by KDE. Okular works on multiple platforms, including but not limited to Linux, Windows, Mac OS X, *BSD, etc.
许可证: ms-windows-store://pdp/?ProductId=9N41MSQ1WNM8
隐私 URL: https://kde.org/privacypolicy-apps.php
协议：
Category: Productivity
Pricing: Free
Free Trial: No
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning: https://aka.ms/microsoft-store-seizure-warning
Store License Terms: https://aka.ms/microsoft-store-license

安装：
  安装程序类型： msstore
  应用商店产品 ID： 9N41MSQ1WNM8

For those who unable to use Microsoft Store, they only provides stable or experimental nightly builds on their Jenkins server.

@BrandonWanHuanSheng @bfcns - Shall we guide users to 9N41MSQ1WNM8 instead of KDE.Okular?

Ok


Connection status from generic-ble node

Hello,
I have an Arduino Nicla Sense ME (BLE) as are connected to node-red-contrib-generic-ble.
When connected all the sensor data values collected from the bluetooth low energy node then going further through MQTT node to an HTML webpage.
I'm wondering is there possibility to get the connection status from the contrib-generic-ble node over MQTT to see the status when the device is connected/disconnected/missing/error on the HTML webpage?

Best Regards.
Nylund

solved with an status node :)


Capital City Report by world

Write an SQL query and Java function to return such information:
"All the capital cities in the world organised by largest population to smallest."
The query should return such information:
Name
Country
Population

As a user, I want to generate a report on all Capital Cities in the world specified by me, organized by their population in descending order so that I can quickly view the cities population distribution.


Update composer.json

Replace rabbitmq-management-api with a packagist source
Basically this is just a direct copy of the work @andrewmy did! This change is done for all the same reasons the comment here explains, "_A year has passed since https://github.com/richardfullmer/php-rabbitmq-management-api/pull/11 — time to move on and stop using the fork as a custom repo.
This will make all the builds quicker, race-condition free, and avoid the weirdness of using a source repo in a widely used package._"
https://github.com/php-enqueue/enqueue-dev/pull/1238

@oreillysean good catch, when doing #1238 I forgot to update the sub-package itself. Please PR this to enqueue-dev repo, this one is a read-only split.

@andrewmy thanks I see now the big READ ONLY message on this repo, I'll redo this in the correct place


Prediction

Is it possible to use brainjs to predict the result?
Data:
4,7,9
6,9,10
10,8,7
Return predict result.
Like: https://jsfiddle.net/9t2787k5/4/

Would you please elaborate your data sample, separated as inputs and outputs expected?

@lmktommy  - did you look at the LSTM architecture in the docs ...? That's the first thing that comes to mind when I read this.

Also, I think this might work for you: https://github.com/BrainJS/brain.js/issues/192

Sorry I've been so busy, yes this can be done with the TimeStep neural network.  I'll see if I can get an example up before the end of the day.

Working: https://jsfiddle.net/qvvdrvct/

const net = new brain.recurrent.LSTMTimeStep({
  inputSize: 1,
  hiddenLayers: [20, 5, 1],
	outputSize: 1
});

const trainingData = [
  [4,7,9],
  [6,9,10],
  [10,8,7]
];

const results = net.train(trainingData, { log: true });

 // NOTE: Actual results
console.log(results); // {error: 0.0042235056559244795, iterations: 3586}

console.log(net.run([4,7])); // 8.998400688171387
console.log(net.run([6,9])); // 9.994184494018555
console.log(net.run([10,8])); // 6.999631404876709

Thank you for your explanation. I will try it soon.
On Tue, 15 May 2018 at 20:59, Robert Plummer<EMAIL_ADDRESS>wrote:

const net = new brain.recurrent.LSTMTimeStep({
inputSize: 1,
hiddenLayers: [20, 5, 1],
outputSize: 1
});
const trainingData = [
[4,7,9],
[6,9,10],
[10,8,7]
];
const results = net.train(trainingData, { log: true });
// NOTE: Actual resultsconsole.log(results); // {error: 0.0042235056559244795, iterations: 3586}
console.log(net.run([4,7])); // 8.998400688171387console.log(net.run([6,9])); // 9.994184494018555console.log(net.run([10,8])); // 6.999631404876709
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BrainJS/brain.js/issues/204#issuecomment-389157347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHlkG-rpK1zzKqnelX0MNpX0dR4vKg3iks5tytE5gaJpZM4TtjaM
.

--
Regards, Tommy Liu Sent from iPhone

With that limited amount of data, it might but you'll likely get overfitting.  However, if you had hundreds or thousands of dice, then it'd have little issue picking them out.

I want to point out too, the above api is really a preview of things to come for v2, things will get a whole lot smarter and more interesting when it is released.

Closing because we have a solution.

Now supported with TimeStep neural networks via the run method (https://github.com/BrainJS/brain.js#runinput---prediction) and even further via the forecast method (https://github.com/BrainJS/brain.js#forecastinput-count---predictions).
Ty guys!


Add vertical scroll on Footer menu

Fixes https://github.com/rtfd/readthedocs.org/issues/4496
Result:

When there are too many versions and translations

When there are limited versions and translations

Do you have a sphinx project we can use to test this?

Just a comment.
I think there is only one difference with the current behavior (but not sure if it's browser dependent): in current versions of documentation with alabaster theme the vertical does not appear when scroll is not needed and in the GIF uploaded to this pull request, it does appear even when there is nothing to scroll.

I think there is only one difference with the current behavior (but not sure if it's browser dependent): in current versions of documentation with alabaster theme the vertical does not appear when scroll is not needed and in the GIF uploaded to this pull request, it does appear even when there is nothing to scroll.

If I'm understanding this correctly, you're talking about the scrollbar appearing or not. I believe this is browser dependent. Chrome allowed changing some appearance on scrollbars while Firefox did not. However, I believe that is changing.


Integrate OpenAI into the chat bot.

Requirements:

New chat with GPT should be triggered by the command /assist in the slack bot and further communication should be continued in the thread
The user should not pass any API key, instead the key should be read from env variable on the server.
Consider usage of native OpenAI python library vs LangChain.

done https://github.com/COXIT-CO/RecruitFlowAI/pull/20


Dependency conflict, and a possible error in requirements.txt.

Hi,
I was trying to install all the required libraries with the command pip install -r requirements.txt and I ran into the error:
ERROR: Could not find a version that satisfies the requirement mbrl.egg==info (from versions: none)
ERROR: No matching distribution found for mbrl.egg==info

and on removal of that line, I ran into a series of dependency conflicts, starting with the requirement torch==1.7.1 which gave me:
The conflict is caused by:
    The user requested torch==1.7.1
    auto-lirpa 0.3 depends on torch<1.13.0 and >=1.8.0

Relaxing  the requirement to torch>=1.7.1 further leads to:
The conflict is caused by:
    The user requested omegaconf==2.1.0
    hydra-core 1.3.1 depends on omegaconf<2.4 and >=2.2

Then relaxing the above requirement to omegaconf>=2.1.0 gives me a new conflict:
The conflict is caused by:
    The user requested hydra-core>=1.3.1
    mbrl 0.1.5 depends on hydra-core==1.0.3

Finally requesting an older version of hydra-core, i.e. hydra-core==1.0.3 solved all the conflicts.
I tried a fresh install on two systems and had the same issues, I'm using python3.8.12 via pyenv.

Hi Yash,
I fixed the issue by moving hydra and auto-lirpa out of the requirements.txt and updated the README. These two packages are not used during training but they are required for evaluation, of which the packages are covered by requirements_proof.txt. Please ignore the conflict warning when installing hydra and auto-lirpa for training.
Separately, the omegaconf package is updated and no longer supports the installation for 2.1.0 from pip. Thus, I updated the version to 2.2.0. Please give it a try.


Add support for value assignment in declaration

What was wrong?
Previously, this code would fail:
another_reference: u256[10] = my_array

As a workaround declaration and assignment could be split apart.
another_reference: u256[10]
another_reference =  = my_array

With this change, the shorter declaration with assignment syntax is supported.
How was it fixed?

Added implementation to map value assignments in declarations
Rewrote test code that used workaround

To-Do

[ ] OPTIONAL: Update Spec if applicable

[x] Add entry to the release notes (may forgo for trivial changes)

[x] Clean up commit history

Codecov Report

Merging #173 (131931c) into master (3826aea) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
+ Coverage   79.98%   80.01%   +0.03%
==========================================
  Files          44       44
  Lines        3198     3198
==========================================
+ Hits         2558     2559       +1
+ Misses        640      639       -1

Impacted Files
Coverage Δ

compiler/src/yul/mappers/declarations.rs
100.00% <ø> (ø)

compiler/src/abi/elements.rs
74.64% <0.00%> (+1.40%)
: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 3826aea...d8b0837. Read the comment docs.


Make java7/8 sdk identifier generic on Cent/Redhat

intel - installs java7 to /usr/lib/jvm/java-1.7.0-openjdk.x86_64
amd - installs java7 to /usr/lib/jvm/java-1.7.0-openjdk.amd64

Signed-off-by: Joe deKoning<EMAIL_ADDRESS>

I removed the portion of the changes that modified the alternatives for java.
This change is to make the sdk reference common across amd and intel.  By adding a symlink, build scripts can simply reference /usr/lib/jvm/java-1.8.0-openjdk regardless if the underlying hardware is amd or intel.

intel - installs java7 to /usr/lib/jvm/java-1.7.0-openjdk.x86_64
amd - installs java7 to /usr/lib/jvm/java-1.7.0-openjdk.amd64

Regardless if the underlying hardware is amd or intel.

Whoa really? Is that the zulu packages doing that? That's realy surprising - Didn't think anyone would do detection on that any more!

java-1.7.0-openjdk-devel and java-1.8.0-openjdk-devel, ya I thought that was odd too.  I didn't check zulu, as I don't use that for my Java9 bootjdk, I use the adopt-openj9 one installed.

I suppose another option would be to force the x86_64 one regardless of whether it's an AMD64/Intel64 system ... I would imagine they're compatible but have different optimisations

@jdekonin I've just had a look on an AMD64 box with RHEL7.5 and the installed openjdk has gone into a directory suffixed x86_64 ... Which distro is it that's got the amd64 suffix in the default repos?

I've actually been attempting to generate a new instance one to prove.  But I haven't been able to, the cloud we use is only providing me x86_64, not amd64.
My notes said cent/rh6, which now I am starting to doubt, I don't have an actual rh6 and amd non-virtual installs to check so I am at bit confused here.
I think the best path forward is to close and revisit, if/when I can prove the situation otherwise its a change for no purpose.