brandnewtube.com can list but not download

Checklist

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

Verbose log

PASTE VERBOSE LOG HERE

youtube-dl -v -f best https://brandnewtube
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'best', u'https://brandnewtube.com/watch/the-spinning-squirrel_WJGgG2PVaVW3r7C.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.16 (CPython) - Darwin-19.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] the-spinning-squirrel_WJGgG2PVaVW3r7C: Requesting header
WARNING: Falling back on generic information extractor.
[generic] the-spinning-squirrel_WJGgG2PVaVW3r7C: Downloading webpage
[generic] the-spinning-squirrel_WJGgG2PVaVW3r7C: Extracting information
[download] Downloading playlist: The Spinning Squirrel
[generic] playlist The Spinning Squirrel: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Invoking downloader on u'https://brandnewtube.FRA1.digitaloceanspaces.com/upload/videos/2020/07/HrGE5tItFxnODoZ2RHiJ_06_48e6ff1fc0a282ce2867215b97cfd7ec_video_720p_converted.mp4'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1926, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 341, in real_download
establish_connection()
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 109, in establish_connection
ctx.data = self.ydl.urlopen(request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2238, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Description

WRITE DESCRIPTION HERE
Apparently some videos I can download, but some I cannot. I haven't seen a pattern as yet. I can always list the videos using -F.

I was able to download three videos from brandnewtube (including your example link). Issue can be closed.


Simple Policy demo needs DNS, but doesn't list it as a pre-req

http://docs.projectcalico.org/v2.0/getting-started/kubernetes/tutorials/simple-policy

We don't generally consider DNS a pre-req in the same way we don't consider running the kubernetes apiserver a pre-req.  It's a core kubernetes component.

It requires a Kubernetes cluster ...

Is it assumed that DNS is installed in that cluster? Probably worth us nudging folks with that requirement anyways

Is it assumed that DNS is installed in that cluster? Probably worth us nudging folks with that "requirement" anyways

Yeah, as of like v1.3.0 or something DNS is considered a required component.  We can nudge, but it's a little bit silly.
"You must have a working Kubernetes cluster that, by the way, needs to have kubelet running on all of the nodes"

Fair enough.  Closing.


Add support for terminating connection in the Target Group resource

Is your request related to a new offering from AWS?
Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider
Yes ✅: please list the AWS provider version which introduced this functionality

Is your request related to a problem? Please describe.

The Terraform resource aws_lb_target_group allows to configure the connection_termination behaviour in the target group. This is available in the provider.
Describe the solution you'd like.

A new entry to the existing target_groups KVP input variable that contemplates adding support for this request.
Describe alternatives you've considered.

NA
Additional context

I'll be raising an MR to add this behaviour.

This issue has been resolved in version 8.1.0 :tada:


New analytics when add new [data-pan] to link  not showing!

When add new data-pan to new button or link the analytics not show it
and i don't want make [php artisan pan:flush] to remove all data!

Is your application using a whitelist for analytics ? Maybe you also need to add your new analytic there: https://github.com/panphp/pan?tab=readme-ov-file#whitelist-your-product-analytics

Is your application using a whitelist for analytics ? Maybe you also need to add your new analytic there: https://github.com/panphp/pan?tab=readme-ov-file#whitelist-your-product-analytics
Hi @pxpm
Just add        PanConfiguration::unlimitedAnalytics(); to AppServiceProvider

Just add PanConfiguration::unlimitedAnalytics(); to AppServiceProvider


Move to github actions from Travis

I added a commit "image build test" to show what this will do when merged. That commit, and the "auto update of tag" commit that resulted will be removed before this is merged. They show that when images/jobber/* change, the jobber image will be rebuilt and pushed. The pr-98 tag is visible at:
https://quay.io/repository/wikimedia-paws-prod/jobber?tab=tags
Github actions will not trigger checks on a commit made using the GITHUB_TOKEN. One has to make a personal access token to do this. At which point we get the checks showing up as they do with the test commit, rather than hiding on the previous commit. Though does anyone know where the creds are for the toolforge-push bot user? Seems like that would be a good account to hook the cred to. Though perhaps we can wait and move to gitlab, as, ultimately, this is a stopgap to move away from travis.
This change will remove travis from the workflow. Using github actions in its place. Additionally image creation will be preformed on a PR that has changes in an associated image directory, such as images/singleuser. If there are changes as part of the PR in such a directory the image will be rebuilt, and pushed to quay using the pr number as its tag, such as "pr-23", and then paws/values.yaml will be updated to reflect this. This allows us to automatically create new tags and update the deployment to match. Someone interested in testing the deploy on minikube should only need to pull the branch and run a helm install/upgrade, where previously there would have been manual building of the container, and editing values.yaml or an override file. Additionally this gets us using the same container we tested in prod. Finally this brings us closer to being able to automate deploys. By using a unique tag on each container we should only need to run the helm upgrade command on a prod system to be upgraded with any container or configuration changes. Such can be added as another action or webhook that is triggered when a PR is merged.
In the lint.yaml in PR 70 there was an additional test for the kubeval:
./kubeval/kubeval -v $KUBERNETES_VERSION --strict ingress/* manifests/*
which in travis was:
kubeval -v $K8S_VERSION --strict manifests/*
ingress was failing so leaving it off for now. T295230 is a ticket to update this.
It is not included in this PR. But if we merge this paws upgrades and rollbacks should be reduced to:
git pull (git checkout for a rollback)
helm -n prod upgrade paws paws/ -f paws/secrets.yaml  -f paws/production.yaml
which could be triggered by a webhook.

I'm a little confused on why 666236a (re-)triggered an jobber image build, and there is perhaps some potential to improve buildkit use of cache (irrelevant for a 7s build of jobber, but likely relevant for singleuser, and perhaps other images).

I agree it should not do that. However github actions are somewhat limited in terms of DRY and conditionals. I would like it if:
on:   pull_request:     paths:       - images/jobber/**
could become:
on:   pull_request:     paths:       - images/jobber/** AND paws/values.yaml
But GHA doesn't seem to support a logical and in that place, just OR statements. Some people get around this by putting conditionals down in the jobs themselves, but this gets kind of messy too, as there doesn't seem to be a way to just exit on the first step. Instead you end up with a conditional on every step, and it still ran, it just didn't do much. https://stackoverflow.com/questions/60589373/how-to-force-to-exit-in-github-actions-step has an example of that.
My views were flavored by seemingly we get unlimited minutes for having a public repo:
https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration
so yes, singleuser and other large jobs could run twice unnecessarily, but seemingly they will still be done. And that GHA lacks a number of things (conditionals, loops, stuff that would make the code more what we want, rather than something that ultimately works), so I kind of saw this as an option until we move to gitlab, where hopefully we can make something more elegant.


Code running confusion

Sir,
Which is the final code to run from below ?
06_precise_landing.py or
test_precise_landing_mavlink.py ?

You are right. 06 is the official. The other is the one I used for
development. They should be equivalent
On Sat, Oct 5, 2019, 1:52 AM ashishimpace<EMAIL_ADDRESS>wrote:

Sir,
Which is the final code to run from below ?
06_precise_landing.py or
test_precise_landing_mavlink.py ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tizianofiorenzani/how_do_drones_work/issues/12?email_source=notifications&email_token=AAP3DMSDMWEVLFCPH5A75LDQNA2RFA5CNFSM4I5WTS32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP2BKTQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP3DMTYVESXCUREUNBEN73QNA2RFANCNFSM4I5WTS3Q
.

Ok.
Thank you so much.
On Sun, Oct 6, 2019, 3:17 AM Tiziano Fiorenzani<EMAIL_ADDRESS>wrote:

You are right. 06 is the official. The other is the one I used for
development. They should be equivalent
On Sat, Oct 5, 2019, 1:52 AM ashishimpace<EMAIL_ADDRESS>wrote:

Sir,
Which is the final code to run from below ?
06_precise_landing.py or
test_precise_landing_mavlink.py ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/tizianofiorenzani/how_do_drones_work/issues/12?email_source=notifications&email_token=AAP3DMSDMWEVLFCPH5A75LDQNA2RFA5CNFSM4I5WTS32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HP2BKTQ
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAP3DMTYVESXCUREUNBEN73QNA2RFANCNFSM4I5WTS3Q
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tizianofiorenzani/how_do_drones_work/issues/12?email_source=notifications&email_token=AE3T3WHO3WRTYTIL7VRDWS3QNEDQ3A5CNFSM4I5WTS32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAN4P7Y#issuecomment-538691583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE3T3WDM47Z2FIN63TDEZATQNEDQ3ANCNFSM4I5WTS3Q
.

Closing the issue


Match code blocks where whitespace follows the closing ``` tag

I ran into a few issues where code blocks appeared not to close properly because there was space following the e.g.
```ruby
```(space)

Maybe this is desirable behaviour but in case its not (it was quite annoying and the cause was not immediately apparent) I thought changing the regexp to match trailing whitespace following the final ``` or ~~~ would help.

Thanks for fixing this :boat:

My pleasure :smile:


Add commands to top of context menu

Is it possible, or could it be made possible, to add options to the top of the context menu? I want to be able to double-click an image and have it open in the standard image viewer, but then to right-click it and directly have the option "Open in pinta" (for example). Currently, it seems the closest I can get with stock nautilus is "Open with Other Application" which then requires me to navigate a list of possibilities, and the closest I can get with actions-for-nautilus is an "Open with pinta" option way down at the bottom of the context menu. Or is there another option I haven't yet found?

Hey Jonathan
Firstly thanks for using A4N.
In regards to putting items at the top of the context, the extensions API
exposed by Nautilus for the context menu is fairly rudimentary. In
particular there isn't a way to affect the general location of the A4N menu
items within the menu as a whole, only their order within the section of
the menu that Nautilus implicitly assigns to the extension (which is based
on the order in which menu extensions are loaded... which I also have no
control over except, possibly, alphabetically... which I'm already doing,
the extension name starting with an 'A' 😁).
I'm also not aware of any other techniques of getting a second 'open with'
entry to appear below the default one. Although you do see that sometimes
(e.g. executable scripts can have a 'run' entry at the top of the menu),
this is something internal to Nautilus and not part of the python API.
If you do find a solution to this, I'd love to know what it is.
Martin Bartlett
On Tue, Apr 30, 2024, 11:28 Jonathan Gilbert @.***>
wrote:

Is it possible, or could it be made possible, to add options to the top of
the context menu? I want to be able to double-click an image and have it
open in the standard image viewer, but then to right-click it and directly
have the option "Open in pinta" (for example). Currently, it seems the
closest I can get with stock nautilus is "Open with Other Application"
which then requires me to navigate a list of possibilities, and the closest
I can get with actions-for-nautilus is an "Open with pinta" option way
down at the bottom of the context menu. Or is there another option I
haven't yet found?
—
Reply to this email directly, view it on GitHub
https://github.com/bassmanitram/actions-for-nautilus/issues/64, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADAKLWR5NL4XRUC5PODBGQLY75P4XAVCNFSM6AAAAABG74K52GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3TAOJXGIZDGMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

That's disappointing but I had a suspicion that might be the case. :-) Thanks very much for the reply!


Need transfer protocol for "small package" interfaces

On some devices the maximum size of a "package" that can be transferred on a particular interface is smaller than the maximum supported message size. We need a transfer protocol that works across various interface types (e.g. I2C, SPI) that allows the transfer of "large" messages across multiple "transactions" on the particular interface. This transfer protocol can also be used for smaller messages that fit into one "package" to indicate the size of the message.

In Manticore's current design, this is "out of scope" of what Manticore gives you (though we are working on changing this!).
Manticore's contract is that you need to hand it complete buffered Cerberus commands (while Cerberus operates on the level of MCTP packets). Actually bridging the physical and application layers is currently the integration's responsibility, and we expect the transport to vary from interface to interface.
For example, on I2C, we can use MCTP. However, over SPI, we might want to use a different protocol. For a very trivial two-device link, I think the following is a very simple strategy similar to what MCTP does:

Each packet consists of a start bit, a stop bit, a u16 length, and a payload.
Message assembly starts when a start bit is seen, and stops when a stop bit is seen. The message is the concatenation of the packets' payloads, and has an intrinsic length. Single-packet messages would send one packet with start and stop set.
Packetization is the opposite: you break up messages into "small enough" chunks, set the start and stop bits as necessary, and send them over the wire.

This is probably good enough for the short term, until Manticore gets a way of abstracting the transport layer.

As we discussed via chat, I'm going to do the following specifically for Tock-on-Titan for the time being:

Expect that a message fits into one buffer size.

A buffer is 512 bytes in size, but it also contains SPI protocol data:

1 byte command
4 bytes address
1 dummy byte (optional)

This leaves us with 506 bytes of raw data.

Prefix the message with its length (16 bit = 2 bytes). This leaves us with 504 bytes for the message.

The message on the SPI bus will then look like this:

Byte
Content

0
SPI flash command

1..2
SPI flash address

3
dummy byte (optional, depending on SPI flash command)

4..5
message length

6..511
message

For this to work, we'll need to hold a 512 byte RX and 512 byte TX buffer in memory, which - from what I can tell by testing - is possible in the Tock-on-Titan environment.


Threads - Untrusted Teardown + NapDtor

This PR combines the teardown handler (which was already looked over mostly) and functionality to properly free the NaClApp structs.
I've removed the signal teardown for trusted code since we should really abort if anything happens there now that we are checking vmmap protections for wonky addresses.
The napdtor includes switching to shutting down desc's through NaCl on exit, and handling situations where a cage becomes an orphan, as well as creating the Dtor function which is triggerd in NaClAppThreadTeardown.

Going to close this for a bit while I fix it up.

@jesings I think I addressed your concerns here.

fork_simple is being wonky in the test suite, but @kapkic is fixing that.

Dealing with that pesky fork_simple test actually exposed a bug in how we're duplicating nap information on fork/exec. Closing this until I fix that bug.

Finally got that green check mark.
I think this is good to go now. We changed the failing test (fork_simple) to a test that isn't insane. But regardless I fixed what was breaking the original one, which was a problem with the service threads once I started freeing the Nap structs properly.
I removed the service threads entirely, we don't use them at all. So this now makes things a bit cleaner to look at in gdb as a positive side effect (as well as being faster? probably negligibly but still...)

Alright, I think this is good now. @jesings I made the changes you requested and changed the arg translation a bit for fork/exec so they could be freed appropriately.


test: 1.1.4 is required to up- and downgrade from 1.2.0

This avoids testing an unsupported up and downgrade path from 1.1 to 1.2.

This change is

test-me-please


Multipart Parsing seems to be broken when updating to 1.0.0-M21

I have a small project that reads a paginated HTTP resource that produces Multipart documents. I'm currently trying to upgrade from http4s 0.x to the latest 1.0.0 milestone. I got it to compile, but now the multipart parsing fails with an exception.
I put together a small project to demonstrate it: https://github.com/L7R7/http4s-multipart
In a nutshell, what i have is the following:
def responseToParts: Pipe[IO, Response[IO], Part[IO]] = _.flatMap { response =>
  findBoundary(response.headers) match {
    case Some(boundary) => response.body.unchunk.through(MultipartParser.parseToPartsStream(boundary))
    case None => Stream.raiseError[IO](new IllegalStateException("no boundary found"))
  }
}

def findBoundary(headers: Headers): Option[Boundary] =
   headers.find(_.is(`Content-Type`))
     .map(_.value)
     .flatMap { s =>
       s.split(";")
         .map(_.trim)
         .find(_.startsWith("boundary="))
         .map(_.replace("boundary=", "").replace("\"", ""))
     }
     .map(Boundary(_))

when I feed in the response, I get the following stacktrace:
[error] (run-main-0) org.http4s.MalformedMessageBodyFailure: Malformed message body: Malformed Malformed match
[error] org.http4s.MalformedMessageBodyFailure: Malformed message body: Malformed Malformed match
[error] 	at org.http4s.multipart.MultipartParser$.$anonfun$ignorePrelude$2(MultipartParser.scala:209)
[error] 	at fs2.Pull$$anon$1.cont(Pull.scala:149)
[error] 	at fs2.Pull$BindBind$$anon$7.<init>(Pull.scala:622)
[error] 	at fs2.Pull$BindBind.cont(Pull.scala:622)
[error] 	at fs2.Pull$BindBind$$anon$7.cont(Pull.scala:624)
[error] 	at fs2.Pull$.mk$1(Pull.scala:638)
[error] 	at fs2.Pull$.fs2$Pull$$viewL(Pull.scala:643)
[error] 	at fs2.Pull$.fs2$Pull$$go$1(Pull.scala:1118)
[error] 	at fs2.Pull$StepRunR$1.$anonfun$done$2(Pull.scala:884)
[error] 	at fs2.Pull$.$anonfun$compile$1(Pull.scala:805)
[error] 	at cats.effect.IOFiber.next$2(IOFiber.scala:358)
[error] 	at cats.effect.IOFiber.runLoop(IOFiber.scala:366)
[error] 	at cats.effect.IOFiber.autoCedeR(IOFiber.scala:1134)
[error] 	at cats.effect.IOFiber.run(IOFiber.scala:145)
[error] 	at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:397)

The same thing with the same Multipart Document n 0.21.22 works fine. The changelog doesn't say anything about whether I should change the code with the new version, so I don't know if I found a bug (or maybe the code shouldn't have worked with the old version?)
The sample project linked above contains the code for both versions, including a small server to test it

Closing this. I found out that the boundary can be obtained like so:
def findBoundary(headers: Headers): Option[Boundary] =
  headers
    .get[`Content-Type`]
    .flatMap(_.mediaType.extensions.get("boundary"))
    .map(Boundary(_))

I don't know exacly why, but this seems to work


Support customized headers

We are using docker engine swarm mode and one scenario is:
On one swarm worker, our service, which is running inside a docker container, will make some remote api calls to swarm manager leader. Now we want to enable the TLS for docker daemon on the manager leaders.
To make those remote api calls, we use dockerode module, and what we want to do is to set the headers(Host: ), then make the remote call by IP, not the common name, so we don't have to set it in /etc/hosts to tell what IP the common name will be resolved to.
Is it a reasonable change to support customized headers? e.g.
https://github.com/apocas/dockerode
var docker = new Docker({
  protocol: 'https',
  host: '<IP_ADDRESS>',
  headers:{Host: 'my-common-name'}, // we need it!!!
  port: process.env.DOCKER_PORT || 2375,
  ca: fs.readFileSync('ca.pem'),
  cert: fs.readFileSync('cert.pem'),
  key: fs.readFileSync('key.pem')
});

It seems docker-modem does support headers per every "dial", but dockerode doesn't pass in any extra options when making calls.
This is the issue I filed to docker-modem:
https://github.com/apocas/docker-modem/issues/67

Yeah, it sounds reasonable to allow setting additional headers.

Yes I think it may be reasonable and possible without polluting/over engineering usage.


qual: adapt vue boilerplates to<EMAIL_ADDRESS>

See also:
https://github.com/batijs/bati/pull/166
https://github.com/vikejs/vike-vue/pull/70
I will do vike-solid afterwards

LGTM, thanks!


export the DeepLSD model to ONNX

How can I export the DeepLSD model to ONNX? Can you teach me?

Hi, I never did it, but the network is pretty simple, so you should be able to follow any good tutorial to export to ONNX.

@rpautrat Thank you for your excellent work! I successfully exported the ONNX model, but I encountered some issues. However, I have used the ONNX model provided by PINTO_model_zoo and successfully converted its output into line segments using your code. I plan to deploy the model in my work next.


Minor corrections to documentation

Q
A

Bug fix?
[ ]

New feature?
[ ]

New sample?
[ ]

What's in this Pull Request?
Minor corrections to the FilePicker documentation. Resubmitted to proper branch.

Thank you @hugoabernier for the fixes!


Allows specifying multiple source/destination applications when querying for node histograms

Some nodes may have inbound edges from multiple applications. This allows the node histogram API to receive multiple applications for these cases.

Codecov Report

Merging #3213 into master will decrease coverage by 0.02%.
The diff coverage is 8.62%.

@@            Coverage Diff             @@
##           master    #3213      +/-   ##
==========================================
- Coverage   38.94%   38.91%   -0.03%
==========================================
  Files        2060     2061       +1
  Lines       67805    67804       -1
  Branches     9452     9451       -1
==========================================
- Hits        26409    26389      -20
- Misses      38800    38817      +17
- Partials     2596     2598       +2

Impacted Files
Coverage Δ

.../web/service/ResponseTimeHistogramServiceImpl.java
0% <0%> (ø)
:arrow_up:

...com/navercorp/pinpoint/web/vo/ApplicationPair.java
0% <0%> (ø)
:arrow_up:

...vercorp/pinpoint/web/controller/MapController.java
0% <0%> (ø)
:arrow_up:

...om/navercorp/pinpoint/web/vo/ApplicationPairs.java
0% <0%> (ø)

...ppender/histogram/DefaultNodeHistogramFactory.java
59.72% <100%> (-1.09%)
:arrow_down:

...pinpoint/rpc/ChannelWriteFailListenableFuture.java
42.85% <0%> (-28.58%)
:arrow_down:

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0%> (-14.29%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ClientClosePacket.java
55.55% <0%> (-11.12%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
61.11% <0%> (-6.25%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
82.92% <0%> (-2.44%)
:arrow_down:

... and 10 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 7747161...1b4e9e3. Read the comment docs.


Adds onListItemLoaded handler to DynamicForm. Closes #1472

Q
A

Bug fix?
[ ]

New feature?
[x]

New sample?
[ ]

Related issues?
Fixes #1472

What's in this Pull Request?
Adds an extra event handler to the Dynamic Form control. This allows to be able to access list item information after it is retrieved by the DynamicForm when running in Edit and View modes. You could use this to add list item information to the state of the parent component so that you can use it for other purposes. It comes in especially handy when overriding multiple fields that depend on each other using the fieldOverrides option of the DynamicForm.

@martinlingstuyl , thank you very much for the fix.

@joelfmrodrigues, I did have time left over to fix this. Question, what am I do do with the extra file-updates that are auto generated after my commit?

Should I add it to the PR?

What should I do in general with these files @joaojmendes?


retrieve ParentInstance in GetOrchestrationStateAsync

Hello
Here is a PR to retrieve the ParentInstance in GetOrchestrationStateAsync.
I noticed that this property is always null. This PR resolves the issue mentionned in this link  for mssql provider

Thanks @cgillum
Can you please push this release to NuGet package under a new version so that I can use it ?

@hsnsalhi here you go: https://github.com/microsoft/durabletask-mssql/releases/tag/v1.0.0-rc.
Thanks again for this contribution!

thank you ;)


[FEATURE REQ] Find new home for IModelSerializable

Library name
Azure.Core
Please describe the feature.
Given the serialization feature is generic and not tied to Azure in any way we want to find a new home for the interfaces.  Potential example api view here https://apiview.dev/Assemblies/Review/84ec548e374446038117a9a0d6388875.

This now lives in System.ClientModel


[Build] Determine the early SwiftSyntax build directory in build-script-impl

Cross-compilation of the host depends on iteration over all of the host architectures within build-script-impl itself, so the computation of the build directory must occur in build-script-impl. Sink it down there to fix builds for multiple host architectures.
Addresses rdar://100182363, wherein I broke all of the builds involving multiple cross-compiled hosts.

@swift-ci please smoke test

@swift-ci please test source compatibility

@swift-ci please smoke test

The @swift-ci please test Windows


HTML elements in message to allow for links with  and Bootstrap icons

I was wondering if it is possible to allow for HTML tags inside the message field so we could for example do the following:
push.info({
    title: "It's your turn.",
    message: `Don't know how to play? <a href="/rules" target="_blank">You can find the <i class="bi bi-book"></i> rules here.</a>`,
});

The built-in <Notification /> component is not designed with this feature in mind nor it will be. That said, the value of message should always be plain text:

No HTML tags should be contained in message otherwise they'll be announced by screen readers.
The built-in <Notification /> component by design has limits, for more specific use cases, Custom Components should be used instead.

With a Custom Component, you are able to create the "perfect notification" according to your use case:
push.success({
   message: 'You have a new friend request from Maria', // This will be announced
   props: {
      htmlContent: 'You have a new friend request from Maria. Click here to accept.'
   }
})

{{ item.message }}

If you don't want to create a component and write styles, you can always fork the <Notification /> component and update it according to your needs.


Add more NumPy API functions/attributes to xnd_gumath class

@xmnlab,
Is this issue referring to the xnd_gumath class from https://github.com/Quansight/xnd-notebooks/blob/master/utils/math_utils.ipynb ? If so, wouldn't it be better to transfer the xnd-notebooks repo from Quansight to plures organization and then transfer this issue there?

this issue is being moved to xnd-all repo project.


Unable to download PDB symbols for all but the RX Core assembly

With the package from https://www.nuget.org/packages/System.Reactive/3.0.0 in .NET 4.6.1 project. The debugger is loading symbols for System.Reactive.Core from https://dotnet.myget.org/F/rx/symbols/:
SYMSRV:  E:\SymbolCache\System.Reactive.Core.pdb\AEDAF1AD366D4576916F15FD00F70EA71\System.Reactive.Core.pdb - file not found
*** ERROR: HTTP_STATUS_SERVER_ERROR
INFO:  HTTP_STATUS_OK
SYMSRV:  E:\SymbolCache\System.Reactive.Core.pdb\AEDAF1AD366D4576916F15FD00F70EA71\System.Reactive.Core.pdb - file not found
SYMSRV:  System.Reactive.Core.pdb from https://dotnet.myget.org/F/rx/symbols/: 0 bytes
https://dotnet.myget.org/F/rx/symbols/: Symbols downloaded from symbol server.
E:\SymbolCache\System.Reactive.Core.pdb\AEDAF1AD366D4576916F15FD00F70EA71\System.Reactive.Core.pdb: Symbols loaded.

the "0 bytes" message is apparently red herring, the file is solid 350K+:

c:\>dir E:\SymbolCache\System.Reactive.Core.pdb\AEDAF1AD366D4576916F15FD00F70EA71\System.Reactive.Core.pdb

 Directory of E:\SymbolCache\System.Reactive.Core.pdb\AEDAF1AD366D4576916F15FD00F70EA71

160824  1714           376,320 System.Reactive.Core.pdb

But attempting to load symbols for other assemblies fails, for example, System.Reactive.Interfaces:
SYMSRV:  E:\SymbolCache\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb - file not found
SYMSRV:  E:\SymbolCache\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb not found
SYMSRV:  https://dotnet.myget.org/F/rx/symbols/: not available
https://dotnet.myget.org/F/rx/symbols/: Symbols not found on symbol server.
SYMSRV:  E:\SymbolCache\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb - file not found
*** ERROR: HTTP_STATUS_NOT_FOUND
*** ERROR: HTTP_STATUS_NOT_FOUND
*** ERROR: HTTP_STATUS_NOT_FOUND

Here are reference paths as installed by the NuGet extensions (NB net45 vs net46). Of the 4 libraries, symbols are available only for System.Reactive.Core.
    <Reference Include="System.Reactive.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL">
      <HintPath>..\..\packages\System.Reactive.Core.3.0.0\lib\net46\System.Reactive.Core.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Reactive.Interfaces, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL">
      <HintPath>..\..\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Reactive.Linq, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL">
      <HintPath>..\..\packages\System.Reactive.Linq.3.0.0\lib\net46\System.Reactive.Linq.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Reactive.PlatformServices, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=94bc3704cddfc263, processorArchitecture=MSIL">
      <HintPath>..\..\packages\System.Reactive.PlatformServices.3.0.0\lib\net46\System.Reactive.PlatformServices.dll</HintPath>
      <Private>True</Private>
    </Reference>

Tested this in VS2015 Update 3, seeing the same behaviour...

I do not understand why does VS go bananas, but symchk from the debugging tools in SDK 10.0 is able to get the files just fine. The same exact file System.Reactive.Interfaces.3.0.0.dll, same PDB signature, gets downloaded just fine.  Crazy stuff!
I am not closing this issue, but this probably has to do with the VS itself.
And thanks much for providing the symbols, by the way, really appreciated!
C:\projects\xxxx\packages>symchk System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll /s https://dotnet.myget.org/F/rx/symbols/ /v
[... churn churn churn...]
SYMSRV:  Notifies the client application that a proxy has been detected.
SYMSRV:  Connecting to the Server: https://dotnet.myget.org/F/rx/symbols/.
SYMSRV:  Successfully connected to the Server.
SYMSRV:  Sending the information request to the server.
SYMSRV:  Successfully sent the information request to the server.
SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
*** ERROR: HTTP_STATUS_SERVER_ERROR
SYMSRV:  Closing the connection to the Server.
SYMSRV:  Successfully closed the connection to the Server.
SYMSRV:  Get File Path: /F/rx/symbols//System.Reactive.Interfaces.pdb/C36AB8E43BB74EFBAA9529B5893934B01/System.Reactive.Interfaces.pdb
SYMSRV:  Notifies the client application that a proxy has been detected.
SYMSRV:  Connecting to the Server: https://dotnet.myget.org/F/rx/symbols/.
SYMSRV:  Successfully connected to the Server.
SYMSRV:  Sending the information request to the server.
SYMSRV:  Successfully sent the information request to the server.
SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
INFO:  HTTP_STATUS_OK
SYMSRV:  C:\_PX\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb - file not found
SYMSRV:  System.Reactive.Interfaces.pdb from https://dotnet.myget.org/F/rx/symbols/: 0 bytes
SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
DBGHELP: System.Reactive.Interfaces - public symbols
        C:\_PX\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb
[SYMCHK] MODULE64 Info ----------------------
[SYMCHK] Struct size: 1680 bytes
[SYMCHK] Base: 0x0000000010000000
[SYMCHK] Image size: 32768 bytes
[SYMCHK] Date: 0x5769993d
[SYMCHK] Checksum: 0x0000c2d1
[SYMCHK] NumSyms: 0
[SYMCHK] SymType: SymPDB
[SYMCHK] ModName: System.Reactive.Interfaces
[SYMCHK] ImageName: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
[SYMCHK] LoadedImage: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
[SYMCHK] PDB: "C:\_PX\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb"
[SYMCHK] CV: RSDS
[SYMCHK] CV DWORD: 0x53445352
[SYMCHK] CV Data:  C:\projects\rx-net\Rx.NET\Source\System.Reactive.Interfaces\bin\Release\net45\System.Reactive.Interfaces.pdb
[SYMCHK] PDB Sig:  0
[SYMCHK] PDB7 Sig: {C36AB8E4-3BB7-4EFB-AA95-29B5893934B0}
[SYMCHK] Age: 1
[SYMCHK] PDB Matched:  TRUE
[SYMCHK] DBG Matched:  TRUE
[SYMCHK] Line nubmers: FALSE
[SYMCHK] Global syms:  FALSE
[SYMCHK] Type Info:    FALSE
[SYMCHK] ------------------------------------
SymbolCheckVersion  0x00000002
Result              0x00030001
DbgFilename
DbgTimeDateStamp    0x5769993d
DbgSizeOfImage      0x00008000
DbgChecksum         0x0000c2d1
PdbFilename         C:\_PX\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B58939
34B01\System.Reactive.Interfaces.pdb
PdbSignature        {C36AB8E4-3BB7-4EFB-AA95-29B5893934B0}
PdbDbiAge           0x00000001
[SYMCHK] [ 0x00000000 - 0x00030001 ] Checked "C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll"

SYMCHK: FAILED files = 0
SYMCHK: PASSED + IGNORED files = 1

Looks like the issue has to do with the version of symsrv.dll that comes with VS2015 Update 3.
procexp shows that the dll loaded into VS from C:\_px\Microsoft Visual Studio 14.0\Common7\IDE\symsrv.dll. Now check this:
C:\projects\xxxx\packages>where symchk.exe
C:\_px\Windows Kits\10\Debuggers\x64\symchk.exe

C:\projects\xxxx\packages>where symsrv.dll
C:\_px\Microsoft Visual Studio 14.0\Common7\IDE\symsrv.dll
C:\_px\Microsoft Visual Studio 14.0\Team Tools\Performance Tools\symsrv.dll
C:\_px\Windows Kits\10\Windows Performance Toolkit\symsrv.dll
C:\_px\Windows Kits\10\Debuggers\x64\symsrv.dll
C:\_px\Windows Kits\10\Windows Performance Toolkit\symsrv.dll

symchk loads the DLL besides itself (C:\_px\Windows Kits\10\Debuggers\x64\symsrv.dll). Let's have it load the same one that VS loads (it is the first in the search order, so we need just to move symchk somewhere):
C:\projects\xxxx\packages>copy "C:\_px\Windows Kits\10\Debuggers\x64\symchk.exe" .
        1 file(s) copied.

and it indeed fails!
C:\projects\xxxx\packages>symchk System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll /s https://dotnet.myget.org/F/rx/symbols/ /v
[SYMCHK] Searching for symbols to C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll in path https://dotnet.myget.org/F/rx/symbols/
DBGHELP: Symbol Search Path: https://dotnet.myget.org/F/rx/symbols/
[SYMCHK] Using search path "https://dotnet.myget.org/F/rx/symbols/"
DBGHELP: No header for C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll.  Searching for image on disk
DBGHELP: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll - OK
DBGHELP: SymSrv load failure: symsrv.dll
DBGHELP: https://dotnet.myget.org/F/rx/symbols/\System.Reactive.Interfaces.pdb - file not found
DBGHELP: https://dotnet.myget.org/F/rx/symbols/\dll\System.Reactive.Interfaces.pdb - file not found
DBGHELP: https://dotnet.myget.org/F/rx/symbols/\symbols\dll\System.Reactive.Interfaces.pdb - file not found
DBGHELP: System.Reactive.Interfaces - no symbols loaded
[SYMCHK] MODULE64 Info ----------------------
[SYMCHK] Struct size: 1680 bytes
[SYMCHK] Base: 0x0000000010000000
[SYMCHK] Image size: 32768 bytes
[SYMCHK] Date: 0x5769993d
[SYMCHK] Checksum: 0x0000c2d1
[SYMCHK] NumSyms: 0
[SYMCHK] SymType: SymNone
[SYMCHK] ModName: System.Reactive.Interfaces
[SYMCHK] ImageName: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
[SYMCHK] LoadedImage: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
[SYMCHK] PDB: ""
[SYMCHK] CV: RSDS
[SYMCHK] CV DWORD: 0x53445352
[SYMCHK] CV Data:  C:\projects\rx-net\Rx.NET\Source\System.Reactive.Interfaces\bin\Release\net45\System.Reactive.Interfaces.pdb
[SYMCHK] PDB Sig:  0
[SYMCHK] PDB7 Sig: {00000000-0000-0000-0000-000000000000}
[SYMCHK] Age: 0
[SYMCHK] PDB Matched:  TRUE
[SYMCHK] DBG Matched:  TRUE
[SYMCHK] Line nubmers: FALSE
[SYMCHK] Global syms:  FALSE
[SYMCHK] Type Info:    FALSE
[SYMCHK] ------------------------------------
SymbolCheckVersion  0x00000002
Result              0x00010001
DbgFilename         System.Reactive.Interfaces.dbg
DbgTimeDateStamp    0x00000000
DbgSizeOfImage      0x00000000
DbgChecksum         0x00000000
PdbFilename         C:\projects\rx-net\Rx.NET\Source\System.Reactive.Interfaces\bin\Release\net45\System.Reactive.Interfaces.pdb
PdbSignature        {C36AB8E4-3BB7-4EFB-AA95-29B5893934B0}
PdbDbiAge           0x00000001
[SYMCHK] [ 0x00000000 - 0x00010001 ] Checked "C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll"
SYMCHK: System.Reactive.Interfaces.dll FAILED  - System.Reactive.Interfaces.pdb mismatched or not found

SYMCHK: FAILED files = 1
SYMCHK: PASSED + IGNORED files = 0

To confirm, it works just fine when run from the original location, loading the SDK version of symsrv.dll. Same exact command:
C:\projects\xxxx\packages>"C:\_px\Windows Kits\10\Debuggers\x64\symchk.exe" System.Reactive.Interfaces.3.0.0
\lib\net45\System.Reactive.Interfaces.dll /s https://dotnet.myget.org/F/rx/symbols/ /v
[SYMCHK] Searching for symbols to C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll in path https://dotnet.myget.org/F/rx/symbols/
DBGHELP: Symbol Search Path: https://dotnet.myget.org/F/rx/symbols/
[SYMCHK] Using search path "https://dotnet.myget.org/F/rx/symbols/"
DBGHELP: No header for C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll.  Searching for image on disk
DBGHELP: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll - OK
SYMSRV:  File: System.Reactive.Interfaces.pdb

SYMSRV:  Notifies the client application that a proxy has been detected.
SYMSRV:  Connecting to the Server: https://dotnet.myget.org/F/rx/symbols/.
SYMSRV:  Successfully connected to the Server.
SYMSRV:  Sending the information request to the server.
SYMSRV:  Successfully sent the information request to the server.
SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
*** ERROR: HTTP_STATUS_SERVER_ERROR
SYMSRV:  Closing the connection to the Server.
SYMSRV:  Successfully closed the connection to the Server.
SYMSRV:  Get File Path: /F/rx/symbols//System.Reactive.Interfaces.pdb/C36AB8E43BB74EFBAA9529B5893934B01/System.Reactive.Interfaces.pdb

SYMSRV:  Notifies the client application that a proxy has been detected.
SYMSRV:  Connecting to the Server: https://dotnet.myget.org/F/rx/symbols/.
SYMSRV:  Successfully connected to the Server.
SYMSRV:  Sending the information request to the server.
SYMSRV:  Successfully sent the information request to the server.
SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
INFO:  HTTP_STATUS_OK
SYMSRV:  C:\_px\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb - file not found
SYMSRV:  System.Reactive.Interfaces.pdb from https://dotnet.myget.org/F/rx/symbols/: 0 bytes -            0 SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
SYMSRV:  Waiting for the server to respond to a request.
SYMSRV:  Successfully received a response from the server.
DBGHELP: System.Reactive.Interfaces - public symbols
        C:\_px\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb
[SYMCHK] MODULE64 Info ----------------------
[SYMCHK] Struct size: 1680 bytes
[SYMCHK] Base: 0x0000000010000000
[SYMCHK] Image size: 32768 bytes
[SYMCHK] Date: 0x5769993d
[SYMCHK] Checksum: 0x0000c2d1
[SYMCHK] NumSyms: 0
[SYMCHK] SymType: SymPDB
[SYMCHK] ModName: System.Reactive.Interfaces
[SYMCHK] ImageName: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
[SYMCHK] LoadedImage: C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll
[SYMCHK] PDB: "C:\_px\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb"
[SYMCHK] CV: RSDS
[SYMCHK] CV DWORD: 0x53445352
[SYMCHK] CV Data:  C:\projects\rx-net\Rx.NET\Source\System.Reactive.Interfaces\bin\Release\net45\System.Reactive.Interfaces.pdb
[SYMCHK] PDB Sig:  0
[SYMCHK] PDB7 Sig: {C36AB8E4-3BB7-4EFB-AA95-29B5893934B0}
[SYMCHK] Age: 1
[SYMCHK] PDB Matched:  TRUE
[SYMCHK] DBG Matched:  TRUE
[SYMCHK] Line nubmers: FALSE
[SYMCHK] Global syms:  FALSE
[SYMCHK] Type Info:    FALSE
[SYMCHK] ------------------------------------
SymbolCheckVersion  0x00000002
Result              0x00030001
DbgFilename
DbgTimeDateStamp    0x5769993d
DbgSizeOfImage      0x00008000
DbgChecksum         0x0000c2d1
PdbFilename         C:\_px\Windows Kits\10\Debuggers\x64\sym\System.Reactive.Interfaces.pdb\C36AB8E43BB74EFBAA9529B5893934B01\System.Reactive.Interfaces.pdb
PdbSignature        {C36AB8E4-3BB7-4EFB-AA95-29B5893934B0}
PdbDbiAge           0x00000001
[SYMCHK] [ 0x00000000 - 0x00030001 ] Checked "C:\projects\xxxx\packages\System.Reactive.Interfaces.3.0.0\lib\net45\System.Reactive.Interfaces.dll"

SYMCHK: FAILED files = 0
SYMCHK: PASSED + IGNORED files = 1

C:\_px\Windows Kits\10\Debuggers\x64\symsrv.dll has the version 10.0.10586.15
C:\_px\Microsoft Visual Studio 14.0\Common7\IDE\symsrv.dll is 10.0.10150.0
oops...

/cc @unnir

Hi @kkm000, thanks for the analysis -- I've reached out to members of the VS team to see what's going on here.

Thank you!


When using react-jsx, don't treat "key" property as special unless it's specified as IntrinsicAttribute

🔍 Search Terms
jsx, react-jsx, key property
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
When "jsx" is set to "react-jsx" the key property is missing from parameters passed to jsx function and instead is passed as separate argument.
For example:
<Test param="1" key="2" />

Is compiled into:
jsx_(Test, { param: '1' }, '2')

My suggestion is to ignore this behavior unless "key" property is defined as IntrinsicAttribute.
Then, if key is not an intrinsic attribute, the example should compile into:
jsx_(Test, { param: '1', key: '2' })

📃 Motivating Example
It makes TSX more generic for use by any library, and less React specific
💻 Use Cases
This special treatment of "key" property is at odds with libraries other that react that DON'T treat key differently, making if effectively an restricted parameter.
As a workaround, you can merger parameters with key inside jsx function:
function jsx(name, params, key) {
  const newParams = {...params, key};
  // ...
}

But this may lead to weird special cases, like this:
<Test key="key" {...params} />

key attribute will override existing key property from params.
Please make tsx friendly for libraries other than react.

It makes TSX more generic for use by any library, and less React specific

But... you specifically asked for react-jsx...

It makes TSX more generic for use by any library, and less React specific

But... you specifically asked for react-jsx...

If react-jsx is to be used only with react, the why don't we have "jsxImportSource" hardcoded to "react"? Or in other words, the ONLY way to use tsx for anything other that react is to set "jsx" to "preserve", because only "preserve" doesn't have the word react in it. Is that the official stance of TypeScript?

react-jsx means "compile JSX syntax using React semantics" so yes if your JSX flavor is non-React-compatible you would use preserve.

tsx for anything other than react

View frameworks exist that are not React, not React-compatible, but still are compatible only in the jsx function.
There's also the react preset for Typescript, which transforms to a function call (usually named React.createElement or h) with slightly different children semantics, and has no special semantics for key.

We don't do type-directed emit, which is what this is asking for.
jsx: react doesn't have the key special-casing; it's more accurately thought of as the JSX semantics of ~2016 that predate _jsx
jsx: react-jsx really does include React-specific semantics
jsx: preserve exists if neither of those work for your scenario


Glyphicons via node_modules

So have included bootstrap sass from node_modules in my stylesheet:
$icon-font-path: '~bootstrap-sass/assets/fonts/bootstrap/';
@import '~bootstrap-sass/assets/stylesheets/_bootstrap.scss';
@import '~animate.sass/scss/animate.scss';

The styles are definitely getting bundles but the font files are not.
They are included in _glyphicons.scss file in bootstrap-sass and they don't appear in the css-resources folder.
I also have the following lines in my main scss file
// Typography
@font-face {
    font-family: 'MSR100';
    src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/181511/museosans-rounded-100-webfont.woff2') format('woff2'), url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/181511/museosans-rounded-100-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

I believe those ones are working but the ones inside bootstrap-sass don't.
My relevant Fuse configuration settings:
[
    SassPlugin({
        importer: true
    }),
    CSSResourcePlugin({
         dist: 'dist/assets/css-resources',
         macros: {
               icons: `${__dirname}/src/~/wholesalers/${this.wholesaler}/images/icons/`,
               base: `${__dirname}/src/~/wholesalers/base/images`
         },
         resolve: (f) => `/assets/css-resources/${f}`
      }),
      CSSModules({ scopedName: '[local]'}),
      CSSPlugin(this.cssOptions)
],

Thought it might have been my CopyPlugin so added the woff, ttf, eot and svg file types to that but didn't work.

I use this and it works good. [CSSResourcePlugin({ inline: true }), CSSPlugin()]
You seem to be doing a fair amount of directory funging/renaming here, why not simplify things a bit?

@pmonty ~ is a very weird directory name. TIlde is a conventional home directory symbol

I tried inline didn't work. I'll try rename the tilde folder when I get home but didn't work in m playground app that doesn't have it and has a simpler setup. Will let you guys know how it goes

I don't know much about the particularities of your project, but from my understanding, if fusebox (or any bundler) isn't being utilised to bundle your entire application in one go, you're going to run into some very strange issues...
This is my fuse script, hopefullly this gives you some insight.
https://gist.github.com/jpike88/181ebabc369ad8678a466a9672fa8a41

Tried without the tilde folder and still didn't work.
The css that is imported is converted to something similar like
src: url("css-resource/8934789747.eot")

but there is no eot file in css-resources folder

Not sure if this is part of the issue...
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.

Tested inline again and those .woff and .ttf etc. all convert to undefined in my css. So looks like there might be an issue with one of the plugins not sure if a bug or config issue?
Files all are in the right paths.
Here is my fuse.ts so far.

Can you fire up a seperate repo with this issue? I'll need more than your fuse.ts to reproduce it

This suggestion seems to work. Though would be nice if it can be resolved inside sass/css.
Doing so has caused a few weird css issues with some font sizes and so on so will take a closer look at those before closing this.

You're using a more advanced scenario than me, I'm afraid I can't be much use at this point... it's a relatively young project, you may be hitting some rough edges that could use some smoothing out.

So not all my packages are in my vendor bundle.
return this.fuse.bundle('vendor').instructions(`~ app.tsx`);

jquery looks like it is bundled in there doesn't work. I added some shim configuration and it bundled it at the top of the file instead and that didn't work.
I also noticed bootstrap javascript is not bundled despite it being in the bootstrap-sass module. This would probably be what is causing the javascript/jquery not working issue since it is all bootstrap stuff.
Still got the glyphicon issue as well. If i import in typescript then I get another sourcemap. Shouldn't be necessary though as everything is imported in my stylesheets all mapped from the main file that I import at compile time. So not sure why I would need to import it a second time.

Done some more research and tests. So bootstrap-sass does not have a /dist folder or index.js file. Sounds like Fuse-Box requires those if it is going to bundle them into the vendor.js bundle.
Not sure if there is a way to bundle this then but really should be a plugin kind of like webpacks ProvidePlugin or something that allows you to just specify things and bundle all the main javascript stuff accordingly.

@pmonty I think it's better to import it via typescript and a CSS dist because of image resolution.

Scratched some text in post above, so looks like this works and gets the icons in but the bootstrap jquery is still missing in the bundle.
import 'bootstrap-sass/assets/stylesheets/_bootstrap.scss';
import 'animate.sass/scss/animate.scss';

Some fo the css styling is off a little bit but will get our stylesheet expert to look at those smaller issues.
Unfortunately bootstrap-sass doesn't have a dist :(

@pmonty import it in typescript
import 'bootstrap/dist/css/bootstrap.css';

Yeh that was one of the combinations I tried and it didn't work. Site looks the same with or without that line. So it isn't liking it for some reason.

Do you have  [CSSResourcePlugin({ inline: true }), CSSPlugin()] that one on your plugin chain?

                    [
                        SassPlugin({
                            importer: true
                        }),
                        CSSResourcePlugin({
                            inline: true
                        }),
                        CSSPlugin(),
                    ],```

@pmonty
You handle only .css, I don't see a CSS handler
Add this additionally:
[CSSResourcePlugin({ inline: true }), CSSPlugin()]

Don't need it but have decided to try and import everything through typescript and have done this...
import 'jquery/dist/jquery.min.js';
import '~/wholesalers/EA/styles/site.scss';
import 'bootstrap-sass/assets/stylesheets/_bootstrap.scss';
import 'bootstrap-sass/assets/javascripts/bootstrap.min.js';

but am getting
Uncaught Error: Bootstrap's JavaScript requires jQuery
which is strange because jquery is before bootstrap...

You need to shim jquery that's for sure

Shimming fixed it and doing this works so far and all glyphicons work.
import 'bootstrap-sass/assets/stylesheets/_bootstrap.scss';
import 'bootstrap-sass/assets/javascripts/bootstrap.min.js';

There are a few broken things but we can probably deal with those few things, like turn some broken table into a react-table and some other overridden bootstrap stuff that is slightly off. Stuff i expected would break when entirely changing bundler on a rather complex and large project.
There is one issue left involving react-router I believe. I'll close this issue now.
TLDR;
needed to shim jquery in my fuse.ts and include bootstrap-sass stylesheet and bootstrap.min.js in my main app.tsx file. The animate.sass npm module that I imported via sass is fine there but the bootstrap-sass had to be imported via typescript because of the inline resources/glyhicons


Track Self-describing event in a Object Orientated manner.

I'm fairly new to snowplow so maybe that's just a question and not feature request, but I'll write as feature request.
Preface the data team on my project will use snowplow 100% on self-describing events
Is your feature request related to a problem? Please describe.
It's general bad idea to have scattered strings around the code to track items (those strings are usually the same for big parts of the project and making it so is error prone). Having a schema to conform to opens the possibility to using an object instead.
But unfortunately, from what I understood reading the documentation and the code the only way to track self-describing events is by adding to a Map like:
Map<String, String> eventData = new HashMap<>();
eventData.put("Event", "Data")
SelfDescribingJson json = new SelfDescribingJson("iglu:com.acme/example/jsonschema/1-0-0", eventData);
tracker.track(json);

Describe the solution you'd like
Taking heavy inspiration in libraries like Retrofit or Room I would rather use objects. Meaning, I would copy/paste the Json schema, to a data generator website, have a Kotlin data class auto-generated and pasted back into our code repository.
Then to track we would:
MyCustomEvent event = MyCustomEvent(123, "param1", "param2")
MoshiEvent data = MoshiEvent(MyCustomEvent.SCHEMA,event ) // it could be gson, jackson, it doesn't matter
tracker.track(data)

Describe alternatives you've considered
I see the in SelfDescribingJson it uses the toString  calling Util.mapToJSONObject(payload).toString(); and that Util uses the JSONObject(map) constructor from org.json.
That makes it seems I could use any Json library I want to get the String, and build the object with JsonObject(jsonString), but that option is not officially documented and seems kind of hacky. At the end it would be something like:
MyCustomEvent event = MyCustomEvent(123, "param1", "param2")
JsonObject jsonEvent = JsonObject(moshiAdapter.toJson(event))
SelfDescribingJson data = SelfDescribingJson(MyCustomEvent.SCHEMA, jsonEvent)
tracker.track(data)

Is that how others do it? If yes, it should be documented and guaranteed to be not a breaking behavior.
Hope it was clear.

Thanks @rvp-diconium for raising this proposal. We are not planning to change the behaviour of SelfDescribingJson shortly but the idea of a custom event generator tool is something we have experimented recently but not yet ready. If you are interested to work on this as open source tool, we would be really happy to collaborate.
Meanwhile, as you suggest, the cleanest solution is to create proper custom events.
If you are interested to an alternative to the SelfDescribingJson approach I would suggest to directly extend the abstract class AbstractSelfDescribing and implement the two methods:

@NonNull Map<String, Object> getDataPayload()
@NonNull String getSchema()

An example (in Java):
public class MyCustomEvent extends AbstractSelfDescribing {
    private final String KEY_PROP1 = "prop1";
    private final String KEY_PROP2 = "prop2";

    String property1;
    String property2;

    // Mandatory methods to implement

    @Override
    public @NonNull String getSchema() {
        return MyConstants.SCHEMA_CUSTOM_EVENT;
    }

    @Override
    public @NonNull Map<String, Object> getDataPayload() {
        HashMap<String, Object> map = new HashMap<>();
        map.put(KEY_PROP1, property1);
        map.put(KEY_PROP2, property2);
        return map;
    }
}

It can be used in this way:
MyCustomEvent event = new MyCustomEvent();
event.property1 = "something";
event.property2 = "something_else";

tracker.track(event)

This is just a basic example, you can decorate the class with more constructors and utility methods.
It's important that the map generated by `getDataPayload is json serializable. If so, the tracker will take care of your custom event exactly like a SelfDescribingJson.

Thanks @rvp-diconium for raising this proposal. We are not planning to change the behaviour of SelfDescribingJson shortly but the idea of a custom event generator tool is something we have experimented recently but not yet ready. If you are interested to work on this as open source tool, we would be really happy to collaborate.
Meanwhile, as you suggest, the cleanest solution is to create proper custom events.
If you are interested to an alternative to the SelfDescribingJson approach I would suggest to directly extend the abstract class AbstractSelfDescribing and implement the two methods:

@NonNull Map<String, Object> getDataPayload()
@NonNull String getSchema()

An example (in Java):
public class MyCustomEvent extends AbstractSelfDescribing {
    private final String KEY_PROP1 = "prop1";
    private final String KEY_PROP2 = "prop2";

    String property1;
    String property2;

    // Mandatory methods to implement

    @Override
    public @NonNull String getSchema() {
        return MyConstants.SCHEMA_CUSTOM_EVENT;
    }

    @Override
    public @NonNull Map<String, Object> getDataPayload() {
        HashMap<String, Object> map = new HashMap<>();
        map.put(KEY_PROP1, property1);
        map.put(KEY_PROP2, property2);
        return map;
    }
}

It can be used in this way:
MyCustomEvent event = new MyCustomEvent();
event.property1 = "something";
event.property2 = "something_else";

tracker.track(event)

This is just a basic example, you can decorate the class with more constructors and utility methods.
It's important that the map generated by `getDataPayload is json serializable. If so, the tracker will take care of your custom event exactly like a SelfDescribingJson.

Hi @AlexBenny thanks for the full detailed response.
From a library perspective, I understand you shouldn't be favoring any json serialization library over another, so this solution usually goes around doing adapters interface so that any one can be plugged-in.
The MyCustomEvent the way you suggested, it eliminates the spread of static strings around the code, but there still a bit too much manual boilerplate for my taste :)
On my current project I'll give a shot (whenever the ticket gets prioritized) to create a MoshiEvent extends AbstractSelfDescribing. This will receives object, schema and moshi instance over constructor and getDataPayload() can be automated by iterating the JsonObject. That way I can still use auto-generators like this to get the data class matching the schema the data team is generating.
And if from there I have something I can contribute back I'll report back here.
Thanks!

Hi @AlexBenny thanks for the full detailed response.
From a library perspective, I understand you shouldn't be favoring any json serialization library over another, so this solution usually goes around doing adapters interface so that any one can be plugged-in.
The MyCustomEvent the way you suggested, it eliminates the spread of static strings around the code, but there still a bit too much manual boilerplate for my taste :)
On my current project I'll give a shot (whenever the ticket gets prioritized) to create a MoshiEvent extends AbstractSelfDescribing. This will receives object, schema and moshi instance over constructor and getDataPayload() can be automated by iterating the JsonObject. That way I can still use auto-generators like this to get the data class matching the schema the data team is generating.
And if from there I have something I can contribute back I'll report back here.
Thanks!


remove ?blankTile=false (and space) from Esri tilemap urls to fix 404

calls to tilemap currently fail because i forgot to trim an invalid url parameter when they are constructed.

should be: https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tilemap/20/550340/621736/8/8

Thanks @jgravois !


Added support for Octal and Binary number systems

Adds the ability to use octal and binary number literals.
var dec = 420
var hex = 0x1A4
var oct = 0o644
var bin = 0b110100100

System.print(dec) // 420
System.print(hex) // 420
System.print(oct) // 420
System.print(bin) // 420

Octal numbers may be useful for file permissions while binary numbers may be useful for binary flags and binary testing

I'd really like this change, but I also think we may support numeric separators. This is harder and for another PR, though.

I'm also wondering whether numbers preceded by 0 (without a letter denoting number system) should be treated as an octal. For example, should a number literal like 0777 be 777 or 511  as a decimal. Personally I prefer not treating it as an octal but many languages such as Go, JS, and C, treat these as octals so it would make Wren more consistent with other languages.

I prefer not. This was a mistake of C that was mimicked by other languages. I sometimes use leading zeroes to align numbers in the source code.

I'd really like this change, but I also think we may support numeric separators. This is harder and for another PR, though.

With the addition of binary literals I also would like to see something like underscores to separate and organize numbers although I don't think strtoll supports underscores. I don't think it would be too hard to replace strtoll with a custom made function though but wasn't sure if it would cause any hits to performance or some other problems so left it for now.

I'm in favor of adding binary and octal literals to Wren on the basis of this PR as this would align us with what most other modern languages do.
I certainly don't think we want to allow the 'leading zero' syntax for octal as an alternative to '0o'. Nor do I see any reason to go up to base 36 which would be massive overkill IMO.

Before this PR I didn't knew or I instantly forgot that '0o' was a thing... so nice to learn something new to pollute my head even more XD
Having some generic is always overkill, so it should not be an excuse to not do it unless you have full control of all the uses. That said it was not a request to implement it, but just a rant/complains that this yet another encoding notation/letter that need to be learned, because the cool kids in town said in implementing other languages.

Smalltalk has an interesting encoding where one can use any base up to 36: "2r010101" "16rdeadbeaf" "36raninterestingencoding".
Haven't seen this syntax before but does look interesting! kinda want to try it out and see how it works in wren but wondering whether it may be too strange for newcomers.

While interesting the smalltalk syntax isn't a good fit for Wren. The familiar and same one as every other major language would make the most sense.

I have mixed feelings about octal, I hardly saw it elsewhere than file permissions

I've seen octals being used as escape sequences in strings. Seems wren already converts \0 to a null byte but should be possible to change that to an octal escape instead.

A common use of octal escapes is to encode the ESC character itself in ANSI escape codes. For example:
printf("\33[2J"); // clears the screen

However, if we get octal literals, one could do a less cryptic:
var ESC = 0o33
System.print("%(ESC)[2J")

so I'm not sure we need octal escapes as well as literals.
Of course, if you prefer hex, you can use 0x1b instead.
Technically, \0 in C is an octal escape for the null character.

I never paid attention it was octal and used it in shell script by copy
pasting. But things make a little more sense now.  Your example is broken
because numbers are not converted to char. But anyway is it possible to use
"\o33" for the sake of uniformity or it is already used for something else?

Well for uniformity I would support both while promoting the "\o" in favor
of the standard one.

To go full circle in the logic and since it maybe it will be useful maybe
"d" for decimal should be also be added. So the prefixed 0 would be allowed
there...

Personally, I think that would be a step too far. I can't think of any languages which do that.

Like I can't think about a language that allow front 0 number that consider
them not octal...

Another problem is that we already have the escape sequence \0 to represent the null byte though I suppose one could allow \o00 as an alternative so as not to break backwards compatibility.

I don't think this would clash with \0, instead \0 should already be an octal escape for a null byte so backwards compatibility is preserved.

We'd probably need to fix the length of an octal escape to avoid parsing problems. If we fixed it at 2 that would give us a range of 0-63 which might be enough in practice.

octals can be at most 3 numbers with the highest octal value being 0o377 because that is the largest octal that can fit in a byte, So we'd just consume as many consecutive octal chars until we have 3. The next question is if we cross the maximum octal (0o377) should we throw a compilation error or should we just treat the previous char as a regular char (for example, \777 becomes \077 + 7)

I think it is safe to assume it is an error to pass a invalid value, lets not add some odd behavior by doing some clamping, wrapping, type casting or arbitrary concatenation. Numbers can stack up to 3 greedily as long as it match an octal value. So "\777" is invalid because it is > 0o377 but "\778" is {'\77', '8', '\0'} because it is not ambiguous (from what I tested it match c++ compilers which at minimum warns with -Wall)

Hmm, this is all getting a bit too complicated for my liking, given that it's functionality which will not be used very often.
So can I make another suggestion - we don't bother with octal escapes at all but do add an extra escape sequence, \e, to represent the ESC character (0o33) which would deal nicely with the commonest usage.
Although it's not standard C, \e is supported by gcc, clang and tcc and so should be fairly familiar to people. For example, in gcc, the following clears the screen:
printf("\e[2J");

Well considering it is one off the only known common usage, and the \xNN exist as an alternative, seems reasonable.


Unable to build a project with TailwindCSS

Environment

Operating System: Darwin
Node Version:     v18.15.0
Nuxt Version:     3.3.1
Nitro Version:    2.3.1
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      app, runtimeConfig, modules, fontLoader, css, postcss, build
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
pnpm run build
Describe the bug
Build ends with error
Additional context
Source code that seems to cause the error. But if I remove the line. Another similar error occurs.
            :class="[
              'lg:text-2xl',
              'font-medium',
              'group-hover:before:scale-x-100',
              'group-hover:before:origin-left',
              'relative',
              'before:transition-transform',
              'before:duration-300',
              'before:scale-x-0',
              uderlineEffect,
              {
                uderlineEffect:
                  item.to.length > 1 && $route.path.startsWith(item.to) == true,
                'before:scale-x-100':
                  item.to.length > 1 && $route.path.startsWith(item.to) == true,
              },
            ]"
          >
            {{ item.label }}
          </span>
          ```

### Logs

```shell-script
> @ build /Users/olivierk3z/projects/blast/extranet-next
> nuxt build

Nuxi 3.3.1                                                                                09:59:40
Nuxt 3.3.1 with Nitro 2.3.1                                                                                09:59:40
ℹ Building client...                                                                                09:59:41
ℹ vite v4.1.4 building for production...                                                                                09:59:41
ℹ ✓ 221 modules transformed.                                                                                09:59:42
rendering chunks (13)...
 ERROR  [vite:css-post] [esbuild css minify] Transform failed with 1 error:                                                                                09:59:42
<stdin>:1:23179: ERROR: Unterminated string token

✘ [ERROR] Unterminated string token

    <stdin>:1:23179:
      1 │ ...padding-top:1rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}}
        ╵                                                                      ^

 ERROR  [esbuild css minify] Transform failed with 1 error:                                                                                09:59:42
<stdin>:1:23179: ERROR: Unterminated string token

  <stdin>:1:23179: ERROR: Unterminated string token
  at failureErrorWithLog (node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild/lib/main.js:1604:15)
  at node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild/lib/main.js:837:29
  at responseCallbacks.<computed> (node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild/lib/main.js:701:9)
  at handleIncomingPacket (node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild/lib/main.js:756:9)
  at Socket.readFromStdout (node_modules/.pnpm/esbuild@0.16.17/node_modules/esbuild/lib/main.js:677:7)
  at Socket.emit (node:events:513:28)
  at Socket.emit (node:domain:489:12)
  at addChunk (node:internal/streams/readable:324:12)
  at readableAddChunk (node:internal/streams/readable:297:9)
  at Readable.push (node:internal/streams/readable:234:10)

 ELIFECYCLE  Command failed with exit code 1.
(base) ➜  extranet-next git:(develop) ✗

Would you provide a reproduction? 🙏

Would you provide a reproduction? 🙏

OK, not simple. I experience this bug in all my recents big projets created with my own scaffolding, this is most certainly the problem. I try with a more atomic nuxt projet.

It was a typo in the fontFamily tailwind config section
Missing semicolon for a font name.
Sorry for the inconvenience.
My Issue is irrelevant and has nothing to do with Nuxt.
It's a real pleasure to code frontends, backends with Nuxt3. Thanks to all team members and contributors.


Wrong 'NAME' variable in xbmc-fullscreen.sh

The 'NAME' variable in xbmc-fullscreen.sh says 'Kodi', but should be 'XBMC Media Center' (at least for 'XBMC from Debian' on Debian Jessie.

Added a note in the readme about it.
Thank you


Image Filter App

Is your feature request related to a problem? Please describe.
A web app that help you to edit your photos and apply custom filters
Describe the solution you'd like.
N/a
Describe alternatives you've considered.
N/a
Add any other context or screenshots about the feature request here.
No response

Please Assign me under GSSOC'22


Syntax for nested JSON

The simple examples work, but what about nested data?
In curl I do something like this:
-d
'"credentials": {
"username": "me",
"key": "my-key"}
}'
How can I do this with httpie?

httpie is a dream! nesting would make it even more awesome though.
It would be nice with rails-like nesting, e.g. path/to/endpoint credentials[username]=me

Some sort of easier syntax for nested data would really be a nice thing to have.
There is also another issue with some syntax suggestions: https://github.com/jakubroztocil/httpie/issues/346

So nesting could be expressed either with brackets or using dot notation.

Greetings!!!  Small question regarding nested json and httpie. So I have a json file:
{
      "apps": [
         { "id": "/product/web/tutum-hello-world-2",
                   "container": {
               "type": "DOCKER",
                   "docker": {
                     "image": "tutum/hello-world",
                         "network": "BRIDGE"
                          }
                        },
                        "id": "/product/web/tutum-hello-world-2",
                        "instances": 1,
                        "cpus": 0.25,
                        "mem": 256,
                        "uris": [],
                        "constraints": [["hostname", "LIKE", "server1.localnet.net"]]

                }
        ]
}

I want to increase the value of  "instances": to 2 and use "constraints": [["hostname", "LIKE", "server1.localnet.net"]]. I tried different permutations, but I am getting No JSON object could be decoded over and over again :(
Using just instances: is pretty easy:
root@rsomtapae108:~# http -v PUT http://<IP_ADDRESS>:8080/v2/apps/product/web/tutum-hello-world-1 instances:=1
PUT /v2/apps/product/web/tutum-hello-world-1 HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, compress
Content-Length: 16
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:8080
User-Agent: HTTPie/0.8.0

{
    "instances": 1
}

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Content-Length: 92
Content-Type: application/json
Expires: 0
Pragma: no-cache
Server: Jetty(8.y.z-SNAPSHOT)

{
    "deploymentId": "6eeda6ac-2ec1-4554-95f3-a0dc19333c56",
    "version": "2015-06-10T11:33:53.165Z"
}

...however using it TOGETHER with constraints directive + nested values has proven to be difficult (for me). Any help, please ???
Thanks!!!!

Answering my own question:
http -v PUT http://<IP_ADDRESS>:8080/v2/apps/product/web/tutum-hello-world-1 instances:=2 constraints:='[["hostname", "LIKE", server1.localnet.nett"]]'
PUT /v2/apps/product/web/tutum-hello-world-1 HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate, compress
Content-Length: 85
Content-Type: application/json; charset=utf-8
Host: <IP_ADDRESS>:8080
User-Agent: HTTPie/0.8.0

{
    "constraints": [
        [
            "hostname",
            "LIKE",
            "server1.localnet.net"
        ]
    ],
    "instances": 2
}

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Content-Length: 92
Content-Type: application/json
Expires: 0
Pragma: no-cache
Server: Jetty(8.y.z-SNAPSHOT)

{
    "deploymentId": "bde62f56-89f6-406a-9c3a-d0309ea3dde6",
    "version": "2015-06-10T12:28:06.056Z"
}

Thanks!!
Alex

Syntax: https://www.w3.org/TR/html-json-forms/
(https://github.com/jdp/jarg)

@jkbrzt For clarification are you referencing jarg for your own notes/feature development?  I tried the following which didn't work:
http post localhost:3000/api foo[bar]=baz

Is received as:
body= { 'foo[bar]': 'baz' }

However, piping through jarg does seem to work:
jarg foo[bar]=baz | http post localhost:3000/api

Is received as:
body= { foo: { bar: 'baz' } }

@lastcoolnameleft yes, I was just bookmarking that spec. Sorry for the confusion.

Hi, I am not sure to understand, how do you provided nested json object with Httpie

I would prefer javascript compatible syntax, so http post parent.child=value and the more complex syntax for embedded dots: [parent.with.dots]=value. The common use case should be easiest and json properties with dots are ugly to use in javascript.

any updates on this issue?
I'd also prefer what @akvadrako suggested

agree that this would be very welcome.

@jakubroztocil This issue has been open for 6 years! And it is such a rudimentary feature! Of course, we can all do echo, but we can use curl as well, right? The point is that httpie does all the basic REST operations. Of course, we can use it along with jarg or jo, but it's so easy to implement this within httpie, I think!

I don’t think it’s that simple, or someone would have sent a pull request!
We should appreciate projects written on free time and given for free.

@merwork We appreciate it. But how many REST services you know to have only a flat JSON?

Many that I write :)
Thanks for the pointers to jarg and jo!  Goes well in my json toolbox with jq and gron.

An important consideration here is backwards compatibility. If we simply introduce a syntax relying on dots, than a script containing the following HTTPie command:
$ http httpbin.org/post  foo.bar=baz

Which currently produces this JSON:
{
    "foo.bar": "baz"
}

Would unexpectly result in:
{
    "foo": {
        "bar": "baz"
    }
}

So the command would have to be updated to escape the newly-meanignful . character:
$ http httpbin.org/post  foo\.bar=baz

+1 for the compat issue, but the proposed solution should be more complicated:
$ http httpbin.org/post "foo\.bar=baz"

otherwise the shell escape \. is interpreted by the shell as . and the backslash is not passed to the command called.

@merwok Good point. I’ve updated the example to take shell escaping into account. General request item escaping rules apply.

Since HTTPie 2.5.0, you can also use --raw:
$ http pie.dev/post --raw '{"foo": {"bar": "baz"}}'

{
    "args": {},
    "data": "{\"foo\": {\"bar\": \"baz\"}}",
    "files": {},
    "form": {},
    "headers": {...},
    "json": {
        "foo": {
            "bar": "baz"
        }
    },
    "origin": "...",
    "url": "http://pie.dev/post"
}

🎉 This feature is now publicly available in HTTPie for Terminal 3.0:
👉🏻  https://httpie.io/docs/cli/nested-json


NR-12569 :  header section in mobile and web view

JIRA : https://issues.newrelic.com/browse/NR-11585
subtask: https://issues.newrelic.com/browse/NR-12569
Description:

Header is sticky in web view and non-sticky in mobile view
z-index=0 applied for header  bottom border line in mobile view
new relic logo size lesser in mobile view than web view
adjusted font-size and height
hover color is now same.

After change

Before change

Please sync this branch with the main branch. I have seen that the main branch got updated with a fix which I do not see in this branch. Thank you.

@pkosanam , okay , it is done.

Observed these things to be fixed:

On header, "login" and "Get started" should have styles on hover
Focus styles on the header are not similar to newrelic.com

Observed these things to be fixed:

On header, "login" and "Get started" should have styles on hover
Focus styles on the header are not similar to newrelic.com

Hi @pkosanam , worked on above points, please review and let me know if any suggestions.

Observed things which has to be fixed

color of the menu options are not same as newrelic.com

Login and Get started are moving when hovered

Styles when focused(on links and also on the buttons on mobile view) are not matching as per newrelic.com

button on the carousel is hidden behind the card

On 1127px, mobile menu is not displayed

On 1127px, mobile menu is not displayed

Hi @pkosanam , it is fixed now.


Add forms section to guide

Problem statement
While we do share that ViewComponents don't work well with form_for, this information is hard to find under known issues. There is no suggested alternative or approach.
Proposed solution
Add a Forms section to the guide:

[ ] Include existing disclaimer about form_for compatibility
[ ] Add direction towards using _tag helpers (?)

Hey! I want to take a stab at this if it's ok.
For the past year my team and I have worked on a Rails app that uses ViewComponent in replacement of ActionView and we've had no problems with forms. I've seen the issue the form_for compatibility comes from and I believe it's either a) an edge case that shouldn't get people discouraged from using view component or b) a misuse of view components in the context of Rails forms.
Do you have something in particular you'd like to see in the docs for forms? Or can I just send a first version of what I believe the docs for forms should be and we take it from there?

can I just send a first version of what I believe the docs for forms should be and we take it from there?

Please do!

I want to add that I also have an app that uses form_for with view_components and we haven't had any trouble other than the fact that capture helpers seem to not work in the view-component context. We just work around by switching <%= to <% .

@joelhawksley the PR that closes this issue is up! https://github.com/github/view_component/pull/946
@jcoyne I'd love for you to take a look at it if you have the time. I haven't run into the capture issue you mentioned but maybe some of the advice in this guide could help out.

@jcoyne @pinzonjulian We are starting to use ViewComponent closer  to form_for (or form_with) and have hit a bit of a snag specifically with testing. Here is a basic example of how we might be passing around form objects, and how I would hope to test the component.
# frozen_string_literal: true

class AdditionalChildComponent < ViewComponent::Base
  attr_reader :form_context, :child

  delegate :styles, to: :helpers

  def initialize(form_context:, child:)
    @form_context = form_context
    @child = child
  end
end

<%= form_with model: @additional_child, scope: :account do |f| %>
      <%= render(AdditionalChildComponent.new(form_context: ff, child: @additional_child)) %>
<% end %>

And a snippet of additional_child_component.html.erb to see example usage.
  <%= form_context.text_field :first_name, class: styles.text_field, id: "account_children_attributes_first_name_#{index}", name: "account[children][][first_name]" %>

The problem is that I can't seem to construct a ActionView::Helpers::FormBuilder object to pass in to the Component, seeing as we only generate those contexts within views. This feels super contextual, and not even specifically a view_component issue, but I found this github issue and thought either of you might have some guidance on how you're using these.
Also, hopefully this might guide what documentation might be helpful to folks. Thanks in advance.

@hjhart :wave: I'm sure you've solved this before, but I wanted to chime in and share that we're testing using a FormBuilder instance. The setup is a little clunky! It requires an ActionView::Base instance, which is a little off the beaten path:
RSpec.describe TextFieldComponent do
  subject(:rendered_component) { render_inline(component) }

  let(:view) { ActionView::Base.empty }
  let(:store) { FactoryBot.create(:store, name: "Unincorporated Taco Bell or Pizza Hut") }
  let(:form) { ActionView::Helpers::FormBuilder.new(:store, store, view, {}) }
  let(:component) { described_class.new(form: form, attribute: :name) }

  it { is_expected.to have_field("Name", with: "Unincorporated Taco Bell or Pizza Hut") }
end

@ohrite's answer works well for ViewComponent previews when accepting ActionView::Helpers::FormBuilder objects as arguments

@joelhawksley is there an issue describing the problems with using Rails form helpers in ViewComponent?

@joeldrapper this issue is pretty old. All issues I've been experiencing with VC + forms have been sold by the recent compatibility module (https://github.com/ViewComponent/view_component/pull/1650).
We've also been able to create a VC-based form builder at https://github com/pantographe/view_component-form


Creating new project opens an existing project

Description:
When we create a new project with a given name in a specific location, if there is already a project with the same name in the same location, the existing project will be opened.
But ideally the user should receive an alert indicating that a project with the same name already exists in this location.
MI for VS Code Extension Version: v0.9.24062409 (pre-release)
Steps to reproduce:
A screen recording is attached below.
https://github.com/wso2/mi-vscode/assets/33226735/65b82d79-ad03-4b79-8cf7-e005189ed03f

We should scan the dir for the existing folder when the user selects the directory and block the button based on availability.

Closing this issue as it has been fixed in the latest release.


Organization registration

Organization registration
doesn't have to be functional just look similar to the web press site

Need to consult with customers to find out how the Organization registration will function.


Adds set default width function

What changes?

Adds a set default width function.
Bumped the version to 2.2.0

Why?
So that we could use it to set the default width. Comes in handy during SSR to specify which breakpoint needs to be rendered.

Thanks mate. Addresses #30 and closes #40

Changes published in version 2.2.0. Thanks again @nawazkhan.


Would this plugin work with react-redux-starter-kit setup?

I am currently using that structure, and given this error
browser.js:49 Warning: [react-router] Location "/carte-blanche" did not match any routes
user-bundle.js:19 Uncaught TypeError: Cannot set property '_ressources' of undefined
Failed to parse SourceMap: http://localhost:8080/carte-blanche/user-bundle.js.map

this is under the location localhost:8080/carte-blanche
and I followed the config at pointing it to my components which are under src/components
Link for the kit setup: https://github.com/davezuko/react-redux-starter-kit
Hope you can help as it is truly a GREAT lib you have here!!

You might need to adjust the filter option a bit. By default, we match all uppercased folders with index files and all uppercased files, both ending with either .js/.jsx/.es6.
I think the bug here is that for the davezuko layout you need to remove the index part from the Regex, since the index.js file doesn't contain a component, but I'm not 100% sure.

@bytewiz did you ever end up gettin ga filter regex working?  I'm running into same error

@SpencerCDixon no, didn't have the time yet, but if figure it out before me I would like to have the solution 👍

Running into the same issue with react router. Seems like there needs to be some kind of hook into the lib? Because the master routes.js file doesn't contain a route ref to carte-blanche (and even if it did, there's no component to point the route at) it throws. Not sure how to get around this.

Running into the same issue with react router.

Hmm, that shouldn't be an issue because Carte Blanche hooks into your server before anything even gets to the client side routing. What's your server setup like?

@SpencerCDixon did you have any luck ? otherwise I might have time to look into it this week :)

No luck.  Don't really have time to figure it out though, just thought it would be cool if carte-blanche worked with just adding the webpack plugin.  Maybe some debugging guidance in the docs would be useful! @bytewiz you should submit a PR to the readme if you figure it out :)

I've got similar error with
user-bundle.js:19 Uncaught TypeError: Cannot set property '_ressources' of undefined

19 line is window.$INITIALIZE_COMPONENT_GUI._ressources = resources;
What else can I provide to help resolve this?

@ewnd9 Can you share your filter?

@lightning18 of course
new CarteBlanche({
  componentRoot: './src/components',
  filter: /(.*)\/(\1)\.js$/
})

It matches files like component/component.js

Are you using this: https://github.com/davezuko/react-redux-starter-kit ? How did you solve the react-router issue?
Warning: [react-router] Location "/carte-blanche" did not match any routes

@lightning18 nope, I found that issue by searching user-bundle.js:19 Uncaught TypeError: Cannot set property '_ressources' of undefined, sorry for the misunderstanding.


Earth Continent Variations

Icon name
earth-europe, earth-americas, earth-africa, earth-asia, earth-oceania, earth-antartica
Use cases

Selecting timezones
Filtering something by region
Travel application

Design ideas
Should have same design style as our current earth icon,

But depicting the respective continents clearly, here is some inspiration from font-awesome

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

I'm afraid this is not at all feasible with Lucide's guidelines until we have support for fills, I've added the needs fills labels so that this can be reopened later on once we do, see the discussions at #458

I think this can be achieved with lines only @karsa-mistmere.

I think this can be achieved with lines only @karsa-mistmere.

Yes, I'm very much aware of Fontawesome's Light icon set, unfortunately this won't work at all within our design system, since we'd need 2px strokes and 2px gaps, and FA Light uses much lighter strokes and allows for much thinner gaps.

A

I think this can be achieved with lines only @karsa-mistmere.

Yes, I'm very much aware of Fontawesome's Light icon set, unfortunately this won't work at all within our design system, since we'd need 2px strokes and 2px gaps, and FA Light uses much lighter strokes and allows for much thinner gaps.

Ah ok, thanks 😕

I'm not sure if here, too much detail is lost, and it becomes hard to perceive them as globes, but it still might be possible to suggest continents in the Lucide style.

This would definitely be better than having nothing at the moment!

I'm not sure if here, too much detail is lost, and it becomes hard to perceive them as globes, but it still might be possible to suggest continents in the Lucide style.

Those look pretty cute, don't count on me guessing which continents are which tho :P


Having compilerOptions.composite set fails to build

Environment
Node v18.12.1
PNPM Workspace v8
Reproduction
This is not super obvious, and I can provide a repro on demand if this is a new and/or unknown scenario.
Describe the bug

Working with an PNPM workspace.
Using TypeScript references.
Have a project that sets composite: true (it is being references by another)
When running unbuild get an error.

Additional context
The files are listed in includes.
Removing the composite flag makes the problem go away and build works fine.
Same problem and solution are described on SO (not for unbuild in particular): https://stackoverflow.com/a/70964056/1566758

Full tsconfig.json
{
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "lib",
    "alwaysStrict": true,
    "declaration": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "inlineSourceMap": true,
    "inlineSources": true,
    "lib": [
      "es2019"
    ],
    "module": "CommonJS",
    "noEmitOnError": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noImplicitThis": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "resolveJsonModule": true,
    "strict": true,
    "strictNullChecks": true,
    "strictPropertyInitialization": true,
    "stripInternal": true,
    "target": "ES2019",
    "incremental": true,
    "tsBuildInfoFile": "tsconfig",
    "skipLibCheck": true,
    "declarationMap": true,
    "emitDeclarationOnly": true
  },
  "include": [
    "src/**/*.ts"
  ],
  "exclude": []
}

Diff that fixes the problem
diff --git a/packages/projen-jest-swc/tsconfig.json b/packages/projen-jest-swc/tsconfig.json
index 302b209..ffabb8e 100644
--- a/packages/projen-jest-swc/tsconfig.json
+++ b/packages/projen-jest-swc/tsconfig.json
@@ -29,7 +29,6 @@
     "incremental": true,
     "tsBuildInfoFile": "tsconfig",
     "skipLibCheck": true,
-    "composite": true,
     "declarationMap": true,
     "emitDeclarationOnly": true
   },

Logs
error TS6307: File '/foo/packages/package-a/src/index.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.
  The file is in the program because:
    Root file specified for compilation
src/index.ts(1,15): error TS6307: File '/foo/packages/package-a/src/jest-swc.ts' is not listed within the file list of project ''. Projects must list all files or use an 'include' pattern.

Looks like the same issue occurs with tsup: https://github.com/egoist/tsup/issues/571
... Because of rollup-plugin-dts: https://github.com/Swatinem/rollup-plugin-dts/issues/127

you can work-around the below rollup.dts options:
import { defineBuildConfig } from 'unbuild';

export default defineBuildConfig({
  // ...
  rollup: {
    dts: {
      compilerOptions: { composite: false }
    }
  },
  // ...
});

recently, rollup-plugin-dts issue has been updated
https://github.com/Swatinem/rollup-plugin-dts/issues/127#issuecomment-1983726767


⚠ Bofrost.de has degraded performance

In ae8f4e3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1678 ms

Resolved: Bofrost.de performance has improved in aca03e0 after 10 minutes.


Fix travis config to use Node 10 and not Node 11

Codecov Report

Merging #552 into master will increase coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #552      +/-   ##
==========================================
+ Coverage   56.86%   57.04%   +0.17%
==========================================
  Files          44       44
  Lines        2810     2810
==========================================
+ Hits         1598     1603       +5
+ Misses       1212     1207       -5

Impacted Files
Coverage Δ

probes/https-outbound-probe.js
90.14% <0%> (+1.4%)
:arrow_up:

tests/api_tests.js
81.5% <0%> (+2.31%)
: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 253d8b8...faa9ae5. Read the comment docs.

This got checked in with #553