Behavior when transitioning to same path

Right now, when clicking a link to the currently active path, the browser will

create a new history entry (HistoryLocation)
not create a new history entry (HashLocation)
not "refresh" the page by calling the run callback

On static web sites, all the browsers I tested do refresh the page, but they don't create new history entries, so I think we should do this, too. Or at least make HistoryLocation and HashLocation consistent.

How do you tell it creates a new entry? I click many times on current page's link in my app and I can go back in a single Back click.

I click many times on current page's link in my app and I can go back in a single Back click.

That's not what I'm observing at http://react-router-mega-demo.herokuapp.com/ with either Chrome, Firefox or IE. Are you sure you tried with HistoryLocation?

Sorry, indeed you're right. I verified on HashLocation by mistake!

@taurose Did you find a work-arround?

I've been meaning to create a PR but haven't gotten around to it yet.
I don't think there's a simple and clean way to get the always-refresh behavior. As for not creating new history entries for HistoryLocation, you should be able to intercept HistoryLocation.push():
HistoryLocation._push = HistoryLocation.push;
HistoryLocation.push = function(path){
  if(path !== HistoryLocation.getCurrentPath())
    HistoryLocation._push(path);
}

✅ Thanks @taurose, it works!

not create an additional history entry if path has not changed (HistoryLocation and TestLocation)

+1
thanks for workaround in the meantime!

I imagine we still have this issue on master

@taurose @mjackson please reopen if I'm wrong, but I think your work on history defined this stuff.

hey guys, what about this:

not create an additional history entry if path has not changed (HistoryLocation and TestLocation)

I'm on react-router 1.0.0-rc3 + "history/lib/createBrowserHistory" and this problem still appears for me.
Thanks.


windows_feature stop supporting Win2008r2 server

Cookbook version
Since 4.1.0 to 4.1.3
Chef-client version
chef-client 12.21.3 or 13.8.5 is the same result
Platform Details
Windows2008 R2
Scenario:
windows_feature 'FS-NFS-Services' do        action :install        install_method :windows_feature_powershell   end
ERROR:
windows_feature_powershell[FS-NFS-Services] (C:/chef/cache/cookbooks/windows/resources/feature.rb line 47) had an error: RuntimeError: The Windows feature FS-NFS-Services is not available on this version of Windows. Run 'Get-WindowsFeature' to see the list of available feature names.
Steps to Reproduce:
The error is that in resource feature_powershell.rb you changed the available method to:
def parsed_feature_list
    # Grab raw feature information from dism command line
    raw_list_of_features = if node['os_version'].to_f < 6.2
                             powershell_out!('Import-Module ServerManager; Get-WindowsFeature | Select-Object -Property Name,InstallState | ConvertTo-Json -Compress', timeout: new_resource.timeout).stdout
                           else
                             powershell_out!('Get-WindowsFeature | Select-Object -Property Name,InstallState | ConvertTo-Json -Compress', timeout: new_resource.timeout).stdout
                           end

    Chef::JSONCompat.from_json(raw_list_of_features)
  end

and powershell_out!('Import-Module ServerManager; Get-WindowsFeature | Select-Object -Property Name,InstallState | ConvertTo-Json -Compress', timeout: new_resource.timeout).stdout
brings the InstallState Property with null, example:
"[{\"Name\":\"AD-Certificate\",\"InstallState\":null},{\"Name\":\"ADCS-Cert-Authority\",\"InstallState\":null},......
Expected Result:
The InstallState Property comes with a number:
{\"Name\":\"NET-WCF-HTTP-Activation45\",\"InstallState\":0}
parsed_feature_list.each do |feature_details_raw|       case feature_details_raw['InstallState']       when 5 # matches 'Removed' InstallState         add_to_feature_mash('removed', feature_details_raw['Name'])       when 1, 3 # matches 'Installed' or 'InstallPending' states         add_to_feature_mash('enabled', feature_details_raw['Name'])       when 0, 2 # matches 'Available' or 'UninstallPending' states         add_to_feature_mash('disabled', feature_details_raw['Name'])       end     end
Actual Result:
Chef client stops because of the result of changing the way to parse if the feature is available to if is removed, Install.

So this is a two fold issue:
First we technically don't support Windows 2008 R2 for Chef anymore. We're actively doing our best not to break it, but we don't test for it anymore as mainstream support from Microsoft ended Jan 2015. Yes there's extended support until 2020, and that's why we're doing our best not to entirely break things until 2020. This is pretty similar to what we did with Windows 2003, where we just last month removed all the crazy code necessary to support it.
The second part is that windows_feature_powershell resource should still work on Windows 2008 R2, but it will require a mildly modern version of PowerShell to function. Powershell 2.0 that shipped with WIndows 2008 R2 is severely lacking in functionality and supporting that would cripple our ability to move forward with Chef. Now that we're using converto-json in the powershell you'll need at least PowerShell 3.0. I have a ticket open already against the chef client to get a more friendly failure warning in this resource.
Going forward in the chef client we're going to start converting a lot of resources over to our new faster powershell exec helper. This requires PowerShell 3.0 since it also uses the converto-json cmdlet. Converting these resources gives us a 7x performance boost since we don't have to constantly spawn off powershell.exe processes and then parse the string output of those cmdlets. So you're really going to need to upgrade to a modern powershell or remain on an older version of chef-client and cookbooks.

So I have some code locally that I'll get out tonight, but this will be the error you'll receive on PS < 3.0
           ================================================================================
           Error executing action `remove` on resource 'windows_feature[Remove FTP for Appveyor]'
           ================================================================================

           RuntimeError
           ------------
           windows_feature_powershell[Remove FTP for Appveyor] (C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/windows/resources/feature.rb line 47) had an error: RuntimeError: The windows_feature_powershell resource requires PowerShell 3.0 or later. Please install PowerShell 3.0+ before running this resource.


Navbar full name and organization name additions.

These commits apply the styling, markup, and backend templating additions required to present the organization name on the left-hand column of the navbar and the full name of the user on the right-hand column.
Long names should be gracefully truncated with trailing ellipses. At 975px the full name on the right-hand column will be set to hidden as the right column is collapsed, and at 775px the organization name in the left-hand column will disappear as that column is also collapsed.

Automated message from Dropbox CLA bot
@brockwhittaker, it looks like you've already signed the Dropbox CLA. Thanks!

Looks pretty good, a few requests:

Visually, I think we need some sort of separation between the person's name and the gear menu.  Maybe just a vertical line like we have at the search box right boundary?
Can you switch the commit messages to use the proper tense ("Add", not "Adding")?
The commit that adds the backend should be placed in the series before the template logic commit that uses the data (otherwise, if one checks out the commit in between, the site won't work).  You can reorder these with:

git pull --rebase
git rebase -i upstream/master # Reorder/edit the commits in this view
git push origin +HEAD:navbar

(assuming origin is your personal fork and upstream is the main repository).

While you're at it, you might as well add a Fixes: #1417 to the third commit message.

Thanks!

@brockwhittaker For the commit that adds markup to display the organization & full name in the navbar, could you move "Fixes: #1417" to the last line of the commit? Sorry to be so nitpicky on this style stuff but it really does help when skimming logs later.
So it would be:
Add markup to display organization and full name in navbar.

This adds the organization name to the left column and the full name of
the user to the right column of the navbar.

Fixes: #1417.

@neerajwahi Could I ask you to take a look at this PR and review it?

@umairwaheed could I ask you to take a look at this from an internationalization/localisation/language perspective?

This one is actually probably not worth reviewing; we're going to redo it with a different design in the next couple weeks as part of the redesign effort.


btp login --sso not working

hey there!
I am trying to solve this tutorial: https://developers.sap.com/tutorials/cp-sapcp-getstarted.html
logging on via password did not work but I am not sure if copy-paste works properly and the password is quite long so that typing maybe was also wrong.
Tried out then sso option.
login in the browser successful. btp says "failed"... :(

What can I do?

i had the same issue
in my case when entering the global account subdomain i was passing  XXXXXXXXtrial .
i changed it to XXXXXXXXtrial-ga and that worked

Thanks @Ngugisenior ! Yes, it's important to distinguish between the account name and the subdomain associated with it. With trial accounts, for example, it's an easy relationship - the subaccount is just the account name suffixed with -ga as you point out.


Database Problem

Description of the issue
Hi, model: TS0601_smart_human_presence_sensor every second write to DB not need write when state is the same, plasese fix this write to DB only when state is changed, same for other zigbee devices entities.

these entities increased the database by 1 GB in 3 days
Addon version

Platform
Home Assistant 2023.4.5
Supervisor 2023.04.1
Operating System 10.0
Logs of the issue (if applicable)
No response

I noticed that also and I have added these exclussions:
recorder:
db_url: postgresql://xxx:xxxxx@xxxx-timescaledb/xxxxxx
exclude:
entity_globs:

sensor._presensedetector_illuminance_lux
sensor._presensedetector_self_test
sensor._presensedetector_target_distance
number.presensedetector*

I noticed that also and I have added these exclussions:
recorder: db_url: postgresql://xxx:xxxxx@xxxx-timescaledb/xxxxxx exclude: entity_globs:

sensor._presensedetector_illuminance_lux
sensor._presensedetector_self_test
sensor._presensedetector_target_distance
number.presensedetector*

same i have this

@Koenkk


Connected marketplace to database

FIX #196

Doesn't load everytime, but works fine after a few refreshes.


Relax peer dependency versions for @codemirror packages in cm6-graphql

Fixes: #3662
The cm6-graphql package currently specifies exact versions for its peer dependencies on @codemirror packages. This is causing conflicts when projects use newer versions of these packages, leading to multiple instances being installed.

Please sign cla and add a changeset

thank you @mavenskylab !


Artifacts on the tiger demo

Screen cast: https://bugzilla.mozilla.org/attachment.cgi?id=9058611
Particularly visible towards of the video, small white shapes flicker as the tiger is panned. It's very easy to reproduce.
It looks like missing opaque tiles letting the white background bleed through occasionally, but it's hard to tell at a glance.

I can reproduce this on both intel and nvidia GPUs.

A quick look in renderdoc shows that the white shape does not belong to the background, it is rendered on top of already-rendered black pixels of the eyes in the image above, as part of one of the non-opaque passes.

This reduced test case might be easier to investigate: https://bugzilla.mozilla.org/attachment.cgi?id=9059047

Yeah, I'm aware of this. Thanks for the test case :)

I'm having trouble reproducing, but this might be fixed by https://github.com/pcwalton/pathfinder/commit/3310b158262542b73b5989fc5d2306b3f16f8254.
@nical Could you check when you get a chance?

I can still reproduce a glitch, I'm not 100% certain it is the same bug but it is also reproducible for me with the reduced test case at the default zoom level, or on the tiger at any zoom level.
Here is a screen cast showing the (new?) glitch on the tiger: https://bugzilla.mozilla.org/attachment.cgi?id=9063716
I'm not sure this is the same issue because:

simply moving the mouse without changing drawing parameters causes this issue to "flicker" whereas it was stable before,
the incorrect shape when I originally filed this used to somewhat match the correct contour, now it looks like a tile is randomly picking the wrong mask (index overflow?).

OK, I definitely can't reproduce that. Are you on Linux?

Yes, reproducing this both on intel and nvidia GPUs (using the proprietary drivers for nvidia).

I'm seeing similar behavior on windows w/ nvidia @ a5d373cb91a6f49a7f0019e1f4a4b9180d840bda


Appimage v.116 won't start: loading shared libraries: libffi.so.8: cannot open shared object file: No such file or directory

OS/Platform
Debian, Ubuntu, and derivatives
Installed
https://ungoogled-software.github.io/ungoogled-chromium-binaries/
Version
116
Have you tested that this is not an upstream issue or an issue with your configuration?

[X] I have tried reproducing this issue in Chrome and it could not be reproduced there
[X] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[X] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description
Refuse to start
How to Reproduce?

run ungoogled-chromium_116.0.5845.96-1.1.AppImage

Actual behaviour
Won't start
Expected behaviour
Start
Relevant log output
$ ungoogled-chromium_116.0.5845.96-1.1.AppImage

/tmp/.mount_ungoog645Fc7/opt/google/chrome/chrome: error while loading shared libraries: libffi.so.8: cannot open shared object file: No such file or directory

Additional context
ungoogled-chromium_112.0.5615.165-1.1.AppImage
starts up fine

Please provide detailed information regarding your OS. libffi.so.8 should be available in Debian stable. Also check whether you have libffi8 installed.

Please provide detailed information regarding your OS. libffi.so.8 should be available in Debian stable. Also check whether you have libffi8 installed.

Oops, i forgot to specify the OS version.
It's Ubintu 20.04

On 22.04 it works fine, but not on 20.04.
There is no libffi8 on 20.04, only libffi7

Which means it is not an issue of ungoogled-chromium 🤷🏻


How to resolve glob pattern?

My Scss: @import 'components/*.*';
I tried to configure import-glob, but probably incorrectly:
rules: [
      {
        test: /\.scss$/,
        enforce: 'pre',
        loader: 'import-glob'
      },...
]

Edit: omit the above, I need to configure vue-loader to handle this. Suspecting it's in config/utils.js.

@adi518 did you ever figure this out? I'm having a heck of a time. The vue-loader & webpack template docs are out of date, as far as webpack config goes, and I'm having no luck.

I'm afraid not. When you come to think of it though, if you make an SPA, you should rarely arrive at a point where you need to import CSS, not to mention going as far as glob-import the stuff. I only needed it to import some of my legacy code, which will be re-factored into something like styled-components eventually. Never meant to use it permanently. Despite that, I have more experience with the Vue-Webpack template now so I'll try to make it work, perhaps this weekend.

@adi518 yeah this was mainly to be used for importing some global app-wide styles.

For the time being, just import it the boring way. I'll post here if I get it to work, or if you manage yourself, please share. 👍

Hi! @adi518 @chasegiunta did you guys figure this out? I'm also working with a big legacy sass setup that makes importing individual files cumbersome.

I would also need to figure this out for importing plugins inside a folder like so:
import * as plugins from 'plugins/**/*.vue';

The idea is, all you need to do is drop your plugin (which are vue components) indside the plugins folder and have vue load them all up as global components.

I think I have this working using import-glob-loader.  I updated build/vue-loader.conf.js to include the following above the loaders: object.
preLoaders: {
  css: 'import-glob-loader',
  scss: 'import-glob-loader',
},

The other caveat is that import-glob-loader doesn't like aliases.  I couldn't get it to work with any of my webpack aliases, but if i use the real path (starting after the src directory) it works like so:


claim command

where is it?

Hi,
Thanks for your interest in our project :)
This bot is still in development, please see #2 in reference to .claim.

@AngelicDemon
Please feel free to join us on Discord to discuss the bot's development, if you have added it to your server: https://discord.gg/011tZbkyatr8nf26S


[dv/chip] lc_ctrl_kmac_reset test

This PR implements the lc_ctrl_kmac_reset test.
This test includes the following sequence:
1). In SV side, pre-load OTP image with count 8. Backdoor override the
image to TestUnlocked1 state.
2). In C side, initiate a LC state transition to DEV state, but input
incorrect exit token.
3). During and after the token handshake with KMAC, in SV side, force
kmac's reset line.
4). Still expect to see a LC transition failure afterwards.
Then repeat the following sequence but let C side input correct exit
token. Then expect the LC state transition to pass.
Signed-off-by: Cindy Chen<EMAIL_ADDRESS>

This addresses: #14172


Wrong value in DCGM_FI_DEV_MEMORY_TEMP for NVIDIA Tesla-T4

In our installation of dcgm-exporter in kubernetes, the DCGM_FI_DEV_MEMORY_TEMP metric always has the value<PHONE_NUMBER>854776000.
The same value for this timeseries also appears in this Repositories' README at line 96.
Other metrics with the same values are DCGM_FI_DEV_NVLINK_BANDWIDTH_TOTAL and the other DCGM_FI_DEV_NVLINK_* metrics.
Is this a bug, or does this field simply not exist for our GPU?

same problem with me. the DCGM_FI_DEV_MEMORY_TEMP metric is a flat line with exactly the same value mentioned by @maxbischoff. Running DCGM using docker on Ubuntu host with a NVIDIA Quadro RTX 5000.
Pl. help, I need this to setup alerts when GPU temperature goes too high.


[material-ui][Autocomplete] Fix filled input deepmerge error

fixes: #38489
Changes priority of deepmerge function call for FilledInput to avoid crashing with a circular ownerState object.

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

Could you please add a test that verifies the changed behavior?


naive dimThread compatibility fix

this fixes
https://github.com/WearBlackAllDay/DimensionalThreading/issues/25
this prevents the (intended) crash by adjusting the according check, without affecting other cases.
this does NOT however fix rare crashes caused by racing; i will implement a fix for that on my end within the next days.
for now it makes both mods work fine together, albeit be it not safely.

Thanks for the fix. But I want IMutableThread to be in ducks package and WorldMixin to be in com.qouteall.hiding_in_the_bushes.mixin package.

Because that this mod has a lot of package renaming in 1.17 this cannot be easily cherry picked into 1.17. I am going to re-implement it manually in 1.17


Scanning needs user request for location permission

Scan results in "java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results". Running on Marshmallow.

I added the location permission to the sample code and it work, dont know why it needs location thought, maybe for beacon?

Apparently for SDK > 23 you need to ask the user for those permissions. If you set it to SDK < 22 you won't need to prompt the user for permissions.
The target SDK is set to 24 so it won't work unless you put a prompt in.
http://stackoverflow.com/questions/33149814/prompting-for-location-permission-when-not-monitoring-in-background

For Android N:
Add the following permissions,
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

and go to Settings / Apps / BluetoothLeGatt / Permissions and enable Location.

Alternatively, insert this check in OnCreate method for main activity:
int permissionCheck = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION);
if (permissionCheck != PackageManager.PERMISSION_GRANTED){
if (ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.ACCESS_FINE_LOCATION)){
Toast.makeText(this, "The permission to get BLE location data is required", Toast.LENGTH_SHORT).show();
}else{
requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_FINE_LOCATION}, 1);
}
}else{
Toast.makeText(this, "Location permissions already granted", Toast.LENGTH_SHORT).show();
}

I just needs to clear one doubt, that why we need to turn the device location ON while scanning the beacons?


Rename '.then()' and '.otherwise()' for 'If()' to '.yes()' and '.no()'

@while-false as discussed!

What do you think about 'True' 'False'?


1.7.11 release

#512 needs a fix very soon. Target date: Tuesday 2017-12-12.

Distributions are uploaded to PyPI.


Cast to Number only if !isNaN

Fixes https://github.com/custom-cards/bar-card/issues/19

Perfect thanks!

Thanks, doesnt seem to work yet. Still have NaN (HACS upgrade to 1.5.3)

I also have the same issue. (bar-card 1.5.3 and HA 97.2)


Implemented Accesslevel on Address field

Address field will now be HIDDEN if user does not have authorization to view it
Accesslevel changed from String to int

#38

#91

A solid new field


Windows - apktool build fails due to UTF8 filename

With the latets two updates I cannot compiled the apktool under Windows (non changes are amde in Windows) bwcause report an error during tests.
tested with java JDK <IP_ADDRESS> and <IP_ADDRESS>.
compiling the sources with the command
build fatJar proguard
I got this error.
brut.androlib.BuildAndDecodeTest > unicodeAssetTest FAILED
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at brut.androlib.BuildAndDecodeTest.compareBinaryFolder(BuildAndDecodeTest.java:435)
at brut.androlib.BuildAndDecodeTest.compareAssetsFolder(BuildAndDecodeTest.java:447)
at brut.androlib.BuildAndDecodeTest.unicodeAssetTest(BuildAndDecodeTest.java:382)
80 tests completed, 1 failed
:brut.apktool:apktool-lib:test FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':brut.apktool:apktool-lib:test'.

There were failing tests. See the report at: file:///D:/GIT/Apktool/brut.apktool/apktool-lib/build/reports/tests/test/index.html

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Before the last two apktool updates it worked fine.

What is in the file D:/GIT/Apktool/brut.apktool/apktool-lib/build/reports/tests/test/index.html ?

@BurgerZ
Test Summary 75
tests 1
failures 0
ignored
2m9.39s
duration
98%
successful

{Failed tests}
{Packages}
{Classes}
Failed tests
{BuildAndDecodeTest}. {unicodeAssetTest}
Packages
Package   Tests   Failures   Ignored   Duration   Success rate
{brut.androlib}    75   1   0   2m9.39s   98%
Classes
Class   Tests   Failures   Ignored   Duration   Success rate
{brut.androlib.AndResGuardTest}   1   0   0   29.835s   100%
{brut.androlib.BuildAndDecodeJarTest}   1   0   0   0s   100%
{brut.androlib.BuildAndDecodeTest}   61   1   0   0.137s   98%
{brut.androlib.DebugTagRetainedTest}   2   0   0   0.032s   100%
{brut.androlib.DoubleExtensionUnknownFileTest}   1   0   0   8.477s   100%
{brut.androlib.LargeIntsInManifestTest}   1   0   0   37.628s   100%
{brut.androlib.MissingVersionManifestTest}   1   0   0   8.894s   100%
{brut.androlib.ProviderAttributeTest}   1   0   0   17.508s   100%
{brut.androlib.ReferenceVersionCodeTest}   1   0   0   9.086s   100%
{brut.androlib.SharedLibraryTest}   3   0   0   17.795s   100%
{brut.androlib.UnknownCompressionTest}   2   0   0   0s   100%
Wrap lines
Generated by {Gradle 2.3} at 8-gen-2017 21.01.08

It happens only under Windows.
Under Linux (running with vMWare) compilation is OK (no error during tests)

same issue here

➜  unicode-txt git:(master) ls
∂-unicode.txt
➜  unicode-txt git:(master) python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.listdir('.')
['\xe2\x88\x82-unicode.txt']
>>>

It's a valid UTF8 file. Windows must be choking on it.

@iBotPeaches
Thanks for tehr eport.
What could I do to fix the problem in Windows?

I successfully compil under Cygwin but with this command :
. /gradlew release fatjar
Try on windows with git app with :
. /gradlew.bat release fatjar

@edzamber
In this way you bypass the tests. But is not correct.
Under Linux the compilation works fine with tests.

Yes test are bypassed but Apktool working perfectly. I have test on my SystemUI, no issue with decompil/recompil.

@edzamber
Thanks for teh confirm.
I wrote it befroe because the author answer in the forum that the test are necessary.
Now i'm compiling it under Linux.
No errors with tests.

For test on windows or Cygwin it doesn't working.
Fail to pass test
Working only with release command.
I use JDK 8u112

@edzamber
It's the same for me.
I'm using JDK 1.8.121 (in Windows and Linux)
In Windows fail with build gradle option (fail 1 test) but work with release gradle option (bypass test)
In Linux work with build gradle option (pass all tests).

The release command is for me only. That creates non-snapshot builds, so they look official so please don't go using release and then releasing those binaries into the public.
Please look into the tests and how Java and Windows handles UTF8 characters. Messing with how gradle executes is not the problem.

@Bovirus,
Yes same problem with jdk 8u121...
@iBotPeaches,
No problem, i use only for me. I know how release option compil, that's why i'll never share it in public.
I tried to find what is the problem with Windows and Cygwin but i don't see how to solve this.
It worked one time for build december commits but with news commits it don't working anymore.

There are a ton of articles about Java, Windows, Cygwin and UTF8. Building on Windows will just be on a hiatus for a bit till someone or myself finds a patch.

@iBotPeaches
Please take care that Windows don't allow to use UTF8 at OS level (you can do it for single app like Notepad++, etc - but not at OS level).
The commit that you did is regarding MacOS file and MacOS and Linux handle UTF8 natively.
I propose you to add to the source a if/check condition for this test (just this test fail and is the UTF8 test) to bypass it if the OS running is Windows.
If you have MacOS/Linux as OS the develop make all tests
If you have Windows as OS the compilation make all tests except 1 (UTF8 that failed on Windows)
If different for Windows users bypass the tests at all (no tests) then to make all tests except UTF8 (just it failed - not the others).
Thanks.


Typo in docstring for MCX gate

The docstring for the mcx method in QuantumCircuit.py has a typo regarding the mode kwarg (no-ancilla rather than noancilla).

Hi @jsistos,
I got what is the problem and would love to fix this issue. Please assign this issue to me so that I can start working on it.
Best,
Abhishek


Question about the cause of "negative curvature" warning

First of all thank you for sharing your implementation of l-bfgs-b. I have faced an issue I hope you can help me with. During optimization, I constantly get the warning" negative curvature detected,  skipping L-BFGS update". Since I am implementing an algorithm named REPS from [1], I'm sure the problem is convex. So could you please tell me what might have I done wrong that causes this warning? My setting for L-BFGS-B is :
lbnd=[-inf; 0.01];
ubnd = [inf; inf];
lbfgsOpts = struct('display', true, 'xhistory', false, 'tol', 1.0e-5, 'max_iters', 20,'m', 500);
p0 = [theta; eta];
[optimizedParams] = LBFGSB(func, p0, lbnd, ubnd, lbfgsOpts,...
%some more parameters to be passed to objective function
);

[1] Peters, Jan, Katharina Mülling, and Yasemin Altun. "Relative Entropy Policy Search." AAAI. 2010.
Thank you and best regards,
Navid.

Hi Navid, thanks for the information.
Unfortunately, I think it is likely that you haven't actually done anything incorrect, and that this implementation is not actually that robust. My motivation for writing this was for a class project, and I really only tested some small problems with a small number of design variables (which can be seen in the .pdf in this repository). Also unfortunately, I don't have real plans to further maintain this project.
I'm sorry this answer isn't much help. If you would like to use the L-BFGS-B algorithm with Matlab, I'd encourage you take a look at this wrapper around the original L-BFGS-B implementation, if you haven't already.
Cheers,
Brian

In most cases, I got that warning after "M = inv(MM);" often caused "Warning: Matrix is close to singular or badly scaled."
(The latter can easily be suppressed in MATLAB.)
In all cases, I was able to get rid of the warning by modifying the code so that a step is taken only if the new x has a lower f-value than the old one.
That way I also got much better results. Maybe the same happens to you, depending on your function.
Moreover, I had to make the following additions to avoid lbfgsb.m return x values out of the search space (which was likely caused by the almost-singularity of MM):
xbar = max(l,min(u,xbar)); %project to search space
end

function [alpha] = strong_wolfe(func,x0,f0,g0,p)

Just the first line was added. The others (old lines) just show the location in the code.
[alpha] = min(1, strong_wolfe(func,x,f,g,xbar-x)); %"min(1,)" added

where strong_wolfe was called.
Finally, there was a bug:
  if (k < m)

should read
  if (size(Y,2) < m)

as else early "negative curvature" causes
Error in LBFGSB (line 81)
Y(:,1:m-1) = Y(:,2:end);

@user929292 feel free to make a pull request, I will be happy to merge it if the two test files run.


Keep original fields

John,
I added functionality so that if a form already had data, it would hang on to that information when calling generateFDFTemplate. I forked this and created my own NPM but if you are actively maintaining this, and accept my pull request, I'll just collaborate with you on enhancements.

@wmbutler maybe best to add this functionality as an opt-in option instead of having it on by default.


an error happend at train data processing at task 8

This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization.Bin size was too small in the coarse rasterization phase. This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization.Bin size was too small in the coarse rasterization phase. This caused an overflow, meaning output may be incomplete. To solve, try increasing max_faces_per_bin / max_points_per_bin, decreasing bin_size, or setting bin_size to 0 to use the naive rasterization.^Z
[1]+  Stopped                 python data_utils/process.py data/vic/vic.mp4 --task 8
could to solve it?
Thanks very much
Chris

Hi @SavageVic ,
You can resolve it by adding bin_size = 0 to the raster_settings in this script.

Thanks very much.
Best regards,
Vic
Ahmer Malik @.***> 于2024年2月2日周五 23:04写道：

Hi @SavageVic https://github.com/SavageVic ,
You can resolve it by adding bin_size = 0 to the raster_settings in this
script
https://github.com/Fictionarry/ER-NeRF/blob/c8ce2ec1689bb6050f5567c5dd66320d43cbe2c1/data_utils/face_tracking/render_3dmm.py#L137
.
—
Reply to this email directly, view it on GitHub
https://github.com/Fictionarry/ER-NeRF/issues/109#issuecomment-1924060356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEWE4NUCNJPGBLHCXEE7PILYRT56LAVCNFSM6AAAAABAZT4JGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGA3DAMZVGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Updates to C2 and Client Code to better handle certain beacon configs

Add Host: header to all requests to handle domain fronting beacons. If HOST_HEADER doesn't exist uses "domain" value for Host: header.
Small fix to C2 code to also handle "_parameter" along with "parameter" as it seems in some cases the config returns this value instead.

That works for me! Thanks!


[RESOLVED] High ICMP ping response time

Problem started at 15:57:29 on 2023.06.01
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Operational data: Value: 371ms
Original problem ID: 23053
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23268&eventid=23053

Problem has been resolved in 6m 0s at 16:03:29 on 2023.06.01
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Original problem ID: 23053


(doc) Apply developmental edit to Logback docs.

This looks good, I just had two minor comments

:ship:


add test case for TripleProtocol

What is the purpose of the change
add test case for TripleProtocol
see more detail from #8146
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #8147 (19393b8) into 3.0 (a39fffe) will increase coverage by 2.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #8147      +/-   ##
============================================
+ Coverage     60.72%   62.91%   +2.19%
+ Complexity      313      309       -4
============================================
  Files          1072     1073       +1
  Lines         45038    45076      +38
  Branches       6768     6746      -22
============================================
+ Hits          27348    28359    +1011
+ Misses        14674    13512    -1162
- Partials       3016     3205     +189

Impacted Files
Coverage Δ

...ng/transport/dispatcher/all/AllChannelHandler.java
68.96% <0.00%> (-27.59%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
47.82% <0.00%> (-15.22%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...in/java/org/apache/dubbo/common/utils/JVMUtil.java
81.13% <0.00%> (-11.33%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
57.62% <0.00%> (-10.17%)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
51.13% <0.00%> (-9.10%)
:arrow_down:

...gistry/client/migration/MigrationRuleListener.java
72.27% <0.00%> (-8.03%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-6.53%)
:arrow_down:

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
:arrow_down:

... and 126 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 a39fffe...19393b8. Read the comment docs.


IndexError when use gtfs.line_freq

When I try
line_freq = gtfs.lines_freq(stop_times, trips, shapes, routes, cutoffs = cutoffs)

I get the following error
IndexError: index 0 is out of bounds for axis 0 with size 0
This happens also with gtfs.cut_gtfs(stop_times, stops, shapes)
And with or without the cutoffs variable in input
I tried it with different gtfs files, but the result is always the same

please check if the error persists with the latest version of the package @cla93


Fixes unable to create MySQL database with null collation using Schema::createDatabase()

Reported via https://github.com/orchestral/testbench-core/discussions/148

Reverted https://github.com/laravel/laravel/pull/6241


[Dropdown] Dropdown menu item should open upwards if there is not enough room on the screen

The auto upward/downward open is not working correctly with the vertical menu item variation.
The issue is present in the documentation and is displayed by all of the dropdown items on the page.

Im probably being pretty dull, but can you elaborate on how to reproduce? Does this require a menu with enough items to cause it to be off screen to the bottom but not the top?

Yeah.
So right now on the doc page, the dropdown menu items are going off screen.

Instead of opening upward.


sql: add bit support for bit_and aggregate function

PR: https://github.com/cockroachdb/cockroach/pull/46954
From release notes:

The bit_and() aggregate function now supports BIT and VARBIT data types. [#46954][#46954] {% comment %}doc{% endcomment %}

This supported is already documented at https://www.cockroachlabs.com/docs/dev/functions-and-operators.html.


@tinacms/cli versions above 0.60.21 no longer work on Linux / Windows

Description
A user reported after upgrading above 0.60.21 their system throws an error when they are attempting to launch their localhost. Example error:
(node:17935) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use node --trace-deprecation ... to show where the warning was created)
node:fs:585
  handleErrorFromBinding(ctx);
  ^

Error: ENOENT: no such file or directory, open '/home/jperkins/GitHub/online-profile-nextjs/.tina/generated/_schema.json'
    at Object.openSync (node:fs:585:3)
    at Object.readFileSync (node:fs:453:35)
    at FilesystemStore.get (/home/jperkins/GitHub/online-profile-nextjs/node_modules/@tinacms/datalayer/dist/index.js:235:53)
    at Database.getTinaSchema (/home/jperkins/GitHub/online-profile-nextjs/node_modules/@tinacms/graphql/dist/index.js:23749:25)
    at Database.getSchema (/home/jperkins/GitHub/online-profile-nextjs/node_modules/@tinacms/graphql/dist/index.js:23755:33)
    at Object.gqlServer (/home/jperkins/GitHub/online-profile-nextjs/node_modules/@tinacms/cli/dist/index.js:347:31)
    at start (/home/jperkins/GitHub/online-profile-nextjs/node_modules/@tinacms/cli/dist/index.js:1966:35)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/jperkins/GitHub/online-profile-nextjs/generated/_schema.json'
}

I have also confirmed the behavior with my working project (https://github.com/perkinsjr/james-perkins-dev) once you upgrade. The generated  folder becomes empty except for the types.ts which has the empty export const queries
Steps to reproduce
On a Linux or Windows machine:

Update to 0.60.22 or 0.60.23
run tina project
generated will be empty

I can confirm. I'm having the same issues.

Same here. Reverted to 0.60.21 for now.
@elhe26 Can confirm it should work for you, I'm using the same versions as you do and it works (at least on Linux), maybe you should clean up your environment first.


Question: reference function

Is there an easy way to reference functions. Something similar to pythons documentation: ¶ Permanent link to this definition:
e.g. https://docs.python.org/3/library/gzip.html#gzip.GzipFile.peek

Not currently, but it would seem readthedocs adds an id="..." field to all the headers in generated output by just normalising the string to make it a valid url. That, combined with markdown links, is enough to link to definitions. It's a manual workaround unfortunately, but you can link directly to an entry it would seem.
A more automatic solution might be nice to have though.

But that might be mkdocs theme dependent - would be nice to get something from within Docile/Lexicon/Markdown. I will ask over at mkdocs maybe they have some thoughts about it.

Do we need specific syntax, such as http://sphinx-doc.org/markup/inline.html#ref-role, to denote which things to link? Probably. Unfortunately that's for only for rst, not markdown it would seem.
Interestingly rust seems to, from a quick glance, not try doing this automatically. See http://doc.rust-lang.org/1.0.0-beta/std/ and it's source https://github.com/rust-lang/rust/blob/6971727d45494b8362262bb41a45f2c0c5f162bc/src/libstd/lib.rs#L19. Might just be best to make the permalink accessible in the readthedocs/other outputs and just have the linking be done manually.

http://doc.rust-lang.org/1.0.0-beta/std/  yes something like that. I was thinking that MkDocs makes section references: but I think only for H1, H2 maybe this could be extendet.
Otherwise: maybe one can do something automatic within Lexicon/Docile which would be nicer than writting all in the doc strings.

Perhaps search each markdown AST for inline Code elements, for each one do a query of the current module docs for possible entries that match it and replace the Code element with a Link element pointing in the correct direction.

Thought this sounded familiar... https://github.com/MichaelHatherly/Lexicon.jl/issues/2. Closing the other one since we've already got discussion here.

d0ugal  from MkDocs was very kind to reply:
see: https://github.com/mkdocs/mkdocs/issues/421#issuecomment-89668828
On the otherhand having something within Lexicon/Docile is probably the prefered way - as you also output to html yourself.

I will play a bit around with this issue and come back to you in a couple of days.

question: just thought about: if we have cross link to functions ect.. we could do a module/function index similar to pythons: https://docs.python.org/3/py-modindex.html
What do you think about such and if -would that be a separate function.md or whatever name - or a section at the bottom of the pkg.md

we could do a module/function index similar to pythons

Sounds good, I like how it shows a short summary in the index per entry.

would that be a separate function.md or whatever name - or a section at the bottom of the pkg.md

Should be a configurable option I think. Sane default – a separate file in the generated folder that contains all generated api docs.

multiple function with same name:

"""
testing1
"""
function writemime_test(io::IO, mime::MIME"text/md", md::Meta, mdstyle::Dict{Symbol, ByteString} = DEFAULT_MDSTYLE)
end

"""
testing2
"""
function writemime_test{category}(io::IO, mime::MIME"text/md", modname, obj, ent::Entry{category}, mdstyle::Dict{Symbol, ByteString} = DEFAULT_MDSTYLE)
end

MkDocs currently (if set with our new option style that to h1: (:objname        , "##"),) does the reference somewhat like this:
index.html#writemime_testioio-mimebasemultimediamimesymboltextmd-mdlexiconmetakeyword-mdstyledictsymbol-unionutf8string-asciistring

index.html#writemime_testcategoryioio-mimebasemultimediamimesymboltextmd-modname-obj-entdocileentrycategory

Personally I think it would be better to use indexes like:
index.html#writemime_test.1

index.html#writemime_test.2

Any thoughts on that?

@MichaelHatherly I wanted to ask you already for the previous PR:
Do you have any fix ideas about julia code line length( official I think it is suggested 92 char).
I keep mine normally to about 160 char beause most editors have anyway line wrapping option.
For the other PR I did wrap acouple of lines as I was unsure about your policy.

Personally I think it would be better to use indexes like:

Yeah, those longer links start to get a bit messy. I'm fine with indices instead.
(Just a thought: It does mean that we've got to keep the indices the same between runs, which might not happen currently since Docile uses an ObjectIdDict for storage. Not sure whether it remains ordered.)

Do you have any fix ideas about julia code line length

I try to keep lines less than 100 chars if possible.

I try to keep lines less than 100 chars if possible.

No problem I can wrap code.

(Just a thought: It does mean that we've got to keep the indices the same between runs, which might not happen currently since Docile uses an ObjectIdDict for storage. Not sure whether it remains ordered.)

I did not look at docile till now: I start with just something simple and go from there.
Anyway, we only have to increment function if they are in the same output.md (which will be most of the time.
Current plan is somewhere around those lines

always add own anchor id
optional: add after or before or before the function a: ¶ with the link to the anchor
multiple functions on the same page: enumerate: anchor id
always generate a separate function index: add description full function sig.
Optional add short description: special Tag or First doc Line ?

¶ with the link to the anchor (What do you think is it better after like rust and python?

After sounds fine to me. Going with what others do to avoid surprising new users is best.

Optional add short description: special Tag or First doc Line ?

Lets go with just the first line. Makes people keep it short.

Lets go with just the first line. Makes people keep it short.
BTW: python doesn't do anything for function/methods index: https://docs.python.org/3/genindex-A.html

In our case the module index will not be of interest because most julia packages export only  1 or 2 modules.

In our case the module index will not be of interest because most julia packages export only 1 or 2 modules.

Since we can document Modules using Docile perhaps just having a module section in the index would be good rather than a whole separate index.

just a question: because I do not know Dociles/Lexicon internals as well as you.
Is there an easy way to extract a method, function name from your parsed docs or do I have to use a string manipulation to extract only the name.
e.g.
save(file::AbstractString, modulename::Module)

What I mean: just to get the save

Docile.Interface.name might be what you're looking for.
julia> Docile.Interface.name(save)
:save

julia> Docile.Interface.name(methods(save).defs) # A `Method` object.
:save

julia> Docile.Interface.name(Docile)
:Docile

julia> Docile.Interface.name(Docile.Entry)
:Entry

Do you want the Function save rather than the Symbol :save?

name isn't actually exported, but Lexicon/Docile exchange quite a bit more than a single non-exported function so feel free to use it. It's unlikely to be going anywhere.

Thanks - github updated the comment 5 ours later for me and in the meantime I had found it myself.
Am I correct that all objectnames can be retrived with name except the ones of macros using macroname
I got yesterday night a proto type working - does not look we need much changes.
I will still have to check out how to generate the: index page.

The anchor I will add always so that the index page works: but the output of ** ¶** I think we should keep optional.
BTW: this will be "fix" and not like in pythons appear when one hovers over it.
That would be somthing one has to include in a MkDocs Theme: java script or so..

Am I correct that all objectnames can be retrived with name except the ones of macros using macroname

Yes, macros are just a little awkward to deal with.

this will be "fix" and not like in pythons appear when one hovers over it.

I'm fine with fixed permalinks for the moment.
The results looks good.

just an unrelated code question 'cause I'm new to Julia:
https://github.com/MichaelHatherly/Lexicon.jl/blob/master/src/render/md.jl#L151
function footer(io::IO, ::MIME"text/md", doc::Metadata, mdstyle::Dict{Symbol, ByteString} = DEFAULT_MDSTYLE; mathjax = false)
    println(io, "")
end

Why do you need ::MIME"text/md", doc::Metadata, mdstyle::Dict{Symbol, ByteString} = DEFAULT_MDSTYLE; mathjax = false if the function only does: println(io, "")
Well the mdstyle I added to be on the save side :)

The structure of md.jl file was based on html.jl where a footer was needed I believe. Technically we could get rid of it, but then again we might want a footer at some point.

EXAMPLE you might want to look at:
MARKDOWN on Github
For further notice look at the documentation:
@document(options<EMAIL_ADDRESS>GENINDEX: https://github.com/peter1000/Lexicon_Test/blob/master/docs/api/genindex.md
MkDocs page
http://peter1000.github.io/Lexicon_Test/api/genindex/

Yes, definitely heading in the right direction.

Do you think we need to highlight each letter

Not sure, guess it would depend on the size of the package really. Perhaps for the moment just keeping it as a simple alphabetical list is fine.

a simple alphabetical list is fine.

sorting is fine but not sure what you think about macros
e.g. simple sort
@query
EachEntry
Match
Query
QueryResults
calculate_score
doctest
filter
query
save

which means all macros will be together (maybe not bad).
or in the above case would it be better to have them like this.
e.g. special case macro
EachEntry
Match
Query
QueryResults
calculate_score
doctest
filter
@query
query
save

That would mean if there is only a macro it would also be listed below filter?
Anyway just asking your opinion.

Perhaps each category should be sorted separately? And then order the categories something like:

Modules
Functions
Methods (perhaps included with "Functions")
Types
Macros
Constants

Or some other order... configurable?

For now I settled with a simple Module index / and just sorted items for the index. Not sure how many packages will export internals and dor just a couple of exported functions too many submenu might be more than needed.
Anyway: here is a example: http://peter1000.github.io/Lexicon_Test/
(I used some subdirs to check if relative linking works)
Extras: I did implement it so that one could save multiple Pkg api into one common index.
e.g. Docile + Lexicon
using Lexicon, Docile
plmain = startgenidx("genindex.md"; idxheader = "#", idxmodname = "##")
save("api/Lexicon.md", Lexicon, plmain)
save("api/Docile.md", Docile, plmain)
savegenidx(plmain)

would produce:
├── api
│   ├── Docile.md
│   └── Lexicon.md
└── genindex.md     index to both

I will do some code cleanup / write some docs and send a PR later tonight or tomorrow.

Looks great, :+1: for the multi-Pkg bit!

When you have time ould you look once again at: http://peter1000.github.io/Lexicon_Test/api/Lexicon/#lexicon
I rebuild it with MkDocs using another theme: which has a banner at the top.
Try clicking a permalink it will jump to high.
This is not a actual error and probably one can not fit all possible options (maybe there will be other themes with even bigger top banner but it still does not look too good.
For a test I tried to but the anchor higher above the hline but it is also not enough. Probably best to leaf it as it is and adjust the themes.
Anyway just wanted to let you know befor you consider to merge.

Cause you are anyway bussy, I have an idea to help fix the above: probably I will send another  clean PR.

Here the link to a fixed version: http://peter1000.github.io/Lexicon_Test_fixed/api/Lexicon/#lexicon  I will send you a clean new PR including this changes.

hi, on the MkDocs google-group I got bac an interesting response.
===
Waylan Limberg write:
So you want to have an ID so you can link to a header. But you want to provide your own custom value for the ID because the content of the header is is a function/code which doesn't result in a human readable auto-generated id. What you need is Markdown's Attribute List Extension:
https://pythonhosted.org/Markdown/extensions/attr_list.html
Then your Markdown would look like this:
#### query(f::Function, sig::(Any..., ))   {#query.1}

And your HTML like this:

query(f::Function, sig::(Any..., ))

Now the ID is not above the the header and your problem with the top banner should not exist.
Of course that doesn't give you the permalink. You could still create them manually, but the Table Of Contents Extension already offers that feature as an option you need to turn on. Unfortunately, mkdocs does not yet officially offer a way to set config options on Markdown extensions (coming soon see #435), but it is possible (see #366).
Until #435 is applied, you can do the following in your config file:
markdown_extensions:
    - attr_list
    - toc(permalink=True)

After #435 is applied (version 1.0?), then your config file will need to look like this:
markdown_extensions:
    attr_list: ~
    toc:
        permalink: True

In either case the Markdown input I provided above would then output the following HTML:

query(f::Function, sig::(Any..., ))¶

Hope that helps.
===
@MichaelHatherly what do you think - should I still look into Markdown's Attribute List Extension
My own opinion is that Lexicon should still do most of it independend from MkDocs - which will leave it open to render things with an other site generator or just have simple markdown generated index files.
Anyway maybe:  Markdown's Attribute List Extension would be of interest but I'm not sure if it works that you want to make it a requirement or if it would work with julia's Markdown at all.

Thanks for forwarding this. I'd prefer not to become tied to any specific renderer; the output should remain independent of whatever someone chooses to use.
Julia's markdown is aiming to support http://spec.commonmark.org, perhaps there's mention of something similar to the Attribute List Extension there?

closed https://github.com/MichaelHatherly/Lexicon.jl/pull/50 as there where too many changes in the mean time.
Will later start implementing the Permalink / Index.page - Probably in 2 smaller PR.
In the mean time MkDocs merge some suggestion to help working with the bootstrap themes. (https://github.com/mkdocs/mkdocs/commit/e19ae13b26a0a4b528a64cca5c4f35147786008b, https://github.com/mkdocs/mkdocs/issues/438)

fix https://github.com/MichaelHatherly/Lexicon.jl/commit/b6583fbbf4afdd833b57ba0fb2cbe118f4908487


Error when trying to build

I get the following error when I try to build the plugin:
$ npm run build

><EMAIL_ADDRESS>build /Users/nicolae.surdu/work/nativescript-videoplayer/src
> npm i && tsc

><EMAIL_ADDRESS>prepare /Users/nicolae.surdu/work/nativescript-videoplayer/src
> node scripts/prepare.js

executing 'tns plugin build'
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

up to date in 3.857s
video-source/video-source-common.ts(2,29): error TS2307: Cannot find module './video-source'.
video-source/video-source.ios.ts(16,37): error TS2345: Argument of type 'NSURL' is not assignable to parameter of type '{ URL: NSURL; }'.
  Property 'URL' is missing in type 'NSURL'.
video-source/video-source.ios.ts(31,37): error TS2345: Argument of type 'NSURL' is not assignable to parameter of type '{ URL: NSURL; }'.
video-source/video-source.ios.ts(39,37): error TS2345: Argument of type 'NSURL' is not assignable to parameter of type '{ URL: NSURL; }'.
videoplayer-common.ts(4,86): error TS2307: Cannot find module './video-source/video-source'.
videoplayer.android.ts(368,9): error TS2345: Argument of type '{ canPause: () => true; canSeekBackward: () => true; canSeekForward: () => true; getAudioSessionI...' is not assignable to parameter of type 'IMediaPlayerControl'.
  Object literal may only specify known properties, and 'getAudioSessionId' does not exist in type 'IMediaPlayerControl'.
videoplayer.ios.ts(28,30): error TS2554: Expected 1 arguments, but got 0.
videoplayer.ios.ts(30,19): error TS2554: Expected 1 arguments, but got 0.
videoplayer.ios.ts(79,9): error TS2345: Argument of type '{ AVURLAssetHTTPHeaderFieldsKey: NSMutableDictionary<string, string>; }' is not assignable to parameter of type 'NSDictionary<{}, {}>'.
  Object literal may only specify known properties, and 'AVURLAssetHTTPHeaderFieldsKey' does not exist in type 'NSDictionary<{}, {}>'.
videoplayer.ios.ts(115,19): error TS2554: Expected 1 arguments, but got 0.

Versions:
$ tns info
✔ Getting NativeScript components versions information...
✔ Component nativescript has 4.0.0 version and is up to date.
✔ Component tns-core-modules has 4.0.0 version and is up to date.
✖ Component tns-android is not installed.
✖ Component tns-ios is not installed.

$ npm -v
6.0.0

$ node -v
v8.11.1

Am I missing something ?

The typings aren't distributed but I don't think your build should be analysing node_modules. Some of the iOS warnings, are likely valid API errors, but I didn't have time to research the iOS API when making the recent changes.
At any rate, you should be able to ignore node_modules from being analyzed with your tsconfig for your project by excluding node_modules. Let me know if that helps.

there´s any relation of this with the last issue post? seems like 50%

I got this error when trying to build your plugin, not my application that uses the plugin, as specified in the first post.

Ah yea so these are just TS warnings:
video-source/video-source-common.ts(2,29): error TS2307: Cannot find module './video-source'.
video-source/video-source.ios.ts(16,37): error TS2345: Argument of type 'NSURL' is not assignable to parameter of type '{ URL: NSURL; }'.
  Property 'URL' is missing in type 'NSURL'.
video-source/video-source.ios.ts(31,37): error TS2345: Argument of type 'NSURL' is not assignable to parameter of type '{ URL: NSURL; }'.
video-source/video-source.ios.ts(39,37): error TS2345: Argument of type 'NSURL' is not assignable to parameter of type '{ URL: NSURL; }'.
videoplayer-common.ts(4,86): error TS2307: Cannot find module './video-source/video-source'.
videoplayer.android.ts(368,9): error TS2345: Argument of type '{ canPause: () => true; canSeekBackward: () => true; canSeekForward: () => true; getAudioSessionI...' is not assignable to parameter of type 'IMediaPlayerControl'.
  Object literal may only specify known properties, and 'getAudioSessionId' does not exist in type 'IMediaPlayerControl'.
videoplayer.ios.ts(28,30): error TS2554: Expected 1 arguments, but got 0.
videoplayer.ios.ts(30,19): error TS2554: Expected 1 arguments, but got 0.
videoplayer.ios.ts(79,9): error TS2345: Argument of type '{ AVURLAssetHTTPHeaderFieldsKey: NSMutableDictionary<string, string>; }' is not assignable to parameter of type 'NSDictionary<{}, {}>'.
  Object literal may only specify known properties, and 'AVURLAssetHTTPHeaderFieldsKey' does not exist in type 'NSDictionary<{}, {}>'.
videoplayer.ios.ts(115,19): error TS2554: Expected 1 arguments, but got 0.

The code still seems to function but some of the iOS pieces there could possibly be improved. I just didn't throw any on all of the types to avoid those for now in hopes that someone can circle back to them and clean it up, but it should still build the output since the tsconfig is set to emit even with errors.

i can probably clean those up, i think we'd just need to define all those ios namespaces and set them to :any


Fix bug https://github.com/mirah/mirah/issues/417.

check comments https://github.com/mirah/mirah/issues/417 when reviewing this pull request

:+1:  :ship: Ship it!

Looks like merging this caused the master branch's build to fail. I'll look at it in the morning.

Hmm, it builds for me. What failure are you seeing?
On Mon, Feb 29, 2016 at 11:14 PM Nick Howard<EMAIL_ADDRESS>wrote:

Looks like merging this caused the master branch's build to fail. I'll
look at it in the morning.
—
Reply to this email directly or view it on GitHub
https://github.com/mirah/mirah/pull/418#issuecomment-190586993.

Hmm, it builds for me. What failure are you seeing?

This failure https://travis-ci.org/mirah/mirah/builds/112736283, I guess.

Could you add a pending to the one test that's failing? After that, I think this works.

fixed tests in #434


rat traceback errors

import cv2
ModuleNotFoundError: No module named 'cv2'
i even tried to install pip install opencv-python
but it still giving me that error

This tool is outdated and doesnt work use my tool instead xvirus-tools

This code is skid + its a rat


added support for docker log drivers

@artpolikarpov's PR (https://github.com/arunoda/meteor-up/pull/788) on old mupx was very useful here.

✌

Thanks @artpolikarpov for finding the issue in the first place.

updated with the test


Pure Swift library for iOS to create VCs

Pure Swift package for creating Verifiable Credentials (VCs) in multiple formats. This library helps in creation and verification of VCs formatted as SD-JWT (https://datatracker.ietf.org/doc/draft-ietf-oauth-sd-jwt-vc/) and VC-JWT (https://identity.foundation/jwt-vc-presentation-profile/)

Hi @gauravping,
This link: (https://identity.foundation/jwt-vc-presentation-profile/) seems to be broken. If you look https://github.com/decentralized-identity/jwt-vc-presentation-profile, the link itself seems to be fine, but has the page disappeared?

@lukasjhan - Thanks for pointing that out. I must have referenced that document no more than a week ago. Let me track that down and update this document and PR accordingly.

@gauravping It looks like the new file is created in the repository's root folder. Can we please move it under the projects folder?
https://github.com/openwallet-foundation/project-proposals/tree/main/projects

@gauravping The commits are incorrectly signed. Could you please check point "4. Commit your changes with proper sign-off" and section Fixing DCO on Existing Repositories" in the readme file?

https://github.com/openwallet-foundation/project-proposals?tab=readme-ov-file

@skounis - First time contributor mistakes. Thanks for all the references. Would you recommend restarting the PR with a fresh fork?

@skounis - First time contributor mistakes. Thanks for all the references. Would you recommend restarting the PR with a fresh fork?

You can either do that or you can follow the instructions under the DCO details - Rebase section to fix the existing commits with the DCO signoff.

Hi @gauravping,
This link: (https://identity.foundation/jwt-vc-presentation-profile/) seems to be broken. If you look https://github.com/decentralized-identity/jwt-vc-presentation-profile, the link itself seems to be fine, but has the page disappeared?

@lukasjhan - The link has been restored. There was some update on the DIF website which caused that link to disappear.

Unanimously approved by the TAC at the January 24, 2024 meeting


Software Update 2<IP_ADDRESS>

Urgent update to miner in relation to chain halt:

Bumps miner to latest version from helium

@shawaj I'm getting quite a few reports that this version of software has introduced bugs. People having units not syncing at all and it does seem to add up.
Can I revert this for now and see what happens?
Normally I leave It for at least a few hours before going from testnet to prod to avoid this as I have found some of Helium's "urgent" updates then break things more and needed to revert back.

I don't think we should revert it unless it can be 100% confirmed that the new miner code is the issue, as it's an urgent update because of the chain halt.
Those few who are having issues on Discord seem more like WiFi issues to me?

Well I'm getting tickets saying there are.
I can't be certain that this update doesn't have issues because the
complaints indicate it does.
On Sun, 30 May 2021, 17:42 Aaron Shaw, @.***> wrote:

I don't think we should revert it unless it can be 100% confirmed that the
new miner code is the issue, as it's an urgent update because of the chain
halt.
Those few who are having issues on Discord seem more like WiFi issues to
me?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/NebraLtd/helium-miner-software/pull/53#issuecomment-851027768,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINW2JHWAWLYG7DE4B4J2TTQJTILANCNFSM45YYDLGA
.

Which tickets? The only ones I've seen from people in Discord seem unrelated.


Google auth not working

** Node.js : <IP_ADDRESS> **
** strapi : 4.0.0 **
When after choosing an account from google in google signup it redirects to the frontend URL. from the frontend when I call the api/connect/google/redirect?access_token=XXX then it shows me the 401 error unauthorized error. I attached the URL which I call from the frontend. I attached a screenshot.
After selecting a Gmail account, it's not created the user in dB. that's the reason it returns a 401

Some updates which might help in troubleshooting this issue.
This app is broken with Strapi V4 backend.
The issue occurs when front end call back Strapi with auth code on the url locahost:1337/api/auth/google/callback?access_token={token}.  Strapi V4 is not able to parse the jwt token and fails with {"name":"JsonWebTokenError","message":"invalid algorithm"}
Not sure why JsonWebToken fails as Strapi generated the token using JsonWebToken itself.
Regards
M

Also facing the same issue.

in header, if you put
{
    headers: {
        Authorization: `token ${token}`
}

token is any random string for temporary you use this for a google auth
so temp it working

Authorization

in header, if you put
{
    headers: {
        Authorization: `token ${token}`
}

token is any random string for temporary you use this for a google auth so temp it working

Thanks mate. Adding any random string there worked as you said.

this is temp. so once strapi fix you will need to remove this headers

http://localhost:1337/api/auth/google/callback
add 'api' in the url


WebGLIndexedBufferRenderer error

Setting the position of the GUIVR seems to throw an error in the current version of THREE.js. This code works for me when I don't set the gui.position. I've also seen the same error when adding more than two parameters.
this.gui = dat.GUIVR.create('VRExample');
this.gui.add(this.mesh2.rotation,'y').listen();
this.scene.add(this.gui);
this.gui.position.set(0,3,-3);

Uncaught TypeError: Cannot read property 'type' of undefined

    at WebGLIndexedBufferRenderer.setIndex (three.js:15326)

    at WebGLRenderer.renderBufferDirect (three.js:22379)

    at renderObject (three.js:23086)

    at renderObjects (three.js:23056)

    at WebGLRenderer.render (three.js:22810)

Can't reproduce, either in vanilla or in my branch https://github.com/xinaesthete/dat.guiVR/tree/ImageButton which AFAIK is the most actively developed (some undocumented extra features but should be compatible & with some bug fixes).

I believe this wasn't specific to dat.guiVR but was a general problem caused by running two versions of THREE.js on the same page.


feat: add FAST templates to create-vite

Description
Hey ViteJS crew, I'm one of the maintainers of FAST, a framework for building industry standard web components. I've been enjoying using Vite in online development environments and decided to start using it locally. If you are open to it, I'd love to contribute new .ts and .js templates for using Vite with FAST. I decided to kick off a PR as the contribution process was straight forward, but if the team would prefer an issue discussing the addition, I'm more than happy to do that as well. I've done my best to follow the setup of other frameworks and keep this as straightforward and bare bones as possible.
This PR adds the following new templates:
template-fast-ts
template-fast
The one thing I did not see was additional test cases for the templates, so I haven't included those as part of this PR (happy to add if need be).
What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Shoutout to @hawkticehurst who leveled-up this up last night and gives the example some flair!

Hello @chrisdholt
Thanks for the pull request ❤
This will pull request will most likely get rejected like a previous pull request for solidjs https://github.com/vitejs/vite/pull/5011 since adding more templates will direct even more issues/questions towards us.
since solidjs addition got rejected, solidjs decided to make templates templats which have command examples with https://github.com/Rich-Harris/degit so a user can easily create the template with git

Hello @chrisdholt Thanks for the pull request ❤ This will pull request will most likely get rejected like a previous pull request for solidjs #5011 since adding more templates will direct even more issues/questions towards us. since solidjs addition got rejected, solidjs decided to make templates templats which have command examples with https://github.com/Rich-Harris/degit so a user can easily create the template with git

Thanks for the response - what is the bar for templates as far as the projects go? I definitely understand the maintenance aspect as a maintainer, but it could be seen as endorsement. Does the team have a perspective on when they choose to include a template or not?

@chrisdholt last time we talked about it we looked at npm downloads as possible metrics. Let's say >1M monthly npm downloads for the framework.
It is important to note that create-vite is a tool to play with Vite, more than with the frameworks themselves. Even Vue now has its own create-vue that is the recommended way of starting new apps. We are going to add a note in the Vue starter template to try to direct people in that direction as it is a complete starter (including linting, testing, etc), instead of the barebone minimum needed to use Vite and Vue.
I suggest you send your template to https://github.com/vitejs/awesome-vite, and it would be great if you could also share it in https://chat.vitejs.dev.
More in general, the only way that maintenance of Vite core will scale is that this kind of responsibility is taken by each framework. As an example, it makes more sense to document how to use the framework with Vite in the framework docs, than in the Vite docs. Here is an example for Vue+Vite in the new Vue docs: https://vuejs.org/guide/quick-start.html#with-build-tools

@chrisdholt last time we talked about it we looked at npm downloads as possible metrics. Let's say >1M monthly npm downloads for the framework.
It is important to note that create-vite is a tool to play with Vite, more than with the frameworks themselves. Even Vue now has its own create-vue that is the recommended way of starting new apps. We are going to add a note in the Vue starter template to try to direct people in that direction as it is a complete starter (including linting, testing, etc), instead of the barebone minimum needed to use Vite and Vue.
I suggest you send your template to https://github.com/vitejs/awesome-vite, and it would be great if you could also share it in https://chat.vitejs.dev.
More in general, the only way that maintenance of Vite core will scale is that this kind of responsibility is taken by each framework. As an example, it makes more sense to document how to use the framework with Vite in the framework docs, than in the Vite docs. Here is an example for Vue+Vite in the new Vue docs: https://vuejs.org/guide/quick-start.html#with-build-tools

Appreciate the response and thank is for taking the time. We’ve had a CLI on our roadmap for awhile and I’ve started to dig in. Certainly don’t want to push off additional maintenance on others, was simply thinking we could drop in another option :)! Going to close this and contribute a few places at your suggestion. I dug into ‘create-vite’ this weekend and hope you all don’t mind us taking inspiration from it as we look to build out a robust ‘create-fast’.

Awesome! You could also take a look at https://github.com/vuejs/create-vue

Awesome! You could also take a look at https://github.com/vuejs/create-vue

Preesh!

as https://github.com/bluwy/create-vite-extra is now part of the npm init vite process, perhaps the Fast template better fit there?

Yes I'd be open to that 👍


DOCS-1337: WAF changes

Product Version(s):

Issue:

https://tigera.atlassian.net/browse/DOCS-1337
Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

@electricjesus Can you review this PR?


[HDK] UserWarning:  defaulting to pandas implementation.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. What kind of performance improvements would you like to see with this new API?
import numpy as np
from modin.pandas import DataFrame

df1 = DataFrame(np.random.randint(10**6, size=(50000, 32)), columns=[f"col{x}" for x in range(32)])
df2 = DataFrame(np.random.randint(10**6, size=(50000, 32)), columns=[f"col{x}" for x in range(32)])

print(df1.join(df2, on="col1", how="left", lsuffix="left_", sort=False))

Hi @anmyachev! Does this feature still need to be added to OmniSci?

The issue is still reproducible.

Still defaulting to pandas on master.

HDK engine is deprecated and will be removed in a future version.


add sbt-version-policy plugin

Resolves: https://github.com/evolution-gaming/scassandra/issues/250

Hello, @rtar , @Z1kkurat
Please take a look!


Is it expected to compile the ruby-2.4-r4 package twice when deploying director

The bosh release and bosh-azure-cpi-release vendor the same ruby package.
https://github.com/cloudfoundry/bosh/blob/master/packages/ruby-2.4-r4/spec.lock
https://github.com/cloudfoundry/bosh-azure-cpi-release/blob/master/packages/ruby-2.4-r4/spec.lock
Expected: the ruby-2.4-r4 package is compiled once.
Actual: the ruby-2.4-r4 package is compiled twice.
  Rendering job templates... Finished (00:00:06)
  Compiling package 'ruby-2.4-r4/0cdc60ed7fdb326e605479e9275346200af30a25'... Finished (00:02:15)
  Compiling package 'ruby-2.4-r4/0cdc60ed7fdb326e605479e9275346200af30a25'... Finished (00:02:11)
  Compiling package 'mysql/898f50dde093c366a644964ccb308a5281c226de'... Finished (00:00:41)
  Compiling package 'libpq/0d118c5dd7928f8c057de40b5f8f2d7dde48f6c7'... Finished (00:00:23)
  Compiling package 'bpm-runc/c0b41921c5063378870a7c8867c6dc1aa84e7d85'... Skipped [Package already compiled] (00:00:02)
  Compiling package 'golang/27413c6b5a88ea20a24a9eed74d4b090b7b88331'... Skipped [Package already compiled] (00:00:10)
  Compiling package 'gonats/73ec55f11c24dd7c02288cdffa24446023678cc2'... Finished (00:00:04)
  Compiling package 's3cli/3097f27cb9356172c9ae52de945821c4e338c87a'... Finished (00:00:04)
  Compiling package 'nginx/5a68865452a3bdcc233867edbbb59c1e18658f6b'... Finished (00:00:50)
  Compiling package 'postgres-9.4/b34d67da70e0295c09e4f4122e312f64e50896eb'... Finished (00:03:37)

The CLI does not currently dedup these packages. The issue is a lower priority because it is typically less of a concern in environments where compiled releases are used for director which is what we use and recommend.
Closing since this is an issue in the bosh-cli - feel free to reopen there if you would like additional visibility on this or you want to continue the conversation there.


Make all PHP files strict

This make sure that the required types are indeed provided.

Hello, thanks for another PR!
We've introduced formal rules before into T-Regx libraries, and it was to use Fully Qualified Names: https://www.php.net/manual/en/language.namespaces.rules.php. But we didn't just say: "let's use it", but added "fqn" composer checker, that would validate that they're used.
This declare(strict_types=1) is a good idea, I can go with it, but it looks like something that can get forgotten on certain files. So if I were to add this, I would require a tool that can scan my project and validate that it exists everywhere.
I will probably see it as a feature update to my fork of: https://github.com/T-Regx/fqn-check. This is the tool that parses files, and validates FQNs. It would be easy to edit it so it also checks declare() types. Or perhaps there's already another tool that checks it?
tl;dr; I will merge this PR, when I have a composer script that can validate it.
PS: Thank you very much for your contributions to the lib!

Gentle ping @Danon for a review. :cookie:

@Danon Do you still need anything from me so you can merge this PR? (I'd like to reduce the number of open PRs as I rebase all of them after one has been merged, and some PRs also depend on other PRs.)


Add new bot's responses

Add new bot's responses to bot_respnses/bot_respones.json file.
Please make sure to follow JSON rules - commas after every element except the last one.
Study the said file if you're in doubt.
Thank you!

I would like to give this a shot


Popover is cut off by parent with overflow hidden

Component
Popover
Describe the bug
When a popover is rendered in a parent container that has overflow: hidden, it gets cut off when positioned close to the top, or when it grows wider or taller than the parent.
Expected behavior
The Popover should be able to display in full and float above the container element.
Screenshots

to look into z-index conflicts
https://github.com/LifeSG/react-design-system/pull/432


Add test to check that we get semantic functionality even if a dependency module fails to prepare

rdar://128683404

@swift-ci Please test


Redocument this proposal better

The presentation at the meeting is quite a hurry and I guess many delegates (including me) didn't understand this proposal well.
Based on the reaction to the meeting, I suggest restructuring the proposal in the following way.

Cite the problems this proposal is intending to resolve
Splitting the design into orthogonality parts if possible and mark them as "core" or "better to have" (many raise concerns about isolation namespace)
Explain how each design resolve the motivation and work with other parts of this proposal
Explain the relationship between this proposal, the current bind proposal, and the pipeline operator proposal, how they are overlapping, and how they are irrelevant.

Can we all cooperate? can I make a pull-request addressing this issues?


Exam mode: Assess empty submissions at once

Is your feature request related to a problem?
As an instructor, you can pretty easily assess all unsubmitted exams at once by clicking the given button. The same should be possible for empty submissions (e.g. model submissions with 0 elements). Currently, you have to assess empty model submissions and assign feedback to them because it is not possible to submit an assessment without feedback
Describe the solution you'd like
A button like there's one for unsubmitted exams that automatically assigns 0 points
Describe alternatives you've considered
#5587 but that is suboptimal and not applicable to all exercise types
Additional context
No response

As far as I know this is already done with the Button you have mentioned. It should identify empty model submissions and automatically grade them with 0%

As far as I could tell you pressed this button after the eist exam because all the non-submitted exercises were semi-automatically graded with 0 points by you. There still were some empty model submissions that hat to be graded manually.

This might need further investigation, there are some empty submissions that were graded automatically, but some weren't for no apparent reason. We checked the database entries with Jan Philip but couldn't figure out what the problem was


fixed issues #15 and #16

Hi @acieslik,
Thanks for the fixes you provided. Instead of merging your PR into my development branch I took the suggestion from your PR because I already made some other changes and fixes in my development branch.
Hope you don't mind. I really appreciate all the feedback you are providing.
/Stefan


Error: Permission denied to access object

Error: Permission denied to access object self-hosted:349:19

find self-hosted:349
AutoBuild user-script:raw.githubusercontent.com/ModernBot:395

How do you exactly are you trying to install it?

from the website, I install the greasemonkey script

I'll take a look at that once I have time this week then

Nada, looks like greasemonkey has some difference from tampermoney.
If you are planning using the bot consider moving to a different browser, I suggest brave since support tampermoney and has a nice ad-block installed


Changes made

Added the hlsManifestUrl property to the InnerTube component.
Exposed the hlsManifestUrl property through the YouTube class, allowing easy access to the HLS manifest URL.
Introduced the LiveStreamabilityRenderer to handle live streaming capabilities in the application. This renderer is not a Boolean anymore.
Updated the README.md file to reflect the latest improvements.

Checklist

[x] APIs have been properly documented (if relevant).
[x] The documentation has been updated (if relevant).
[x] New unit tests have been written (if relevant).

Could you please review my code @alexeichhorn?

Looks good. Thanks for contributing 😃
Am I correct in assuming that this only works for livestreams? Or are there also videos with HLS?

Looks good. Thanks for contributing 😃
Am I correct in assuming that this only works for livestreams? Or are there also videos with HLS?

You're welcome. Yep! You are correct. It's only for livestreams and from what I know and what I've tested, the YouTube onDemand streams don't have an hlsManifestUrl.

Will merge it and change the structure a bit. I want it to be a bit more future-proof and conforms to a similar style that already exists for on-demand content

Alright ;) thank you!


Unable to remove the default "password" label

Hello,
I am Unable to remove the default "password" label. I want my placeholder to be appeared there, instead of password but didn't get any way to do that.
Please suggest the way to do that.

Use label props for change password placeholder.

Goto node_modules/react-native-hide-show-password-input folder and open src/component/passwordinput.js
In render method move ...this.props after label as shown below.
<TextField
secureTextEntry={this.state.password}
label="Password"
{...this.props}
/>
Then you can pass the label props from your component.

You can always  modify the component here node_modules/react-native-hide-show-password-input folder and open src/component/passwordinput.js.
It was a simple implementation though, i uninstalled it and rewrote mine.

No comments on this issue so I am closing it.


Response.FromStream with Bson serializer

I'm using Newtonsoft.Json to return some data in BSON format. Following code returns 0 bytes in response:
SomeClass someObject = new SomeClass();

MemoryStream ms = new MemoryStream();
BsonWriter writer = new BsonWriter(ms);
JsonSerializer serializer = new JsonSerializer();
serializer.Serialize(writer, someObject);

return Response.FromStream(ms, "application/bson");

I have to modify this code as below to return the serialized data:
SomeClass someObject = new SomeClass();

MemoryStream ms = new MemoryStream();
BsonWriter writer = new BsonWriter(ms);
JsonSerializer serializer = new JsonSerializer();
serializer.Serialize(writer, someObject);

ms.ToArray();
ms.Seek(0, SeekOrigin.Begin);

return Response.FromStream(ms, "application/bson");

Is this normal?

Just to be clear; is is the ToArray call, the Seek call or both that makes this work?
I bet it's the Seek call. FromStream probably expects a rewinded stream and starts reading from current position, while the BsonWriter leaves the stream position at the end.

Yes, indeed Seek is enough for this to work. I guess, you're right, that FromStream is not rewinding a stream. Thanks.


BLDKCMF-18: License information are updated in LICENSE and NOTICE files

BLDKCMF-18: License information are updated in LICENSE and NOTICE files

Hi @mhughesacn , can you please review this PR?


Missing info ( select gameObject AzureSpatialAnchors )

The sentence "In the Inspector pane, enter the Sharing Anchors Service url..." should be "In the Hierarchy window select the gameObject AzureSpatialAnchors. In the Inspector pane, enter the Sharing Anchors Service url..."

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

ID: f5ab74c7-be94-69c4-04c9-312ed85213b7
Version Independent ID: 2fd3427b-794e-e10e-3d7e-5950647288d3
Content: Tutorial - Share Azure Spatial Anchors across sessions and devices with an Azure Cosmos DB back end
Content Source: articles/spatial-anchors/tutorials/tutorial-use-cosmos-db-to-store-anchors.md
Service: azure-spatial-anchors
GitHub Login: @RamonArguelles
Microsoft Alias: rgarcia

@TiNovTec
Thanks for your feedback! We will investigate and update as appropriate.

@TiNovTec Thanks for taking the time to provide your valuable feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hey @darax, would you mind taking a look at this one?

Thanks @craigktreasure  and @darax for addressing the feedback.
@TiNovTec We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


OCI8: db->_escape_char should be empty by default in CI 3.0

In CI 3.0 a change was introduced in DB_driver.php
	protected $_escape_char = '"';

In previous version wasn't protected, which allows me to workaround on oci8 driver from controllers/models without messing with the system folders.
Also, there are no getters or setters for this variable, and since we cannot extend the database class, and most of the drivers define their own escapechar (cubrid, mssql, mysql, mysqli, odbc, sqlsrv, pdo::[4d,cubrid,dblib,mysql,odbc,sqlsrv]).
I propose to set it to empty in DB_driver.php :
	protected $_escape_char = '';

In this way, OCI8 will work as expected, and any new DB driver won't have to worry about defining this unless neccessary.

Or define it in oci8_driver.php as empty (like in odbc_driver.php)

	protected $_escape_char = '';

Or, just left unprotected in DB_driver.php as in previous version:

	$_escape_char = '"';

That last option would allow us to set to any char that works with the version we are working on ie. Oracle 10, Oracle 11, etc..
I prefer option 1, but option 3 would work for me and any other person that is working fine with current defaults.

OCI8 doesn't define it because it inherits it from DB_driver, this is intentional.

Then it's BUG...
Using Oracle Instant Client on Oracle Database 10g Enterprise Edition Release <IP_ADDRESS>.0 - Prod
When I run CI 3.0 with oci8 driver (as intentional) I get Error Number: 904
ORA-00904: "company": invalid identifier

SELECT "code", "description" FROM "SALES"."EXCHANGE" WHERE "company" = 'GOOG'

The problem is the escaping char, which should be empty, so the query would be
SELECT code, description FROM SALES.EXCHANGE WHERE company = 'GOOG'

In that case, I guess option 2) would be the recommended way, or maybe implement setter and getter for that variable (since it's a protected one).

No, it's not a bug and it's not the quotes that are your problem - it's case-sensitivity.

Quite right, the problem was case-sensitivity, so... migration from 2.x to 3.x is giving me problems because there are a lot of lowercase statements that were working with 2.x and the $_escape_char.
Is there a way to ALTER that variable without touching the source in "system"?

There is, but please ask your questions on the forums ... We deal with bug reports and development here and I don't want to encourage people to come here just asking for help.


Add close button for "Connections" panel

Issue Type: Feature Request
There is no close button for connections panel (for others like extension either).
Azure Data Studio version: azuredatastudio-insiders 1.9.0-insider (cecc899949d30fd28f1636cdb65e3a6e17e46a3a, 2019-06-18T07:47:16.994Z)
OS version: Windows_NT x64 10.0.18362

@GrzegorzLyp the viewlet's visibility is toggle-able by clicking on the viewlet's icon in the action bar.  If the viewlet is hidden clicking the icon shows the pane, otherwise, clicking closes the pane.  Please let me know if this doesn't address your concern.


Calendar updates

Implements 2 out of 3 requested changes to the calendar directive from #78:

Renames directive to calendar
Makes calendar ID a directive option instead of an environment variable
Fixes key error with duplicate events

❤🔥 ❤🔥 ❤🔥 ❤🔥 !


Checkbox onCheckedChange fires immediately

Noticed specifically within a Dropdown context, but happens on its own too.
The onCheckedChange fires immediately when the component renders (is visible, in this case). The expectation is that it only fires on change.
<Dropdown.Root positioning={{ placement: 'bottom-end' }}>
	<Dropdown.Trigger asChild let:builder>
		<Button variant="outline" builders={[builder]} size="sm" class="ml-auto hidden h-8 lg:flex">
			<Settings2 class="mr-2 h-4 w-4" /> View
		</Button>
	</Dropdown.Trigger>

	<Dropdown.Content class="w-[150px]">
		<Dropdown.Label>Toggle columns</Dropdown.Label>
		<Dropdown.Separator />

		{#each columns as col,idx (idx)}
			<Dropdown.CheckboxItem checked={col.visible} onCheckedChange={console.log}>
				{col.label}
			</Dropdown.CheckboxItem>
		{/each}
	</Dropdown.Content>
</Dropdown.Root>

In the above, all 6 columns are visible, so clicking on the Dropdown.Trigger will log true 6 times.
However, then unchecking an item will log false twice – expect once.

speedy! thank you :)


Enforce the length of evaluations of Proof

Ref: #751

left you a few comments, but also:

it looks like CI is not passing
even if you fix that, CI will still not be happy because the specifications haven't been updated with the new additional //~ comment. You'll need to cd book/specifications && make -C kimchi watch (see here)


MRG: Add stub for behavior sub-project.

Coverage remained the same at 49.787% when pulling a5bd6e74ebfbb745941226ee0053f14aae0fbd7c on peterasujan:behavior-stub into b452810da7cbc4e263a48736838932f4eb693b45 on berkeley-stat222:master.


Fixed #24243 -- Allow resolving of partial file names

Allow resolving of partial file names (including paths)
that are not known by HashedFilesMixin.

And a test to show what has changed?

The diff shows what has change. I'll of course add tests to prove that it does what it whould do (and that it fixed the bug that I have reported). Bt could you please first confirm that this is an issue that you accept fix for?
I've created the merge request to explain my ticket in the first place (as per your request).

maybe allow_fragment might be better than accept_fragments.

Also, as fragments can be mixed with url fragments, partial might be a better term.

FYI this wasn't a strawman argument; I've had this discussion with several people in tickets on code.djangoproject.com.

I didn't mean to be offensive, but could be interpreted as such. Now I see you were just venting :). Obviously the earlier errors are detected, the better.

No offense taken! :-)

I tested with CachedStaticFilesStorage. As far as I could tell, {% static 'foo/bar' %} (that doesn't exist) will only cause an error when DEBUG=False. This doesn't seem like a great behavior (errors go undetected until you're running in production). A better behavior might be log a warning when DEBUG=True.
Laszlo, I didn't understand what you meant when you said "collectstatic management command will call this method without specifying accept_fragments, so it will fail on missing files". As far as I understand, collectstatic only works with files that exists in your static directories, e.g. it doesn't example your templates and detect missing files.

Closing due to lack of activity.

Hi all,
What happened to this bug? It's killing my deployment to production on Heroku with DEBUG=False. Raising an uncaught ValueError in post_process that kills collectstatic and breaks deployments is a sub optimal design decision.
A single missing static file blocks my entire production deployment for Django 1.7 - 1.9
I should be able to override this behavior with something like an optional --no-strict flag on collectstatic.
The default could be strict (as it is today), and then developers like me could make the choice to get our deployment out to production with  a missing file, instead of being completely (and surprisingly) blocked.
What are the steps to re-open this?

@edwardotis, if you want to allow missing files, why not just subclass and override the hashed_name method?
class AllowMissingStaticFilesStorage(ManifestStaticFilesStorage):
    def hashed_name(self, name, content=None):
        try:
            return super(AllowMissingStaticFilesStorage, self).hashed_name(name, content=content)
        except ValueError:
            return name

That should let you have missing files during collectstatic all you'd like.


Decide on binning/interpolation approach for matching predictions to observations

See Jordan's note on the NLDAS surface evaluation PR here
Our team is currently using two approaches to match predictions to observations:

Interpolate predictions to the depths of observations. The 5_evaluate portion of this pipeline  uses this method, based on Alison's depth-matching code that was in the mntoha data release.

Con: it requires 2+ observations on a given date, which means we lose single observation dates.

Assign observations to the nearest depth bin and match predictions to observations based on those depth bins. This is the approach used by Andy in the lake-temperature-lstm-static repo

Con: Error may be introduced if the depth bins are too coarse

Once we decide on an approach, the same approach should be use across both workflows.

After discussion, Hayley and I decided to take approach 1: interpolating predictions to match observation depths. Here's why:

The training set for the LSTM is formed by assigning observations to depth bins (nearest neighbor interpolation). If we evaluated the model by interpolating observations in the same way, then the model evaluation wouldn't account for the error introduced by that interpolation. a model evaluation using approach 1, on the other hand, will include that extra error. It's more rigorous to keep model training and model evaluation methods independent.
The "Con" for approach 1 above doesn't actually apply: it only requires 1 observation on a given date because predictions are interpolated, not observations.
To me, it makes more sense to evaluate a models ability to reproduce observations as they are, not interpolated observations.

As shared via chat from Hayley on 7/15, she has changed the method in a branch on her fork here https://github.com/hcorson-dosch/lake-temperature-process-models/blob/extrapolate_preds/5_evaluate/src/eval_utility_fxns.R#L61-L77. I ran tar_make_clustermq(p5_nldas_pred_obs_csv, workers=50) on her hayley_extrapolate_preds branch on Tallgrass today (it took ~ 2 hrs to run). Then, compared the previous matching output, 5_evaluate/out/NLDAS_matched_to_observations_PredsNotExtrapolated.csv, to the most recent build. The following are the differences
# Compare the matching preds to obs methods.
library(tidyverse)

match_old <- readr::read_csv('5_evaluate/out/NLDAS_matched_to_observations_PredsNotExtrapolated.csv')
match_new <- readr::read_csv('5_evaluate/out/NLDAS_matched_to_observations.csv')

# How many more obvservations are kept?
nrow(match_new) - nrow(match_old)
[1] 19372

match_old_site <- match_old %>% group_by(site_id) %>% summarize(n_old = n())
match_new_site <- match_new %>% group_by(site_id) %>% summarize(n_new = n())

match_compare_site <- full_join(match_old_site, match_new_site) %>%
  mutate(diff = n_new - n_old) %>%
  filter(diff != 0)

# Across how many sites were the new observations spread?
# For context, there were 3688 sites total
nrow(match_compare_site)
[1] 1609

# On average, there are 12 new observations per site
#
summary(match_compare_site)
   site_id              n_old             n_new            diff
 Length:1609        Min.   :    7.0   Min.   :   12   Min.   :  1.00
 Class :character   1st Qu.:  118.0   1st Qu.:  123   1st Qu.:  2.00
 Mode  :character   Median :  247.0   Median :  255   Median :  4.00
                    Mean   :  793.9   Mean   :  806   Mean   : 12.04
                    3rd Qu.:  647.0   3rd Qu.:  671   3rd Qu.:  9.00
                    Max.   :63268.0   Max.   :63271   Max.   :838.00

# What's that site with a crazy number of additional new obs?
match_compare_site %>% filter(diff > 700)
# A tibble: 1 × 4
  site_id        n_old n_new  diff
  <chr>          <int> <int> <int>
1 nhdhr_45385910  6675  7513   838

plot(match_compare_site$diff)

Thanks so much for wrapping up that work and writing this summary, Lindsay! Should I go ahead and PR that branch, so that this method is used when we complete the updated GCM runs?

Oh, yes! Please do! Watch out because the current process-models is on my branch for my 1.5 m/s test. You may need to git stash first before switching branches.