I think Microsoft should give up msvc and move to clang instead or compete with GCC/clang on all platforms

I urge Microsoft to give up Microsoft Visual C++ (MSVC) and move to LLVM Clang for the following reasons:

Industry Standard: Clang has become the defacto industrial standard. Major corporations, including every other "magnificent seven," have adopted Clang. Even Intel has abandoned its ICC for Clang. Given the complexity of the C++ standard, it's no longer worth the resources to maintain a proprietary C++ compiler front end.
Lack of Progress: According to cppreference, Compiler Support shows that MSVC has zero C++ 26 support, and even C++23 lacks progress.
User Preferences: C++ library developers often express dissatisfaction with MSVC. Compared to GCC and Clang, it lacks optimization, and many useful features such as __has_builtin and vector extension are absent. This is partly because many optimizations are architecture-specific, and Microsoft has limited control over architecture design.

These are examples of why supporting MSVC is a huge pain:
https://github.com/cppfastio/fast_io/blob/master/include/fast_io_core_impl/intrinsics/msvc/x86.h
https://github.com/cppfastio/fast_io/blob/master/include/fast_io_core_impl/simd/generic_operations.h
https://github.com/cppfastio/fast_io/blob/master/include/fast_io_hosted/platforms/win32/msvc_linker_64.h

Geopolitical Considerations: Increasing geopolitical tensions between the US vs Russian+Chinese highlight the need for independence from ARM licensing. MSVC does not support architectures like RISC-V and LoongArch, preventing Windows from expanding to these platforms. Transitioning to Clang would facilitate support for these architectures, ensuring Microsoft remains competitive.

Security: Much of today's security research leverages LLVM, leading to LLVM-exclusive security mitigations. For instance, ARM Memory Tagging Extension (MTE), crucial for enhancing memory safety on Windows, remains unsupported due to MSVC. Moving to Clang would address this gap.

AI and CUDA Support: As Microsoft pivots towards AI under Satya Nadella's leadership, aligning with LLVM would enhance support for technologies like Nvidia CUDA. This strategic move aligns with the company's AI focus.

Bug Fixes and Cross-Compilation: MSVC poses challenges for fixing certain bugs, especially on ARM. Game developers struggle with debugging on ARM, and cross-compilation is simpler with GCC and Clang. Abandoning MSVC would ease these processes and enable cross-compiling Windows binaries on Linux, benefiting developers. https://github.com/llvm/llvm-project/pull/96417

Outdated Extensions: MSVC extensions like CLR have been deprecated, and MSVC lacks full C++20 support. Moving to Clang does not face any extension support issues, making the transition smoother.

Revenue Impact: While MSVC is free, Visual Studio is not. Moving to Clang would not affect Microsoft's revenue but would enhance Visual Studio's utility for cross-platform debugging, particularly for Android, thanks to LLVM.

ABI Compatibility: Maintaining MSVC STL for ABI compatibility should continue, ensuring a seamless transition.

Proven Success: Microsoft successfully transitioned Edge from EdgeHTML to Chromium, significantly boosting its market share. According to statcounter,  on desktop, Microsoft Edge's market share increased from 3% to 14% for this transition and surpassed firefox and even safari for browser marketshare; on mobile, it increased from 0% to 0.3%, which is very small, showing that Microsoft needs to return the phone OS market to Windows 12. Similarly, integrating Rust into DLLs has made Windows reliant on LLVM. Transitioning from MSVC to Clang would mirror this successful strategy, strengthening Microsoft's position.

It won't harness competition. Some people complain that this would give Google too much control, which is funny. LLVM is not Google's Project. Also, you should not expect Microsoft to break the power you think there is, either. Microsoft is a capitalist corporation whose only goal is to boost shareholder value. It is never about "preventing Google from controlling the internet" or something. Also, Microsoft giving up EdgeHtml has encouraged more innovation for the new Ladybird project. The new C++ compiler will happen again in the future if LLVM stagnates. With time, people will try again, and a fresh open-source codebase would be much better than the existing ones, GCC and llvm.

In summary, giving up on MSVC and moving to Clang would streamline development, enhance security, and align Microsoft with industry standards, ensuring continued innovation and competitiveness.

If microsoft does not want to give up msvc, i suggest microsoft to make msvc open source and compete with clang at least for supporting linux etc


Server Crashing with No Errors

At a loss here. I have had no issues with TiddlyServer running so far, after a few months of running it continuously. Now all of a sudden my server does not return data to a browser, with no errors in the command line.

You can see the 404 on Options and Head there, but those have always happened. Now a window going to the right ip, locally or not, will simply hang waiting for nothing.
Strangely I can get to the main page just fine, and even go and browse the image files being hosted in there. I even have another entirely separate TiddlyWiki being hosted on my server which is entirely empty (I had plans) and I can load this one fine, no issues!
This hang only occurs on opening my main TW. It haaaaaangs for about 3 mins, sometimes never loading at all.

When it completes it is all of a sudden, with no warning.

Note the 2.5 min at the bottom.
Then the whole TW freezes and crashes if I simply close that currently shown Tiddler "Anki", search "Anki" and click the result. The search bar does not go away, and nothing is clickable. Though the background still scrolls.
Seems like it is some content of my TW, but I have no idea what it could be. Any ideas what I should do? :sob:

Update: I have found a specific commit that is somehow the cause. I merged in a bunch of Tiddlers from another TiddlyWiki file I have into my main one, last night. Reverting this merge and restarting gets me a smoooth ship again. Though none of those Tiddlers should have overlapped, nor did I have any of them open, so I am rather confused how one could cause an error such as this :thinking: all I can think of is that those tiddlers came from an encrypted TiddlyWiki, and that my main one is not encrypted, but I first exported them to json before importing them, and confirmed they all opened fine. Total loss for how, but my wiki is running smooth again for now. Will attempt to find out which one of these files causes this, and post back here. But any ideas to help my search are still welcome!

Browser problems are usually related to TiddlyWiki in general, not just TiddlyServer, so feel free to ask on the TiddlyWiki forums if you run into these kinds of problems in the future. It sounds like there was some kind of hang or infinite loop.


vault passphare problem

Xpipe doesn't accept the vault passphrase after upgrade to 10.2.2. Password has not been changed.

What version did you upgrade from?

Closing this as inactive, feel free to reopen if you have any updates


IDM UI Concept

Description
For documentation purpose and so you can track the updates on the look and feel I'm attaching the current versions of "Homepage/Dashboard" and "Profile/Identity" page.
The final outcome of this should give to the user a sense of something which is reliable, trustworthy, formal and very distinct from other "techish" applications.
Acceptance Criteria

[ ] Have the concept defined for the homepage
[ ] Have the concept defined for the profile page

Find attached below the proposal for both pages. Please note that these should work as starting point for the visual side of the app rather than focus on the features, that will be the result of the analysis based on Keybase vs Blockstack.

Homepage

Profile page


Video Progress listener

Is it possible to add / set video progress Listener ?

extends JCVideoPlayerStandard Override setProgressAndText()


odo log output is not helpful

/kind bug
What versions of software are you using?
Operating System: macOS 10.15.6
Output of odo version: odo v1.2.5 (6e3fb90ef)
How did you run odo exactly?
odo create java-springboot
odo push
odo log
Actual behavior
odo log
 ✗  Failed to log component with name java-springboot.
Error: a container name must be specified for pod java-springboot-58c848f86b-8fnph, choose one of: [copy-supervisord tools runtime]

Based on that output, I assume I need to provide more information so I try:
 odo log runtime
 ✗  Failed to log component with name java-springboot.
Error: a container name must be specified for pod java-springboot-58c848f86b-8fnph, choose one of: [copy-supervisord tools runtime]

odo log --help makes no mention of container name… so I'm not sure how to actually get the logs for my component.
Expected behavior
Either log works properly without more input or, if more input is needed, the command should be built to accommodate (and the help message reflect it).
Any logs, error output, etc?

/priority high
/area component


README.md - remove dollar signs

Mbed Edge pull request
Description
Remove dollar signs from the cli examples, as they are completely
unnecessary and just make the copy paste things tedious (line by line
vs. whole section). The formatting already makes it obvious those
were meant for the command line.
Test instructions
N/A, cosmetic README.md change only.
Check list
API change(s)

[x] Not applicable.
[ ] API is backwards compatible.
[ ] API documentation is updated.

Example applications updated

[x] Not applicable.

Please review @OPpuolitaival  @ygoyal18 .

Did it now through the whole doc @OPpuolitaival .

Someone else needs to merge @OPpuolitaival  @ygoyal18 .


Vulnerable to SQL Injection Attacks

Our Fortify scans alerted us to possible SQL injection attacks in sqldict.py, and upon inspection it does appear to have a number of SQL statements built with Python's string-building %s feature rather than sqlite's parameterized queries.
Is that something that can be fixed?  It's giving our cyber team fits. =)
-Rob

Any update on this? Our CVE is expiring soon, is there even any discussion about how this could possibly be fixed?

I’m trying to remember what we decided. I think that the places where there are not parameterized queries are only function calls that a developer would make with this or that string as an argument — and the developer already has complete control anyway.
So there’s little chance of “user supplied data” ending up in those function calls.
We moved on and approved the code for our use.


Generate SQL bug when column contains text and the content of the row is a URL

When right clicking a row from SQL Server and hitting Generate SQL, and selecting "INSERT" as the SQL to generate it generates the SQL Insert statement.
However columns which have a string in it with a URL get extra quotes added.
Example:
Table
ColA                   ColB
1                         https://www.keelio.com

When generating the INSERT statement it will generate the following:
INSERT INTO MyDatabase.dbo.Table
(ColA, ColB)
VALUES(1, '''https://www.keelio.com''');
Notice the extra quotes.
Expected output:
INSERT INTO MyDatabase.dbo.Table
(ColA, ColB)
VALUES(1, 'https://www.keelio.com');

What is your database?

SQL Server 2017

Could you send table DDL? IO'm sure this issue happens only with certain data types.

Can't reproduce anymore. Please reopen if it still happens in your environment.


showTextDocument steals window focus

Since the november 2023 update showTextDocument steals window focus. This is really problematic because Cursorless uses this to run end to end tests and now the development host window pops up for every single test case, which renders all other windows unusable while I’m running tests, as the test window steals focus many times per second.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.85.1 (user setup)
OS Version: Windows_NT x64 10.0.22621

Steps to Reproduce:

Launch extension host
Focus vscode main window
Execute the following code:

const document = await vscode.workspace.openTextDocument();
await vscode.window.showTextDocument(document, undefined, true);

The vscode extension development host window is now focused.

We should add rules to not change focus during extension development.

This bug has been fixed in the latest release of VS Code Insiders!
@AndreasArvidsson, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version df8db3a75a49b85c9636530a3557cdbc639f7bdc of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

I can reproduce this:

Have an extension that * activates
In activate:

    const doc = await vscode.workspace.openTextDocument('d:\\repos\\microsoft\\vscode\\readme.md'); // replace with a file that you have
    await vscode.window.showTextDocument(doc, undefined, true);

Build
F5, and immediately focus back to the VS Code window you F5'd from
🐛 When showTextDocument executes, the ext dev host window will regain focus

Sorry, bad description: its only disabled when running extension tests.


[examples] Fix warnings Container in _app.js with Next.js

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

Hi all!
I love material-ui and found some warnings this PR shows:
Regards,

@saltyshiomix Thanks

@oliviertassinari
You're welcome :)


Optional req.files for endpoints that consumes one of two types

Hello,
First, thank you for this cleary good documented module.
I have a issue with this module for an endpoint that consumes either application/json or multipart/form-data ( depending of the context ).
When I tried to use the application/json version, I got a error because of this (req.files is undefined for JSON endpoint) :

Could you accept my PR (that should handle all the cases) ?
With this small modification, there will be no problem for people in my situation that cannot split an endpoint in two ^^
Thanks

Thanks for the PR. I've merged and published to NPM as version 0.1.2.


Realtime Segment Assignment interface

Add interface for RealtimeSegmentAssignmentStrategy and a PartitionAssignmentGenerator which does not depend on stream partition znode
In our attempts to remove the dependency on znode for stream partition assignment, we will replace StreamPartitionAssigmentGenerator with PartitionAssignmentGenerator. PartitionAssignmentGenerator does not depend on znode for partition assignment, and instead computes it everytime, based on numPartitions, numRpelicas and tagged instances. The tenant config can specify an override, if we need to limit the number of tagged instances that we are allowed to use. Currently we have implemented only the uniform partition assignment strategy. We will extend this to also support other partition assignment schemes like Balanced (using autorebalance), random, etc. We also plan to add an override to read from znode instead of calculating assignment on the fly.

Codecov Report

Merging #2676 into master will increase coverage by 0.13%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           master   #2676      +/-   ##
=========================================
+ Coverage   69.37%   69.5%   +0.13%
=========================================
  Files         860     862       +2
  Lines       39879   39954      +75
  Branches     5365    5382      +17
=========================================
+ Hits        27665   27770     +105
+ Misses      10408   10378      -30
  Partials     1806    1806

Impacted Files
Coverage Δ

.../partition/StreamPartitionAssignmentGenerator.java
93.93% <ø> (ø)
:arrow_up:

...ore/rebalance/DefaultRebalanceSegmentStrategy.java
76.08% <0%> (+4.16%)
:arrow_up:

...me/segment/ConsumingSegmentAssignmentStrategy.java
100% <100%> (ø)

...in/pinot/common/partition/PartitionAssignment.java
58.62% <33.33%> (-11.38%)
:arrow_down:

...inkedin/pinot/common/config/RealtimeTagConfig.java
83.33% <80%> (+3.33%)
:arrow_up:

...common/partition/PartitionAssignmentGenerator.java
88.33% <88.33%> (ø)

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
69.09% <0%> (-7.28%)
:arrow_down:

...m/linkedin/pinot/client/DynamicBrokerSelector.java
69.69% <0%> (-6.07%)
:arrow_down:

...ot/core/query/pruner/ColumnValueSegmentPruner.java
87.93% <0%> (-3.45%)
:arrow_down:

.../com/linkedin/pinot/client/ExternalViewReader.java
50% <0%> (-2.86%)
:arrow_down:

... and 29 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 333d038...5b8806c. Read the comment docs.


Error parsing Integer to string in query

Hello everyone.
I'm working on doing queries with the DATE_PART function. For example:
select DATE_PART("month",ASALTARCEP.contextData.timestamp) from ASALTARCEP;
It works fine but when I try to convert the result of DATE_PART (it returns an integer) to string with CONVERT function, I obtain "Quasar error: the function convert could not be found in the standar library". So I'm trying to do it with CAST but I am not being able to achieve any conversion to String.
What method can I use to parse a Integer to String in a query?
Best regards.

TO_STRING


Possibility to run geo queries and/or setting a query built externally

I am in the situation that I have to run million different geoqueries ($near:{$geometry:{type:'Geometry', coordinates[lon,lat]}, $maxDistance:...} etc) changing the coordinates for each of the query.
I am not using DataFrames but RDDs directly with com.stratio.datasource.mongodb.rdd.MongodbRDD.
I assume that in order to run geoqueries both for DataFrame and RDD is necessary to change the method queryPartition in the class com.stratio.datasource.mongodb.reader.MongodbReader right?

@danfran I've just opened a PR including both versions of $near: https://github.com/Stratio/Spark-MongoDB/pull/100
You can pull it and check whether is enough for your requirements.

I saw it thank you. As I replied in #100, to complete, you should include nearSphere.

@danfran They have been both added as well as a way of providing a DBObject as a filter description.


export more types

Export additional types, useful for implementing a LogStore

ReadonlyListener
Criteria

issue #55

You need to add export here too https://github.com/logux/core/blob/main/index.d.ts


Performance Question - Best Practice, Matrix Calculation

Hello,
I wonder what is the best practice according time for matrix calculation.
I am trying to do some matrix calculation. I got dense matrix and I am need to do some calculation between rows (need to compare each row to each row).
Code is:
class Program
    {
        static void Main(string[] args)
        {
            Control.UseNativeMKL();
            Control.UseMultiThreading();

            Matrix<double> m = Matrix<double>.Build.Random(300, 500000);
            Vector<double> a = Vector<double>.Build.Random(500000);
            Vector<double> b = Vector<double>.Build.Random(500000);
            Vector<double> c = Vector<double>.Build.Random(500000);
            DateTime now = DateTime.Now;
            int timeStep = 300;
            for (int i = 0; i < timeStep; i++)
            {
                Console.WriteLine("Generation {0}, time: {1}", i, (DateTime.Now - now));
                a = m.Row(i);
                for (int j = i + 1; j < timeStep; j++)
                {
                    b = m.Row(j);
                    c = a - b;

                }
            }
        }
    }

My issue/question here is that during that execution it memory is jumping from 1GB to 8 GB in each step.
Could you advice how to write that simple row calculation to achieve best performance according your knowledge?
Thanks for these great library!
Regards
Andy

Always try to use overloads that allow you to specify a target storage.
In this case, change
a = m.Row(i); // New memory allocation of size m.ColumnCount.
for (int j = i + 1; j < timeStep; j++)
{
    b = m.Row(j); // New memory allocation of size m.ColumnCount.
    c = a - b; // Two new memory allocations of size a.Count.
}

to
m.Row(i, a);
for (int j = i + 1; j < timeStep; j++)
{
    m.Row(j, b);
    a.Subtract(b, c);
}

Thanks - I got it. Could closed these issue


Feat: Add hover effects on the cards on the about us page similar to other pages .

Describe the feature
I want to add hover effects on the cards on the about us page similar to other pages .
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@meetarora10 Thank you for raising the issue.

As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you. :)


minor: PhpdocToCommentFixer - allow phpdoc comments before trait use statement. Fixes #6092

Related to #6092
PhpdocToCommentFixer currently removes phpdoc comments before use SomeTrait; statement in classes.
This phpstan uses phpdoc on use SomeTrait; for generics support.

Coverage increased (+0.0008%) to 92.846% when pulling 0acfcbfe4188ffdd1685da36c608d5c4c4eafc37 on JoyceBabu:master into e59005df5efc453c843028cf106bad300a7ceb2b on FriendsOfPHP:master.

Thank you @JoyceBabu.


Bokeh Holoviews: cannot control tools per glyph

Here is the code:
from bokeh.models import HoverTool
hover = HoverTool(
        tooltips=[
            ("index", "$index"),
            ("(x,y)", "(x=$x{0[.]00000}, y=$y{0[.]00000})"),
        ]
    )
%%output backend='bokeh'
%%opts Curve [height=300 width=600] Points (size=10 alpha=0.3)
dpicks=hv.DynamicMap(callback=find_methods2_rel_peaks,
                     kdims=[hv.Dimension('order',values=range(3,100)),
                            hv.Dimension('method',values=methods2),
                            hv.Dimension('box',values=range(3,100)),
                            hv.Dimension('k',values=[1,3,5]),
                            hv.Dimension('rank',values=np.linspace(len(xs),20*len(xs),20))
                           ]
                    )
dpicks({'Curve':dict(plot={'tools':[hover]})})

Here is what I get when my mouse is over the Curve:

And when I'm over the point:

So I actually would like to disable Hover for the Points - as I don't need them at all.
The field of interest is index on the Curve.
Could you please help me to figure out how to enable/disable tools per Element?
P.S. Here is how I do the plotting:
def find_methods2_rel_peaks(order=3,method=methods[0],box=3,k=1,rank=100):
    #.... Some other code: implementation details...
    curve=hv.Curve({'data':ldata,'x':lxs},kdims=['x'],vdims=['data'],extents=extents)
    peaks=hv.Overlay([hv.Points((lxs[peak], ldata[peak])) for peak in peakind[good]])
    return curve*peaks

Thanks in Advance!

The plotting code should be attaching the appropriate renderer to the tool so this appears to be a bug.

This should now be fixed, please reopen if you encounter any further issues.


Translate the basic strings to Romanian

Hey, I could help with the translation of basic strings in Romanian.:)) @tonybaloney what do you think?

Sure! Just follow the translation instructions for other languages, e.g. #224


Fortran tests with REDUCTION MIN/MAX operation on a complex type are not valid.

There is a test called:
target_teams__distribute__parallel__do__simd.F90
and probably several others where we have something like this:
reduction(max: counter_N0)

and counter_N0 is a complex data type.
According to the experts, unless the language supports that operation on the type (in this case Fortran), then OpenMP REDUCTION will not support it natively.
The Fortran spec:
16.9.135 MAX (A1, A2 [, A3, ...])
24 1 Description. Maximum value.
25 2 Class. Elemental function.
26 3 Arguments. The arguments shall all have the same type which shall be integer, real, or character and they shall
27   all have the same kind type parameter

So a MAX operation with a COMPLEX type is not supported in Fortran -- interesting the character is.
I am not sure what other REDUCTION operations on COMPLEX types might have this issue, but certainly MAX and MIN.
I have to apologize to @TApplencourt as I think that I am implemented this over a year ago and did not take this into account.
I believe the correct solution is to simply not generate these test for Fortran when the type is COMPLEX.

Thanks a lot for the finding. I didn't new that MAX was not supported for complex number

I believe the correct solution is to simply not generate these test for Fortran when the type is COMPLEX.

 ABS(x) <= gold * (1+tol) )
END FUNCTION almost_equal
PROGRAM target_simd
  implicit none
!$OMP DECLARE REDUCTION(max: COMPLEX: omp_out = MAX(ABS(omp_in), ABS(omp_out)))
  INTEGER :: N0 = 32768
  INTEGER :: i0
  LOGICAL :: almost_equal
  COMPLEX :: counter_N0
  INTEGER :: expected_value
  expected_value = N0
  counter_N0 = 1
  !$OMP TARGET SIMD reduction(max: counter_N0)
  DO i0 = 1, N0
    counter_N0 = max(abs(counter_N0), REAL(abs(i0-1+1)))
  END DO
  IF ( .NOT.almost_equal(counter_N0,expected_value, 0.01) ) THEN
    WRITE(*,*) 'Expected', expected_value, 'Got', counter_N0
    STOP 112
  ENDIF
END PROGRAM target_simd

Thanks Thomas!


Refactor conversion method by having standards as parameters

This method has to be refactored. You are mixing things there. The standard which we are dealing need to be passed as a parameter. You are making things to tailored to OPC UA and AML. Of course our focus now is make this working but we have to do it well.

fixed
https://github.com/i40-Tools/Alligator-PSL/blob/dfaeb77ef40e412264786bf81b1d56fad4a907d5/src/main/java/main/Files2Facts.java#L204-L208

It is ok, still, there are general things that should not be located inside the specific standard, i.e., aml code.
Check https://github.com/i40-Tools/Alligator-PSL/blob/77c0aab6bafcfd9efecc59e667822569406d4fba/src/main/java/main/Files2Facts.java#L205-209


Applied  Energistics 2 Crafting Terminal not work

Its not possible to apply a recipe to a crafting terminal. The +button has a tooltip: "Current workstation does not support recipe"

https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/6600

This isn't EMI's end, the issue on their end is the correct place, going to close.


Reload data after action

in detail view, the data should be reloaded after actions has been finished

fordetail actions, there is return RefreshView() available.


updates to MATLAB example code

I wonder if we enabled pre-commit for the entire organization instead of just per repository? I'd suggest disabling it for this repository if possible since it is just complaining that the base file isn't here, but it also doesn't make sense for this repo either...

I wonder if we enabled pre-commit for the entire organization instead of just per repository? I'd suggest disabling it for this repository if possible since it is just complaining that the base file isn't here, but it also doesn't make sense for this repo either...

Done.

I tried testing this out and am running into some problems:
mabo8927: docker run --rm -it -e PROCESSING_DROPBOX=/opt/data/dropbox/ --volume="$(pwd)/container_example_data:/opt/data" matlab-image:latest "algorithm_example /opt/data/dropbox/input_manifest_20220923t000000.json"
MATLAB is selecting SOFTWARE OPENGL rendering.
Fatal Startup Error:
Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type: foundation::core::except::detail::AnonymousInternalException<mwboost::system::system_error>
std::exception::what: uint64_t foundation::core::system::linux::x86_64::getMaximumProcessorFrequencyImpl(): Numerical result out of range
[(anonymous namespace)::narrow_str_tag*] = uint64_t foundation::core::system::linux::x86_64::getMaximumProcessorFrequencyImpl(): Numerical result out of range

After some googling, I think this might be because I am trying this from a M1 mac?  Perhaps someone without an M1 can try this out?
Otherwise, the image seems to build just fine.

@bourque, that error looks like it is searching for some x86 system libraries, so I'd agree with your assessment about the M1 mac. Are you able to build with docker build --platform linux/amd64 ...? I'm wondering if you built the container for x86, but are trying to run it on amd64. I have no idea if Matlab will even build that way though, and I don't have an M1 to try it out. https://docs.docker.com/build/building/multi-platform/
I did verify that this works for me locally on an intel-based mac.

Same error as Matthew. I tried with platform argument and that seems to work now.

Same error as Matthew. I tried with platform argument and that seems to work now.

We should add that into the documentation somehow because I'm sure others using this will run into the same issue.

Responded to all comments. Thanks for those!


Readiness probe for tezos-node

We already had a readiness probe for tzkt, this PR adds it for the node
itself.
This is done by a python sidecar. When it receives a get request on the
/is_synced endpoint, it will query the node head block header and verify
timestamp is less than 10 minutes old.
We are using a http probe served by a flask/werkzeug server. I had to
add flask to the utils container.
When the chain is not bootstrapped, it is considered healthy so the
activation call can reach it.
This is important for a RPC server with several endpoints as they may
not all be synced. For example, when you just created the statefulset,
they sync in sequential order.
More importantly, in combination with #282 health check becomes more
important. As the chain syncs from snapshot or tarball each time it is
launched, it is important to not direct RPC traffic to nodes that are
still syncing.

I had a concern w.r.t. readiness probes because they cause DNS names to be unpublished. I did a bit of research and have solved this issue in #294. This removes this potential objection.

emergency merge since we have a production issue and the readiness probe will likely solve it


imagick seems to be missing?

Currently using version 1.7.19:lsphp83
wordpress suggests to install imagick and stderr.log file is filled with:
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lsws/lsphp83/lib/php/20230831/imagick.so (/usr/local/lsws/lsphp83/lib/php/20230831/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lsws/lsphp83/lib/php/20230831/imagick.so.so (/usr/local/lsws/lsphp83/lib/php/20230831/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lsws/lsphp83/lib/php/20230831/imagick.so (/usr/local/lsws/lsphp83/lib/php/20230831/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lsws/lsphp83/lib/php/20230831/imagick.so.so (/usr/local/lsws/lsphp83/lib/php/20230831/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lsws/lsphp83/lib/php/20230831/imagick.so (/usr/local/lsws/lsphp83/lib/php/20230831/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lsws/lsphp83/lib/php/20230831/imagick.so.so (/usr/local/lsws/lsphp83/lib/php/20230831/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

I don't remember since when this started happening but I do remember it being installed and working.

Hmm, this is surprising as this sort of issue should have been a cause for the Docker image build to fail. 🤔

Let me know if you need me to test stuff or attach more logs to make debugging this easier

Upgraded to 1.4.1 release and imagick seems to be working now.

I couldn't find any commits related to this issue so maybe there was a one time build issue with 1.4.0 :shrug:


Add validate API

Issues Resolved
Closes https://github.com/opensearch-project/documentation-website/issues/2104
Version
List the OpenSearch version to which this PR applies, e.g. 2.14, 2.12--2.14, or all.
Checklist

[ ] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@gbbafna: Can you take a look at this one?

@natebower: Resolved.

@natebower: This should be ready for your approval.


Correct typo

Corrected a typo on the README.md from "exectued" to "executed"

Good catch, thanks!


[modify] gws/notice : readable enhancement

Coverage: 82.959%. Remained the same when pulling ed42386f5c19a31f9e34749b1970722f0df04219 on fix-gws-notice into efe6aeec17303ef5c4904f1daa29878f43677979 on master.


Face ambiguous import: found when try to run make install

Bug Report
What did you do?
use make install
What did you expect to see?
Build and install the binary
What did you see instead? Under which circumstances?
$ go mod tidy
github.com/operator-framework/operator-sdk/internal/olm/client imports
	k8s.io/kubernetes/pkg/controller/deployment/util imports
	k8s.io/kubernetes/pkg/controller imports
	k8s.io/kubernetes/pkg/serviceaccount tested by
	k8s.io/kubernetes/pkg/serviceaccount.test imports
	k8s.io/kubernetes/pkg/controller/serviceaccount imports
	k8s.io/kubernetes/pkg/registry/core/secret imports
	k8s.io/apiserver/pkg/registry/generic imports
	k8s.io/apiserver/pkg/storage/storagebackend/factory tested by
	k8s.io/apiserver/pkg/storage/storagebackend/factory.test imports
	github.com/coreos/etcd/integration imports
	github.com/coreos/etcd/client imports
	github.com/ugorji/go/codec: ambiguous import: found github.com/ugorji/go/codec in multiple modules:
	github.com/ugorji/go v1.1.1<EMAIL_ADDRESS>	github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8<EMAIL_ADDRESS>

Environment

operator-sdk version: 0.11.0 and master branch

go version:

go version go1.13.1 darwin/amd64
Possible Solution
https://github.com/gin-gonic/gin/issues/1673

Note: Currently the project is not supporting 1.13 so this issue is not faced with the go version supported 1.12. I just register it in order to make easier we track down and solve it as well in order to start to support 1.13. Closing it.


Simplified get_key_columns()/get_relations() introspection methods for PostgreSQL.

Related with #11511.

Yeah, that looks fine to me @felixxm: there are tests on those methods (although I don't grok the SQLite one in the middle).

@schinckel @georgi-yanchev Thanks for reviews :+1:


Allow attribute to be typed along with property, but warn

Closing this as this repository is now deprecated


Popup

Docs:
https://shoelace.style/components/popup

There isn't a Figma component to create for this


Failing to install on Ubuntu 20.04.1 LTS

Describe the bug
When following the installation instructions for Ubuntu using apt, I receive the following GPG error after running sudo add-apt-repository "deb [arch=amd64] https://dl.bintray.com/tetrate/getenvoy-deb $(lsb_release -cs) stable":
W: GPG error: https://dl.bintray.com/tetrate/getenvoy-deb focal Release: The following signatures were invalid: BADSIG 0253D0B26FF974DB GetEnvoy<EMAIL_ADDRESS>E: The repository 'https://dl.bintray.com/tetrate/getenvoy-deb focal Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

To Reproduce
Follow the installation instructions on Ubuntu 20.04.1 LTS:

Run sudo apt-get update
Install dependencies sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common
Add Tetrate GPG key curl -sL 'https://getenvoy.io/gpg' | sudo apt-key add -
Verify fingerprint apt-key fingerprint 6FF974DB.
Install apt repository sudo add-apt-repository "deb [arch=amd64] https://dl.bintray.com/tetrate/getenvoy-deb $(lsb_release -cs) stable"
Error (see details in description above)

Expected behavior
Envoy to install without issue.
Screenshots
Error received when adding the repository:

GPG fingerprint verification:

Environment (please complete the relevant information):

OS: Ubuntu 20.04.1
Envoy Version: 1.16.2

Additional context
With the below added to a Dockerfile you can easily reproduce the issue by running docker build --force-rm - < Dockerfile.
FROM ubuntu:20.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common \
    && rm -rf /var/lib/apt/lists/*

RUN curl -sL 'https://getenvoy.io/gpg' | apt-key add -
RUN add-apt-repository "deb [arch=amd64] https://dl.bintray.com/tetrate/getenvoy-deb $(lsb_release -cs) stable"
RUN apt-get update && sudo apt-get install -y getenvoy-envoy

ENTRYPOINT ["envoy"]

@karlbateman Hi. I'm sorry, but I cannot reproduce the issue in my Docker environment with the given Dockerfile. Does it still exist even if you try the instructions again?

@musaprg Hey, spologies for the delayed response. Thanks for checking this, it seems to be resolved now. Not sure what's fixed it 🤔


Timeline of your posts

What time does the user post?
What months the user is most active?
Do posts with images get more likes? (ML-esque)
What times do other people post on your wall (Obvious birthday posts hike)

More additions can be suggested.

A possible solution to the "do posts with images get more likes" is a simple average likes for posts with single images, multiple images, videos, other types.

Another suggestion that comes from @xprilion is to formulate an equation accounting for the number of reacts, number of comments and number of unique commentors on a post, to arrive at a score for each post. (This might be of great use in making a webapp, see #12)
Comparing the scores for each post, we can find out a time range for the highest scoring posts, thus recommending content, time and possibly patterns for a facebook user to post anything to maximise likes (a tool similar to this exists) .

It would be better to solve this issue in 2-4 PRs, considering the scope of this issue.

If this issue is unassigned, I would like to take it up .

@ujjaldas132 Are you working on this issue?
If not, then this issue is up for grabs. Not assigned.


feat(clusters): added versions API route endpoints

Note: this does not require a go-swagger client update (and hence this does not constitute a change to customer-shippable code).

Codecov Report

Merging #107 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   45.95%   45.95%
=======================================
  Files          11       11
  Lines         618      618
=======================================
  Hits          284      284
  Misses        287      287
  Partials       47       47

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 8911c3f...b803efe. Read the comment docs.


Search st.html goes to page not found

Summary
When searching for st.html and clicking on the result, it goes to Page not found, because the URL is wrong. The correct URL must have .html at the end.
Steps to reproduce

Go to https://docs.streamlit.io
Click on the search bar
Type st.html
Select the first result

Screen recording:

Expected behavior:
Goes to: https://docs.streamlit.io/develop/api-reference/utilities/st.html
Actual behavior:
Goes to: https://docs.streamlit.io/develop/api-reference/utilities/st
(it's missing the .html at the end)

Thanks for reporting! I think I have a fix for it that should get reviewed and published very soon.


Streamable.com reports two formats, only one gets downloaded

Checklist

[x ] I'm reporting a broken site support
[x ] I've verified that I'm running youtube-dl version 2024.12.17
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log

Description
Streamable.com reports two formats, only one gets downloaded.
Streamable reports two formats, only one gets downloaded - bottom one.
It happens when they are reported in this, particular order: 'mp4, mp4-mobile'.
$ youtube-dl --version
youtube-dl 2024.12.17
$ youtube-dl -F https://streamable.com/fh3uim
[Streamable] fh3uim: Downloading JSON metadata
[info] Available formats for fh3uim:
format code  extension  resolution note
mp4          mp4        460x612     321k, 30fps, 4.61MiB
mp4-mobile   mp4        359x478     383k, 30fps, 5.49MiB (best)

$ youtube-dl -f mp4 -o fh3uim.mp4 https://streamable.com/fh3uim
[Streamable] fh3uim: Downloading JSON metadata
[download] Destination: fh3uim.mp4
[download] 100% of 5.49MiB in 00:07

$ youtube-dl -f mp4-mobile -o fh3uim.mp4-mobile https://streamable.com/fh3uim
[Streamable] fh3uim: Downloading JSON metadata
[download] Destination: fh3uim.mp4-mobile
[download] 100% of 5.49MiB in 00:17

$ wc -c fh3uim.mp4*
 5759085 fh3uim.mp4
 5759085 fh3uim.mp4-mobile

Checked with other videos (id: 315u24, 2fu687) and the result is the same.
Funny thing is - it's not always the case, like for these: 62pbzs, bibj5o, work fine.
This time the formats are reported as 'mp4-mobile, mp4', and they both get downloaded.
$ youtube-dl -F https://streamable.com/bibj5o
[Streamable] bibj5o: Downloading JSON metadata
[info] Available formats for bibj5o:
format code  extension  resolution note
mp4-mobile   mp4        639x358     699k, 30fps, 5.25MiB
mp4          mp4        828x464    1046k, 30fps, 7.85MiB (best)

$ youtube-dl -f mp4 -o bibj5o.mp4 https://streamable.com/bibj5o
[Streamable] bibj5o: Downloading JSON metadata
[download] Destination: bibj5o.mp4
[download] 100% of 7.85MiB in 00:18

$ youtube-dl -f mp4-mobile -o bibj5o.mp4-mobile https://streamable.com/bibj5o
[Streamable] bibj5o: Downloading JSON metadata
[download] Destination: bibj5o.mp4-mobile
[download] 100% of 5.25MiB in 00:08

$ wc -c bibj5o.mp4*
 8228271 bibj5o.mp4
 5503856 bibj5o.mp4-mobile

It may not be our fault. If so, feel free to close it without notice.

Read the quoted excerpt from the Manual above: -f mp4 means f [ext=mp4] and not -f [format_id=mp4], while -f mp4-mobile does mean -f [format_id=mp4-mobile].
Basically, this issue is the same as https://github.com/yt-dlp/yt-dlp/issues/1282; we should implement a similar additional format ID sanitisation step to avoid the case that a format_id could have an ext value.

-f mp4 means f [ext=mp4] and not -f [format_id=mp4], while -f mp4-mobile does mean -f [format_id=mp4-mobile].

Understood.

So with a suitable patch:
$ python -m youtube_dl -vF 'https://streamable.com/fh3uim'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://streamable.com/fh3uim']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: d55d1f423
[debug] Python 2.7.18 (CPython i686 32bit) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial - OpenSSL 1.1.1w  11 Sep 2023 - glibc 2.15
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[Streamable] fh3uim: Downloading JSON metadata
[info] Available formats for fh3uim:
format code  extension  resolution note
fmp4         mp4        460x612     321k, 30fps, 4.61MiB
mp4-mobile   mp4        359x478     383k, 30fps, 5.49MiB (best)
$ python -m youtube_dl -f mp4 --get-format 'https://streamable.com/fh3uim'
mp4-mobile - 359x478
$ python -m youtube_dl -f fmp4 --get-format 'https://streamable.com/fh3uim'
fmp4 - 460x612
$


CSS (?) issue in HTML reports

Hey,
Just noticed the progress bar is messed up in HTML reports (see pic related).

src/ has 100% code coverage, yet the bar isn't fully filled.
Not sure if I had to report this here or on the istanbul repo, but this doesn't happen with vanilla istanbul.

We're not doing any special handling. Report this on the istanbul repo.


Run Tweaks and UndoTweaks OR Enable and Disable But not Both Ways

Describe the bug
Consider going either with running tweaks and undo tweaks or going with checkmarks to enable or disable tweaks, but doing it both ways is somewhat confusing and inconsistent in places.
Screenshots

Yeah I think there should just be one IPv6 checkbox and running it will disable it and undoing it should enable it.

Agreed. If you were to use that same logic for all the tweaks, I think it would be much more consistent and user-friendly.

Interesting Idea but a bit tricky to implement.
Getting an action to trigger at state change of the checkbox is easy enough, the tricky part will be keeping the interface responsive while a tweak is running and maintaining a queue of all the tweaks/checkboxes that still need to be applied.
I will be playing around with this idea but I cannot promise anything.


Allow for spoof auth

Allow for spoof auth, which gets a cookie from core to use for each request
As a consequence, forming options in Http module has a change of failure, and now returns an :ok/:error tuple. api_root and protocol are also not both settable through passed options, not just config.
Also this test will only pass if you're on staging VPN :(

:yay:

Maybe I should put a comment on the test that will only pass on staging VPN...


add a copy button to copy code

we should add a copy icon here to copy a particular code snippet

is that repo is still active?

It isn't active, but feel free to contribute.


Running boldigger-cline -h produces error: cannot import name 'requests'

Today I installed boldigger and boldigger-cline in Ubuntu on Windows 10.  Both seemed to install correctly.  Running boldigger-cline -h  gives this error:
Traceback (most recent call last):
File "/home/smith/.local/bin/boldigger-cline", line 5, in
from boldigger_cline.main import main
File "/home/smith/.local/lib/python3.8/site-packages/boldigger_cline/main.py", line 2, in
from boldigger_cline import boldblast_coi, boldblast_its, boldblast_rbcl, additional_data, first_hit, jamp_hit, digger_sort
File "/home/smith/.local/lib/python3.8/site-packages/boldigger_cline/boldblast_its.py", line 8, in
from boldigger.boldblast_coi import slices, fasta_to_string, requests, fasta_rewrite
ImportError: cannot import name 'requests' from 'boldigger.boldblast_coi' (/home/smith/.local/lib/python3.8/site-packages/boldigger/boldblast_coi.py)
I am not sure how to fix this.

Same problem here. I just updated the GUI and the command line version. The GUI works, but the command line does not.
Traceback (most recent call last):
File "/home/andrea/.local/bin/boldigger-cline", line 5, in
from boldigger_cline.main import main
File "/home/andrea/.local/lib/python3.8/site-packages/boldigger_cline/main.py", line 2, in
from boldigger_cline import boldblast_coi, boldblast_its, boldblast_rbcl, additional_data, first_hit, jamp_hit, digger_sort
File "/home/andrea/.local/lib/python3.8/site-packages/boldigger_cline/boldblast_its.py", line 8, in
from boldigger.boldblast_coi import slices, fasta_to_string, requests, fasta_rewrite
ImportError: cannot import name 'requests' from 'boldigger.boldblast_coi' (/home/andrea/.local/lib/python3.8/site-packages/boldigger/boldblast_coi.py)

I had the same problem. It has to do with how the 'request' package is imported in the python scripts. Try modifying the boldblast_its.py and boldbalst_rbcl.py as follows:
change
from boldigger.boldblast_coi import slices, fasta_to_string, requests, fasta_rewrite

to
from boldigger.boldblast_coi import slices, fasta_to_string, fasta_rewrite
import requests

Same problem, changing the scripts as described by @pascalhabluetzel did not work for me.

Will work on these issues once I have time. Fully booked at the moment.

This is a namespace problem. Old versions of BOLDigger defined a function called request, which are removed in the newer versions. This can be fixed temporarily by downgrading the BOLDigger GUI version. I will update boldigger-cline now to support the new functions.


 Macs are always super low, IIRC.

Yeah:
$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 256
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 709
virtual memory          (kbytes, -v) unlimited

@bradfitz I'm facing the same issue what's the fix for this? Can the open connections be throttled or queued or is it worth moving to a different programming language for high-load web servers?

@alexellis, it's not clear you're facing the same problem. What did you do?

or is it worth moving to a different programming language for high-load web servers?

If your OS configuration only permits N file descriptors, the program language won't matter at all. You only get N regardless.
It's possible Docker or Moby are the ones hitting the limit and passing it back to you.

I could be wrong - but it does give the same error as listed.
When I generate a high load on my Golang web server which uses net/http - I'm seeing hundreds of connections on lsof.
The example code is @ https://github.com/alexellis/faas/blob/labels_metrics/watchdog/main.go
As far as I can see I am closing what's being opened.
What I meant by a different language / HTTP server implementation was one that would control the in-flight connections. The ones I'm seeing I think have already "served" a connection but appear to have something open.

@alexellis, can you file a separate bug? I'd like to keep this one about @josharian's very specific bug report.
Your case seems like it would involve enough debugging that I suspect it's going to drown out the original intent of this bug.

Just to add another data point, I am not an OSX user but have a contractor trying to run my code, which fails with "too many open files" during an accept in http.ListenAndServe. Apologies but I don't want to open the bug since it's not happening on my computer so I can't provide many details. It's a Yosimite system, and running go1.8rc2.

I retract the above, it was because of the fsnotify package creating lots of file descriptors and the limit being 256 with a low system-wide limit, too. Apologies for the noise.

I've seen this too recently (same output as josharian above). Errors on all the BenchmarkClientServerParallel tests, most often on BenchmarkClientServerParallel64.
You can raise the file limit with ulimit (for current session), but then I see a different error:
Ada:http kenny$ ulimit -n 10000
Ada:http kenny$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10000
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 709
virtual memory          (kbytes, -v) unlimited
Ada:http kenny$ go test -bench=.
goos: darwin
goarch: amd64
pkg: net/http
BenchmarkCookieString-4                      	 1000000	      1103 ns/op	     384 B/op	       3 allocs/op
BenchmarkReadSetCookies-4                    	  500000	      3599 ns/op	     688 B/op	      11 allocs/op
BenchmarkReadCookies-4                       	  300000	      4672 ns/op	    2008 B/op	      16 allocs/op
BenchmarkHeaderWriteSubset-4                 	 2000000	       701 ns/op	       0 B/op	       0 allocs/op
BenchmarkReadRequestChrome-4                 	  500000	      3823 ns/op	 159.82 MB/s	    1808 B/op	      14 allocs/op
BenchmarkReadRequestCurl-4                   	 1000000	      2102 ns/op	  37.10 MB/s	     880 B/op	       9 allocs/op
BenchmarkReadRequestApachebench-4            	 1000000	      2012 ns/op	  40.75 MB/s	     883 B/op	       9 allocs/op
BenchmarkReadRequestSiege-4                  	 1000000	      2701 ns/op	  55.89 MB/s	     965 B/op	      11 allocs/op
BenchmarkReadRequestWrk-4                    	 1000000	      1434 ns/op	  27.88 MB/s	     832 B/op	       7 allocs/op
BenchmarkClientServer-4                      	   20000	     86044 ns/op	    4852 B/op	      64 allocs/op
BenchmarkClientServerParallel4-4             	   50000	     51470 ns/op	    7672 B/op	      74 allocs/op
BenchmarkClientServerParallel64-4            	    3000	    928726 ns/op	   11285 B/op	      88 allocs/op
--- BENCH: BenchmarkClientServerParallel64-4
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62040-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62039-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62038-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62037-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62036-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62035-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62031-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62034-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62029-><IP_ADDRESS>:61917: read: connection reset by peer
	serve_test.go:4493: Get: Get http://<IP_ADDRESS>:61917: read tcp <IP_ADDRESS>:62033-><IP_ADDRESS>:61917: read: connection reset by peer
	... [output truncated]
BenchmarkClientServerParallelTLS4-4          	2017/03/17 09:03:38 http: TLS handshake error from <IP_ADDRESS>:63863: read tcp <IP_ADDRESS>:63405-><IP_ADDRESS>:63863: use of closed file or network connection
2017/03/17 09:03:39 http: TLS handshake error from <IP_ADDRESS>:63354: read tcp <IP_ADDRESS>:63865-><IP_ADDRESS>:63354: use of closed file or network connection
2017/03/17 09:03:39 http: TLS handshake error from <IP_ADDRESS>:63360: read tcp <IP_ADDRESS>:63865-><IP_ADDRESS>:63360: use of closed file or network connection
    5000	    273600 ns/op	   21305 B/op	     228 allocs/op
BenchmarkClientServerParallelTLS64-4         	    2000	    547983 ns/op	   48283 B/op	     488 allocs/op
--- BENCH: BenchmarkClientServerParallelTLS64-4
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63513-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63516-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63515-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63517-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63518-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63520-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63519-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63521-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63522-><IP_ADDRESS>:63468: read: connection reset by peer
	serve_test.go:4493: Get: Get https://<IP_ADDRESS>:63468: read tcp <IP_ADDRESS>:63524-><IP_ADDRESS>:63468: read: connection reset by peer
	... [output truncated]
BenchmarkServer-4                            	   10000	    117595 ns/op	    2238 B/op	      20 allocs/op
BenchmarkClient-4                            	   10000	    102093 ns/op	    3349 B/op	      48 allocs/op
BenchmarkServerFakeConnNoKeepAlive-4         	  100000	     18730 ns/op	    4524 B/op	      44 allocs/op
BenchmarkServerFakeConnWithKeepAlive-4       	  100000	     14655 ns/op	    2439 B/op	      22 allocs/op
BenchmarkServerFakeConnWithKeepAliveLite-4   	  200000	      7824 ns/op	    1300 B/op	      12 allocs/op
BenchmarkServerHandlerTypeLen-4              	  200000	      9385 ns/op	    2119 B/op	      20 allocs/op
BenchmarkServerHandlerNoLen-4                	  200000	      8380 ns/op	    2087 B/op	      17 allocs/op
BenchmarkServerHandlerNoType-4               	  200000	      8227 ns/op	    2087 B/op	      18 allocs/op
BenchmarkServerHandlerNoHeader-4             	  200000	      6155 ns/op	    1300 B/op	      12 allocs/op
BenchmarkServerHijack-4                      	  100000	     24303 ns/op	   15968 B/op	      42 allocs/op
BenchmarkCloseNotifier-4                     	    2000	    675642 ns/op	    3316 B/op	      54 allocs/op
PASS
ok  	net/http	82.847s

Running the tests with b.SetParallelism(1) in benchmarkClientServerParallel seems to fix it, so presumably it's some problem with running these tests in parallel.

I just tried moving c := ts.Client() inside the for loop so making a new client for each pb.Next(), and then it works, hope that helps narrow it down.
so this:
for pb.Next() {
   c := ts.Client()

not this:
c := ts.Client()
for pb.Next() {

I see same issue on centos ,Ulimit open files is 10,000.
in my case:
Code looks like:
func someHandler(request, response) {       for v := range obj.GetSomeChannel() {           go v.requestSomeHttpServer()           //v.request is again one more http call to.   } }
and this someHandler is getting called multiple times because it serves user front service.
Now , v.requestSomeHttpServer is not able to serve because there are multiple request which hitting and it is throwing too many open files.

My web crawler program which was able to run smoothly now crashes because of too many open files error after upgrading to 1.10. OS type is Mac OS 10.13.6.

I am still seeing this error read: connection reset by peer when testing parallel HTTP 1.1 connections on localhost with Go 1.11.1 on both Mac OSX 10.13.6 and Linux Ubuntu 18.04
Has there been any progress on this issue in the past year?
Are there any practical workarounds?

This issue is specifically about "too many open files", not "connection reset by peer". I believe you already commented on https://github.com/golang/go/issues/20960 about this. But if you feel your issue is separate, please feel free to file a new issue.


Create issues for user stories

For each user story that is not yet implemented but that we likely plan to implement eventually, let's file it as its own issue.
They should have the Enhancement and type.Story labels, and follow the user story issue format mentioned in the course website.

This button could be useful:

https://github.com/orgs/AY2324S1-CS2103-W14-3/projects/1


Page speed question

Hi! A general type of question:
I've noticed that all of your pages include the bootstrap and bootstra-responsive rules in css files.  The Initializr tool lets someone choose between css and less files, and if you open the less files you will see they import each other; doesnt this affect the overall page download speed, since many http requests need to be made instead of just 2 css files? In other words, do you recommend using less but then finally compiling to css, or just use less with the js adapter?
One more thing, since on the example pages you use all js files, why dont you combine them together for better speed of the page?
Thanks

For development, using the LESS files can be helpful if you plan on making changes to them as you develop your site/app. When you're ready to make it live, though, you should be concatenating your files and compressing them.
As for the example pages, it's really up to the developer to pick and choose which plugins they plan on using (the download customizer handles this).

Best practice for LESS/CSS: compile the .less files into .css and include that for production.
As for the JS, I'll ask @fat to see if we can reduce the number of requests—makes sense to me.

thanks :)


detected problems with api compatibility on android device in hello world project

Steps to Reproduce

flutter create proj

flutter run and wait 3~5 seconds

click home to desktop

open the app

The dialog is showing.

flutter doctor -v

[✓]Flutter (Channel dev, v1.0.0, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
    • Flutter version 1.0.0 at /Users/cai/fluttersdk/flutter
    • Framework revision 5391447fae (10 days ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/cai/Library/Android/sdk
    • Android NDK at /Users/cai/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Volumes/Evo512/application/develop/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Android Studio (version 3.2)
    • Android Studio at /Volumes/Evo512/application/develop/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] Connected device (1 available)
    • MI 8 • b6ec3684 • android-arm64 • Android 9 (API 28)

pubspec.yaml
Project pubspec.yaml like this.
name: chat_example
description: A new Flutter project.

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# Read more about versioning at semver.org.
version: 1.0.0+1

environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  scoped_model: ^1.0.1
  after_layout: ^1.0.7

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.io/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.io/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.io/custom-fonts/#from-packages

Sometimes I get a log.
Accessing hidden method Landroid/util/MathUtils;->dist(FFFF)F (dark greylist, linking)

That looks more line an issue with the phone than with Flutter
https://developer-support.myscript.com/support/discussions/topics/16000024921
https://stackoverflow.com/questions/53397578/java-lang-nosuchmethoderror-no-static-method-distfffff-in-class-landroid-util?rq=1

That looks more line an issue with the phone than with Flutter
https://developer-support.myscript.com/support/discussions/topics/16000024921
https://stackoverflow.com/questions/53397578/java-lang-nosuchmethoderror-no-static-method-distfffff-in-class-landroid-util?rq=1

@CaiJingLong It's a bug of MIUI, confirmed by my former workmates in Xiaomi
BTW, it was found when I investigated the topic in
https://developer-support.myscript.com/support/discussions/topics/16000024921

@Sunbreak
Maybe it's a MIUI problem.
I've had new problems since I updated my MIUI version.

When my flutter changes, the log will be output over and over again.
It seems to be triggered once per frame.  It also seems to be a MIUI problem.

@Sunbreak
Maybe it's a MIUI problem.
I've had new problems since I updated my MIUI version.

When my flutter changes, the log will be output over and over again.
It seems to be triggered once per frame. It also seems to be a MIUI problem.

You'd better create a topic on MIUI forum: http://www.miui.com/index.html

@Sunbreak  Thanks ,I posted a feedback on the forum a few days ago, but it was deleted. I couldn't find other ways to contact MIUI officials.

Thanks for reporting. But I'm going to close this issue for now. If you have specific actionable changes the Flutter engine should make, please open a new GitHub issue.


[1.48.12] Google Pixelbook recognised as phone

OpenUI5 version:
1.48.12
Browser/version (+device/version):
Version 62.0.3202.74 (Official Build) (64-bit) on a Google Pixelbook
Any other tested browsers/devices(OK/FAIL):
N/A
URL (minimal example if possible):
https://openui5.hana.ondemand.com/test-resources/sap/ui/core/Device.html
User/password (if required and possible - do not post any confidential information here):
N/A
Steps to reproduce the problem:

Use Google Pixelbook
Go to a UI5 powered resource
Note that the display looks odd
Realise it's because sap.ui.Device.system.phone is true

What is the expected result?
Desktop display of resource
What happens instead?
Phone display of resource
Any other information? (attach screenshot if possible)
See screenshot of display of FLP, and also an attachment being a saved PDF file (Device - sap.ui.pdf) of the result of displaying https://openui5.hana.ondemand.com/test-resources/sap/ui/core/Device.html

Hello,
I do not have such test device. Please make a screenshot of the whole page after executing https://openui5.hana.ondemand.com/test-resources/sap/ui/core/Device.html Try also https://openui5nightly.hana.ondemand.com/test-resources/sap/ui/core/Device.html
Try also turning on and off the touch support and check if the device is recognized differently.
Thanks

Since there is no response from the author for more than 4 weeks I'm closing the ticket.


help me

please help me setting it up the cmd panel said
Error: Could not find haxelib "actuate", does it need to be installed?
on the yt video i was watching this doesnt happened

when you forget to use the build guide that kade dev released
(here is the link --> https://github.com/KadeDev/Kade-Engine/blob/stable/docs/building.md)

put on your CMD haxelib install actuate

now the setup said this "Source path "C:/HaxeToolkit/haxe/lib/extension-webm/git/ndll/Windows64/extension-webm.ndll" does not exist"

what do i need to download now

i followed all download on https://github.com/KadeDev/Kade-Engine/blob/stable/docs/building.md


Update Learn More link to point to new documentation

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
This issue was for fixing the original link: https://github.com/microsoft/devhome/issues/3153. That was fixed with PR https://github.com/microsoft/devhome/pull/3189. This new issue is to track the final fix to the link, to point to the new documentation page when it becomes available.
Expected result
Link should point to learn.microsoft.com page for Project Ironsides.
Actual result
Link points to Github Feature Exploration page.
Included System Information
No response
Included Extensions Information
No response

Fixed.


Build a (minified) version for CDN delivery

Currently the user has to install the library with a package manager. I think it would be a good idea to build a (minified) version of the lib each time the main branch gets updated. This way the user can just include a script tag with a CDN's url (e.g. https://unpkg.com/<EMAIL_ADDRESS>and use the library.
I do not really know if GitHub Actions can modify commits or add this to a merge commit. But what we would need ideally is:

A config/tool to build a (minified) version of the library
A Github action that builds the library automatically and updates the repo if changes are merged into main

Hello ! I really would like to work on this one. But I think this issue should be split in two : one for the minification tool and one for the CD part with Github actions.

Hey @amstr4d. Sorry, I didn't mean to snag this out from under you.  My solution to the second part of this issue is probably a bit unsatisfactory (see the description in the PR) and I didn't use GitHub actions as suggested. Maybe you want to pick up where I left off in my PR?

Hi @mrewers ! No problems, your solution seems pretty nice. I can still work on the Github Actions part, but maybe on a different issue, as @Fubinator mentionned in your PR.

@mrewers @amstr4d I opened #35 for the GitHub action part.


Update doobie-core, doobie-hikari, ... to 0.13.2

Updates

org.tpolecat:doobie-core
org.tpolecat:doobie-hikari
org.tpolecat:doobie-postgres
org.tpolecat:doobie-scalatest

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

Files still referring to the old version number
The following files still refer to the old version number (0.9.4).
You might want to review and update them manually.
examples/votingapp/project/Dependencies.scala

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

labels: library-update, semver-minor, old-version-remains

Superseded by #500.


Switch nglview to conda-forge

As per comment https://github.com/bigginlab/WTcourse/pull/21#discussion_r347488734
nglview is installed via conda-forge not bioconda.
As far as I know that mean we can get rid of the bioconda channel dependency completely.

Closed via #26


knife error - table size exceeds the currently set width.Defaulting to vertical orientation

Description

Running knife config list profiles shows the following error:

Chef Version

Chef Workstation version: 20.11.180
Chef Infra Client version: 16.6.14
Chef CLI version: 3.0.33
Platform Version

macOS 10.15.5 (Catalina)
Replication Case

It happens when we reduce the terminal width. Resizing it to fit the output results in no errors.
Stacktrace

The table size exceeds the currently set width.Defaulting to vertical orientation.
ERROR: knife encountered an unexpected error
This may be a bug in the 'config list profiles' knife command or plugin
Please collect the output of this command with the `-VVV` option before filing a bug report.
Exception: NoMethodError: undefined method `size' for nil:NilClass

Hi, @rishichawda I have tested the command on the latest and mention version and it's working fine for me, please check the below results.  And if you are still facing the issue please try upgrading your chef version or share more details to replicate the issue.

@snehaldwivedi Looks like it's still there. From the screenshot you attached in your comment, it seems like you had enough terminal width to accommodate the rendered table. The bug is only when the terminal width is small enough that the content wraps. That is crucial to reproducing the bug.

@btm @tas50 I have tested this on mac and on windows too. This issue is only replicated when we minimize the screen that much that the table cannot be formed either vertically or horizontally. This can also be replicate if we increase the font size to very large. As per the code if the table size is greater than the screen width we show the table in vertical orientation as follows:
PS C:\Users\Administrator\chef\knife> bundle exec  knife config list profiles
Profile  *default
Client   chefadmin
Key      ~/.chef/ec2-chefadmin.pem
Server   https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

Profile  test
Client   chefadmin
Key      ~/.chef/ec2-chefadmin.pem
Server   https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

Profile  prod
Client   chefadmin
Key      ~/.chef/ec2-chefadmin.pem
Server   https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

Profile  dev
Client   chefadmin
Key      ~/.chef/ec2-chefadmin.pem
Server   https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

Profile  web.preprod
Client   chefadmin
Key      ~/.chef/ec2-chefadmin.pem
Server   https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

Profile  example.org
Client   chefadmin
Key      ~/.chef/ec2-chefadmin.pem
Server   https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

and if the table size is smaller than the width of screen its shown horizontally as follows:
PS C:\Users\Administrator\chef\knife> bundle exec  knife config list profiles
 Profile      Client     Key                        Server
-----------------------------------------------------------------------------------------------------------------------------------
*default      chefadmin  ~/.chef/ec2-chefadmin.pem  https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee
 test         chefadmin  ~/.chef/ec2-chefadmin.pem  https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee
 prod         chefadmin  ~/.chef/ec2-chefadmin.pem  https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee
 dev          chefadmin  ~/.chef/ec2-chefadmin.pem  https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee
 web.preprod  chefadmin  ~/.chef/ec2-chefadmin.pem  https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee
 example.org  chefadmin  ~/.chef/ec2-chefadmin.pem  https://ec2-34-219-25-251.us-west-2.compute.amazonaws.com/organizations/4thcoffee

In vertical orientation the width of table mainly depends on the server value as its longer in windth size. I tried several ways but  I didn't find any solution. As there are multiple cases like font, screen size because of which this table cannot be form. Ideally, we work on maximum or half screen width size only. But if it still needs to be solved please suggest to me any way to do it.

@rishichawda can you please confirm if you're getting proper output full screen?

@rishichawda I am closing this issue for now as on the ideal terminal & font size it's working fine. If you face an issue on the ideal size please reopen the issue.

I'm facing similar problem. I have chef workstation 22.5.923 installed on my Windows 10 x64 version 21H2 with screen resolution 1920x1080 with 100% scaling with default CW PowerShell.
Running "knife config list" command is throwing the same error "The table size exceeds the currently set width.Defaulting to vertical orientation."
It was working until last week and I have not made any changes to the system or the CW Powershell. The Font and Screen size is the same default but it's throwing this error today.
I even tried changing the CW PowerShell Default Font to the lowest size (like 5) and increased the Screen Buffer Width to the widest like 500 points but I still see the same issue.
Any thoughts? I Googled/Binged it but I couldn't find a solution to this issue.
To add, knife node search does return good results with proper formatting with the default settings. It is just the knife config list that's complaining.
I don't see to have access to reopen this issue as it's reported by someone else. Let me know if I should open a new issue.


[K32W0] Update Docker image

Problem
What is being fixed?
NXP refactoring around SDK naming.
Change overview
Change SDK env variable name.
Testing
How was this tested? (at least one bullet point required)

not tested yet

Not sure if the version update is done correctly by changing integrations/docker/images/chip-build/version. Please double check.

fast track: platform specific docker change


Create Single/Multi Selectors [on hold]

Porting over Selectors from Python side.
Feature
Given a number of QueryEngineTools, select 1 or more candidate query engines to query results.

SingleSelectPrompt and MultiSelectPrompt are the same as the Python side but they are more specific.

Handles "no QueryEngines are relevant" case better
specified output to be strictly JSON or list of JSON.

##TODO

[x] Update prompts
[x] Single selector
[x] Multi Selector
[x] Make example in apps/simple

Closing PR, selectors was already added, thanks for the contribution


chore: @shapeshiftoss/types version references and tokens reference

Reverts removal of the tokens reference
Updates "@shapeshiftoss/types package references to 3.0

@0xdef1cafe please review

@cjthompson this will fix the typings problems occurring in build

should get this merged soon for the tokens revert

@0xApotheosis updated heres yarn.lock

@GMSteuart merge conflict with yarn.lock - please merge in master, re-run yarn, then commit the resulting yarn.lock.

@gomesalexandre should be good to go. 🙂


PWM Support

This is my first crack at adding PWM support.  It is working on my LPC1768 board (that is the only board I have added code for at this point).  I haven't touched platformtree! with these initial changes as I expect that to be changing significantly in the short term.
Feedback very welcome.  Its probably important to get the Trait for PWM close to right so feedback there very appreciated.  Also, general comments on use of ioregs!, etc. is also very much appreciated as I will have to use it extensively for adding KLxx support if I move forward with that.
There are a couple of commits that we might consider backing out (linker script changes).  I have left those in there for now for discussion.

Hmm, I may have to look over things a bit more closely.  At 100% duty cycle, it still looks like the signal is not quite being fully driven (only driving at 98%).

Fixed the aforementioned issue, so should be ready for review.  PWM on the LPC17xx supports addition features (registering interrupts on match, etc.), but this implementation only support configuring a traditional single-PWM output (e.g. it lets you configure several single-edged pwm outputs).

test this please

Kinda forgot about this guy.  I'll try to update this branch based on suggestions so we can get this code merged.

@farcaller @mcoffin I believe I have now (finally) made all the updates that were brought up previously and I have rebased on master.

Thanks for the work. The tests fail on native due to nightly issues I guess.
I'll try to take a deeper look into this a bit later this week, lots of code in here.

This commit rebases on master, addresses comments from the PR, and includes some additional cleanup related to PWM.  Tested working on my lpc1768 again:

:+1:


Bump helm-bibtex and ivy-bibtex

helm-bibtex split out bibtex-completion into a separate package
in MELPA. Add an explicit pin of bibtex-completion and bump the versions
of {helm,ivy}-bibtex to match.

Sorry I should read more patches to see the conventions.

No worries! I haven't documented it yet so its perfectly understandable. Thanks again for the help!


Inquiry about Heat Maps

Hello Andrew,
I wanted to ask if the "Heat Maps" feature is included in the map kick gem. Could you please provide some information about this?
Thank you!

Hi @pkawalya, it's not currently included, but I'm considering adding it for the next map type (#6).


Allow fixtures to be reused across multiple tests

This only reduces the runtime by ~25%, but further speed increases can be gained by updating the scope of more fixtures.
I've also tried to reduce the number of fixtures to keep the test setup complexity down a bit. See the single commit messages for more details.

This is wonderful.

I rebased this on master.


fixes QueryResultUtil#getValueByColumnType unsigned int & bigint return value.

Fixes #3231 .
Changes proposed in this pull request:

INT UNSIGNED type, if value beyond java Integer range, return Long type.
INT UNSIGNED type, if value don't beyond java Integer range, return Integer type.
INT SIGNED type, return Integer type.
BIGINT UNSIGNED type, if value beyond java Long range, return BigDemical type.
BIGINT UNSIGNED type, if value don't beyond java Long range, return Long type.
BIGINT SIGNED type, return Long type.

@tuohai666  Please help me with the code review, Thanks.

I'm dealing with the the Integration Tests problem, Please wait a moment.

Pull Request Test Coverage Report for Build 659

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 67.499%

Totals

Change from base Build 476:
0.03%

Covered Lines:
11242

Relevant Lines:
16655

💛  - Coveralls


Login dosn't work correct with 5.2

After installing the last version for laravel 5.2 i tried to login with<EMAIL_ADDRESS>That works. I will be redirected to the given url. If I use the wrong password than not.
But if I try to show information about the auth user it doesn't work.
if I write:
$authentication = \App::make('authenticator');
$ben=$authentication->getLoggedUser();
print_r($ben);
it shows nothing
But if I write this before to login manually than it works:
$i=$authentication->loginById(1,false);
Where is the problem?
Please help.

In order to see the current user the route need to have the 'admin_logged' filter middleware.

Hi, I am also having the same problem, i want to do this for the client user, how can i see the currently logged in user

I'm having the same problem...
I migrated my project from version 5.1 to 5.2 updated all my routes to middleware instead of filter "before" and updated my kernel with the middlewares... but login is not working...
After login I got null on App::make('Authenticator')->getLoggedUser() and false on App::make('authenticator')->check()
I follow all the instructions, change the composer.json version, then run composer update then composer install
Altered the Kernel.php adding the middlewares and no success...
I can login in /admin/login and see all the users dashboards, but when I try to use any method of App::make('authenticator') its return null or false.
Please Help...


Changed some netframework projects to use .net sdk style csprojs

Migrated our remaining netframework projects to sdk style projects.
Tests are green and the generated nuget packages seem to be working in the template. I think its also good to test a bit more with some samples.
Hope this is the last PR with thousands of changes for a while :)
Changes:

All projects except the 2 debugging visualizer projects in the tool solution are now sdk style
Members of some resource files are now internal

Completes #737

Dud a quick test and seems that the winforms designer is now working in visual studio.

Looks good, judging from just looking at the changes. Don't have the time for a full checkout and test right now, but maybe @SirePi can jump in, so we can ensure it's been tested on at least two machines?
Stuff to look out for (maybe verify on your machine as well @Barsonax, in case any points are missing):

(Make sure to clean all existing output before testing)
Does everything compile?
Is the Build/Output folder populated as expected?
When selecting a sample project as a startup project, does it run the editor as expected, with all the sample stuff working?

Make sure to check one that carries both content and source code.
I usually go for the Tilemaps sample, followed by the DualStickSpaceShooter to tick two different complexity scenarios.

When building nuget packages, do they end up fine, e.g. did they get the files they need?

Looks good, judging from just looking at the changes. Don't have the time for a full checkout and test right now, but maybe @SirePi can jump in, so we can ensure it's been tested on at least two machines?

@SirePi since this PR changes some csprojs visual studio can get confused. Clean everything before testing (running git clean -fdx after checking out and before opening visual studio should do the trick).

Does everything compile?

Yes

Is the Build/Output folder populated as expected?

Yes, output is the same.

When selecting a sample project as a startup project, does it run the editor as expected, with all the sample stuff working?

No, have to check this but iam probably simply missing some entries for this in the csproj/launcherconfig.

When building nuget packages, do they end up fine, e.g. did they get the files they need?

Since we are still using nuspecs this has not really changed alot except for some paths. I did some tests with our new template but I will check it again after fixing the previous point.

So how I do it now is to copy the sample stuff over myself. This is the same as it was before right? I don't see any entries in the csproj that copies over all the content before we switched to net sdk style projects. @ilexp

Before, you could run it directly. This was achieved by (I think, it changed one or two times) setting the working directory for debug sessions to the sample folder where its Data and custom Plugins were, but launching the editor from the Output folder.

This is not really a big deal in this case though as you can just set the dualityeditor project as the start project.

I'd argue that it kinda is though!
From a developer usability side, it was super easy to just run and debug any sample from the IDE, and I regularly did this to verify some core changes, using the samples as extended test cases. If it becomes an inconvenient thing to do, chances are it simply won't be done anymore at all, eliminating an in-depth test case during development. It also makes sample development more difficult if there is no longer an established way to test and develop them.
But yeah, like you said:

Else we will run into the same problem that caused us to add a gamelauncher and gameditor project to the duality template. Maybe it will work again when we switch to .net core.

Seems we can't do anything about it though at this point - closest to getting there would be to manually change the working directory of the editor project, and explicitly selecting the editor application to run.
Maybe we can at least add a "sample launcher" project that is pre-configured to run the editor application from Output in the working directory of a sample? At least that way all you'd have to change is the working directory of the project, not create the entire setup. And it would document the possibility of this workflow in the repo, which might be the biggest advantage. The feature of having a different executing and working directory for the editor (or launcher) isn't otherwise apparent right now.

Maybe we can at least add a "sample launcher" project that is pre-configured to run the editor application from Output in the working directory of a sample? At least that way all you'd have to change is the working directory of the project, not create the entire setup. And it would document the possibility of this workflow in the repo, which might be the biggest advantage. The feature of having a different executing and working directory for the editor (or launcher) isn't otherwise apparent right now.

Agreed I will add something like a SampleRunner project

Added a sample runner project that by default has its launchSettings.json set in such a way that it will use the DualStickSpaceShooter sample @ilexp

Tried it, it appears to be working properly: compiles, the runner runs.. everything looks good.
Only thing the runner's player ship rotates randomly sometimes.. but I think it's nothing to do with the PR, unless it's some indication that something else is not working as it should?

EDIT: another possible option would be to make the paths that duality uses to find plugins configurable instead of hardcoded. This would allow us to keep the csproj's clean, make it possible to load multiple samples and give more freedom to endusers in how to structure their project. Not for this PR though.

It's not just about plugins, but also the Data folder, default application and user settings, editor data - essentially the working directory. Flexibility is always good, but not sure it would be worth the added complexity, since using a different working directory already works.

Only thing the runner's player ship rotates randomly sometimes.. but I think it's nothing to do with the PR, unless it's some indication that something else is not working as it should?

Probably nothing to do with this PR like you said, but that still is weird. If you manage to reproduce this, maybe create a new issue to investigate. Could have something to do with input detection.

Added a sample runner project that by default has its launchSettings.json set in such a way that it will use the DualStickSpaceShooter sample @ilexp

Tried it, it appears to be working properly: compiles, the runner runs.. everything looks good.

Neat! Thanks 👍 Approving this PR.


[Question] wonder about the switch from Tailwind CSS to Styled Components

I'm a big fan of your template and appreciate the work you've put into it.
I noticed the switch from Tailwind CSS to Styled Components and was curious about the reasoning behind it. I liked the simplicity of Tailwind and wondered if it's possible to support both in the template for added flexibility. Your insights on this decision would be valuable.
Thanks for your time and your fantastic template!

You can use the template version where it has tailwind css in it?  Or you can look at the PR where I remove it.  It is pretty straight forward.
The issue we ran into was that others are using our libraries and they may not be using tailwind, and thus using that library imposed it on them.  This was causing issues.  Now they can just pull in our React components and it instantly works without any additional build steps or configuration -- I guess that is the main benefit of styled-components, less complexity.

yes I ll use the tailwind version thank you!


Moving Platform Bug

Squash player if walking into side as the platform lifts

At least it doesn't kill you now. Not super smooth, but it should work.


[resotocore][feat] Typed Ids: TaskId

Description
Task id is now typed! one less possibility to mess up the wrong identifiers.
To-Dos

[x] Add test coverage for new or updated functionality
[x] Lint and test with tox
[ ] Document new or updated functionality (someengineering/resoto.com#XXXX)

Code of Conduct
By submitting this pull request, I agree to follow the code of conduct.

Codecov Report

Merging #882 (c7b05c0) into main (80cc046) will increase coverage by 0.00%.
The diff coverage is 95.45%.

@@           Coverage Diff           @@
##             main     #882   +/-   ##
=======================================
  Coverage   89.93%   89.94%
=======================================
  Files          70       71    +1
  Lines       10130    10140   +10
=======================================
+ Hits         9110     9120   +10
  Misses       1020     1020

Flag
Coverage Δ

resotocore
89.94% <95.45%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

resotocore/resotocore/web/api.py
67.28% <50.00%> (+0.05%)
:arrow_up:

...tocore/action_handlers/merge_outer_edge_handler.py
97.56% <100.00%> (+0.06%)
:arrow_up:

resotocore/resotocore/cli/command.py
87.79% <100.00%> (+<0.01%)
:arrow_up:

...tocore/resotocore/config/config_handler_service.py
95.87% <100.00%> (+0.04%)
:arrow_up:

resotocore/resotocore/db/runningtaskdb.py
96.22% <100.00%> (+0.07%)
:arrow_up:

resotocore/resotocore/ids.py
100.00% <100.00%> (ø)

resotocore/resotocore/message_bus.py
97.43% <100.00%> (+0.02%)
:arrow_up:

resotocore/resotocore/task/task_description.py
91.57% <100.00%> (+0.02%)
:arrow_up:

resotocore/resotocore/worker_task_queue.py
88.81% <100.00%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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


How to delete files older than a certain date

Hi,
We accidentally truncated a database table of FILE IDs. We have no way of restoring it. There are now new FILE IDs in the table. How can I delete files in all volumes that is older than the oldest FILE ID in our new database?
Another question: Is there a way to list all files in a volume with the date they were created/updated?
Thanks,
Rey

See "weed export -h"
On Thu, Sep 20, 2018 at 1:49 AM avonjo<EMAIL_ADDRESS>wrote:

Hi,
Someone accidentally truncated a database table of FILE IDs. We have no
way of restoring it. There are now new FILE IDs in the table. How can I
delete files in all volumes that is older than the oldest FILE ID in our
new database?
Another question: Is there a way to list all files in a volume with the
date they were created/updated?
Thanks,
Rey
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/731, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL7y8Bb3Aef3HLJFXvmd4z3cV72EBbks5uc1aKgaJpZM4WxqRZ
.


namespace external events for cos it's nice not to clobber the event space

Currently we events for the window object and the form that ST attaches too clobber any other user added events. Namespacing allows us finer control over the events that we set on those objects, allowing us to remove or amend those events without affecting other events set on the object.
We should consider adding namespaces for all events but these are the main ones affecting objects external to ST for now.

Curious what happened with this? ST still seems to be clobbering any event listeners attached to my form.


npm audit fix to upgrade vulnerable dependencies

I'm working on a solution to #15 but figured I might as well update these dependencies while I'm in here.
Tested:

using npm test.
linked my projects to the local package and verified reports were still being generated correctly.

Nice one - thanks for the contribution


Increase community topic editing time limit.

Relevant conversation https://chat.zulip.org/#narrow/stream/2-general/topic/topic.20edit.20permission

We need to edit API docs as well, see: https://github.com/zulip/zulip/pull/16316

We need to edit API docs as well, see: https://github.com/zulip/zulip/pull/16316

We may also just want to make this a setting

Okay added to my TODO.

We may also just want to make this a setting

Okay added to my TODO.

Rebased to avoid conflict.

Rebased to avoid conflict.

Merged, thanks @amanagr!
@gnprice @neiljp FYI -- can you make sure ZT and mobile have done the API migration (introduced in API feature level 11) to support realm_community_topic_editing_limit_seconds for when community topic editing is allowed?  It should be a small tweak to replace hardcoding with a /register field, if present, and we just changed the default value.

Merged, thanks @amanagr!
@gnprice @neiljp FYI -- can you make sure ZT and mobile have done the API migration (introduced in API feature level 11) to support realm_community_topic_editing_limit_seconds for when community topic editing is allowed?  It should be a small tweak to replace hardcoding with a /register field, if present, and we just changed the default value.

We didn't quite get this feature merged over the Summer; it's in zulip/zulip-terminal#793. This is the last topic-editing feature (apart from moving messages between streams) that we need to add.

We didn't quite get this feature merged over the Summer; it's in zulip/zulip-terminal#793. This is the last topic-editing feature (apart from moving messages between streams) that we need to add.

And community topic editing is not supported on zulip mobile yet. See https://github.com/zulip/zulip-mobile/issues/3975

And community topic editing is not supported on zulip mobile yet. See https://github.com/zulip/zulip-mobile/issues/3975


Except that my routes are protected by the auth middleware.
Is it possible to change the middleware for certain actions or even routes?
Thanks in advance :)

Hello, Thanks for your feedback, i'm looking to implementing this the right way, stay tune !


Missing grouping of Chief Complaint

Hi,
The grouping of chief complaints according to the Data Processing V2 document is missing.
Happy to contribute if this is not yet being developed.
Thanks,

Thank you very much @ccarenzoIC. That will be much appreciated. I think Sheffield are working on fixing (or may have already fixed) some of the issues with the SNOMED coding.
But a PR based on Chief_Complaint_Coding_V2 will be awesome. We can always tweak it if we need to.
Tagging @MattStammers  and @georgm8 to make sure that they are not working on this as well. I don't think they are.

we are also working on this

should hopefully be done very soon

we have added a pull for chief complaint

https://github.com/LTHTR-DST/hdruk_avoidable_admissions/pull/40


Added a notebook example for controlling a servo

This is an example notebook for controlling a simple servo. I had one laying around and it took me a few hours to figure out how to control it. I figure other people might find this handy.

Nice. Thank you for this contribution!