Add try/catch blocks to methods for retrieving user info

BACKEND PULL REQUEST
Related Issue
Related to a couple support requests where support admin folks aren't able to load a user using the Manager users page if they don't have access to any facilities.
 If the user has an invalid state because of no facility access, we throw an exception and that user's page can't be loaded.
Changes Proposed
Catch the exception potentially created when migrating a user's roles and facilities to the DB only in methods where we are retrieving user info (not updating).
Additional Information
Folks will still get an error if trying to update the target user in any way if the target user is in an invalid state. This seems like a good idea because it'll force users to fix the facility access for that target user if they want to do any updates to them.
Testing
deployed to dev3
you can update a user in Okta to not have access to any groups and check that you can still view them in the org admin or support admin manage users pages

I know that we're assuming in the test case that a user has a NO_ACCESS membership, but wondering if we should try accounting for that? In the event that someone's group membership gets purged, would imagine their NO_ACCESS permissions would probably also disappear, so depending on how complicated it is might want to handle that scenario
Otherwise LGTM!
Screen recording for reference https://github.com/user-attachments/assets/99aa2824-2a79-4dde-889b-fd5987fa6b0f

@fzhao99 I believe the behavior of user has no groups -> we show the misconfigured user toast was part of the design of the support admin Manage users page, but maybe that was a miss because it seems like it would be more useful to support admin if they could view a user even if they have no groups.
It might be worthwhile to ask support if they would like this capability but as I think about it more I feel like if a user's groups are getting purged maybe it's best support has to reach out to us because we should probably try to figure out how that would happen.


Fix IE and Edge Default Toolbox

For some reason IE and edge don't have the children tag when using oParser.

This Works!
Edge

IE

By the way I had to put the simple horizontal toolbox into a separate variable Blockly.Blocks.defaultToolboxSimple for later. I did this because having two root elements in the xml caused a parsing error.

This seems ready to merge to me, no failed test and it works. Is it ready to merge?


Why dragging image limmited in a 'div'?

So,here's my problem. When dragging the image selected, i cant see the full image what has moved out from its parent node.
Maybe it cansed by my draggable element is a canvas?So bored with that.

图片
文字
装饰
模板
背景

Here is some main dom!

touch-dnd is not opinionated about how to solve zIndex. That is, I think this issue should be fixed through CSS z-index manually.

Were you able to fix your issue?


Add function to play a WR on the opposing team of the Team stack for each lineup

Let's say I want to play Falcons players Matt Ryan (QB) and Julio Jones (WR) as a team stack, the Falcons are playing the Texans this week, so could the optimizer pick one WR from the Texans to also put in that lineup? Appreciate the help!

You can use something like the code below in the interim . . .
players = optimizer.players
dict of all games with two entries per game
games = {'CHI': 'DET',
'DET': 'CHI',
. . . }
qbs = [p for p in players if p.position == 'QB']
wrs = [p for p in players if p.position == 'WR']
qb_wrs = {p.full_name: [[wr for wr in wrs if wr.team == qb.team],
[wr for wr in wrs if wr.team == games.get(qb.team)]]
for qb in qbs}
loop through all the qbs (you can obviously filter)
for i in range (len(qbs)):
qb_name = qbs[i].full_name
qb = optimizer.get_player_by_name(qb_name)
# inner loop gives you 10 combos of qb-wr-opp_wr
# and then 3 optimal lineups for each combo
for j in range(10):
optimizer.add_player_to_lineup(qb)
wr_name = random.choice(qb_wrs.get(qb.full_name)[0])
wr = optimizer.get_player_by_name(wr_name)
optimizer.add_player_to_lineup(wr)
opp_wr_name = random.choice(qb_wrs.get(qb.full_name)[1])
opp_wr = optimizer.get_player_by_name(opp_wr_name)
optimizer.add_player_to_lineup(opp_wr)
for lineup in optimizer.optimize(3):
print(lineup)
optimizer.remove_player_from_lineup(wr)
optimizer.remove_player_from_lineup(opp_wr)
optimizer.remove_player_from_lineup(qb)

Thank you so much for the response. I am still learning Python so would I put this in my sublime text editor or change the actual code? Below is what I am using and wanted to add a line like the bold line below where I can have something like optimizer.set_positions_for_opposing_team(['WR'])
Is this at all possible? I still have a lot of learning to do but really appreciate your help and assistance with this!
from pydfs_lineup_optimizer import get_optimizer, Site, Sport, CSVLineupExporter
optimizer = get_optimizer(Site.DRAFTKINGS, Sport.FOOTBALL)
optimizer.load_players_from_csv("Week5-2.csv")
optimizer.set_positions_for_same_team(['QB','WR'])
optimizer.set_min_salary_cap(49900)
fant = optimizer.get_player_by_name('Noah Fant')  # Get player
fant.max_exposure = 0.2  # Set exposures for player
kirk_cousins = optimizer.get_player_by_name('Kirk Cousins')  # Get player
kirk_cousins.max_exposure = 0.05  # Set exposures for player
# optimizer.add_player_to_lineup(godwin)
#optimizer.add_player_to_lineup(dalvin_cook)  # Lock player
ryan = optimizer.get_player_by_name('Matt Ryan')  # Get player
ryan.max_exposure = 0.15  # Set exposures for player
Deshaun = optimizer.get_player_by_name('Deshaun Watson')  # Get player
Deshaun.max_exposure = 0.20  # Set exposures for player
titans = optimizer.get_player_by_name('Titans')  # Get player
titans.max_exposure = 0.25  # Set exposures for player
for lineup in optimizer.optimize(n=18, max_exposure=0.70):
print(lineup)
exporter = CSVLineupExporter(optimizer.optimize(18))
exporter.export('Final Results.csv')

There is no method like the bolded line in the current library.
It seems like you are trying to generate tournament lineups. In that case, I think it makes more sense to run the optimizer over a number of different sets of projections for various stacks. That is, assuming that this stack hits the Xth percentile (say 85th) for the QB and WR, what would be the optimal lineup?
If you are trying to optimize on one set of mean projections I don't think you will generate good tournament lineups. This also solves the problem of maximum exposure. If you have multiple projection sets representing a range of outcomes, it is much less likely that a player will end up in all of your lineups.

Gotcha, gotcha. I appreciate all your assistance with this!

I've added new rule in new release, it's example how you can do this: optimizer.force_positions_for_opposing_team(('QB', 'WR'))


(minor): MORE EMBEDS! + ooh discord commands

This code will be tested tomorrow and sure will be merged.

its thuyin time

I don't think this be a stable but still can be merged. Will fix if there errors.


Unable to create new weekly note by selecting week number in calendar

Selecting the weekly note from the calendar, prompts to create a "New Weekly Note". Stating the file does not exist. Unable to create the file.
Below is the screenshot of the prompt and the "uncaught" error. Something about folder already exists.
This is what I have for my Daily and Weekly configuration.
Daily
format: [5 📝 Journal]/YYYY/MM/YYYY-MM-DD
Note Folder: /

Weekly
format: [5 📝 Journal]/YYYY/[W]/YYYY-[W]ww
Note Folder: /

I can create a weekly note via the command palette. But not any other week numbers.


trpc-playground@next is blocked by browser

using it with express@4.
getting errors in multiple browsers
Refused to load the script 'https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>because it violates the following Content Security Policy directive: "script-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Which browser? I can't reproduce on Chrome on MacOS.

I've had the same issue for around a year now, I have to disable cors using a plugin for Firefox.
It would seem that the CDN does not accept localhost as pre-flight.

For an alternative we are using https://github.com/iway1/trpc-panel which is npm hosted internally.


Foundation: port NSData to Windows

Adjust the API usage for the Windows environment.

I believe that all the needed changes here have been consumed.  I'm going to go ahead and close this for now, and if we hit anything related to this, we should be able to pull that in then.


TypeProvider error during install.bat

I'm (trying to) setup idris-jvm on Windows 7 and 10, but, have encountered an error during setup (and a problem with the rawSystem call)
The install "runs" but emits the error "Error: Could not find or load main class io.github.mmhelloworld.idrisjvm.runtime.ffi.TypeProvider" about halfway through.
steps to reproduce on Windows7/10

download and extract https://neon.se/idris/idris-1.3.1-win64.exe
download and extract https://github.com/mmhelloworld/idris-jvm/releases/tag/v1.0-SNAPSHOT-20181215
set the paths for idris and run idris-jvm's install.bat from its bin/ folder

C:\Users\Peter\Desktop\error\idris-jvm\bin
λ SET IDRIS_HOME=C:\Users\Peter\Desktop\error\idris

C:\Users\Peter\Desktop\error\idris-jvm\bin
λ SET PATH=%IDRIS_HOME%;%IDRIS_HOME%/mingw/bin;%PATH%

C:\Users\Peter\Desktop\error\idris-jvm\bin
λ install.bat
Type checking .\IdrisJvm\FFI.idr
Type checking .\Java\Lang.idr
Type checking .\IdrisJvm\IO.idr
Type checking .\Java\Nio.idr
Type checking .\Java\Util\Concurrent.idr
Type checking .\Java\Util\Function.idr
Type checking .\Java\Util\Stream.idr
Type checking .\Java\Util.idr
Type checking .\Java\IO.idr
Type checking .\IdrisJvm\JvmImport.idr
Type checking .\Java\Math.idr
Type checking .\IdrisJvm\File.idr
Error: Could not find or load main class io.github.mmhelloworld.idrisjvm.runtime.ffi.TypeProvider
Type checking .\IdrisJvm\Data\Buffer.idr
Type checking .\IdrisJvm\System.idr
Type checking .\IdrisJvm\Effects.idr
Installing IdrisJvm\Data\Buffer.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm\Data
Installing IdrisJvm\FFI.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm
Installing IdrisJvm\IO.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm
Installing IdrisJvm\File.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm
Installing IdrisJvm\JvmImport.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm
Installing IdrisJvm\System.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm
Installing Java\Util\Concurrent.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java\Util
Installing Java\Util\Function.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java\Util
Installing Java\Util\Stream.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java\Util
Installing IdrisJvm\Effects.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\IdrisJvm
Installing Java\IO.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java
Installing Java\Lang.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java
Installing Java\Nio.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java
Installing Java\Util.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java
Installing Java\Math.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi\Java
Installing 00idrisjvmffi-idx.ibc to C:\Users\Peter\Desktop\error\idris\./libs\libs\idrisjvmffi

(my rawSystem problem was an unrelated typo)

Hi,
This should be fixed now. Please try it again and reopen this issue if you still have issues.

Thank you, it works great now.
For my sanity (or vanity) I've attached the .bat file I'm testing it with.
@ECHO OFF

REM check for idris and add it to the path
IF EXIST %~dp0/idris/idris.exe (
	ECHO "Idris exists"
) ELSE (
	ECHO "I need Idris extracted to %~dp0"
	ECHO "... so the main program should land as %~dp0/idris/idris.exe"
	ECHO "> https://neon.se/idris/idris-1.3.1-win64.exe"
	EXIT /B 1
)

SET IDRIS_HOME=%~dp0\idris
SET PATH=%IDRIS_HOME%;%IDRIS_HOME%/mingw/bin;%PATH%

REM check for idris-jvm, run the install and add it to the path
IF EXIST %~dp0/idris-jvm\bin\install.bat (
	ECHO "idris-jvm is present"
) ELSE (
	ECHO "I need idris-jvm extracted to %~dp0"
	ECHO "... so that i can reach the .bat file at %~dp0/idris-jvm/bin/install.bat"
	ECHO "> https://github.com/mmhelloworld/idris-jvm/releases/tag/v1.0-SNAPSHOT-20190525"
	EXIT /B 1
)
CMD /C "cd idris-jvm\bin && install.bat"
SET PATH=%~dp0/idris-jvm/codegen/bin;%PATH%

REM do a hello-world program
ECHO module Main > hello.idr
ECHO main : IO () >> hello.idr
ECHO main = putStrLn "Hello idris-jvm" >> hello.idr
idris --portable-codegen jvm.bat %~dp0/hello.idr -o %~dp0/target/hello
java -cp %~dp0/idris-jvm/idris-jvm-runtime.jar;%~dp0/target/hello main.Main

Thank you.


change history deleted

We do not need a change history as we have git. Also, in the other extended events objects such are missing.

@gotqn : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@gotqn - yes, these articles haven't been touched in a while and the change history sections are no longer needed.
Thanks.
#sign-off


Bitcoin Core

Bitcoin Core integration/staging tree
https://bitcoincore.org
For an immediately usable, binary version of the Bitcoin Core software, see
https://bitcoincore.org/en/download/.
Further information about Bitcoin Core is available in the doc folder.
What is Bitcoin?
Bitcoin is an experimental digital currency that enables instant payments to
anyone, anywhere in the world. Bitcoin uses peer-to-peer technology to operate
with no central authority: managing transactions and issuing money are carried
out collectively by the network. Bitcoin Core is the name of open source
software which enables the use of this currency.
For more information read the original Bitcoin whitepaper.
License
Bitcoin Core is released under the terms of the MIT license. See COPYING for more
information or see https://opensource.org/licenses/MIT.
Development Process
The master branch is regularly built (see doc/build-*.md for instructions) and tested, but it is not guaranteed to be
completely stable. Tags are created
regularly from release branches to indicate new official, stable release versions of Bitcoin Core.
The https://github.com/bitcoin-core/gui repository is used exclusively for the
development of the GUI. Its master branch is identical in all monotree
repositories. Release branches and tags do not exist, so please do not fork
that repository unless it is for development reasons.
The contribution workflow is described in CONTRIBUTING.md
and useful hints for developers can be found in doc/developer-notes.md.
Testing
Testing and code review is the bottleneck for development; we get more pull
requests than we can review and test on short notice. Please be patient and help out by testing
other people's pull requests, and remember this is a security-critical project where any mistake might cost people
lots of money.
Automated Testing
Developers are strongly encouraged to write unit tests for new code, and to
submit new unit tests for old code. Unit tests can be compiled and run
(assuming they weren't disabled in configure) with: make check. Further details on running
and extending unit tests can be found in /src/test/README.md.
There are also regression and integration tests, written
in Python.
These tests can be run (if the test dependencies are installed) with: test/functional/test_runner.py
The CI (Continuous Integration) systems make sure that every pull request is built for Windows, Linux, and macOS,
and that unit/sanity tests are run automatically.
Manual Quality Assurance (QA) Testing
Changes should be tested by somebody other than the developer who wrote the
code. This is especially important for large or high-risk changes. It is useful
to add a test plan to the pull request description if testing the changes is
not straightforward.
Translations
Changes to translations as well as new translations can be submitted to
Bitcoin Core's Transifex page.
Translations are periodically pulled from Transifex and merged into the git repository. See the
translation process for details on how this works.
Important: We do not accept translation changes as GitHub pull requests because the next
pull from Transifex would automatically overwrite them again.

Bitcoin Core is listed on https://bitcoin-only.com/wallets


Fixes Issue-108 - restorecon should detect path

Here is a "one line" fix to test for the existence of e path before trying to restorecon. I also added double quotes because it seemed like a "good idea" (paths with spaces)
Let me know if you want me to rebase this against my #105 fix or keep branching from "master"

Hi,
Thanks for looking in to the issue.
Can you please let us know if new version of selinux puppet module is going
to out with all fixes that you did .
On Tue, Aug 9, 2016 at 7:44 PM, Tommy McNeely<EMAIL_ADDRESS>wrote:

Here is a "one line" fix to test for the existence of e path before trying
to restorecon. I also added double quotes because it seemed like a "good
idea" (paths with spaces)
Let me know if you want me to rebase this against my #105
https://github.com/jfryman/puppet-selinux/issues/105 fix or keep
branching from "master"
You can view, comment on, or merge this pull request online at:
https://github.com/jfryman/puppet-selinux/pull/110
Commit Summary

Fixes Issue-108 - restorecon should detect path

File Changes

M manifests/fcontext.pp
https://github.com/jfryman/puppet-selinux/pull/110/files#diff-0 (3)

Patch Links:

https://github.com/jfryman/puppet-selinux/pull/110.patch
https://github.com/jfryman/puppet-selinux/pull/110.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jfryman/puppet-selinux/pull/110, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAedHU9qbF1s_qOkkEFLxA27RJUGw5Ssks5qeRDXgaJpZM4Jgoeo
.

This should be referring to #108

@ashishvadhau - I would give @jfryman a little while to review/accept/etc... however, if you  are using r10k (Puppetfile) you are welcome to try my "development" version ... with the understanding that this is "works for me" code, and you use it at your own risk (but thats not much different from any puppet module, right? :)
mod 'selinux',
    :git => 'git@github.com:LarkIT/puppet-selinux.git',
    :ref => 'larkit'

I've added this commit to #117. Thanks.


fix slot mapping bug when pushing rf into cte

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run performance


Logo at the upper left corner

The Readme says: "The logo is displayed at the upper left corner of your admin panel." But there's none even if I add some own pngs. What's the trick?

Seems like the problem only exists in Safari on Mac.

@REJack

@jczwo can you give as more details, like the exact logo config? It works with the infos in the readme, on Mac and Safari too.

May its related to this https://github.com/ColorlibHQ/AdminLTE/issues/2412

Tested again today. Everything ok now. I don’t know why, but my content blocker was the problem.

XD these bad blockers 😄 but better than too much ads.


use custom ocl crate until crates.io version builds again

 Fix rustc_version in ocl crate

Pull Request Test Coverage Report for Build 593904581

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.621%

Totals

Change from base Build 588731845:
0.0%

Covered Lines:
13816

Relevant Lines:
16927

💛  - Coveralls


webdriver.md lgtm

In particular, I'm happy about the new message routing updates. In WPT land there have been a few cases where a test needed to interact with a background tab or a specific element on the page, and these had caused non-trivial headaches in the past. So it's nice to see targetIDs being used explicitly in the new protocol
Thanks!

Hi @LukeZielinski. Thank you for your feedback!
FYI we've just moved this document to its new home in the w3c/webdriver repo:
https://github.com/w3c/webdriver/blob/master/webdriver-bidi/webdriver.md
Please feel free to file any new issues there going forward.


greed: 'none'

Please check the troubleshooting guide and read the API docs before raising an issue
http://www.wheresrhys.co.uk/fetch-mock/troubleshooting
http://www.wheresrhys.co.uk/fetch-mock/api
I use fetch-mock to mock unready apis, but I want to get other already apis through native fetch.
please move the greed option back.

Sorry, that option is gone for good. You can probably achieve what you need by using either the .spy() or .catch() methods


Module was compiled with an incompatible version of Kotlin on Flutter 2.10.0

I'm getting the following error:
C:\flutter.pub-cache\hosted\pub.dartlang.org\flutter_native_timezone-2.0.0\android\src\main\kotlin\com\whelksoft\flutter_native_timezone\FlutterNativeTimezonePlugin.kt: (22, 10): Class 'kotlin.jvm.JvmStatic' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/USER/.gradle/caches/transforms-2/files-2.1/0abecf3832c202c9f5aa4402d080189c/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/jvm/JvmStatic.class

Solved.... I just had to update the kotlin version in android studio.
Tools -> Kotlin -> Configure Kotlin Plugin Updates

@jeancc29 2  ( tools -> Kotlin -> Configure Kotlin Plugin Updates) which Kotlin version / channel are you using? I have the same error with the Kotlin stable channel / latest version : 211-1.6.10-release-923-AS7442.40

Any updates on this one?  Updated to latest Kotlin (stable / 212-1.7.0-release-281-AS5457.46 and still hitting the same issue.  This is a really big deal, can't compile the app with this package added.

The plugin itself needs the Kotlin version updated. I'm creating a PR for the fix, but these steps worked for me while we wait for an update:
Clone package to your project (I created {root}/plugin for this purpose)
Make the following changes to plugin/image_gallery_saver-1.7.1/android/build.gradle:
update ext.kotlin.version = 1.7.0
update classpath 'com.android.tools.build:gradle:7.0.3' (maybe optional?)

Any updates on this one? Updated to latest Kotlin (stable / 212-1.7.0-release-281-AS5457.46 and still hitting the same issue. This is a really big deal, can't compile the app with this package added.

Got it!  The plugin itself needs the Kotlin version updated. I'm creating a PR for the fix, but these steps worked for me while we wait for an update:
Clone package to your project (I created {root}/plugin for this purpose)
Make the following changes to plugin/image_gallery_saver-1.7.1/android/build.gradle:
update ext.kotlin.version = 1.7.0
update classpath 'com.android.tools.build:gradle:7.0.3' (maybe optional?)

Hi @robjvan ,
I am running into similar issues and would like to update the plugin
Will it be sufficient if I update the ext.kotlin_version in  .pub-cache/hosted/pub.dartlang.org/flutter_native_timezone-2.0.0/android/build.gradle
buildscript {
    ext.kotlin_version = '1.3.50'
    repositories {
        google()
        mavenCentral()
    }


Do i need to credit the author in my work?

I am making notes for myself to study and I am using your paper css which is very nice. it's an amazing piece of work.
i will distribute my notes to my other classmates but is it necessary for me attribute the name of the author of paper css in my notes due to mit license? I dont want to show any attributions or anything, just the notes themselves.

No, you don't have to. It's ok for me.
Generally speaking, you "should" add a license note somewhere to use any open-source software. But it's enough to just add some comment in the file. At least, you don't have to mention in your main document or report or something.
Maybe, the best way is adding the four lines below (from /* to */) on top of paper.css:
/*
SPDX-FileCopyrightText: © 2015 Tsutomu Kawamura
SPDX-License-Identifier: MIT
*/

@page { margin: 0 }
body { margin: 0 }
.sheet {
  margin: 0;
  overflow: hidden;
  position: relative;
...


properly handle downloading two files with the same name

I know there was a discussion that this would be very difficult, but what about a simple check in the download directory vs the filename being downloaded to warn the user that a file with that name already exists and if they want to continue.  This might prevent someone paying for content twice, but can continue if they are sure that the content is different.

@tzarebczan confirm fix and close

Can confirm this is fixed. Created a test scenario with a file already created for one I was about to download. It added the _1.
2018-08-14 17:31:13,588 INFO     lbrynet.daemon.Downloader:96: Download lbry://zeycussabstractchess status changed to stopped
2018-08-14 17:31:13,588 INFO     lbrynet.daemon.Downloader:152: Finished downloading lbry://zeycussabstractchess (ce242a) --> C:\Users\SoloDolo\Downloads\lbry downloadstest\Zeycus's Abstract Chess_1.stl


Error when installing workerd: Expected "2023-08-14" but got "workerd 2023-08-01"

There seems to be something wrong with the last published version of workerd. Right now I can't use C3, I can't update/install wrangler and I can't even install workerd on an empty folder. I used C3 earlier today and everything was fine.
Here is the error I am running into:
❯ npm install workerd
npm ERR! code 1
npm ERR! path /Users/edisonlsm/Developer/test/node_modules/workerd
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98
npm ERR!     throw new Error(
npm ERR!           ^
npm ERR!
npm ERR! Error: Expected "2023-08-14" but got "workerd 2023-08-01"
npm ERR!     at validateBinaryVersion (/Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98:11)
npm ERR!     at /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:252:5
npm ERR! A complete log of this run can be found in: /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log
❯ code /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log
And here`s the complete npm log:
0 verbose cli /Users/edisonlsm/.nvm/versions/node/v16.18.0/bin/node /Users/edisonlsm/.nvm/versions/node/v16.18.0/bin/npm
1 info using<EMAIL_ADDRESS>2 info using<EMAIL_ADDRESS>3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/Users/edisonlsm/.nvm/versions/node/v16.18.0/lib/node_modules/npm/npmrc Completed in 0ms
6 timing config:load:builtin Completed in 0ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/edisonlsm/Developer/test/.npmrc Completed in 0ms
10 timing config:load:project Completed in 2ms
11 timing config:load:file:/Users/edisonlsm/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/Users/edisonlsm/.nvm/versions/node/v16.18.0/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 5ms
17 timing npm:load:configload Completed in 5ms
18 timing config:load:flatten Completed in 1ms
19 timing npm:load:mkdirpcache Completed in 0ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm install workerd
22 verbose argv "install" "workerd"
23 timing npm:load:setTitle Completed in 5ms
24 timing npm:load:display Completed in 0ms
25 verbose logfile logs-max:10 dir:/Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-
26 verbose logfile /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log
27 timing npm:load:logFile Completed in 4ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 25ms
31 timing config:load:flatten Completed in 0ms
32 timing arborist:ctor Completed in 0ms
33 timing arborist:ctor Completed in 0ms
34 silly logfile start cleaning logs, removing 1 files
35 timing idealTree:init Completed in 6ms
36 timing idealTree:userRequests Completed in 2ms
37 silly idealTree buildDeps
38 silly fetch manifest workerd@*
39 silly logfile done cleaning log files
40 http fetch GET 200 https://registry.npmjs.org/workerd 6ms (cache hit)
41 silly placeDep ROOT<EMAIL_ADDRESS>OK for:  want: *
42 silly fetch manifest<EMAIL_ADDRESS>43 silly fetch manifest<EMAIL_ADDRESS>44 silly fetch manifest<EMAIL_ADDRESS>45 silly fetch manifest<EMAIL_ADDRESS>46 silly fetch manifest<EMAIL_ADDRESS>47 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-darwin-arm64 5ms (cache hit)
48 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-darwin-64 6ms (cache hit)
49 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-linux-64 6ms (cache hit)
50 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-linux-arm64 6ms (cache hit)
51 http fetch GET 200 https://registry.npmjs.org/@cloudflare%2fworkerd-windows-64 6ms (cache hit)
52 timing idealTree:#root Completed in 17ms
53 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: 1.20230814.0
54 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: 1.20230814.0
55 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: 1.20230814.0
56 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: 1.20230814.0
57 silly placeDep ROOT<EMAIL_ADDRESS>OK for<EMAIL_ADDRESS>want: 1.20230814.0
58 timing idealTree:node_modules/workerd Completed in 3ms
59 timing idealTree:node_modules/@cloudflare/workerd-darwin-64 Completed in 0ms
60 timing idealTree:node_modules/@cloudflare/workerd-darwin-arm64 Completed in 0ms
61 timing idealTree:node_modules/@cloudflare/workerd-linux-64 Completed in 0ms
62 timing idealTree:node_modules/@cloudflare/workerd-linux-arm64 Completed in 0ms
63 timing idealTree:node_modules/@cloudflare/workerd-windows-64 Completed in 0ms
64 timing idealTree:buildDeps Completed in 21ms
65 timing idealTree:fixDepFlags Completed in 0ms
66 timing idealTree Completed in 30ms
67 timing reify:loadTrees Completed in 30ms
68 timing reify:diffTrees Completed in 0ms
69 silly reify moves {}
70 timing reify:retireShallow Completed in 1ms
71 timing reify:createSparse Completed in 1ms
72 timing reify:loadBundles Completed in 0ms
73 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-windows-64
74 silly reify mark deleted [
74 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-windows-64'
74 silly reify ]
75 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-arm64
76 silly reify mark deleted [
76 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-arm64'
76 silly reify ]
77 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-64
78 silly reify mark deleted [
78 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-linux-64'
78 silly reify ]
79 verbose reify failed optional dependency /Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-darwin-64
80 silly reify mark deleted [
80 silly reify   '/Users/edisonlsm/Developer/test/node_modules/@cloudflare/workerd-darwin-64'
80 silly reify ]
81 timing reifyNode:node_modules/@cloudflare/workerd-windows-64 Completed in 2ms
82 timing reifyNode:node_modules/@cloudflare/workerd-linux-arm64 Completed in 2ms
83 timing reifyNode:node_modules/@cloudflare/workerd-linux-64 Completed in 2ms
84 timing reifyNode:node_modules/@cloudflare/workerd-darwin-64 Completed in 2ms
85 timing reifyNode:node_modules/workerd Completed in 279ms
86 timing reifyNode:node_modules/@cloudflare/workerd-darwin-arm64 Completed in 349ms
87 timing reify:unpack Completed in 349ms
88 timing reify:unretire Completed in 0ms
89 timing build:queue Completed in 0ms
90 timing build:link:node_modules/workerd Completed in 1ms
91 timing build:link Completed in 1ms
92 info run<EMAIL_ADDRESS>postinstall node_modules/workerd node install.js
93 info run<EMAIL_ADDRESS>postinstall { code: 1, signal: null }
94 timing reify:rollback:createSparse Completed in 4ms
95 timing reify:rollback:retireShallow Completed in 0ms
96 timing command:install Completed in 997ms
97 verbose stack Error: command failed
97 verbose stack     at ChildProcess.<anonymous> (/Users/edisonlsm/.nvm/versions/node/v16.18.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
97 verbose stack     at ChildProcess.emit (node:events:513:28)
97 verbose stack     at maybeClose (node:internal/child_process:1100:16)
97 verbose stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
98 verbose pkgid<EMAIL_ADDRESS>99 verbose cwd /Users/edisonlsm/Developer/test
100 verbose Darwin 22.5.0
101 verbose node v16.18.0
102 verbose npm  v9.8.1
103 error code 1
104 error path /Users/edisonlsm/Developer/test/node_modules/workerd
105 error command failed
106 error command sh -c node install.js
107 error /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98
107 error     throw new Error(
107 error           ^
107 error
107 error Error: Expected "2023-08-14" but got "workerd 2023-08-01"
107 error     at validateBinaryVersion (/Users/edisonlsm/Developer/test/node_modules/workerd/install.js:98:11)
107 error     at /Users/edisonlsm/Developer/test/node_modules/workerd/install.js:252:5
108 verbose exit 1
109 timing npm Completed in 1090ms
110 verbose unfinished npm timer reify<PHONE_NUMBER>317
111 verbose unfinished npm timer reify:build<PHONE_NUMBER>700
112 verbose unfinished npm timer build<PHONE_NUMBER>700
113 verbose unfinished npm timer build:deps<PHONE_NUMBER>700
114 verbose unfinished npm timer build:run:postinstall<PHONE_NUMBER>702
115 verbose unfinished npm timer build:run:postinstall:node_modules/workerd<PHONE_NUMBER>702
116 verbose code 1
117 error A complete log of this run can be found in: /Users/edisonlsm/.npm/_logs/2023-08-14T22_17_26_224Z-debug-0.log

Can reproduce this, investigating

Can only reproduce when installing Wrangler v3.5.0 (tested v3.4.x) installs clean.
https://github.com/cloudflare/workerd/blob/main/npm/lib/node-install.ts#L59-L66
https://github.com/cloudflare/workerd/blob/14164667dd9fdc29522fc7f392826b5a18f5223a/.github/workflows/npm.yml#L64
Suggests something went awry with release of https://github.com/cloudflare/workerd/releases/tag/v1.20230814.0?

Can't reproduce when installing wrangler within a fresh VM.

It seems that the arm64 variants of workerd version 2023-08-14 were packaged with the 2023-08-01 binary.
On linux-64:
$ ./node_modules/\@cloudflare/workerd-linux-64/bin/workerd --version
workerd 2023-08-14
$ grep version<EMAIL_ADDRESS>  "version": "1.20230814.0"
$

On linux-arm64:
$ ./node_modules/\@cloudflare/workerd-linux-arm64/bin/workerd --version
workerd 2023-08-01
$ grep version<EMAIL_ADDRESS>  "version": "1.20230814.0"
$

And on darwin-arm64:
$ ./node_modules/\@cloudflare/workerd-darwin-arm64/bin/workerd --version
workerd 2023-08-01
$ grep version<EMAIL_ADDRESS>  "version": "1.20230814.0"
$


Payment protocol changes for transfers

As is this PR passes flow but makes the app a bit worse. If a user (tst1) sends from a secondary account to the primary account this branch shows "tst1...tst1 sent you 1 XLM" with the scuba icon. On master it shows "You transferred 1 XLM from tst1 to this account" with the wallet icon. Neither is right, but master is better. The right thing I think is "You transferred 1 XLM from "squirrel fund" to GC...RAT" if the first has a name. So I think it would make sense to get the gui half of this done before merging.
The motivation for this PR is (@buoyad) to move the code that detects when a payment is a transfer between the user's own account from gui to service. The gui can now use OWNACCOUNT to decide that it's a own-transfer. So I imagine finishing this PR swap out that code.
A secondary effect is that more info is available in the rpc if desired. It used to be that if the recipient had a username and an account ID the RPC did not include the account ID because it was all packed into two fields [target, targetType]. For example on the details page it would be nice to show the recipient account ID as well as their username when applicable. But that can happen another time. Up to you whether it's worth future proofing by not throwing out fields.

Here are my thoughts on the logic in case it helps.
If fromType == OWNACCOUNT then the icon should be wallet.
If the counterparty is of type KEYBASE then the icon should be their profile picture.
Otherwise the icon should be scuba.
For the text of sender and recipient, there's a mapping. I know it's really more complicated than this since there's different sentence structures.
switch toType
KEYBASE -> toUsername
STELLAR -> toAccountID
SBS -> toAssertion
OWNACCOUNT -> toAccountName

@mlsteele Pushed the JS changes, let me know what you think.  I recorded fromAccountID and toAccountID in the store so that we can decide whether to use them on the transaction details page, as you suggested.
More conflicts showed up immediately!  Mainly it's PR #13789's changes to frontend_test.go (recipPayments), which'll need to be modified to test against the new fields instead of source/target.  Please could I ask you to do that merge again?

Looks nice! Conflicts fixed


Create an object for the HTML report

Currently, when we are building the HTML report, we do it based off the XML file. However, that isn't ideal as we need to change two completely different areas of code to keep up with the changes. Need to come up with a way so when we are building the HealthChecker object and doing a review on it, we do the same for an HTML object so we can just loop through the data to build the HTML report rather quickly.

completed in 18c6b668226865f8809b4254291fbe97c0ce593f


No note block event

There is no event to indicate that a note block has been tuned or played. Bukkit meanwhile has NotePlayEvent.

one year later


Upgrade to 0.3.0 with latest http package

Need to use a newer version of the http package for compatibility reasons


Support for ESMF Format offline weights

✨ Feature Request
It would be great if iris-esmf-regrid supported weight files generated offline.
Motivation
We have requirements to regrid high resolution source data to UGrid meshes.  The weight generation for this is expensive (e.g. orography source data regrid to C768 on Jasmin required 550Gb RAM for 8 hours).  It would be fantastic if we could perform this weights generation step once, and store the weights for future use.
In addition, by using the ESMF weights file format (or another "standard" weights file format), we get the opportunity to use weight files generated by other tools for e.g. consistency with other processing.
Additional context
ESMF weight file format is currently documented here: http://earthsystemmodeling.org/docs/release/ESMF_8_3_0/ESMF_refdoc/node3.html#sec:weightfileformat  They are quite aggressive at deleting old versions of docs when new versions of ESMF are released, though, so that link will not be valid indefinitely.

Perhaps the simplest thing would be to write a converter to work with the existing io module, which would avoid us needing to write any further ingestion code.

Sounds good to me.  👍  I was in a meeting yesterday with @stephenworsley and got the impression that iris-esmf-regrid did not have support for offline weights.  If the solution is to have a standalone format converter, or to extend the io module, then I think we have a pathway that works for us.

I didn't mean to close this though! We'll still need to work on the converter


Rearrange and cleanup lib

Improve the flake.nix of lib, export some more functions, and remove obsoleted code

Nice! Is this already the final touch?

I believe so, I think were close to the current finish line. I have one more change to move homeConfigurations and deploy.nodes to be set in the template's flake.nix instead of in mkFlake with a bit of improvements for both functions.

I suggest to make sure to also run nixpkgs-fmt, in case you not already have.

done

Would you want to merge once you feel it's ready? (Please do)


Move navigation keybindings to Commands

Progress towards https://github.com/microsoft/vscode/issues/98479
This moves the navigation related keydown handlers to actual commands.

This works by having the QuickInputService keep track of the current open quick pick and then allowing the object that that returns to focus on particular things. The list has a similar concept.

oh! is this new feature going in a recovery release for the April 2024 milestone?

@TylerLeonhardt ok thanks. I was looking at the milestone this PR is in (it says "April 2024") and was like- "huh. interesting".

Good catch :) the bot got it wrong


Implement Status Change for Goods

Please do work for this task in a branch named issue-20.

Incomplete


Drop python 3.10

Description of the issue
The recommendation from scientific python is to drop python 3.10 by 2024Q4. NumPy however will drop py3.10 by April 2025. I think Cirq should drop py3.10 within the next two quarters to avoid having compatibility issues with other scientific libraries.

cc: @pavoljuhas

I suppose the issue is which of the support-window policies should we adopt.
The difference between scientific python and NEP-29 is that NEP-29 only covers Python and NumPy and suggests 3.5 year  window for Python and 2 year window for NumPy.
Scientific Python covers more science packages and advises 3 year support for Python and 2 years for everything else.
Let us discuss at the next cirq-cynq meeting.


As a traveler seeking companions, I want Traveldiction to have a Travel Companion window so that I can connect with others who share my travel plans and interests.

Started working on travel companion window.

Started working on the interest matching feature where users can find the people and connect with them.

Recommendation engine is all set and yet to be integrated with the travel companion window.

Once it is integrated we need to recheck and confirm that  the integrations are working fine..

We have completed the user story and implementation is done. Closing this user story.


fix: correct text input password ellipsis issue

Description

fix text input password ellipsis issue by adding flex: 1 (for type={EditTextInputType.BOX} && secureTextEntry={true})
stories-boxType : remove style "paddingVertical: 8" to correct broken UI in android

 ->
Related Issues
fix #282
Tests
X
Checklist
Before you create this PR confirms that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] Run yarn test or yarn test -u if you need to update snapshot.
[x] Run yarn lint
[x] I am willing to follow-up on review comments in a timely manner.

@hyochan I don't know why the test is not working on this PR.

😢

I will try it myself.


nixos/1password-gui: init at 8.6.0

Description of changes
This adds an OS-level module for 1Password. 1Password's Browser Integration feature requires setgid and setuid programs, which on NixOS can only be handled in the global configuration. This has the benefit of ensuring that the system admin is aware of setgid and setui programs.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

\o/
If there's an issue with how the module works I'll let someone else complain about it in a new PR - to me this seems fine, and I'm happy to finally get browser integration on nix.


Fix Tty.width cannot get the real width in certain terminal like emacs shell

In eshell,  `/bin/stty size 2>/dev/null`.split[1] always returns 0, however, tput cols can get correct width when COLUMNS is in FILTERED_ENV.
Note that nil.to_i.zero? is also true.

See also https://emacs-china.org/t/topic/5943/5

Thanks so much for your first contribution!  You rock, @lukertty !


v-if is not allowed here?

I get "Attribute v-if is not allowed here" is I use v-if on any element. It seems like PHPStorm knows quite a few v-* attributes, but not v-if. Neither does it recognize v-else, and there are several other things missing too like v-bind and v-on, although for those last two I'd use the shorthand versions instead anyway.

Is vue-for-idea still current for Vue 2.x? Reason is I get lots of red errors in the sidebar, e.g.
Namespace 'v-on' is not bound less... (Ctrl+F1)
This inspection checks for unbound namespace prefixes in XML
Some tips on how to troubleshoot?

@eugenevdm I'm afraid that we have to be patient and wait until end of March for official Vue support in Webstorm.

You can turn off XML inspections in Settings > Editor > Inspections > uncheck "Unbound XML namespace prefix"

@piotros its' april now, is this possibly fixable?


How to use with Chrome?

There is way to use it on Browser?
import {XmlDocument} from './node_modules/libxml2-wasm/lib/index.mjs';

But error has occurred as followings:
Uncaught SyntaxError: The requested module './libxml2raw.js' does not provide an export named 'default' (at libxml2.mjs:1:8)

Please advise.

Do you use any bundler?
Libxml2-wasm's package has multiple files, it's better to bundle it together so that it is much easier to be transferred over the network.
Is your project ESM or CommonJS module? Libxml2-wasm is ESM, so it will be a little bit different between being called by ESM or CommonJS.
Please refer to the example in README or in the documentation.

Is
"type": "module"

In your package.json?

Reproduced with type set to module in package.json.
When it is set, *.js is treated as ESM. However, emscripten generated file, libxml2raw.js, is CommonJS.
It is using
 module.exports = Module;

to export.
This doesn't work in ESM mode.
In another words, the module with export nothing in ESM.
That's why we got error message
The requested module './libxml2raw.js' does not provide an export named 'default'


Large file uploads fail silently.

Describe the bug
Uploading a large file using mo.ui.file() fails silently. While rejecting large files is probably necessary, it would be useful to be able to configure the size of acceptable files, and in any case, the user should be shown a meaningful error message.
To recreate: create test files like so:
  truncate -s 50m 50m.file
  truncate -s 75m 75m.file

Run the notebook below:
marimo -d edit file_bug.py

Uploading the 50MB file succeeds - though as expected there is an error tying to display the contents of so large a file.
Uploading the 75MB file fails silently as far as the user can see. There is an error shown in the browser console:
POST http://localhost:2718/api/kernel/set_ui_element_value/ net::ERR_CONNECTION_RESET 400 (Bad Request)
index-MSmAPe8D.js:40 Error requesting /api/kernel/set_ui_element_value/ Error: Bad Request
        at index-MSmAPe8D.js:71:11234

And on the server side we see:
[I 240119 10:42:51 http1connection:292] Malformed HTTP message from ::1: Content-Length too long

This looks like an error message from Tornado.
Environment
{
    "marimo": "0.1.78",
    "OS": "Darwin",
    "OS Version": "23.2.0",
    "Processor": "arm",
    "Python Version": "3.12.1",
    "Binaries": {
        "Chrome": "120.0.6099.234",
        "Node": "v14.17.6"
    },
    "Requirements": {
        "black": "23.12.1",
        "click": "8.1.7",
        "jedi": "0.19.1",
        "pymdown-extensions": "10.7",
        "tomlkit": "0.12.3",
        "tornado": "6.4"
    }
}

Code to reproduce
import marimo

__generated_with = "0.1.78"
app = marimo.App()

@app.cell
def __(mo):
        upfile = mo.ui.file()
        upfile
        return upfile,

@app.cell
def __(upfile, mo):
        mo.md(f"{upfile.value=!r}")
        return

@app.cell
def __():
        import marimo as mo
        return mo

if __name__ == "__main__":
        app.run()

Good call out, we will try to fix the issue this week.

Update: Since https://github.com/marimo-team/marimo/releases/tag/0.1.82, far larger files can be uploaded, 250MB for certain. I'm assuming this is related to #606. However, a 500MB file still files silently, and now I don't see error or warning messages either server or client side.

I made the limit 100mb (open to increasing it based on feedback), as well as added user error messages. in this commit
Long term we ideally, in addition to the current file upload, have a non-browser file chooser powered by the marimo server so you are only passing around file-paths instead of the file, to support larger files.

Looks good!


Deployment fails

Get the following error when running the deploy.ps1. In the Azure portal it shows a 404 cant find linked service.
New-AzureRmResourceGroupDeployment : 11:37:34 AM - Resource Microsoft.DataFactory/datafactories/datasets 'mydrivingds-dfgjdbjjrqgfmo6/FinalTempDataSet-Sql' failed with message 'Linked service AzureSqlLinkedService not found.'
At C:\git\MyDriving\scripts\PowerShell\deploy.ps1:147 char:16

... ployment2 = New-AzureRmResourceGroupDeployment -Name "$DeploymentName ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureResourceGroupDeploymentCommand

please paste whole script, but this is probably because first part of deployment didn't upload *.hql scripts to storage
and "side" question, did you changed baseName variable in json files? must be same in prerequisites.json and scenario_complete.json

Same exact error on Deployment I used the original Deploy1.ps1 script
my whole script is as it
Output.txt

you are using old version of deploy script and json files
in new version is in output warning about SQL password strength
please update your code from our repo

Hi I made sure to use the deploy.ps1 version you uploaded 9 days ago and also the new vesion of ARM templates. I did deploy succesfully thank you.

you are welcome


where are the tests?

Thanks for working on this. I'd like to see how the design might change as you add tests.

While I can definitely see tests as a great addition for this, I unfortunately don't have much experience with them. Something I really need to get to know better, but since my projects have mostly been small and I work alone, I never had the motivation to work with tests. If anyone who has more experience wants to give it a shot I'm open to any PR.

Thanks so much. I'm looking at a few boilerplates right now. If I choose yours, I'd be happy to add some basic tests. A few of the other mobx boilerplates already have some tests. Testing is really helpful on many levels, even when you work alone and even on small projects. Thanks again. I think we can close this issue, and or mark it as a feature request.

No problem! If you do happen to use it, the tests would be much appreciated, even just to be exposed bit more to them personally.


How is file rel2candidates.json created

For function of wiki_candidate() in data.py, rel2candidates.json is created by a file named 'instance_of' which was read to find some entities, but I was wondering how does the file 'instance_of' come?
Thanks!

Same question here

For function of wiki_candidate() in data.py, rel2candidates.json is created by a file named 'instance_of' which was read to find some entities, but I was wondering how does the file 'instance_of' come? Thanks!

i got same question as you, but now i have some thoughts which may be meaningful for you: i checked the specific relation in rel2candidates.json,  recorded the concepts shown in the same relation, and found that the number of candidates in rel2candidates.json for a certain relation is the same as the number for those recorded concepts shown in ent2id. which may mean selecting all entities which belongs to the manually prescribed relative concepts from the graph

Do you know whether the triples in the dataset file e1rel_e2 are triples of the entire background KG or triples of tasks in the train,valid or test ?

Do you know whether the triples in the dataset file e1rel_e2 are triples of the entire background KG or triples of tasks in the train,valid or test ?

I think it's the latter (only include train/valid/test tasks) if you follow the code provided.


Replaced blocking/synchronous call

Replaced another sync request with its async equivalent to avoid blocking under high load. Have been using it for two months now without issues and it fixes the problem well (I use 8-32 concurrent connections on the service endpoint, and it's a GUI app, so blocking is really noticeable)

thanks for contrib


NBS-4960 [Disk Manager] support GetCheckpointStatus for snapshot creation

For a network disk, GetCheckpointStatus returns Ready immediately. For an NRD disk, it will respond with NotReady until a replica is filled (after NRD Snapshots is closed).
This code checks the checkpointStatus, and:
- For CheckpointStatusNotReady, it throws an InterruptionError (after which the task will restart).
- For CheckpointStatusError, it deletes the checkpoint and throws a RetriableError (to try to create the checkpoint again).

divided this pr into two separate: pr 817 and pr 868


Updating baseline entries in TOCs

#sign-off

Invalid command: '#sign-off'. Only the assigned author of one or more file in this PR can sign off. @


Component css sourcemap broken in ≥1.7.0-beta.3

Versions
    _                      _                 ____ _     ___
   / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
  / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
 / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
/_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
               |___/

Angular CLI: 1.7.0-beta.3
Node: 7.4.0
OS: win32 x64
Angular: 5.2.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.0-beta.3
@angular-devkit/build-optimizer: 0.2.0
@angular-devkit/core: 0.2.0
@angular-devkit/schematics: 0.2.0
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.10.0-beta.3
@schematics/angular: 0.2.0
@schematics/package-update: 0.2.0
typescript: 2.4.2
webpack: 3.10.0

Repro steps

Add any css rule to a component (kondi/ng-cli-sourcemap@0526343)
ng serve: css sourcemaps are served with 1.7.0-beta.2 (kondi/ng-cli-sourcemap@f96e88e)
ng serve: css sourcemaps are not served with ≥1.7.0-beta.3 (kondi/ng-cli-sourcemap@425c674)

Observed behavior

Desired behavior

Mention any other details that might be useful (optional)
This was definitely the killer feature of 1.7 for me when introduced in v1.7.0-beta.0 (angular/angular-cli@883c022). I was so happy to see it, was very useful for bigger projects.

This should be functional in the latest version of the CLI (6.2.3 currently).  If you are still encountering this with the latest version, please open a new issue detailing the version and environment information of the failing project.


Explain how the module is intended to be used

I guess the module simplifies the task to keep consistent database schema on sharding storages, but there are nothing about usage in the README. It would be good to add some description and maybe even a usage example.
I guess it is used in cartridge internally, but since the module is extracted and tends to be general (not the cartridge framework specific), it should have clear usage scenario.

See also: https://github.com/tarantool/doc/pull/2115#issuecomment-839909584.


Migrating OSSI library

Moved OSS Index API library files here. None of our other plugins use the library anymore, and maintaining the two separately is becoming annoying.
Over time we can probably simplify the API between the two.

@MarkusAmshove This is the complete code from the "OSS Index REST Library" that we are using. It is becoming a major pain to develop them separately, and it just doesn't make sense any more. I figured moving it in here would be better.
Are you alright with that?


Issue #28: Support types IPAddress and IPEndpoint

Added support for both IPAddress and IPEndPoint (both IPv4 & IPv6 notations supported).
Tests included for both objects and their array variants.

@rofr Another one, can be reviewed.

closes #31


Content-Length header is not logged

Hello!
Version 2.4.0
Here is my code
using RestAssured.Request.Builders;
using RestAssured.Request.Logging;
using RestAssured.Response.Logging;
using static RestAssured.Dsl;

public class UserCredentialsJson
{
    public string emailAddress { get; set; }
    public string password { get; set; }
}

public class TestClass
{
    [Test]
    public void test()
    {
        UserCredentialsJson userCredentialsJson = new UserCredentialsJson
        {
            emailAddress = "****",
            password = "****"
        };

        RequestSpecification specification = new RequestSpecBuilder()
            .WithRequestLogLevel(RequestLogLevel.All)
            .WithRelaxedHttpsValidation()
            .WithScheme("https")
            .WithHostName("*hostUrl*/v1/sessions")
            .Build();

        var response = Given()
            .Spec(specification)
            .ContentType("application/json")
            .Header("Accept-encoding", "gzip")
            .Header("Host", "*hostUrl*")
            .Body(userCredentialsJson)
            .When()
            .Post("signin.json")
            .Then()
            .Log(ResponseLogLevel.All);
    }
}

I thought that Content-Length should be calculated without my participation and substituted into the request. But I see in the log that the request is missing Content-Length
I get an error
POST https://*hostUrl*/v1/sessions/signin.json
Content-Type: application/json; charset=utf-8
Accept-Encoding: gzip
Host: *hostUrl*

{
"emailAddress": "****",
"password": "****"
}
HTTP 400 (BadRequest)
Cache-Control: private
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=300
Date: Fri, 31 Mar 2023 14:56:59 GMT
{"Message":"E-mail address and password cannot be blank.","StatusCode":400}
Response time: 1504.9926 ms

Hey @workmichsem, are you sure that the error is related to the missing Content-Length header? The error message is related to missing credentials.
Having said that, if your endpoint requires that header and it’s not sent, that’s an issue I need to look into.
Thank you for submitting it, I’ll have a look soon.

It looks to me like the Content-Length is set as expected:

You're right in that it's not logged when you log the headers, because I did this:
Console.WriteLine($"Content-Type: {request.Content.Headers.ContentType}");

Funny thing is, when I replace that with
Console.WriteLine(request.Content.Headers.ContentType);

Still only the Content-Type header is printed, even though the Content-Length and other values have been set, which means I'll need to log them manually, so I'll do this:
Console.WriteLine($"Content-Type: {request.Content.Headers.ContentType}");
Console.WriteLine($"Content-Length: {request.Content.Headers.ContentLength}");

@workmichsem, does that answer your question and would you like too see any other content-related headers logged, too?

Thanks a lot for such a quick response!
I did not find in version 2.4.0 and 2.5.0-beta a way to display information about the request as you showed it.
@basdijkstra, could you show a complete code example?

Hey @workmichsem, that’s because I haven’t added this feature to a release yet. I’ll add a screenshot later this morning so you can see what it looks like on my machine.
I expect to create and release a proper 2.5.0 version this week and this will then be included in there. Does that work for you?
Also, did you manage to find out what caused the HTTP 400?

I figured out what my problem was. The server reacted in the same way to an error in the request, the absence of Content-Length and to the certificate.
@basdijkstra Thank you very much for helping me.
As for logging, I would like to see absolutely everything in the request and response when I use RequestLogLevel.All / ResponseLogLevel.All
Of course, if such an opportunity exists.

@workmichsem here's a screenshot from Visual Studio after adding logging the Content-Length:

Regarding the point you just made, that makes sense. I'll log whatever else there is to log :) Will add that to the next release, thanks.

Quick addition: I'll have to do the same for the response, I see the exact same thing applies there, with the difference that right now, not even the response Content-Type header is logged. Will add those in 2.5.0, too.

Added improved logging of request and response headers in https://github.com/basdijkstra/rest-assured-net/commit/7116e41e7fd713caadc270d12de6cd06921e7e4a. To be released in 2.5.0 in a moment.
@workmichsem, if you need anything else, feel free to reopen the issue or open a new one.


always override auto labels

Signed-off-by: Robert Cerven<EMAIL_ADDRESS>

@twaugh, waiting to merge this until you approve since you had comments, although, I think they have been addressed.


[BEAM-7389] Add code examples for Partition page

Adding code samples for the Partition page.
R: @aaltay @rosetn Can you take a look at this whenever you have a chance? Thanks!

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Staged: http://apache-beam-website-pull-requests.storage.googleapis.com/9261/documentation/transforms/python/elementwise/partition/index.html

LGTM. Please ping me once you get approval from @rosetn .


Update image_list.md

Minor change to the additional info lead-in

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


cert-manager v1.0.4 incompatible with kubectl v1.22.5

Rancher Server Setup

Rancher version: latest ... trying to install by following this page
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.22.5
Cluster Type (Local/Downstream): Imported

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:

Describe the bug

I'm trying to install rancher on an RKE2 cluster following this doc
https://rancher.com/docs/rancher/v2.0-v2.4/en/installation/install-rancher-on-k8s/
The doc says to install cert-manager v1.0.4
This deployment has an error, cert-manager-cainjector fails to start error is as follows

kubectl logs cert-manager-cainjector-55db655cd8-bp6v8 -n cert-manager
I0125 13:39:36.741586       1 start.go:89] "starting" version="v1.0.4" revision="4d870e49b43960fad974487a262395e65da1373e"
I0125 13:39:38.492505       1 request.go:645] Throttling request took 1.046824189s, request: GET:https://<IP_ADDRESS>:443/apis/networking.k8s.io/v1?timeout=32s
E0125 13:39:39.446854       1 start.go:158] cert-manager/ca-injector "msg"="error registering core-only controllers" "error"="no matches for kind "MutatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1""

This seems to be related to this issue on cert-manager:
https://github.com/jetstack/cert-manager/issues/2817
Which appears to be due to API changes in kubernetes 1.22,
see https://github.com/jetstack/cert-manager/issues/2817#issuecomment-972392860
To Reproduce

set-up an RKE2 cluster on ubuntu 20.04 with 1 controller and 2 workers
then try to install rancher as per
https://rancher.com/docs/rancher/v2.0-v2.4/en/installation/install-rancher-on-k8s/
Result

kubectl get pods --namespace cert-manager
NAME                                       READY   STATUS    RESTARTS          AGE
cert-manager-6d87886d5c-xff6n              1/1     Running   0                 23h
cert-manager-cainjector-55db655cd8-bp6v8   0/1     Error     278 (5m15s ago)   23h
cert-manager-webhook-7d8c86cb4c-f4lkg      1/1     Running   0                 23h

Expected Result

kubectl get pods --namespace cert-manager
NAME                                       READY   STATUS    RESTARTS   AGE
cert-manager-5c6866597-zw7kh               1/1     Running   0          2m
cert-manager-cainjector-577f6d9fd7-tr77l   1/1     Running   0          2m
cert-manager-webhook-787858fcdb-nlzsq      1/1     Running   0          2m
Screenshots

Additional context

The latest version of cert-manager is v1.6.1
Discussion on the issue thread mentions success using v1.4.0
The latest version on the v1.4 series on artifacthub.io is v1.4.4
Is rancher compatible with one of the later releases?
Can the version dependency be bumped up?

I ended up installing cert-manager 1.6.1 which seems to be working ok.
Perhaps someone else can confirm and then we can update the document at
https://rancher.com/docs/rancher/v2.0-v2.4/en/installation/install-rancher-on-k8s/


genpass: 0.4.1 -> 0.4.9

caught up with the newest released version
genpass main repo moved to sourcehut

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 102301 run on x86_64-darwin 1

1 package built:

genpass

thank you !


Add support for external.global.media.yahoo.com

Example: https://external.global.media.yahoo.com/video/yahoo-trust-unconference-tls-adam-223046696.html?format=embed&player_autoplay=false

Note that https://screen.yahoo.com/yahoo-trust-unconference-tls-adam-223046696.html (and other yahoo urls) are supported. I guess we could add support for the embedded url, but where did you get it?

I got the link directly in a tweet.
If there is a predictable way to convert the embedded URLs to something that is already supported it would be a great UX improvement.

I found the video again, and checked that it does not work with 2018.08.04
https://www.yahoo.com/news/video/yahoo-trust-unconference-tls-adam-223046696.html

@remitamine Has this been fixed? I just tried with the 2019.10.29 version and it still doesn't work.

external.global.media.yahoo.com domain is dead.
and for the second URL it works just fine.

$ youtube-dl --verbose https://www.yahoo.com/news/video/yahoo-trust-unconference-tls-adam-223046696.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.yahoo.com/news/video/yahoo-trust-unconference-tls-adam-223046696.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.29
[debug] Python version 2.7.17 (CPython) - Darwin-19.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.2.1, ffprobe 4.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[Yahoo] yahoo-trust-unconference-tls-adam: Downloading webpage
ERROR: Unable to extract content ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/yahoo.py", line 350, in _real_extract
    CONTENT_ID_REGEXES, webpage, 'content ID')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract content ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

with the latest release:
youtube-dl https://www.yahoo.com/news/video/yahoo-trust-unconference-tls-adam-223046696.html
[Yahoo] yahoo-trust-unconference-tls-adam: Downloading webpage
[Yahoo] yahoo-trust-unconference-tls-adam: Downloading webm video info
[Yahoo] yahoo-trust-unconference-tls-adam: Downloading mp4 video info
[Yahoo] 893f78e4-af4b-3fda-8475-d55277fb129b: Downloading m3u8 information
WARNING: Failed to download m3u8 information: HTTP Error 404: Not Found
[download] Destination: Yahoo Trust Unconference - TLS, Adam Langley-893f78e4-af4b-3fda-8475-d55277fb129b.mp4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  857M    0 1217k    0     0   295k      0  0:49:32  0:00:04  0:49:28  295k

and did make some improvements that willl take effect in the next version:
python __main__.py https://www.yahoo.com/news/video/yahoo-trust-unconference-tls-adam-223046696.html
[Yahoo] yahoo-trust-unconference-tls-adam-223046696: Downloading content JSON metadata
[Yahoo] 893f78e4-af4b-3fda-8475-d55277fb129b: Downloading video JSON metadata
[Yahoo] 893f78e4-af4b-3fda-8475-d55277fb129b: Downloading webm JSON metadata
[Yahoo] 893f78e4-af4b-3fda-8475-d55277fb129b: Downloading mp4 JSON metadata
[Yahoo] 893f78e4-af4b-3fda-8475-d55277fb129b: Downloading m3u8 information
[download] Destination: Yahoo Trust Unconference - TLS, Adam Langley-893f78e4-af4b-3fda-8475-d55277fb129b.mp4
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  857M    0 80716    0     0  14638      0 17:03:53  0:00:05 17:03:48 16489


想问问您用的是chrome 127吗？128 dev和canary component里怎么都弄不出来

RT
flags里开开关关试过了，dev版比canary多出一个screenai library，还要就是这个需要登录账号吗？我尝试了登录账号，退出账号，component里都还是没有该选项。

Hello there!
I'm so sorry. Somehow I wrongly assumed that you understand Chinese. My sincere apologies for that!
The reason for closing this might be a Chinese region-related issue, and perhaps you weren't able to respond.


rplidar A1M8 not working

Hello and good day,
I'm was not able to run slam with rplidar A1M8 lidar.
Commands used:
ros2 launch linorobot2_bringup bringup.launch.py
ros2 launch linorobot2_navigation slam.launch.py rviz:=true
https://youtu.be/ytA8z4BuAxw
I was able to run sllidar node and view in the rviz
https://github.com/Slamtec/sllidar_ros2
ros2 launch sllidar_ros2 view_sllidar_a1_launch.py
https://youtu.be/lBsEx0DEzbA
specs:
ros2 humble
ubuntu 22.04
intel i5-8265U
Please help, thank you.

I've followed the [Troubleshooting Guide] but it doesn't solve the issue.
2. [slam_toolbox]: Message Filter dropping message: frame 'laser'
Try to up transform_timeout by 0.1 in linorobot2_navigation/config/slam.yaml until the warning is gone.
3. target_frame - frame does not exist
Check your <robot_type>.properties.urdf.xacro and ensure that there's no syntax errors or repeated decimal points.

Solved! I redid linorobot2_hardware and the issue solved.


Nice work for you! Best wishes~

Just came from the web news and verify to what degree is it true. 😄
Now, I'm fond to be convinced of your hard work, and wish your steady progressions on the academical roads towards maybe the field of computation science, programming semantics or things alike.
PS: I myself is also a fan of computational models, programming languages, predicative logic and machine learning stuffs, honored to be your friend. 🍭

?


Move to building cairo with meson

cairo upstream recently got support for the meson build system which also supports Windows builds with MSVC.
Since this project seems to be one of the last users of the make based win32 build system, porting would allow upstream cairo to drop this old build system code.

CairoSharp is a C# wrapper for .NET Standard 1.6/2.0 of cairo with all native dependencies included, in case you are interested. The native project are originally taken from Cairo-VS.
I don't want to dealing with build system bullshit, so I created CairoSharp.
BTW, CairoSharp also provided demos using cairo in a console, Winform or WPF application.

@lazka Is it possible to build a standalone DLL file as this project provides? That would be a lot helpful or we would be embedding a lot of DLL files in pycairo wheel. I had setup Appveyor to try and build it. See https://ci.appveyor.com/project/naveen521kk/cairo-windows. But will it work for pycairo?

In a 64 bit Windows VM I was able to generate DLL and Lib:
Create the build directory
meson build --backend=vs
Build the DLL and lib
meson compile -C build
Files are output into
build\src
In theory I should have been able to use meson dist it runs the test suite though, which has a number of tests that don't pass or that time out.
Under Windows some of the tests throw up dialog boxes when they fail.
Some info on test issues
https://people.gnome.org/~federico/blog/helping-cairo.html
https://lists.cairographics.org/archives/cairo/2020-November/029080.html

Just a heads-up that upstream cairo is working towards dropping support for all non-Meson build systems.

Just a heads-up that upstream cairo is working towards dropping support for all non-Meson build systems.

This has officially happened with the 1.17.8 release, as I've sadly learned today. I was able to use the script in this repo for almost all of the other steps though. For some reason the pixman step bombed during the script but when I went into the folder and manually ran that command (by copy pasting, literally) it ran ok. It might have been a relative path issue before and after but I'm not sure. Once I can finally get that one compiled I'd be happy to drop a new version in the releases here if the bosses will allow it. For the record, I greatly appreciate this repo because it's a long journey to get to a fresh cairo binary on windows and this is really the only one that is mostly up to date and works all the way through. Let me know how I can help.


feat: add common parsers

[ ] float
[x] integer
[ ] newline
[ ] char and codepoint
[ ] letter (single) and letters (multiple)
[ ] whitespace and optional whitespace
[ ] rest
[ ] eof

Resolves #5

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 24 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
198

Relevant Lines:
198

💛  - Coveralls


TextEditorWidget does not use CMS config

TextEditorWidget widget used in Hero, Card and SlideItem does not use the CKeditor config from djangocms-ckeditor.

In fact, every TextEditorWidget widgets use the config name "HTMLField" on default, so it can easily be fixed if you duplicate the base config to the "HTMLField" one :
CKEDITOR_SETTINGS["toolbar_HTMLField"] = CKEDITOR_SETTINGS["toolbar_CMS"]

Finally it is not really a bug but a correct behavior, i'm not sure i should try to change it with complicated solution. I may instead, document it, i keep this issue opened to remember it.


KBs - Propose - tooltips + default values for object/data properties

The tooltip added as of https://github.com/odalic/odalic-ui/commit/5e58547ec793d7a357aa977b18dce8a84dc0d34a .

The defaults solved in https://github.com/odalic/sti/issues/461 .


Request increase Charts limit from 10000 data points to 50000 data points

[Enter feedback here]
Charts are limited to 10,000 data points.
Our customer has around 30,000 data points.
Too many points (29217) to display.
Is there a way to increase the default limit from 10k to 50k data points?

Kind regards,
Dan Lesovici
<EMAIL_ADDRESS>Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 613cdc07-17a5-74cf-6f36-737590ec127c
Version Independent ID: 3bf8ff7d-7ba4-5c57-94c0-02efa10eadd5
Content: Azure Workbooks data source limits - Azure Monitor
Content Source: articles/azure-monitor/visualize/workbooks-limits.md
Service: azure-monitor
Sub-service: visualizations
GitHub Login: @AbbyMSFT
Microsoft Alias: abbyweisberg

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

@danmk3 - Thank you for providing the document details. It looks like you have an issue with the product itself and this feedback is not related to the docs improvement. In this forum, we focus on improving the docs and feedback related to docs only.
Do you mind posting your question on Microsoft QnA as our engineers and community are actively working on answering questions related to the product on the forum OR raise a support ticket with Microsoft.
At this moment, Since there is no doc update required, 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.


BLD: meson, explicitly add xsimd as dependency. Fix #15698.

Reference issue
Closes gh-15698
What does this implement/fix?
Fix build error.
Additional information
First time I use meson, not sure this is the best approach!

how is gh-15698 related?
what is the problem thus PR means to address?
what is xsimd, why it is needed universally?

CI is unhappy:
Run-time dependency xsimd found: NO (tried pkgconfig and cmake)

scipy/meson.build:89:2: ERROR: Dependency "xsimd" not found, tried pkgconfig and cmake

xsimd is a development dependency of pythram.
I got the error using CONDA as documented here: https://scipy.github.io/devdocs/dev/contributor/meson.html
Surprised to see that CI is using pip instead of conda.
Is meson build using pip supposed to be supported as well?
I have not tried meson build using pip yet...

Surprised to see that CI is using pip instead of conda.
Is meson build using pip supposed to be supported as well?

It certainly is supported and it does work just fine. So the issue here seems to be conda-specific

Actually, cannot repro the original issue even with conda: https://github.com/scipy/scipy/issues/15698#issuecomment-1065873321

It was an easy fix to make it work on pip based environments as well.
I guess that CI failures now are not related.
Let me know if you think there is anything else that needs work.

Okay, CI being green modulo expected timeouts is a good sign, I've removed the needs-work label.
I don't really understand what's going on here, so I'm going to defer to Ralf or Matthew about this PR.

Turns out this problem was caused by incorrect setup of conda environment using FISH.


Support List.of et al as creating immutable collections #169

Added AbstractImmutableCollection and AbstractImmutableMap to JdkConfiguration for Java 9+ List.of(), Set.of() and Map.of()
Added tests for Java 9 List, Set and Map

One thing I was not sure about is the catch block I added to JdkConfiguration. I added a println statement but then deleted it. Normally an empty catch block is a code smell but in this case we do not want to propagate the exception, and normally in production code, a logger is used but I did not really see one being used here.

Hello @fma1 and thanks for the PR.
This doesn't quite match the needs of the issue. Here's an example test case that demonstrates the problem:
public class UsesJava9ImmutableCollectionsTest {
    @Test public void canUseListOfImmutably() {
        assertInstancesOf(UsesListOf.class, areImmutable());
    }

    public static final class UsesListOf {
        private final List<String> things;

        public UsesListOf(String... things) {
            this.things = List.of(things);
        }
    }
}

This class is fine, it is immutable, but fails with:
org.mutabilitydetector.unittesting.MutabilityAssertionError:
Expected: org.mutabilitydetector.benchmarks.mutabletofield.UsesJava9ImmutableCollectionsTest$UsesListOf to be IMMUTABLE
     but: org.mutabilitydetector.benchmarks.mutabletofield.UsesJava9ImmutableCollectionsTest$UsesListOf is actually NOT_IMMUTABLE
    Reasons:
        Field is not a wrapped collection type. You can use this expression: Collections.unmodifiableList(new ArrayList<String>(things)) [Field: things at org.mutabilitydetector.benchmarks.mutabletofield.UsesJava9ImmutableCollectionsTest$UsesListOf(UsesJava9ImmutableCollectionsTest$UsesListOf.java:1)]
    Allowed reasons:
        None.

So part of why the checked exception stands out a little bit, is that you need to catch it because you are trying to reference internal classes by name. What I think would be better suited here, is to have a definition that's used somewhere in the area of CollectionTypeWrappedInUnmodifiableIdiomChecker. That's the bit of code that allows this.myList = Collections.unmodifiableList(new ArrayList<>(sourceList)); and it does but having an allow-list of methods that are known to produce immutable collections. So in contrast, there is no hardcoding of java.util.Collections$UnmodifiableList, but instead there's hardcoding of the methods used.
They could still be configured in JdkConfiguration, although now that I look at it,  I'm reminded that CollectionTypeWrappedInUnmodifiableIdiomChecker has this config, so it's probably just as good a place.
There may need to be some changes in that class, I actually can't remember if it only supports "copy+wrap" together, or if it would also support them separately, allowing e.g. List.of and List.copyOf without an intermediate collection to copy into.
Let me know if you need further clarification.

Hi @Grundlefleck ,
So I added another map to CollectionTypeWrappedInUnmodifiableCheckerIdiom:
        public final ImmutableMap<String, String> FIELD_TYPE_TO_IMMUTABLE_METHOD = ImmutableMap.<String, String>builder()
                .put("java.util.Set", "of")
                .put("java.util.List", "of")
                .put("java.util.Map", "of")
                .build();

And I looked at the class and it seems there's a wrapInUnmodifiableMethod() that checks against the map and that's called by checkWrappedInUnmodifiable(). I do understand what you are saying about checking against the method itself. One of the things I am wondering at this point is if this is the correct place to add the Java 9 immutable factory methods. I am wondering that because it seems like this class is specifically for the wrapped unmodifiable idiom, which is different from the Java 9 factory methods.
I think I would probably have to look more deeper, because it seems that CollectionTypeWrappedInUnmodifiableIdiomChecker is used here:
                    UnmodifiableWrapResult unmodifiableWrapResult = new CollectionTypeWrappedInUnmodifiableIdiomChecker(
                            fieldInsnNode, typeAssignedToField, mutableTypeInfo.hardcodedCopyMethods(), fieldSignature)
                            .checkWrappedInUnmodifiable();

I looked through some other classes in the codebase, and it seems like there is checking of copying first, because obviously if you modify the mutable backing list, you modify the view itself.

@fma1
I think you're on the right track. There are two choices I see:

add another class similar to CollectionTypeWrappedInUnmodifiableIdiomChecker that checks and allows for List.of, etc.
modify CollectionTypeWrappedInUnmodifiableIdiomChecker to encompass both the wrapping-unmodifiable idiom, as well as assigning List.of etc, without a copy.

Both approaches seem totally valid to me. There's no requirement to keep these classes exactly as they are now. I have a mild preference for the latter, but I feel confident you'd be able to make a good choice, so I'll leave it to you. Feel free to seek advice prior if you want.
Really happy to see your continued attempts. I aim to be better at responding sooner.

Sorry I was using git filter-branch. I'm going to refork the repository.

Great work @fma1 !


Upload the javadocs somewhere else via travis-ci

This repo is huge, much too huge, because of uploading the javadoc snapshot changes on every build travis-ci performs.
When releasing Javaslang 2.0.0, delete this whole repo and create a new, clean one with the same name.
Then let travis-ci upload the javadocs somewhere else, e.g. via ftp to the strato server or s.th. similar. All binary artefacts (jar etc.) should be uploaded somewhere else, not into this repo.

See http://api123.io and https://github.com/tdebatty/java-string-similarity

What about publishing javadoc to gh-pages of the javaslang repo?

Currently I seem to do it not right. To remove unnecessary documents I delete the original javadoc directory and replace it by the new generated javadoc. Git thinks all has changed and checks in all as new. This happens on every PR. This repo actually grew to Gigabytes of size. This is not good.
I think this could be fixed by using rsync or something...
gh-pages is also a great idea! I will check that (after next Tuesday).

Maybe this can help if you want to stick with Maven.
https://github.com/github/maven-plugins

I'm impressed about your library knowledge :-) Thx!

Do it this way: http://www.javadoc.io

Tachakaboom :)

Cowabunga.

That should be the Javaslang Logo :)

Hehe, nice idea!


Get back 2d image from 3d model and texture map

Hi Patrik
I'm using the library for fitting but also would like generate 2D image using genrated Mesh and Isomap. I've tried using the render method in render.hpp for this task but I'm not getting a proper 2d image rather image similar to the isomap. Could you please tell what does render function exactly do? Also I've tried with different model view projection values but couldn't get proper 2d image. Any suggestions in this regard will be helpful.
Thanks
Vidit

Hi,
You can have a look at how 4dface uses the render::render() function: https://github.com/patrikhuber/4dface/blob/master/apps/4dface.cpp#L235
If you want a frontal face, you can just set the modelview matrix to a 4x4 identity matrix.
Hope that helps!

Thanks Patrik. It works now!!

Hi,
You can have a look at how 4dface uses the render::render() function: https://github.com/patrikhuber/4dface/blob/master/apps/4dface.cpp#L235
If you want a frontal face, you can just set the modelview matrix to a 4x4 identity matrix.
Hope that helps!

hi, when i use eos.render.render(mesh, model_view_matrix,projection_matrix, image_height, image_width) get a 2d picture,but it get error ,python=3.7  eos-py==1.1.2
AttributeError: module 'eos.render' has no attribute 'render'


shell.nix not used?

Caveat: I'm a noob to a lot of this.  I expected this action to load my shell.nix but that doesn't seem to be the case.  Can you clarify?  Thanks!

Currently, this action is built on nix shell (note: not nix-shell) and requires that you specify the packages you want to use from nixpkgs as an argument to the action.
If you're only relying on your shell.nix to add things to $PATH (i.e. no shellHook, no stdenv hooks, no other env vars) then you should be pass your package list directly to this action.
Alternatively, use-nix-shell-action will accept a shell.nix.


feat: Add utility function to delete unsupported entities

Safe to merge into main since we do not add any migration and just add / change utility functions. However we might want to wait until this migration is fully tested.

Safe to merge into main

Sure, but it makes more sense to put it into staging first


Update virtual-machines-common-sizes-storage.md

Updated Lsv2 spec table in IOPs/Throughput values and the Host Cache Column
@cynthn

@joelpelley : Thanks for your contribution! The author, @jonbeck7, has been notified to review your proposed change.

#sign-off

@cynthn: I'm sorry - only the author of this article, @jonbeck7, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.