Addition of extra courses that students might find useful from MIT ocw. With Inforamtion about these courses and prerequisites. Graduate and undergraduate courses. Useful for people who want to broaden their knowledge even if you don't add it to the curriculum. (long)

Why and What
https://github.com/1404Damel/MITocw made a github for this
I mainly did this to supplement my knowledge because my university is not that good (they don't even give programming assignments!). I also have to do a bachelor thesis at the end of my degree and this seems like a useful way to get information about what I should do. And I started to enjoy just collecting the information. And I hope this helps some people.
This includes some of the courses I find would be useful. I don't know what you're specifically looking for or even if you want to add the extra graduate courses. But I think this would be helpful for people looking to broaden their knowledge with the graduate courses. And you can decide if the undergraduate courses are worth adding. I think even making this discussion available and add it in extra resources or something would be useful to people.
They come with lecture notes and sometimes lecture videos, sometimes programming assignments, sometimes projects and sometimes written assignments and others. They don't always have solutions to these but sometimes show examples of things like projects and programming assignments.
I will first go through the graduate courses then the prerequisites then the extra courses then others that I found that would be useful.
There was also advanced algorithms and advanced data structures but I didn't include those.
I will list what it includes but assume it has lecture notes and I'll specify if it doesn't (One doesn't).
(these are prerequisites [These are prerequisites for the prerequisites] -> [These are prerequisites for those]) + for multiple
I'll probably get lazy and just say look above pr below sometimes
If you see SC
OCW Scholar courses are designed specifically for OCW’s single largest audience: independent learners. These courses are substantially more complete than typical OCW courses, and include new custom-created content as well as materials repurposed from previously published courses.
Courses
Graduate
1.124J Foundations of Software Engineering (1.00 Introduction to Computers and Engineering Problem Solving [18.01 Single Variable Calculus])
(Has programming assignments with solutions, exams with solutions and written assignments)
This is a foundation subject in modern software development techniques for engineering and information technology. The design and development of component-based software (using C# and .NET) is covered; data structures and algorithms for modeling, analysis, and visualization; basic problem-solving techniques; web services; and the management and maintenance of software. Includes a treatment of topics such as sorting and searching algorithms; and numerical simulation techniques. Foundation for in-depth exploration of image processing, computational geometry, finite element methods, network methods and e-business applications. This course is a core requirement for the Information Technology M. Eng. program.
https://ocw.mit.edu/courses/1-124j-foundations-of-software-engineering-fall-2000/
1.264J Databases, Internet, and Systems Integration Technologies (none)
(Has programming assignments with examples, exams with solutions, written assignments with examples)
This course addresses information technology fundamentals, including project management and software processes, data modeling, UML, relational databases and SQL. Topics covered include internet technologies, such as XML, web services, and service-oriented architectures. This course provides an introduction to security and presents the fundamentals of telecommunications and includes a project that involves requirements / design, data model, database implementation, website, security and data network. No prior programming experience required.
https://ocw.mit.edu/courses/1-264j-database-internet-and-systems-integration-technologies-fall-2013/
6.263J Data Communication Networks (6.041 Probabilistic Systems Analysis and Applied Probability [18.02 Multivariable Calculus] -> [18.01 Single Variable Calculus])
(Nothing extra)
6.263J / 16.37J focuses on the fundamentals of data communication networks. One goal is to give some insight into the rationale of why networks are structured the way they are today and to understand the issues facing the designers of next-generation data networks. Much of the course focuses on network algorithms and their performance. Students are expected to have a strong mathematical background and an understanding of probability theory. Topics discussed include: layered network architecture, Link Layer protocols, high-speed packet switching, queueing theory, Local Area Networks, and Wide Area Networking issues, including routing and flow control.
https://ocw.mit.edu/courses/6-263j-data-communication-networks-fall-2002/
15.564 Information Technology I (none I can find)
(Nothing extra)
Information Technology I helps students understand technical concepts underlying current and future developments in information technology. There will be a special emphasis on networks and distributed computing. Students will also gain some hands-on exposure to powerful, high-level tools for making computers do amazing things, without the need for conventional programming languages.
https://ocw.mit.edu/courses/15-564-information-technology-i-spring-2003/
6.823 Computer System Architecture (6.004 Computation Structures [Some programming + 6.002 Circuits and Electronics])
(Problem sets with solutions and exams with solutions)
6.823 is a course in the department’s “Computer Systems and Architecture” concentration. 6.823 is a study of the evolution of computer architecture and the factors influencing the design of hardware and software elements of computer systems. Topics may include: instruction set design; processor micro-architecture and pipelining; cache and virtual memory organizations; protection and sharing; I/O and interrupts; in-order and out-of-order superscalar architectures; VLIW machines; vector supercomputers; multithreaded architectures; symmetric multiprocessors; and parallel computers.
https://ocw.mit.edu/courses/6-823-computer-system-architecture-fall-2005/
6.824 Distributed Computer Systems (none I can find)
(Includes exams)
This course covers abstractions and implementation techniques for the design of distributed systems. Topics include: server design, network programming, naming, storage systems, security, and fault tolerance. The assigned readings for the course are from current literature. This course is worth 6 Engineering Design Points.
https://ocw.mit.edu/courses/6-824-distributed-computer-systems-engineering-spring-2006/
6.828 Operating System Engineering (6.033 Computer System Engineering [6.004 Computation Structures -> programming [for example 6.001 Structure and Interpretation of Computer Programs] + [6.002 Circuits and Electronics]] + [6.170 Software Studio] + [6.004 Computation Structures [Look above for prerequisites]])
(Includes exams with solutions, projects with examples and programming assignments)
This course studies fundamental design and implementation ideas in the engineering of operating systems. Lectures are based on a study of UNIX and research papers. Topics include virtual memory, threads, context switches, kernels, interrupts, system calls, interprocess communication, coordination, and the interaction between software and hardware. Individual laboratory assignments involve implementation of a small operating system in C, with some x86 assembly.
https://ocw.mit.edu/courses/6-828-operating-system-engineering-fall-2012/
6.830 Database Systems (6.006 Introduction to Algorithms [programming for ex 6.01 + 6.042J Mathematics for Computer Science -> [18.01 Single Variable Calculus]])
(Includes exams with solutions and programming assignments)
This course relies on primary readings from the database community to introduce graduate students to the foundations of database systems, focusing on basics such as the relational algebra and data model, schema normalization, query optimization, and transactions. It is designed for students who have taken 6.033 (or equivalent); no prior database experience is assumed, though students who have taken an undergraduate course in databases are encouraged to attend.
https://ocw.mit.edu/courses/6-830-database-systems-fall-2010/
16.355J Software Engineering Concepts (Some programming will help)
(Nothing extra)
This is a reading and discussion subject on issues in the engineering of software systems and software development project design. It includes the present state of software engineering, what has been tried in the past, what worked, what did not, and why. Topics may differ in each offering, but will be chosen from: the software process and lifecycle; requirements and specifications; design principles; testing, formal analysis, and reviews; quality management and assessment; product and process metrics; COTS and reuse; evolution and maintenance; team organization and people management; and software engineering aspects of programming languages.
https://ocw.mit.edu/courses/16-355j-software-engineering-concepts-fall-2005/
MAS.962 Common Reasoning for Interactive Applications (I don't know, probably some programming introduction)
(Nothing extra)
This course will explore the state of the art in common sense knowledge, and class projects will design and build interfaces that can exploit this knowledge to make more usable and helpful interfaces.
https://ocw.mit.edu/courses/mas-962-common-sense-reasoning-for-interactive-applications-fall-2006/
6.884 Computability Theory of and with Scheme (6.001 Structure and Intrerpretation of Computer Programs + 6.042 Mathematics for Computer Science [see below])
(Does include readings just not lecture notes, and problem sets)
6.844 is a graduate introduction to programming theory, logic of programming, and computability, with the programming language Scheme used to crystallize computability constructions and as an object of study itself. Topics covered include: programming and computability theory based on a term-rewriting, “substitution” model of computation by Scheme programs with side-effects; computation as algebraic manipulation: Scheme evaluation as algebraic manipulation and term rewriting theory; paradoxes from self-application and introduction to formal programming semantics; undecidability of the Halting Problem for Scheme; properties of recursively enumerable sets, leading to Incompleteness Theorems for Scheme equivalences; logic for program specification and verification; and Hilbert’s Tenth Problem.
https://ocw.mit.edu/courses/6-844-computability-theory-of-and-with-scheme-spring-2003/
6.820 Fundamentals of Program Analysis (6.035)
(Includes Programming assignments)
This course offers a comprehensive introduction to the field of program analysis. It covers some of the major forms of program analysis including Type Checking, Abstract Interpretation and Model Checking. For each of these, the course covers the underlying theories as well as modern techniques and applications.
Required for Graduate Courses (Undergraduate)
1.00 Introduction to Computers and Engineering Problem Solving (none)
(Includes Exams, programming assignments with examples and instructor insights)
This course presents the fundamentals of object-oriented software design and development, computational methods and sensing for engineering, and scientific and managerial applications. It cover topics, including design of classes, inheritance, graphical user interfaces, numerical methods, streams, threads, sensors, and data structures. Students use Java{{< sup “®” >}} programming language to complete weekly software assignments.
How is 1.00 different from other intro programming courses offered at MIT?
1.00 is a first course in programming. It assumes no prior experience, and it focuses on the use of computation to solve problems in engineering, science and management. The audience for 1.00 is non-computer science majors. 1.00 does not focus on writing compilers or parsers or computing tools where the computer is the system; it focuses on engineering problems where the computer is part of the system, or is used to model a physical or logical system.
1.00 teaches the Java programming language, and it focuses on the design and development of object-oriented software for technical problems. 1.00 is taught in an active learning style. Lecture segments alternating with laboratory exercises are used in every class to allow students to put concepts into practice immediately; this teaching style generates questions and feedback, and allows the teaching staff and students to interact when concepts are first introduced to ensure that core ideas are understood. Like many MIT classes, 1.00 has weekly assignments, which are programs based on actual engineering, science or management applications. The weekly assignments build on the class material from the previous week, and require students to put the concepts taught in the small in-class labs into a larger program that uses multiple elements of Java together.
https://ocw.mit.edu/courses/1-00-introduction-to-computers-and-engineering-problem-solving-spring-2012/
6.001 Structure and Interpretation of Computer Programs (none)
(Includes online textbook, exams, projects and lecture videos)
This course introduces students to the principles of computation. Upon completion of 6.001, students should be able to explain and apply the basic methods from programming languages to analyze computational systems, and to generate computational solutions to abstract problems.
https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/
6.002 Circuits and Electronics (none)
(Includes lecture videos, simulations, problem sets and exams)
The course introduces the fundamentals of the lumped circuit abstraction. Topics covered include: resistive elements and networks; independent and dependent sources; switches and MOS transistors; digital abstraction; amplifiers; energy storage elements; dynamics of first- and second-order networks; design in the time and frequency domains; and analog and digital circuits and applications.
https://ocw.mit.edu/courses/6-002-circuits-and-electronics-spring-2007/
6.004 Computation Structures (programming for ex 6.001 + 6.002)
(Includes problem sets with solutions and exams with solutions)
6.004 offers an introduction to the engineering of digital systems. Starting with MOS transistors, the course develops a series of building blocks — logic gates, combinational and sequential circuits, finite-state machines, computers and finally complete systems. Both hardware and software mechanisms are explored through a series of design examples.
https://ocw.mit.edu/courses/6-004-computation-structures-spring-2009/
6.005 Software Construction (none I can find)
(Includes problem sets, exams with solutions, online textbook and programming assignments)
6.005 Software Construction introduces fundamental principles and techniques of software development, i.e., how to write software that is safe from bugs, easy to understand, and ready for change. The course includes problem sets and a final project. Important topics include specifications and invariants; testing; abstract data types; design patterns for object-oriented programming; concurrent programming and concurrency; and functional programming.
The 6.005 website homepage from Spring 2016, along with all course materials, is available to OpenCourseWare users.
https://ocw.mit.edu/courses/6-005-software-construction-spring-2016/
6.006 Introduction to Algorithms (6.01Introduction to EECS 1 - Some other introduction will be fine + 6.042J Mathematics for Computer Science [18.01 Single Variable Calculus])
(Includes lecture videos, recitation videos, problem sets with solutions, exams with solutions and programming assignments with examples)
This course provides an introduction to mathematical modeling of computational problems. It covers the common algorithms, algorithmic paradigms, and data structures used to solve these problems. The course emphasizes the relationship between algorithms and programming, and introduces basic performance measures and analysis techniques for these problems.
https://ocw.mit.edu/courses/6-006-introduction-to-algorithms-fall-2011/
6.033 Computer System Engineering (6.004 Computation Structures [See above] + 6.005 Software Construction)
(Includes written assignments, projects with examples and instructor insights)
This class covers topics on the engineering of computer software and hardware systems. Topics include techniques for controlling complexity; strong modularity using client-server design, operating systems; performance, networks; naming; security and privacy; fault-tolerant systems, atomicity and coordination of concurrent activities, and recovery; impact of computer systems on society.
https://ocw.mit.edu/courses/6-033-computer-system-engineering-spring-2018/
6.092 Java Preparation for 6.170 (none)
(Includes projects)
This course focuses on introducing the language, libraries, tools and concepts of Javaᵀᴹ. The course is specifically targeted at students who intend to take 6.170 in the following term and feel they would struggle because they lack the necessary background. Topics include: Object-oriented programming, primitives, arrays, objects, inheritance, interfaces, polymorphism, hashing, data structures, collections, nested classes, floating point precision, defensive programming, and depth-first search algorithm.
https://ocw.mit.edu/courses/6-092-java-preparation-for-6-170-january-iap-2006/
6.42J Mathematics for Computer Science (18.01 Single Variable Calculus)
(Includes online textbook, lecture videos, problem sets and exams)
This subject offers an interactive introduction to discrete mathematics oriented toward computer science and engineering. The subject coverage divides roughly into thirds:
Fundamental concepts of mathematics: Definitions, proofs, sets, functions, relations.
Discrete structures: graphs, state machines, modular arithmetic, counting.
Discrete probability theory.
On completion of 6.042J, students will be able to explain and apply the basic methods of discrete (noncontinuous) mathematics in computer science. They will be able to use these methods in subsequent courses in the design and analysis of algorithms, computability theory, software engineering, and computer systems.
This course is part of the Open Learning Library, which is free to use. You have the option to sign up and enroll in the course if you want to track your progress, or you can view and use all the materials without enrolling.
https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/
Introduction to Algorithms (SMA 5503) (6.006 Introduction to Algorithms + 6.001 Structure and Interpretation of Computer Programs)
(Includes lecture videos, problem sets with solutions, exams with solutions and programming assignments with examples)
This course teaches techniques for the design and analysis of efficient algorithms, emphasizing methods useful in practice. Topics covered include: sorting; search trees, heaps, and hashing; divide-and-conquer; dynamic programming; amortized analysis; graph algorithms; shortest paths; network flow; computational geometry; number-theoretic algorithms; polynomial and matrix calculations; caching; and parallel computing.
https://ocw.mit.edu/courses/6-046j-introduction-to-algorithms-sma-5503-fall-2005/
6.170 Software Studio (Can do 6.092 - not required)
(Includes projects)
This course on software engineering covers design and implementation of medium-scale software systems, using web applications as a platform. In the course, students learn the fundamentals of structuring a web application and writing modular code, with an emphasis on conceptual design to achieve clarity, simplicity, and modularity. Topics also include functional programming, relational databases, and security.
https://ocw.mit.edu/courses/6-170-software-studio-spring-2013/
18.01SC Single Variable Calculus (none)
(Includes exams with solutions, lecture videos, problem sets with solutions and simulations)
This calculus course covers differentiation and integration of functions of one variable, and concludes with a brief discussion of infinite series. Calculus is fundamental to many scientific disciplines including physics, engineering, and economics.
18.02SC Multivariable Calculus (18.01 Single Variable Calculus)
(Includes simulations, exams with solutions, problem sets with solutions and lecture videos)
This course covers differential, integral and vector calculus for functions of more than one variable. These mathematical tools and methods are used extensively in the physical sciences, engineering, economics and computer graphics.
The materials have been organized to support independent study. The website includes all of the materials you will need to understand the concepts covered in this subject.
https://ocw.mit.edu/courses/18-02sc-multivariable-calculus-fall-2010/
Extra (undergraduate)
6.00SC Introduction to Computer Science and Programming (none)
(Includes lecture videos, recitation videos, problem sets with solutions, exams with solutions, online textbook and programming assignments with examples)
This subject is aimed at students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems. It also aims to help students, regardless of their major, to feel justifiably confident of their ability to write small programs that allow them to accomplish useful goals. The class will use the Python programming language.
https://ocw.mit.edu/courses/6-00sc-introduction-to-computer-science-and-programming-spring-2011/
6.031 Software Construction (none)
(Includes a project, problem sets, quizzes and solutions and other semesters courses with readings (haven't checked them out)
Software construction is a software engineering discipline. It is the detailed creation of working meaningful software through a combination of coding, verification, unit testing, integration testing, and debugging. It is linked to all the other software engineering disciplines, most strongly to software design and software testing.[1]
https://web.mit.edu/6.031/www/sp22/
6.087 Practical Programming in C (none)
(Includes projects and programming assignments with examples)
This course provides a thorough introduction to the C programming language, the workhorse of the UNIX operating system and lingua franca of embedded processors and micro-controllers. The first two weeks will cover basic syntax and grammar, and expose students to practical programming techniques. The remaining lectures will focus on more advanced concepts, such as dynamic memory allocation, concurrency and synchronization, UNIX signals and process control, library development and usage. Daily programming assignments and weekly laboratory exercises are required. Knowledge of C is highly marketable for summer internships, UROPs, and full-time positions in software and embedded systems development.
6.088 Introduction to C Memory Management and C++ and Object-Orientated Programming (none)
(Includes programming assignments)
Ever hang your head in shame after your Python program wasn’t as fast (LOL) as your friend’s C program? Ever wish you could use objects without having to use Java? Join us for this fun introduction to C and C++! We will take you through a tour that will start with writing simple C programs, go deep into the caves of C memory manipulation, resurface with an introduction to using C++ classes, dive deeper into advanced C++ class use and the C++ Standard Template Libraries. We’ll wrap up by teaching you some tricks of the trade that you may need for tech interviews.
We see this as a “C/C++ empowerment” course: we want you to come away understanding
why you would want to use C over another language (control over memory, probably for performance reasons),
why you would want to use C++ rather than C (objects), and
how to be useful in C and C++.
6.035 Computer Language Engineering (6.170 Software Studio)
(Includes Lecture videos and projects)
6.035 is a course within the department’s “Computer Systems and Architecture” concentration. This course analyzes issues associated with the implementation of high-level programming languages. Topics covered include: fundamental concepts, functions, and structures of compilers, basic program optimization techniques, the interaction of theory and practice, and using tools in building software. The course features a multi-person project on design and implementation of a compiler that is written in Java® and generates MIPS executable machine code.
https://ocw.mit.edu/courses/6-035-computer-language-engineering-sma-5502-fall-2005/
6.S095 Programming for the puzzled (none)
This class builds a bridge between the recreational world of algorithmic puzzles (puzzles that can be solved by algorithms) and the pragmatic world of computer programming, teaching students to program while solving puzzles. Python syntax and semantics required to understand the code are explained as needed for each puzzle.
https://ocw.mit.edu/courses/6-s095-programming-for-the-puzzled-january-iap-2018/
6.S096 Effective Programming in C and C++ (none, maybe some other programming language experience)
This course is a fast-paced introduction to the C and C++ programming languages, with an emphasis on good programming practices and how to be an effective programmer in these languages. Topics include object-oriented programming, memory management, advantages of C and C++, optimization, and others. Students are given weekly coding assignments and a final project to hone their skills. Recommended for programmers with some background and experience in other languages.
https://ocw.mit.edu/courses/6-s096-effective-programming-in-c-and-c-january-iap-2014/
Other
11.52 Research Seminar on Urban Information Systems (none)
(includes written assignments and presentation assignments)
Seminar participants and invited guests will lead critical discussions of current literature and ongoing research. Each student will be responsible for identifying, reviewing, and presenting one structured discussion of articles from the current literature that are relevant to their research topic. The remaining time will be spent working on individual projects or thesis proposals. This fall, the seminar will focus on the following core issues that underlie most implementations of urban information systems and decision support tools: the sustainable acquisition and representation of urban knowledge; the emergent technological infrastructure for supporting metropolitan decision-making; and the innovative organizational and institutional arrangements that can take advantage of modern urban information systems.
https://ocw.mit.edu/courses/11-522-research-seminar-on-urban-information-systems-fall-2005/
21W.789 Communicating with Mobile Technology (1.00 Introductions to Computers and Engineering Problem Solving + 6.005 Software Construction)
Students work in small collaborative design teams to propose, build, and document a semester-long project focused on mobile applications for cell phones. Additional assignments include creating several small mobile applications such as context-aware mobile media capture and games. Students document their work through a series of written and oral proposals, progress reports, and final reports. This course covers the basics of J2ME and explores mobile imaging and media creation, GPS location, user-centered design, usability testing, and prototyping. Java experience is recommended.
https://ocw.mit.edu/courses/21w-789-communicating-with-mobile-technology-spring-2011/
RES.6-033 Principles of Computer System Design: an Introduction
(Online textbook, problem sets and no lecture notes)
Principles of Computer System Design: An Introduction is published in two parts. Part I, containing chapters 1-6, is a traditional printed textbook published by Morgan Kaufman, an imprint of Elsevier. Part II, containing chapters 7-11, is available here as an open educational resource.
This textbook, an introduction to the principles and abstractions used in the design of computer systems, is an outgrowth of notes written for 6.033 Computer System Engineering over a period of 40-plus years. Individual chapters are also used in other EECS subjects. There is also a web site for the current 6.033 class with a lecture schedule that includes daily assignments, lecture notes, and lecture slides. The 6.033 class Web site also contains a thirteen-year archive of class assignments, design projects, and quizzes.
If you want to see my progress in making this (Don't judge my spreadsheet skills:
A collection of all the courses that could be interesting. Useful to view in obsidian -
[deleted link]
All the courses I thought people would enjoy -
[deleted link]
The courses I'm going to do -
[deleted link]
~Thanks for reading~ Hope this is useful

Hi @1404Damel
It looks like you have a great learning journey ahead of you! OSSU is always happy to bring together learners that are interested in free online education. And that enjoy geeking out on finding great resources. Definitely drop into the Discord and say hello.

I don't know what you're specifically looking for or even if you want to add the extra graduate courses.

In terms of what OSSU recommends there are a couple of things:

Courses must:

Be open for enrollment
Run regularly (ideally in self-paced format, otherwise running multiple times per year)
Be of generally high quality in teaching materials and pedagogical principles
Match the curricular standards of the CS 2013: Curriculum Guidelines for Undergraduate Degree Programs in Computer Science

We're always happy to have contributors who are interested in evaluating the courses available and how well suited they are for OSSU. If you'd like to help with that effort in the future, take a look at our contributing guide.
Aside: I've edited your post to remove links to Dropbox files. If you'd like to share spreadsheets I recommend using Google Sheets, as it does not require users downloading files to their individual machines.

Hi @waciumawanjohi
Does ossu have any plans for posting resources for postgraduate learning. Or is there not enough courses out there? Or do you think it's not worth it and the undergrad plan you already have covers enough?

After going through the curriculum students will already be aware of all these resources and OSSU effectively covers CS curriculum. The link provides a nice comprehensive list of courses so perhaps add it to courses.md in extras folder (https://github.com/ossu/computer-science/blob/master/extras/courses.md)


API on Windows?

I was thinking of creating a GUI around the youtube-dl libraries for Windows. However,my application would provide it's progress bar. Is progress something I can access while you download the video?

Bother to read FAQ.

None look relevant.


feat: add email subscriptions

This PR adds support for some of email subscriptions management through sequencer.
What will be supported (but same features still supported directly from envelop):

create a new subscription
update the subscription
delete a subscription

What will not be supported (and will remain on envelop):

Email verification

This PR will make use of new changes from https://github.com/snapshot-labs/snapshot.js/pull/1081
With this PR, a new generic subscription object has been introduced. This object have 3 properties:

type: a type from a whitelist of string. For now, only email is accepted
value: the value, in case of an email subscription, this will be the user's email address
metadata: optional metadata associated to this subscription (in case of email subscription, this will be the type of email the user want to receive e.g ['summary'])

subscription has been designed to support other type than email.
Features
Create a subscription
await client.subscription(wallet, wallet.address, {
    type: 'email',
    value<EMAIL_ADDRESS>    metadata: ''
  });

This call from the SDK will create a new email subscription, if user is not subscribed yet.
In case the couple wallet.address/email already exist, it will return a user already subscribed error.
This call will create a new unverified email subscription. The user will then receive an email on the given email address asking the user to verify his email (verification will be done through envelop directly)
For test purpose, you have to connect to the database, and update the verified column to something greater than 0 to continue testing update and deletion.
The metadata value will be empty, and will default to everything.
Update a subscription
await client.subscription(wallet, wallet.address, {
    type: 'email',
    value: '',
    metadata: JSON.stringify({
      subscriptions: ['summary']
    })
  });

This call from the SDK will update an existing subscription.
The value property for the email will be empty, as there can be only one verified email associated to the wallet.
This call will fail with user not verified if email is not verified, or user not subscribed when not existing.
Delete a subscription
await client.deleteSubscription(wallet, wallet.address, {
    type: 'email',
    value: '',
  });

This call from the SDK will delete the active email subscription associated to the address.
Once again, email is not passed for privacy reason, and this will delete the verified email subscription if any.
Call will fail with user not subscribed if there's not verified email subscription to delete.
For the subscription type (the only type passing the user’s email), ipfs pinning will be skipped, and an empty string will be returned instead, as to not expose the user’s email.

Tests are failing for issue unrelated to this PR, should he fixed via https://github.com/snapshot-labs/snapshot-sequencer/pull/469


[Feature]: Loading special data(csv) from the frontend manually

Contact Details(optional)
No response
What feature are you requesting?
Currently, we add some data while after we create vector-db's collection. Here, we do not need to do that. We can load the data from the frontend. Default, we don't have to provide any special context only chat history.
And also we don't need to covert input to vectors by using our vector-db

https://milvus.io/blog/2022-08-08-How-to-use-string-data-to-empower-your-similarity-search-applications.md#Insert-data
https://github.com/milvus-io/pymilvus/blob/master/examples/example_str.py

https://milvus.io/docs/embeddings.md#Example-1-Use-default-embedding-function-to-generate-dense-vectors
milvus db cannot directly search strings with complex algorithm . All it could do is using like as other normal rds do. However, the milvus lib contains embedding function to generate embeddings vectors. I think it would help since we won't need any extra model and lib for tokenizing any more

As we discussed, we can use embedding API of the inference engine. @Micost

Note: We only consider dataset for RAG feature. And also we only use dataset https://www.kaggle.com/datasets/aisuko/rmit-2024-postgraduate-study-areas. No need to support other formats(more rows and columns) in current stage. @Micost @jinronga


created audio page in asset share commons but it came as a image component why?

Question?

What piece of functionality do you have a question about?
What are you trying to achieve?

Documentation can be found here: https://adobe-marketing-cloud.github.io/asset-share-commons/. It might answer your question!

hi @khanaaqib the asset details pages attempt to match based on the asset's computed mimeType [0]. I don't believe there is an asset details page provided for audio, so my guess is that it is reverting to the default details page...
[0] - https://adobe-marketing-cloud.github.io/asset-share-commons/pages/details/details-page/

I know that  but I have created custom audio component in Asset share commons.Audio(.wav) format is working fine and it also redirect the audio thumbnail to audio.html page because it's type is AUDIO,but when i do the same thing in Audio(.mp3) format the thumbnail is redirected towards the details.html page that's why i am not able to play mp3 files.

I think its because the .mp3 format gets computed as "Multimedia". If you look at the metadata Type field for your file what is it set to?

The type gets computed here: https://github.com/Adobe-Marketing-Cloud/asset-share-commons/blob/develop/core/src/main/java/com/adobe/aem/commons/assetshare/content/properties/impl/AssetTypeImpl.java

What version of AEM are you on? I was actually looking at this and the code base relies in part on an AEM library to compute the type and it looks like that API is not very consistent. I'll mark this as a bug but you should be able to follow https://adobe-marketing-cloud.github.io/asset-share-commons/pages/development/guide/ -> Extend Computed Properties and override the AssetTypeImpl.java with your own...
I think you only need to comment out:
if (lookedupResource != null && !ResourceUtil.isNonExistingResource(lookedupResource)) {
            displayMimeType = UIHelper.lookupMimeType(ext, lookedupResource, true);
        }

In hindsight we probably should have kept this simpler and based everything off the dc:format...

Hi @godanny86 i have done the same way but i am facing the same issue.PFB code of AssetTypeImpl.
`/*

Asset Share Commons

Copyright (C) 2017 Adobe

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

*/
package com.adobe.aem.commons.assetshare.content.properties.impl;
import com.adobe.aem.commons.assetshare.content.properties.AbstractComputedProperty;
import com.adobe.aem.commons.assetshare.content.properties.ComputedProperty;
import com.day.cq.dam.api.Asset;
import com.day.cq.dam.commons.util.UIHelper;
import org.apache.commons.lang3.StringUtils;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.api.resource.ResourceResolver;
import org.apache.sling.api.resource.ResourceUtil;
import org.apache.sling.commons.mime.MimeTypeService;
import org.osgi.framework.Constants;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.Designate;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;
import static com.adobe.aem.commons.assetshare.content.properties.ComputedProperty.DEFAULT_ASC_COMPUTED_PROPERTY_SERVICE_RANKING;
@Component(
service = ComputedProperty.class,
property = {
Constants.SERVICE_RANKING + "=" + DEFAULT_ASC_COMPUTED_PROPERTY_SERVICE_RANKING
}
)
@Designate(ocd = AssetTypeImpl.Cfg.class)
public class AssetTypeImpl extends AbstractComputedProperty {
public static final String LABEL = "Asset Type";
public static final String NAME = "type";
public static final String IMAGE_LABEL = "IMAGE";
public static final String DOCUMENT_LABEL = "DOCUMENT";
public static final String VIDEO_LABEL = "VIDEO";
public static final String AUDIO_LABEL = "AUDIO";
public static final String MULTIMEDIA_LABEL = "MULTIMEDIA";
public static final String UNKNOWN_LABEL = "";

private Cfg cfg;

@Reference
private MimeTypeService mimeTypeService;

@Override
public String getName() {
    return NAME;
}

@Override
public String getLabel() {
    return cfg.label();
}

@Override
public String[] getTypes() {
    return cfg.types();
}

@Override
public String get(Asset asset) {
    final ResourceResolver resourceResolver = asset.adaptTo(Resource.class).getResourceResolver();
    final String dcFormat = StringUtils.defaultIfBlank(asset.getMimeType(), "");

    final String ext = StringUtils.defaultIfBlank(dcFormat.substring(dcFormat.lastIndexOf('/') + 1, dcFormat.length()), "");
    //final Resource lookedupResource = resourceResolver.getResource("/mnt/overlay/dam/gui/content/assets/jcr:content/mimeTypeLookup");

    String displayMimeType = null;

  /*  if (lookedupResource != null && !ResourceUtil.isNonExistingResource(lookedupResource)) {
        displayMimeType = UIHelper.lookupMimeType(ext, lookedupResource, true);
    }*/

    if (StringUtils.isBlank(displayMimeType)) {
        if (dcFormat.startsWith("image")) {
            displayMimeType = cfg.imageLabel();
        } else if (dcFormat.startsWith("text")) {
            displayMimeType = cfg.documentLabel();
        } else if (dcFormat.startsWith("video")) {
            displayMimeType = cfg.videoLabel();
        } else if (dcFormat.startsWith("audio")){
            displayMimeType = cfg.audioLabel();
        }  else if (dcFormat.contains("audio/mpeg")){
            displayMimeType = cfg.multimediaLabel();
        }
        else if (dcFormat.startsWith("application")) {
            int indexOne = ext.lastIndexOf('.');
            int indexTwo = ext.lastIndexOf('-');
            int lastWordIdx = (indexOne > indexTwo) ? indexOne : indexTwo;

            displayMimeType = ext.substring(lastWordIdx + 1).toUpperCase();
        }
    }

    return StringUtils.defaultIfBlank(displayMimeType, cfg.unknownLabel());
}

@Activate
protected void activate(Cfg cfg) {
    this.cfg = cfg;
}

@ObjectClassDefinition(name = "Asset Share Commons - Computed Property - Asset Type")
public @interface Cfg {
    @AttributeDefinition(
            name = "Label",
            description = "Human read-able label."
    )
    String label() default LABEL;

    @AttributeDefinition(
            name = "Types",
            description = "Defines the type of data this exposes. This classification allows for intelligent exposure of Computed Properties in DataSources, etc."
    )
    String[] types() default {Types.METADATA};

    @AttributeDefinition(
            name = "Image Label"
    )
    String imageLabel() default IMAGE_LABEL;

    @AttributeDefinition(
            name = "Document Label"
    )
    String documentLabel() default DOCUMENT_LABEL;

    @AttributeDefinition(
            name = "Video Label"
    )
    String videoLabel() default VIDEO_LABEL;

    @AttributeDefinition(
            name = "Audio Label"
    )
    String audioLabel() default AUDIO_LABEL;

    @AttributeDefinition(
            name = "Multimedia Label"
    )
    String multimediaLabel() default MULTIMEDIA_LABEL;

    @AttributeDefinition(
            name = "Unknown Label",
            description = "Defaults to blank so it can be trivially handled via HTL existance checks."
    )
    String unknownLabel() default UNKNOWN_LABEL;
}

}
`
I have added multimedia thing in AssetTypeImpl file and configure the Multimedia property in AssetType but still not able to play .mp3 audio format.It is redirecting me to the details.html page instead of audio.html page.When I manually change the url details.html to audio.html then the .mp3 format is working fine.I am using AEM 6.5.

PFB configuratin of AssetType.

but when i clicking the mp3 thumbnail it is redirecting me to the details.html page instead of audio.html that's why i am not able to play the audio(.mp3) file.

@khanaaqib I'm confused why this was added?
else if (dcFormat.contains("audio/mpeg")){
            displayMimeType = cfg.multimediaLabel();
        }

I thought you wanted your .mp3 file to evaluate as audio? That would cause it it to evaluate to multimedia...

Hi @godanny86  you mean to say that no need to add multimedia configuration then how multimedia has converted to the audio format.

Yes i wanted to .mp3 evaluated as audio.

hi @khanaaqib we were trying to re-use a library from AEM Assets, UIHelper but it evaluates some audio and video files as "multimedia"
 if (lookedupResource != null && !ResourceUtil.isNonExistingResource(lookedupResource)) {
        displayMimeType = UIHelper.lookupMimeType(ext, lookedupResource, true);
    }

By removing the above code then the rest of the logic can be based off of the dc:format. No other changes should be necessary. Let me know if you still have issues.

HI @godanny86  i got it your point .Now mp3 file is working fine and thanks for help.

great!


Problem of dubbo.xsd file in dubbo2.5.6.jar

Environment

Dubbo version: 2.5.6
Operating System version: Windows10
Java version: 1.8.0_221

Steps to reproduce this issue

Document description 2.5.6 supports netty4.

I can't find the parameter client from dubbo.xsd in dubbo2.5.6.jar.

I can find the parameter client from dubbo.xsd in dobbo2.5.7.jar.

I hope:

Please update the document, Describe it in more detail.
Modify the dubbo.xsd file in dubbo2.5.6.jar, add parameter "client".

Looking forward to official reply, Thank you very much.

2.5.x version is no longer supported, it is recommended to upgrade to the new version.


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Social Links are all right


Fides CLI permanently overwrites commands during testing

Currently the top level click cli function that is used as the cli entry is overwriting the commands each time the cli is called. This is done to dynamically show local only vs local and api related commands. This functionality causes issues for downstream packages that are adding additional commands to fides (ex: fidesplus).
This behavior doesn't affect normal cli usage in fidesplus because the newly added commands are ran before they get overwritten. The cli is loaded fresh every time so nothing appears to be wrong. In testing however, the issue crops up. This is because the cli stays loaded in memory for the duration of the test run. Only the first test that tries to call the cli is able to pass. After the command is ran all of the new fidesplus commands overwritten and aren't available for future tests.
It would be good to update the entrypoint function to handle dynamically loading the local and api commands differently so testing in downstream projects runs as expected.

@TheAndrewJackson while I agree this is janky behavior, considering a found a fix for test cases I'm not sure this is still required.
Outside of testing quirkiness (or even including!) do you have any other reason for a refactor here?

The main reason for a refactor is that it's not obvious that the cli would work this way. I think a developer adding a new command to fidesplus would expect it to be a permanent additive change to the cli. It was fairly surprising to learn that the cli actually removes all of the fidesplus commands (after the command executes of course). Updating it would make adding new fidesplus commands match the described mental model and have no surprises. The current behavior feels like a foot gun. Does that make sense? @ThomasLaPiana
We could potentially group the fidesplus commands into the local vs api categories as well and maintain what it's already doing while keeping the fidesplus commands in the cli.
That being said, the code does work in it's current state at runtime so it's not urgent. It's more a under the hood developer UX type change.

@ThomasLaPiana That works for me. This isn't a huge priority. A docstring will help make this more discoverable.


Error 404 not found when trying to download an updated version

in UpdateBackend.cs line 48

Working on it

Fixed - 0cfe48591a47f687cf1e7b8899de3473ff953b64


solves a few bugs and cleaned up source code

fixed zip folder deletion, fixed issue #20 and issue #22  rewrote audio download from youtube (no more .raw file), replaced deprecated function calls and cleaned up source code in general

Looks good. Will create binaries when I have time.

Okay, not sure what happened. A bunch of different commits appeared when I merged. Strange.

I see that you have made your own fork. Unfortunately I am not active enough to maintain this, if you would like ownership of the repository and Modrinth page, let me know.


android, unicode urls: Fix correct url not passed to custom tabs.

Before getFullUrl was adding realm even if unicode url string
starts with http. This issue is completely wired. It can not be
reproducible when remote debugger is on, on Android, but can
otherwise.
Replacing startsWith with indexOf doesn't make any logically
change, but have internal implementation difference. Thus this got
fixed.

Sounds logical that this could be a fix.
Do you happen to have found this issue described or discussed somewhere online?
Would be a good addition to the commit message and would also make it more clear that this is the right fix.

Hmm. Can you say more about exactly what you observed?
The theory in this commit appears to be that String.prototype.startsWith, in the JS environment that RN pulls in, has a bug that can cause it to give a completely wrong answer.
There's a programming cliché that "it's never a compiler bug":
https://blog.plover.com/prog/compiler-error.html
https://blog.codinghorror.com/the-first-rule-of-programming-its-always-your-fault/
The cliché applies equally well to the OS, to the Android platform and iOS SDK... and to the JS standard library. :slightly_smiling_face:
Compilers do have bugs! And so do JS standard-library implementations, I'm sure. But these are systems a lot of people have banged on and a lot of people have put good work into making solid -- and so when you're tempted to say it's a compiler bug, or a JS stdlib bug, it's generally much more likely to be your bug, or something you don't understand yet.
And on the rare occasion you do find a JS stdlib bug... you'll want to have it well documented! So the path to resolving the situation well is basically the same either way.

The most likely place this bug can be is in the polyfill:
https://github.com/facebook/react-native/blob/1151c096dab17e5d9a6ac05b61aacecd4305f3db/Libraries/polyfills/String.prototype.es6.js

... or more likely a JSC issue!
Very interesting thread here:
https://github.com/facebook/react-native/issues/11370
Looks like JSC will be upgraded in RN 0.59
https://github.com/facebook/react-native/issues/19737
And that would be a very likely fix for our issue.

Let's close this. As I am not able to reproduce the issue. And there is no report for any such or similar issue from users. I am actively testing this and re-open it, if this is still a issue.
Actually the issue was only on Android, startsWith  was not working as intendant.


fix GenericServiceTest failing on Travis

What is the purpose of the change
在GenericServiceTest 发现有此描述
@Disabled("Keeps failing on Travis, but can not be reproduced locally."
Brief changelog
原因是Application是全局变量，在不同的test里 同时set不同的Application会产生错误。
此类对泛型应用和泛型实现有一定测试回归价值，所以去掉了@Disabled，并都使用同一个Application
修复ValidationTest中dubbo的拼写错误
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #5172 into 2.7.4-release will increase coverage by 0.05%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             2.7.4-release    #5172      +/-   ##
===================================================
+ Coverage               64%   64.06%   +0.05%
+ Complexity             452      451       -1
===================================================
  Files                  769      769
  Lines                33300    33300
  Branches              5251     5251
===================================================
+ Hits                 21315    21334      +19
+ Misses                9553     9537      -16
+ Partials              2432     2429       -3

Impacted Files
Coverage Δ
Complexity Δ

...ng/transport/dispatcher/all/AllChannelHandler.java
51.42% <0%> (-5.72%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
63.04% <0%> (-4.35%)
0% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
69.64% <0%> (-3.58%)
8% <0%> (-1%)

.../dubbo/remoting/transport/netty4/NettyChannel.java
63.63% <0%> (-3.41%)
0% <0%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
78.54% <0%> (-1.54%)
0% <0%> (ø)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
61.87% <0%> (-0.63%)
29% <0%> (ø)

.../java/org/apache/dubbo/common/utils/PojoUtils.java
72.44% <0%> (+0.28%)
0% <0%> (ø)
:arrow_down:

.../java/org/apache/dubbo/config/ReferenceConfig.java
61.31% <0%> (+0.36%)
0% <0%> (ø)
:arrow_down:

...in/java/org/apache/dubbo/config/ServiceConfig.java
60.59% <0%> (+1.27%)
0% <0%> (ø)
:arrow_down:

...ava/org/apache/dubbo/rpc/filter/GenericFilter.java
48.91% <0%> (+2.17%)
0% <0%> (ø)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@lkj41110 hey, your changes looks good to me.
I would like to know if there is any special reason to make PR to 2.7.4-release branch instead of master branch.
This is a unit test and 2.7.4 is in release voting phase, I think this PR is more suitable to master branch.
Could you open another PR from master branch and pick up your commit?

@lkj41110 hey, your changes looks good to me.
I would like to know if there is any special reason to make PR to 2.7.4-release branch instead of master branch.
This is a unit test and 2.7.4 is in release voting phase, I think this PR is more suitable to master branch.
Could you open another PR from master branch and pick up your commit?

good idea,i will do it

linked #5177


Create candidate-halspang.md

I am nominating myself for STC.
/cc @georgestevens99

Hi Hal,
Thanks for your interest in serving on the STC.  Unfortunately, November 6, 2023 at 3:59 Pacific Time was the last moment that nominations were being accepted.    Perhaps you can get a special dispensation from the Dapr Steering Committee.
Sorry,
George

I respect the rules and deadlines.  Thank you George.

Re-opening due to the extension decided upon by the STC.
/cc @georgestevens99


Add AutoScaling via Keda.sh operator

Adding autoscaling via keda for Insights Hackathon fall 2020
# TODO:

[x] Define Autoscaling schema (under podSpec)
[x] Create ScaledObject resource when creating ClowdApp CR
[x] Remove ScaledObject resource when deleting ClowdApp CR (via OwnerReference, neat!)
[x] Pull kafka hostname from ClowdEnv config
[ ] Add logic to NOT update replica count in deployment if autoscaling is present.
[ ] tests (or maybe not since this is a hackathon...)

@kylape Yeah I like the idea of having 2 different specs - one for web and one for kafka. That way we can still validate the fields to create the ScaledObject. The main problem is that for the Trigger array under the ScaledObjectSpec is just a map[string]string - would be a pain to not have validation on that and then have people going "why isn't my scaler working".

I think we could be more restrictive than map[string]string.  This can piggyback off the work we have planned for specifying SLIs/SLOs in a ClowdApp and generating PrometheusRules from them.  We expose a few autoscaling params, pair it with SLI/SLO data, and then Clowder can write out the prometheus-based ScaledObjectSpecs.

This so out of date we will need to rework a ton to get this merged.  We are DEF interested in this, lets open a new PR for when we want to get this merged.


Gogs web interface broken after update

Hello,
I just updated Gogs on my server and now it doesn't work anymore when I try to access the web interface, it wants me to download some file that seems empty and meaningless.
(You can try by yourself by going here https://src.adrien-thebault.fr/)
stderr.log only contains this :

2016/02/03 18:08:11 http: multiple response.WriteHeader calls

but stdout.log contains this :

[Macaron] PANIC: middleware render hasn't been registered

followed by the trace
I don't understand why this is happening, any idea?

Gogs version : 0.8.25
Git version : 2.1.4
OS : Debian 8.3
Using nginx 1.8.0 as a reverse proxy

Hi @adrien-thebault , how did you upgrade?

using go get -u github.com/gogits/gogs and then go build in $GOPATH/src/github.com/gogits/go-gogs-client & $GOPATH/src/github.com/gogits/gog

Thanks. If you can't view web, how do you know you're in version 0.8.25?

It's written in README.md :

Current version: 0.8.25

(Thanks for your help)

Hmm, maybe the problem is not coming from Gogs, when I try wget localhost:3131/, it seems to work (I'm able to get the index.html), but nothing changed in my nginx config, did I miss something ?

When you do wget localhost:3131/, the content looks like normal?

Well, it looks like a perfectly normal web page. Also, the footer contains © 2016 Gogs Version: <IP_ADDRESS>9 Page: 3ms Template: 2ms which tends to confirm that I'm in version 0.8.25.
What is even more strange is that it also works with "wget src.adrien-thebault.fr/" from the server and from my computer (which is on another network), but it doesn't work on Chrome or on Firefox!

I have no idea... the only thing I can think of is you have broken source code of Gogs but I don't think that's possible.

Sure, but I don't think it will help much, it's quite a basic config :

#HTTP
server {
    listen 80;
    server_name src.adrien-thebault.fr;

    # Forcing HTTPS
    rewrite ^ https://$server_name$request_uri? permanent;

    location / {
            proxy_pass http://localhost:3131;
    }

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

}
#HTTPS
server {
    listen 443;
    server_name src.adrien-thebault.fr;

    ssl on;
    ssl_certificate ssl/certs/src.adrien-thebault.fr.chained.crt;
    ssl_certificate_key ssl/private.key;

    include ssl/ssl.conf;

    location / {
            proxy_pass http://localhost:3131;
    }

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

}

Where ssl.conf is SSL/TLS related stuff (Cipher list, DH Params, HPKP, HSTS, Elliptic Curves & OCSP Stapling)

Made a fresh install, I only kept my old config, here's what happens :

2016/02/03 23:33:07 [T] Custom path: /home/git/go/src/github.com/gogits/gogs/custom
2016/02/03 23:33:07 [T] Log path: /home/git/go/src/github.com/gogits/gogs/log
2016/02/03 23:33:07 [I] Gogs <IP_ADDRESS>9
2016/02/03 23:33:07 [I] Log Mode: File(Trace)
2016/02/03 23:33:07 [I] Cache Service Enabled
2016/02/03 23:33:07 [I] Session Service Enabled
2016/02/03 23:33:07 [I] Mail Service Enabled
2016/02/03 23:33:07 [I] Register Mail Service Enabled
2016/02/03 23:33:07 [I] Notify Mail Service Enabled
2016/02/03 23:33:07 [I] Git Version: 2.1.4
2016/02/03 23:33:08 [T] Doing: CheckRepoStats
2016/02/03 23:33:08 [I] Run Mode: Production
2016/02/03 23:33:09 [I] Listen: http://localhost:3131
[Macaron] PANIC: middleware render hasn't been registered
/usr/local/go/src/runtime/panic.go:423 (0x42b649)
/home/git/go/src/gopkg.in/macaron.v1/render.go:608 (0x758855)
renderNotRegistered: panic("middleware render hasn't been registered")
/home/git/go/src/gopkg.in/macaron.v1/render.go:612 (0x758874)
(*dummyRender).SetResponseWriter: renderNotRegistered()
/home/git/go/src/github.com/go-macaron/gzip/gzip.go:90 (0x68fbc9)
Gziper.func1: ctx.Render.SetResponseWriter(gzw)
/usr/local/go/src/runtime/asm_amd64.s:437 (0x45c5ce)
/usr/local/go/src/reflect/value.go:432 (0x88691a)
/usr/local/go/src/reflect/value.go:300 (0x8855e1)
/home/git/go/src/github.com/go-macaron/inject/inject.go:117 (0xb7cc02)
(*injector).Invoke: return reflect.ValueOf(f).Call(in), nil
/home/git/go/src/gopkg.in/macaron.v1/context.go:113 (0x74dbd7)
(*Context).run: vals, err := c.Invoke(c.handler())
/home/git/go/src/gopkg.in/macaron.v1/context.go:104 (0x74dabc)
(*Context).Next: c.run()
/home/git/go/src/gopkg.in/macaron.v1/recovery.go:161 (0x763432)
Recovery.func1: c.Next()
/usr/local/go/src/runtime/asm_amd64.s:437 (0x45c5ce)
/usr/local/go/src/reflect/value.go:432 (0x88691a)
/usr/local/go/src/reflect/value.go:300 (0x8855e1)
/home/git/go/src/github.com/go-macaron/inject/inject.go:117 (0xb7cc02)
(*injector).Invoke: return reflect.ValueOf(f).Call(in), nil
/home/git/go/src/gopkg.in/macaron.v1/context.go:113 (0x74dbd7)
(*Context).run: vals, err := c.Invoke(c.handler())
/home/git/go/src/gopkg.in/macaron.v1/router.go:184 (0x764bb4)
(*Router).Handle.func1: c.run()
/home/git/go/src/gopkg.in/macaron.v1/router.go:286 (0x75b52d)
(*Router).ServeHTTP: h(rw, req, p)
/home/git/go/src/gopkg.in/macaron.v1/macaron.go:176 (0x75304a)
(*Macaron).ServeHTTP: m.Router.ServeHTTP(rw, req)
/usr/local/go/src/net/http/server.go:1862 (0x651d9e)
/usr/local/go/src/net/http/server.go:1361 (0x64f58e)
/usr/local/go/src/runtime/asm_amd64.s:1696 (0x45e911)
2016/02/03 23:33:11 http: multiple response.WriteHeader calls

[Macaron] PANIC: middleware render hasn't been registered and what follows happens each time I try to access the web interface

At this point, I suggest you use compiled version for now... have no idea at the moment...

It must be something that comes from my config, I removed my custom/conf/app.ini and now it works, do you mind if I put my config here so you have a look?

... Sure, you can join https://gitter.im/gogits/gogs and DM to me.

I just hit the same roadblock, and it turns out I had to disable gzip in the configuration:
ENABLE_GZIP = false

For some reason it used to work before, but now it doesn't anymore. I'm also using nginx as a proxy, and it does indeed do gzip (Chrome/Firefox are requesting gzipped content and are getting back gzipped content). My log looks exactly the same:
[Macaron] Started GET / for <ip-address>
[Macaron] PANIC: middleware render hasn't been registered
/usr/local/go/src/runtime/panic.go:423 (0x42b5c9)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/render.go:608 (0x75c0f5)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/render.go:612 (0x75c114)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/github.com/go-macaron/gzip/gzip.go:90 (0x692cc9)
/usr/local/go/src/runtime/asm_amd64.s:437 (0x45c4ee)
/usr/local/go/src/reflect/value.go:432 (0x88ae9a)
/usr/local/go/src/reflect/value.go:300 (0x889b61)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/github.com/go-macaron/inject/inject.go:117 (0xb81122)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/context.go:113 (0x751477)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/context.go:104 (0x75135c)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/recovery.go:161 (0x766cd2)
/usr/local/go/src/runtime/asm_amd64.s:437 (0x45c4ee)
/usr/local/go/src/reflect/value.go:432 (0x88ae9a)
/usr/local/go/src/reflect/value.go:300 (0x889b61)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/github.com/go-macaron/inject/inject.go:117 (0xb81122)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/context.go:113 (0x751477)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/context.go:104 (0x75135c)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/logger.go:40 (0x76591e)
/usr/local/go/src/runtime/asm_amd64.s:437 (0x45c4ee)
/usr/local/go/src/reflect/value.go:432 (0x88ae9a)
/usr/local/go/src/reflect/value.go:300 (0x889b61)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/github.com/go-macaron/inject/inject.go:117 (0xb81122)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/context.go:113 (0x751477)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/router.go:184 (0x768454)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/router.go:286 (0x75edcd)
/tmp/d20160205-14-wnm2my/opt/gogs/.heroku/go/src/gopkg.in/macaron.v1/macaron.go:176 (0x7568ea)
/usr/local/go/src/net/http/server.go:1862 (0x654e9e)
/usr/local/go/src/net/http/server.go:1361 (0x65268e)
/usr/local/go/src/runtime/asm_amd64.s:1696 (0x45e831)
2016/02/13 17:01:21 http: multiple response.WriteHeader calls
[Macaron] Completed / 500 Internal Server Error in 84.831858ms

I'm guessing
web -- gzip --> nginx -- gzip --> gogs

used to work, but now only
web -- gzip --> nginx ----> gogs

does?

If used to work... I think it was bug.
Now it is fixed?

It really is. And yes, without gzip enabled (i.e. ENABLE_GZIP = false) is works. So I guess this is .. ok?

@moritzheiber yeah, if you already used gzip in NGINX, there is no point gzip again between NGINX and Gogs (both local to each other) other than wasting CPU?

I concur. I wonder why it left it as enabled in the first place.
Cheers for the help :+1:

It is false by default... https://github.com/gogits/gogs/blob/master/conf/app.ini#L85

Oh, sorry, didn't mean to imply it was a default. I meant more like "Why did I leave it enabled after going through the file, testing options". Entirely my fault :smiley:

@moritzheiber Oh... not sure how old version you were using, but there was a bug that gzip isn't taking effect at all in very very old time.

I feel like I've been using Gogs for ages now. That might be the case :)

:joy:

Just got the exact same issue upgrading from apt-get.
Disabling GZIP made it work again and it also used to work with GZIP enabled until this update.


Document types

From https://experts.cen.eu/media/Experts/cen-clc_projex-online_user-guide.pdf

EN
HD
CWA
TS
TR
CG (CEN Guide)

All these documents, except CG can be created with an Amendment / Corrigendum.

Another source for document types:
https://www.cencenelec.eu/european-standardization/european-standards/types-of-deliverables/

Only CWA and HD added in #12, reopening for the rest.

Actually they are all supported now. We just don't have enough specs for "CEN Guide".


1773 | Count Items Matching a Rule | C++

Title - Count Items Matching a Rule
What will change -
I would like to provide the solution to Counting Items Matching A Rule
Link :: Count Items Matching A Rule
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[ ] Python
[X] C++
[ ] Java
[ ] SQL

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Please assign it to me @juhikushwah


Allow some updates to "dynamic array" in adaptive profile

This page describes what we can do with dynamic arrays in adaptive profile.
https://github.com/microsoft/qsharp/wiki/QIR#use-of-dynamically-sized-array
Specifically the following example doesn't work.

But replacing this array elements with individual variables works fine.

Consider supporting this scenario as array size doesn't change here. It is useful to have arrays as a way to group qubits and other types into registers of statically known size. In fact, most array sizes are statically known.

Could be in this list: https://github.com/microsoft/qsharp/issues/1306


proplem of  Integral Pose Regression

thank you for your great work!
I want to know,when you train it ?the 2D data miss "Z" coordinate value,how to deal with it?

generate a mask applying on Z, see
https://github.com/JimmySuen/integral-human-pose/blob/ad3f875bc05538da3471ef81484e23fad3e9c787/pytorch_projects/common_pytorch/dataset/mpii.py#L171


The path "@org/ui" is imported in app/routes/__page.tsx but "@org/ui" was not found in your node_modules. Did you forget to install it?

Following the initial setup as the README defines it

Cloning
pnpm install
pnpm dev

I don't seem to be able to re-produce this. Could possibly have been an issue with pnpm/hoisting. Did the app throw an exception, or did you just get a notification?


Paket install removes assembly bindings in app.config

In my Windows app with .NET Framework 4.6.2:
When I throw away the packages folder to start fresh and then run paket install, the assembly bindings get removed from the app.config file of each project.
I manually have to undo all changes to the app.config files before checking them in. Otherwise my application throws a big fat error because of invalid assembly references.

Running paket update does the same. It throws away all the assembly references in the app.config. Why is this? I don't know whether they are needed or not, but my project won't start without them. These are a few of the dependencies that are deleted from the app.config file:
<dependentAssembly>
  <Paket>True</Paket>
  <assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
  <bindingRedirect oldVersion="<IP_ADDRESS>-65535.65535.65535.65535" newVersion="<IP_ADDRESS>" />
</dependentAssembly>
<dependentAssembly>
  <Paket>True</Paket>
  <assemblyIdentity name="Autofac.Integration.WebApi" publicKeyToken="17863af14b0044da" culture="neutral" />
  <bindingRedirect oldVersion="<IP_ADDRESS>-65535.65535.65535.65535" newVersion="<IP_ADDRESS>" />
</dependentAssembly>
<dependentAssembly>
  <Paket>True</Paket>
  <assemblyIdentity name="Autofac.Integration.Owin" publicKeyToken="17863af14b0044da" culture="neutral" />
  <bindingRedirect oldVersion="<IP_ADDRESS>-65535.65535.65535.65535" newVersion="<IP_ADDRESS>" />
</dependentAssembly>
<dependentAssembly>
  <Paket>True</Paket>
  <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
  <bindingRedirect oldVersion="<IP_ADDRESS>-65535.65535.65535.65535" newVersion="<IP_ADDRESS>" />
</dependentAssembly>

The error I'm getting is:
Unhandled exception System.IO.FileLoadException: Could not load file or assembly 'Autofac, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'Autofac, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=17863af14b0044da'

It sure looks like the code expects version <IP_ADDRESS> while my paket definitely references a newer version.
This is inside my paket.dependencies file:
nuget Autofac 4.6.2 restriction: >= net462
nuget Autofac.Owin 4.1.0 restriction: >= net462
nuget Autofac.WebApi2 4.1.0 restriction: >= net462
nuget Autofac.WebApi2.Owin 4.0.0 restriction: >= net462

I don't even have to delete the packages-folder. Simply running paket update removes all dependencies from the app.configs.

Ok. I think this repository is dead. It costed me two days, now I'm back to NuGet and everything works fine again.

Assuming you invested 5 minutes of these 2 days looking at the docs, what options did you try and what did not work as expected?

In the past 2 days I've read for hours in the docs and tried everything. Digging into all transitive dependencies, plowing through the .csproj file for false references, and completely rebuilding the app from the paket.dependencies file. Nothing worked. I couldn't figure it out. It's hard to find a solution in the docs if you don't know what you are looking for. I've asked for help here. No replies.  Otherwise I would have never started the whole conversion.

@princevince
did you try to use redirects:force it usally solves this.

No, I didn’t. I didn’t know the option was there. If I knew I could fix it this easy I would have done it. Now it costed me two days to figure out what went wrong. Couldn’t find it and went back to Nuget package manager.

Op 23 nov. 2017 om 16:17 heeft Steffen Forkmann<EMAIL_ADDRESS>het volgende geschreven:
@princevince
did you try to use redirects:force it usally solves this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

where would you have expected that info? It's right at https://fsprojects.github.io/Paket/dependencies-file.html#Controlling-assembly-binding-redirects

@princevince, next time if you'd be interested in commercial level SLA (as I assume you need that if you declare repository dead after no response in 48h) for getting help with problems around F# OSS projects feel free to contact any consultancy specializing in F# ecosystem... just not with my company, I prefer to work with people that are able to read documentation :-)

I prefer to work with software that doesn’t screw up my project this bad. Nor would I like to work with software wherefor it’s necessary to read the documentation for hours while still having no clue what to look for.  Nothing to be found. It’s hard to look for something while not knowing what to look for. I hoped for a positive and polite push in the right direction maybe. Instead I got accused of not reading the docs...
It was a mistake to read the docs in the first place because it was promising me a better experience than with Nuget because I could use multiple package sources and I was promised to be in total control of the dependencies. The opposite is true. It totally messed up my dependencies and I haven’t been able to get my software up and running ever since I converted my project for use with Paket. Now I’m back to using Nuget and I’m able to focus on the important stuff again.

Op 23 nov. 2017 om 17:25 heeft Krzysztof Cieślak<EMAIL_ADDRESS>het volgende geschreven:
@princevince, next time if you'd be interested in commercial level SLA (as I assume you need that if you declare repository dead after no response in 48h) for getting help with problems around F# OSS projects feel free to contact any consultancy specializing in F# ecosystem... just not with my company, I prefer to work with people that are able to read documentation :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I wish someone showed me this in the 48 hours I was trying to save my project from a disaster.

Op 23 nov. 2017 om 17:41 heeft Lukas Rieger<EMAIL_ADDRESS>het volgende geschreven:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Yeah, thanks. So I’ve been told. It’s not necessary anymore.

Op 23 nov. 2017 om 17:18 heeft Steffen Forkmann<EMAIL_ADDRESS>het volgende geschreven:
where would you have expected that info? It's right at https://fsprojects.github.io/Paket/dependencies-file.html#Controlling-assembly-binding-redirects
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@princevince I explicitly asked where you would suggest to improve the docs. I was looking for that feedback from you. And regarding "screwing up" - could you please provide a repro with what paket did wrong exactly? I think it's working really nicely with redirects, but maybe you hit a corner case?

I'm sorry Steffen. I'm sure Paket can do what it promises to do and I didn't want to get upset. It was because there are two things going on here. First: I have a deadline to catch before the end of november (totally my fault to start experimenting with a new package manager at this time) and I've spend two days trying to figure out why my assembly bindings were thrown away without any warning. Second: The first guy to react was implying I didn't take 5 minutes to read the documentation. True, I didn't read it from A to Z like a book. Apparently I was trying to find that one setting "redirect: on". I'm the one to blame for the fact I didn't know this was called "Assembly Binding Redirect". Otherwise I think I would have been able to find it. However, I would still like to know why the default is "off". I haven't tried it yet -because I don't have time for it now- but will this "redirect: on" be included if I had first converted the project from NuGet instead of afterwards?

the situation is very simple: most people don't want to have binding redirects until things are needed. Then they add redirects:force to the packages where it's actually needed. This has to do with the fact that the app.config is a mess if add redirects for hundreds of packages and that you will always get merge confilcts there.

Thanks. I totally understand. In my case I had a hard time finding the packages that needed a reference to autofac version <IP_ADDRESS>.  So I think I still wouldn't be able to fix it with redirects:force in one ore more projects. Fact is that with NuGet I totally don't have to worry about this. It's the first time I have to dig into dependencies this deep. And maybe that's a good thing.

Fact is that with NuGet I totally don't have to worry about this

famous last words ;-)
TBH exactly the issues around nuget and redirects made us build paket in the first place

If you don't care about your app.config getting a little bit messy, you can add redirects: force to the group, then redirects will be added for all packages, regardless of whether they are actually needed or not.


Hide table headers when marked hidden

EDUCATOR-1535
Adds sr-only class to table headers that are marked hidden.
This PR needs to merge first so that I can release a new version of paragon.

I'll need to figure something out test-wise to fix the coverage drop

Coverage decreased (-0.3%) to 99.138% when pulling c6be393a16b5ca3410a45f5fe6010b050221f7a7 on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.

Coverage decreased (-0.6%) to 98.86% when pulling 7b648ee210e7a46ffbfcb53d6be4865b630a37da on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.

Coverage increased (+0.01%) to 99.43% when pulling 130b174e114635ef5160e2136719e35cc8ce1791 on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.

Coverage increased (+0.01%) to 99.43% when pulling 7ec890d43d27c564470d39d4e2114fd1d3dfa644 on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.

Coverage increased (+0.01%) to 99.43% when pulling dbb80b411c40c174e11e4da4b70e23c7f980d114 on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.

storybook screenshot:

Coverage increased (+0.01%) to 99.43% when pulling 1be454db57294b6d84c20dafac9492a0c3f7e80b on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.

Coverage increased (+0.01%) to 99.43% when pulling abb93e2dbd63e15fa4334082c5c17cee3663701a on efischer/hide_delete_header into db72d5a80a77804e6278ebbb5a897708eacde1bb on master.


Displaying association checkboxes in table

An example would be great!

Was looking for a similar example myself. The issue I am facing is that we are using bootstrap, and I cant seem to figure out how to use f.association :something, as: :checkboxes without every option getting wrapped in a <span class="checkbox">. Ive tried messing around with the custom wrapper configuration dsl but that particular wrapper appears to be injected outside that configuration, BUT I could just be missing something.

You need to give us more information on how to reproduce this issue, otherwise there is nothing we can do. Please open up a new issue and make sure to fill in all the information requested in the template shown inside the text box. Thank you!


API changes bring us closer to google-cloud

This change adapts the primary interface of this module to align it
with the API exposed by all the other Google Cloud API Client
Libraries available via the google-cloud modules [1].
The primary change is that we return a Debug construtor as the return
value from the module. This, in the future, will provide a Client
Library interface to the Debug APIs. This can be used for programatic
access to list or modify breakpoints, logpoints etc. The constructor,
like other API clients, accepts authentication and other general
configuration.
An instantiated debug object exposes a function startAgent that can
be used to activate the process-wide agent that enables the debugging
of an application using the Stackdriver Debug UI in the Google Cloud
console.
Feel free to bike-shed on startAgent vs start.

Ready for another look.


TSC Meeting Notes for March 21st 2019.

TSC Meeting Notes

Weird travis error, I've seen it before too on exactly the same test

Weird travis error, I've seen it before too on exactly the same test

I've seen it too and on occasion fixed it by rebuilding the dependent job and the failed job (I'll do this here). I don't think the build stage mechanism is working correctly, but I think we should focus on switching to CircleCI to alleviate this.


Release v3.20.1

Summary
The v3.20.1 release is a patch release that addresses two regressions in the v3.20.0 release. See the v3.20.0 release notes for details on upgrading from v3.19.x.
Fixes

#6280 - Continue loading tiles when image is not ready yet (@ahocevar)
#6283 - Avoid modifying coordinate in forEachLayerAtCoordinate (@tschaub)

@tschaub, issue #6241 also marked as regression, why it is not included in this patch release?

I guess the milestone was missing, added milestone 3.20.2 now


Alertmanagement

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

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.

adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

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

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

/azp run automation - sdk

Can one of the admins verify this patch?

seems the trenton still fail?

@chunyu3

ping @chunyu3, what is the status for this PR？it is pending for some time

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk


FancyZones go behind Windows Taskbar

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.900]
PowerToys version: v0.19.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce
Try to attach a window to a FancyZone that borders the Windows Taskbar and the window is resized behind the taskbar.
Noticed this happening after PowerToys update when Windows Explorer had to restart and also after Sleep/Hibernation.
Expected behavior
Windows don't go behind the taskbar
Actual behavior
Windows do go behind the taskbar
Screenshots

@ahawes-clarity
as a workaround, reapply the zoneset.
Closing this as duplicate of https://github.com/microsoft/PowerToys/issues/4694
Thanks.


NEON citation

There is a standard citation that NEON wants with there data -
Soil samples were provided from the National Ecological Observatory Network (NEON) Megapit Soil Archive. NEON is a program sponsored by the National Science Foundation and operated under cooperative agreement by Battelle. This material is based in part upon work supported by the National Science Foundation through the NEON Program.
Can you please add when you get a chance?
Thanks

Please check if this is acceptable: https://soilspectroscopy.github.io/ossl-manual/index.html#acknowledgments


Error on Web platform

i got error when i run on web
pubspec.yaml

aad_oauth: ^1.0.0
http: ^1.0.0
azblob: ^2.6.0

ClientException: XMLHttpRequest error., uri=https://fileStore1.blob.core.windows.net/myfile/pdf-27-11-2023-15-58-4-0-0.pdf

I have no idea for run on web for now.
But I have released azblob 3.0.0 that uses universal_io for internal http clients.
You may be try them.
Thank you,

Any update to this?

You can use azblob 3.0.1 on web.
If you not, please show the reproduce code and show all the error messages.
As a side note.
Azure Storage is not CORS enabled by default.
You need to enable it yourself.
List CORS settings
az storage cors list --connection-string=$CS

Add CORS settings
az storage cors add --methods 'GET,POST,PUT,DELETE' --origins '*' --services=b --allowed-headers=authorization,x-ms-date,x-ms-version --connection-string=$CS

($CS is your connection string)
Thanks,

Azblob does definitely not support web, as it depends on Universal IO, which despite claiming to support web, does not.
dart-sdk/lib/async/stream_impl.dart 402:7                                    [_sendDone] dart-sdk/lib/async/stream_impl.dart 291:7                                    [_close] dart-sdk/lib/async/stream_transformers.dart 87:11                            [_close] dart-sdk/lib/async/stream_transformers.dart 21:5                             close dart-sdk/lib/convert/string_conversion.dart 241:5                            close dart-sdk/lib/convert/string_conversion.dart 295:7                            close dart-sdk/lib/convert/chunked_conversion.dart 78:5                            close dart-sdk/lib/async/stream_transformers.dart 132:7                            [_handleDone] dart-sdk/lib/async/zone.dart 1582:9                                          runGuarded dart-sdk/lib/async/stream_impl.dart 392:7                                    sendDone dart-sdk/lib/async/stream_impl.dart 402:7                                    [_sendDone] dart-sdk/lib/async/stream_impl.dart 534:13                                   perform dart-sdk/lib/async/stream_impl.dart 620:10                                   handleNext dart-sdk/lib/async/stream_impl.dart 591:7                                    callback dart-sdk/lib/async/schedule_microtask.dart 40:11                             _microtaskLoop dart-sdk/lib/async/schedule_microtask.dart 49:5                              _startMicrotaskLoop dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7           <fn>

I’m currently working next release.
It will work without universal_io.
And it will work on flutter-web too.
Have a good weekend!

Thank you for your patience.
I have released the next version of azblob as 4.0.0.
This version uses http instead of universal_io for HTTP client requests.
The public API are almost compatible I think.
You can try this.
Any feedbacks are appriciated.

Please dont forget CORS enabled for using Azure Storage from Web.
az storage cors add --methods 'GET,POST,PUT,DELETE' --origins '*' --services=b --allowed-headers=authorization,x-ms-blob-type,x-ms-date,x-ms-version --connection-string=$your_conn_str

I can confirm that this works on Flutter web!

Unable to get this working still
           await storage.putBlob('reports/test.pdf', bodyBytes: file.files.first.bytes, contentType: 'application/pdf');

This is still not working on web:
await storage.putBlob('reports/test.pdf', bodyBytes: file.files.first.bytes, contentType: 'application/pdf');
Error:
The MAC signature found in the HTTP request '...' is not the same as any computed signature

@noahjoshua could you try this?
await storage.putBlob('/reports/test.pdf', bodyBytes: file.files.first.bytes, contentType: 'application/pdf');
//---------------------^ path starts with slash (/)

Already did, still same result unfortunately

Apologies, I've found the issue in the package being outdated on my end :)


Parse YAML Site configuration File

parse site level configuration file
extract details for CE, Batch and WN repositories (url's)


CVS/GCP: Trident fails for shared VPCs

Describe the bug
Creating a PVC fails when using a shared-VPC on GCP. Please see details below.
Environment
Create two projects in GCP. Make one project into a host project by sharing its VPC to the other project (which becomes a service project). See https://cloud.google.com/vpc/docs/provisioning-shared-vpc

Trident version: 21.01.0
Trident installation flags used: standrad
Container runtime: [e.g. Docker 19.03.1-CE]
Kubernetes version: recent GKE
Kubernetes orchestrator: GKE
Kubernetes enabled feature gates: -
OS: Ubuntu
NetApp backend types: CVS for GCP
Other:

Root cause analysis and problem resolution
CVS API expect the service project number. This is build in gcp/api/gcp.go in makeURL:
func (d *Client) makeURL(resourcePath string) string {
	return fmt.Sprintf("%s/v2/projects/%s/locations/%s%s", d.config.APIURL, d.config.ProjectNumber,
		d.config.APIRegion, resourcePath)
}

The same project number is used to craft the network parameter: https://github.com/NetApp/trident/blob/b0d57344c5d1e0179308802764270e765427c5c8/storage_drivers/gcp/gcp_cvs.go#L719
gcpNetwork := fmt.Sprintf("projects/%s/global/networks/%s", d.Config.ProjectNumber, network)

This works fine in the standalone project case. For shared-VPCs, the network sting needs to include the host project number, not the service project number.
This is how this was solved for the CVS/GCP Terraform provider: https://github.com/NetApp/terraform-provider-netapp-gcp/blob/28a6f92d1eb5a2250a1398966bd6ed5eaf9a6be0/gcp/volume.go#L314
	var projectID string
	if request.SharedVpcProjectNumber != "" {
		projectID = request.SharedVpcProjectNumber
	} else {
		projectID = c.GetProjectID()
	}
	request.Network = fmt.Sprintf("projects/%s/global/networks/%s", projectID, request.Network)

This has been fixed with e4b47c and will be available with Trident v21.04


Contract txns

Fixes #66
Problem & solution discussed here ^
Cute Animal Picture

I'm not sure why pyethereum21 is failing. I'll have to pick it up tomorrow.

@carver
I just tested with this branch and tried to find the problem with the failing tests occurred in our sharding branch in py-evm.
In eth-tester, it seems we still need to handle the case when a transaction sent with raw_transaction(i.e. calls send_raw_transaction) is inside the pending block in manually mining mode.
In this case, since the transaction is already well-constructed and signed, there might not be the corresponding key in PyEVMBackend, therefore the PyEVMBackend._key_lookup will fail.
self = <eth_tester.backends.pyevm.main.PyEVMBackend object at 0x11007da90>
transaction = {'data': b'`\x005`\x1cRt\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00` Ro\x7f\x...3', 'from': b'~s\x05\xb8\\\xf8\x03\xa4\xcf\x0c\x90_T\xcf\x1f\xf1\x92\xa8\xe6\xbe', 'gas': 3000000, 'gas_price': 1, ...}
block_number = 'latest'

    def _get_normalized_and_signed_evm_transaction(self, transaction, block_number='latest'):
>       signing_key = self._key_lookup[transaction['from']]
E       KeyError: b'~s\x05\xb8\\\xf8\x03\xa4\xcf\x0c\x90_T\xcf\x1f\xf1\x92\xa8\xe6\xbe'

~/eth_tester/backends/pyevm/main.py:397: KeyError

I'm still thinking how to solve it more elegantly.
My current thought options are:

Add a flag for each transaction in pending transaction pool, to indicate whether it is raw transaction or normal transaction dict. Besides, in _add_transaction_to_pending_block check if which type a transaction is, and respectively use send_transaction or send_raw_transaction
Change all transaction to raw_transaction(i.e. completely signed transaction in hex or rlp.Serializable). But it requires changes like adding API in PyEVMBackend.
Do you have any suggestion on this?
Thank you so much

Ok, I have a test in place. My current favorite option is to add a raw key to the transaction dict (like parity does) when returning it from get_transaction_by_hash. Then, the transaction can be re-sent later without having to sign it again.

Thank you for the help.
I can keep working on this.
Will update if I have progress

@carver
I have change the transaction dicts passed to PyEVMBackend.send_transaction to the full transaction dict which contains v, r, s in the following commit
https://github.com/mhchia/eth-tester/commit/4a44494599123186d882bae159d3c08cad1895ef
It makes the pyevm tests run but I think will cause other backends to fail.
Just want some feedback if this kind of fix is applicable. If yes, I will further fix the other fails.
Thank you:)

Cool, I pulled in your commit, and added a few more pieces. This is ready for review to merge.

Side note about readability
I liked the succinctness of this line, but left it out of my changes while I decide if it's more or less readable:
if {'r', 's', 'v'} <= set(transaction.keys()):

I think your line might be better, but it doesn't read like English in my head yet, the same way all(key in transaction for key in {'r', 's', 'v'}) does. It might just be a matter of getting used to it and polling for other people's style preferences.

@carver and @mhchia I think this is what you're looking for.
if {'r', 's', 'v'}.issubset(transactin.keys()):
    # do thing

@carver Really appreciate your work! The code is a lot cleaner now.
And thank you for indicating the readability issue. I don't think my line is readable either.
And I really prefer the one @pipermerriam mentioned. It is really readable.

And I really prefer the one @pipermerriam mentioned. It is really readable.

I agree. Updated the PR, and I think it's ready to go, after a :+1: from a review.


[Google Passport strategy Q] Not getting an access_Token anymore - idToken and serverAuthCode

Hello,
On my Ionic app, I use the cordova-plugin-googleplus, with the last version :
Instead of getting an access_token (oauthToken) we now get an idToken and serverAuthCode.
Some people told me that serverAuthCode was the new access_token but when trying on my app with :
var GoogleTokenStrategy = require('passport-google-token').Strategy;
I now get an Unauthorized error.
Does anyone has a method to deal with  idToken and serverAuthCode on SuperLogin ?

Got the oauthToken from the client device.

Hey got also an "unauthorized error", did you solve this ? can you share your feedback ? thx.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Fix de code and write the examples.
everything ok
the issue is solved.


Add legend item border and color when selected

Can you resolve the merge conflicts? Then I'll take a look at it.

done

Done

From: Doug Leinen @.>
Sent: Monday, November 1, 2021 6:46:45 PM
To: Code-For-Chicago/greater-chicago-food-despository-ui @.>
Cc: KhalfaniW @.>; Author @.>
Subject: Re: [Code-For-Chicago/greater-chicago-food-despository-ui] Add legend item border and color when selected (PR #82)
@daleinen7 requested changes on this pull request.
Can you resolve the merge conflicts? Then I'll take a look at it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Code-For-Chicago/greater-chicago-food-despository-ui/pull/82#pullrequestreview-794766711, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEZAYW2BEJDXG3B2BIKGQ43UJ4RGLANCNFSM5G557AOQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[Question] Can I dual boot Linux and Mac OS with asahilinux? Like switching between them when I want

Yes you can choose between Linux and OSX in the bootpicker. See to the FAQ.

When would you guess Linux could support like full powerful usability

Yes you can choose between Linux and OSX in the bootpicker. See to the FAQ.

When would you guess Linux could support like full powerful usability

I'm not the person to ask. But there is no official estimate, it's done when it's done. There are people working on userspace drivers.


Update manifest loader

Describe the changes you have made in this PR

Latest wext-manifest-loader needs node v16.15.0 as a minimum.

Now that we support all node versions, we can update this too!
~⚠ This PR changes our minimum supported version to v16 from v14~
~[Hence waiting on #1714 for failing tests]~
Type of change
(Remove other not matching type)

chore

Checklist

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

@im-adithya we can do this now, can't we?

Not sure if https://github.com/getAlby/lightning-browser-extension/pull/1723/commits/2c3f5539fd1d861fa8543fe7cc6e8fcd4493c9bc is necessary


Version-locking

I'd appreciate locking down the golang base image version and publishing versions in addition to latest to the hub. Thoughts?

That error message usually shows up when your Docker daemon and client have different versions, I don't think it's related to the golang-builder