Impossible to set global file type specifier

The library is adding a dot before the file type when declaring video/*, audio/* or image/* in the input accept attribute. This is causing a syntax error when attempting to set types={ ['video/*'] }, as it results in <input accept=".video/*" type="file">. Is there a way to prevent the library from automatically adding the dot in these cases?

Sorry, this is not available now but could be a feature in the future.
If you could attribute by adding it this could be great! we could have globalTypes optional array


Bug in TTigress::AddFragment ?

I'm currently in the process of changing all our queues to store const TFragment, so that issues with the transients and the missing thread-safety for the object shared_ptr points to can be avoided.
While doing this I stumbled across TTigress::AddFragment. In this function we loop over all existing tigress hits, and if the fragment provided to the function matches one of the hits, we copy the hit to the fragment!
I think this should be the other way around, we should copy the fragment to the hit. It is most likely from a misunderstanding how the CopyFragment and CopyWave functions work. Both of these are styled after the ROOT Copy function which if you use a.Copy(b) doesn't cause a to copy b, but b to copy a. I will change that in my code, but this might be an issue in the current code as well.

Actually, it's only the CopyWave function that works the way Copy does, i.e. reverse to my understanding. CopyFragment does indeed copy the fragment to the hit. So I only changed the way CopyWave is being used, which probably isn't a big deal to most people anyway unless they actually look at the waveforms.
I've also noticed that there is a CopyFragment function declared in TGRSIDetector (not TGRSIDetectorHit), which I've commented out as it isn't implemented anywhere.

I think the one in TGRSIDetector was meant for a more general fragment copying scheme which I kind of bailed on so that it was more transparent in each of the classes what was going on.

Closable?

I think so, it's only an issue for the waveforms in the current code and I think no-one is using those.


Extension shows experiments that don't exist

I am seeing two experiments that I am unable to remove and they also don't show up when I run dvc exp show

These are the previous 2 commits. We are looking at how to make this more obvious (with more info) #2458

Oh ok, so this is due to a recent update. Some UI cleanup would definitely be welcome, otherwise, it looks confusing.

We'll cover this in https://github.com/iterative/vscode-dvc/issues/2458. Thanks @alex000kim.


SNOW-688157: Sidebar links don't work in online documentation

Clicking the sidebar links return a 404 error like this:

Example link: https://docs.snowflake.com/en/developer-guide/snowpark/reference/python/_autosummary/snowflake.snowpark.functions.html

Thanks. Yeah I noticed the improved version too. I'm just still on v0.12 as I wasn't sure if v1.0 had any breaking change or not as per semantic versioning spec. I guess this is a good place to ask, were there any breaking changes to be aware of?

No breaking change between 0.12.0 and 1.0.0. BTW, we just fixed the old link, which now is redirected to the index page of docs. I will close this ticket for now, but feel free to reopen it if you have any other questions. Thanks!


Datepicker functionality lost when wrapped in Headless UI modal dialog

Overview of the problem
Oruga version: 0.5.3
Vuejs version: 3.2.30
OS/Browser: OSX - Firefox & Chrome
Description
The datepicker dropdown's "click-outside-to-close" functionality seems to break when the component is wrapped inside a Headless UI modal.
Steps to reproduce
Reproduction URL: https://stackblitz.com/edit/vue-43dtrh

Open the modal
Try to close the dropdown by clicking outside the datepicker but within the modal dialog.

Expected behavior
The expected behavior is that the dropdown would close when focus within the datepicker is lost.
Actual behavior
The dropdown does not close when being used within a Headless UI modal.

@birdlavv just tested and there is something strange with the body of Dialog (Headless).
For example https://github.com/tailwindlabs/headlessui/blob/639d8d2d607880472375627e5b170789eca530e7/packages/%40headlessui-vue/src/components/dialog/dialog.ts#L173, it might lock dropdown (oruga) listeners


chore(Deriv): golf

Assorted golf I did while working on a refactor. Submitting as a separate PR.

Move not_differentiableAt_abs_zero to Calculus.Deriv.Add, golf.
Rename HasFDerivWithinAt_of_nhdsWithin_eq_bot to HasFDerivWithinAt.of_nhdsWithin_eq_bot, golf.
Protect Filter.EventuallyEq.rfl.
Golf here and there.

bors r+
Thanks!


Updated tests to be compatible with Grocy 3.3.0

Description
I have updated the tests and cassettes to be compatible with Grocy 3.3.0. During these tests, I also defaulted the due_date for the Task Response to None.
Related issue (if applicable): fixes #229
Checklist

[x] The code change is tested and works locally.
[x] tests pass. Your PR won't be merged unless tests pass
[x] There is no commented out code in this PR

@andreheuer some tests fail in CI, could you take a look?

@SebRut ok, I think the issue is that the cassesttes for tox are recorded against a private demo instance of grocy. However, I have not commited the URL in test_const.py. Thats why I guess the tox tests fail.
If ok for you, I would change the URL in test_const.py and commit this URL (even though it is not reachable anymore).

@andreheuer This would mean changing this every time someone wants to record cassettes again? I'm not a big fan of this, but I guess it's ok.

@SebRut That´s true, however, you also have to change it if you do not have a local instance on your machine (localhost) ;-)

Thats easy enough with grocy-docker ;)

@SebRut I have updated the cassettes etc. for using localhost (checked with local docker instance ;)).


dep panics when ^C hit during dep ensure

What version of Go (go version) and dep (git describe --tags) are you using?
go 1.9
What dep command did you run?
dep ensure
What did you expect to see?
no panic
What did you see instead?
lucky(~/src/stash.atlassian.com/scm/kube/roz) % dep ensure
^CSignal received: waiting for 1 ops to complete...
panic: shouldn't be possible unable to deduce repository and source type for: "k8s.io/apimachinery/pkg/apis/meta/v1"
goroutine 1 [running]:
github.com/golang/dep/internal/gps.(*solver).selectRoot(0xc42022f200, 0xc420304c80, 0x23)
/home/dfc/src/github.com/golang/dep/internal/gps/solver.go:502 +0xabb
github.com/golang/dep/internal/gps.(*solver).Solve(0xc42022f200, 0x2e, 0xaaf2c0, 0xb06a18, 0xc42001a092)
/home/dfc/src/github.com/golang/dep/internal/gps/solver.go:348 +0x72
main.(*ensureCommand).Run(0xc420108f20, 0xc42005b200, 0xc42000c080, 0x0, 0x0, 0x0, 0x0)
/home/dfc/src/github.com/golang/dep/cmd/dep/ensure.go:148 +0x361
main.(*Config).Run(0xc420072e40, 0xc420072e40)
/home/dfc/src/github.com/golang/dep/cmd/dep/main.go:159 +0x874
main.main()
/home/dfc/src/github.com/golang/dep/cmd/dep/main.go:44 +0x1fc

if err != nil {
  // TODO(sdboyer) this could well happen; handle it with a more graceful error
  panic(fmt.Sprintf("shouldn't be possible %s", err))
}

https://github.com/golang/dep/blob/master/internal/gps/solver.go#L592

I could take a look at this this weekend

@davecheney thanks for the bug report!
@adamo57 awesome! so, some guidance on this. i think there are two, interrelated problems:

the error here probably should have been a context.Canceled, given that the action precipitating it was a Ctrl-C (which we manage via context), but it wasn't, i suspect because our error reporting isn't passing that back in a sane way. i think the best general solution there is to change the outermost SourceMgr methods to check with the sm.supervsr on egress and replace any error that might have emerged from the underlying calls with a context.Canceled.
we generally don't differentiate well between errors in the solver. in particular, we don't check to see if the error that's coming back is a context.Canceled. the canary panics in the solver - of which this is one, though i later realized it was a valid error case, thus the TODO - are important checkpoints, because solver invariants should render them unreachable during any normal progression of states (hence, "canary). however, context-based cancellations, by definition, disrupt the normal progression of states; pretty much any canary panic can be hit with the wrong Ctrl-C interleaving. pretty much all of those cases need to be revisited in order to be made more sophisticated in their handling of errors , at minimum so that if a context.Canceled comes through, we pass it back instead of panicking.

@sdboyer Hi, im looking at this now and i'm having some trouble understanding the flow of things here. Where does the SourceMgr come into this?

almost every call that goes to the bridge - sm.b - will end up in the SourceMgr.
On September 16, 2017 6:22:56 PM EDT, Adam Ouellette<EMAIL_ADDRESS>wrote:

@sdboyer Hi, im looking at this now and i'm having some trouble
understanding the flow of things here. Where does the SourceMgr come
into this?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/golang/dep/issues/1060#issuecomment-329998381

I had a similar issue with dep init
➜  dep git:(master) go version
go version go1.8.1 darwin/amd64

➜  dep git:(master) git describe --tags
v0.3.0-339-g418356b

➜  koding git:(master) dep init
^CSignal received: waiting for 1 ops to complete...
panic: canary - shouldn't be possible this SourceMgr has been released, its methods can no longer be called

goroutine 1 [running]:
github.com/golang/dep/internal/gps.(*solver).unselectLast(0xc420493600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/internal/gps/solver.go:1284 +0x71c
github.com/golang/dep/internal/gps.(*solver).backtrack(0xc420493600, 0xc42504eb60)
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/internal/gps/solver.go:1026 +0x166
github.com/golang/dep/internal/gps.(*solver).solve(0xc420493600, 0x0, 0x0, 0xc4202c9110)
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/internal/gps/solver.go:498 +0x787
github.com/golang/dep/internal/gps.(*solver).Solve(0xc420493600, 0x19, 0x16ea480, 0xc420283440, 0xc42000c077)
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/internal/gps/solver.go:443 +0xb1
main.(*initCommand).Run(0xc42014db9a, 0xc420015770, 0xc42000c340, 0x0, 0x0, 0x0, 0x0)
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/cmd/dep/init.go:186 +0x8a1
main.(*Config).Run(0xc420072fc0, 0xc420072fc0)
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/cmd/dep/main.go:159 +0x891
main.main()
	/Users/cihangir/Documents/koding/koding/go/src/github.com/golang/dep/cmd/dep/main.go:45 +0x253

@cihangir yep, that's definitely the same one. a bunch of slightly different stack traces are possible, but it's all the same underlying problem.

@adamo57 is that enough info? anything else i can do to help?

@sdboyer should be enough, ill look at it tonight

Thanks!
On Fri, Oct 27, 2017 at 4:08 PM, sam boyer<EMAIL_ADDRESS>wrote:

Closed #1060 https://github.com/golang/dep/issues/1060 via #1230
https://github.com/golang/dep/pull/1230.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/dep/issues/1060#event-1313265983, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAAcA6-XJuXe9pll_pLbQrMgF-4h3ho8ks5swWVigaJpZM4PCLrh
.


Data Connector Exchange Security Insights On-Premise Collector

Describe the bug
The data connector "Exchange Security Insights On-Premise Collector" is not collecting any data after installing the collection script, adding the permissions, and setting up a schedule.
To Reproduce
Steps to reproduce the behavior:

Go to the data connector page in Sentinel and follow all of the steps.
Install the collection script as instructed.
Ensure the account has the correct permissions and setup the schedule.

Schedule is setup

Script runs successfully

Account has correct permissions:

Exchange Configuration Function has errors:

Exchange Environment List has errors:

Expected behavior
I expect to see the logs arrive in Azure Sentinel when I search the table name ESIExchangeConfig_CL

Hi @NickNicolaou2129, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 12-02-2024. Thanks!

Hi @NickNicolaou2129, Could you please share mail address with us So if required, we connect with you via call and check on issue. Thanks!

Email sent to you

@NickNicolaou2129, Thanks!

Hi @NickNicolaou2129 ,Scheduled call with you on 14Feb24,please join the meeting for further trouble shooting.

Hi @NickNicolaou2129 ,As discussed on friday,need more details with logs,could you please share it,if needed we can have a call over  teams with Exchanges server team

Hi @v-muuppugund, I sent this to your email last Friday. I will send it again

Hi @NickNicolaou2129 ,The logs shared earlier are the table logs and yesterday in teams call shared the server logs and have trouble shooting session today with server team.

HI @NickNicolaou2129 ,as discussed on last call,scripts and shared the logs ,scripts are executing 5n now,please let me know if any issues.

Hi @NickNicolaou2129, Could you please check on the above comment and let us know if your issue get resolve. Thanks!

Resolved


refactor!: remove module specific config options

Removes the module specific config options from the agent config. They have been deprecated in 0.3.x. The reason for removing them now instead of later is that when a custom module is provided, the config option in the init config doesn't have any effect anymore, which can cause unexpected behvaiour.

Codecov Report

Merging #1393 (8b0c4cd) into main (d6e2ea2) will decrease coverage by 0.03%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main    #1393      +/-   ##
==========================================
- Coverage   81.84%   81.82%   -0.03%
==========================================
  Files         788      788
  Lines       19408    19375      -33
  Branches     3151     3139      -12
==========================================
- Hits        15884    15853      -31
+ Misses       3517     3515       -2
  Partials        7        7

Impacted Files
Coverage Δ

packages/core/src/agent/AgentConfig.ts
94.28% <ø> (-1.17%)
:arrow_down:

packages/core/src/modules/routing/RecipientApi.ts
71.42% <ø> (+0.55%)
:arrow_up:

packages/core/src/types.ts
100.00% <ø> (ø)

...src/modules/connections/ConnectionsModuleConfig.ts
77.77% <60.00%> (-22.23%)
:arrow_down:

packages/core/src/agent/Agent.ts
93.22% <100.00%> (ø)

packages/core/src/agent/AgentModules.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Code Freeze] Restructuring the code

Juan and I are currently undertaking a large code refactor to make the code more maintainable.
Currently the goal is to split a lot of the code into modules, which forces us to have separate concerns and make sure that more of the code does one thing, and does it well. We had a lot of cycling dependencies (allowed by one large package) and it made everything very tightly knitted, and testing very hard as you had to set up a massive dependency chain.
Rough plan for how we want to do it:

Move control go code to package hscontrol (#1444)
Split "core" code into packages (types, db, policy) (#1458)

This is mainly a reorg change, where the code change is only to be able to move code
types contains all our datatypes, and functions attached to them without dependencies
db contains all functions that manipulate and changes the database
policy contains all functions related to ACLs, a big change is that it does no longer depend on db

Split and potentially rewrite hscontrol into packages (this might change) (#1477)

mapper, all code related to generating MapResponses (the map clients need to find their peers)
api, the code that implements our gRPC interface
derp, derp related code
dns, related code

Rewrite policy package

Generate filter and ssh rules per node

Revisit the handler logic

For clarity, this issue is tagged [Code Freeze] as the maintainers will wait to merge any non-reorg changes until after the re-org? Makes sense to me but wanted to clarify

@kev-the-dev, I realise that I have not actually written that out. Thanks for asking.

This has been implemented, and we are preparing to get these changes out as alpha soon, closing.


Update: Example 1 - Simple Peak (for beginners)

As a beginner on python, I think updating this example may help others beginners.

Thanks for the mege request :) Sorry it took me a while to sort out


chore(perf): avoid loading artworks' associated artists unnecessarily

This is a 2nd attempt at avoiding API requests for artists on every artwork page query, like https://github.com/artsy/force/pull/14858 (which needed the follow-up fix in https://github.com/artsy/force/pull/14900). Now that https://github.com/artsy/gravity/pull/18377 is in place, artists' follow_count should always be available.
While I was in there, I removed queries for counts.artists, counts.forSaleArtwork, and a 2nd name which didn't seem to be used.
If this approach is acceptable, we should just wait until the Gravity change is released and its cache is cleared.

Those JSON changes are released and Gravity's cache cleared so I'll merge this. 👀


Starting up Parrot for the first time tries to download a non-existent file.

I'm running Parrot on Linux Mint 18.1, all the Docker configurations seem to be working correctly, but starting up Parrot for the first time doesn't seem to work.
http://termbin.com/v5xr
In the terminal paste I linked, it seems that it's looking for a file on the Alpine Linux CDN and cannot find it, aborting the process soon after. I don't know exactly what the issue could be here, but from what I've taken a look at, it seems like it is having trouble downloading a file.

This looks more like an issue with the Alpine Linux repo. Were you able to solve it in the end?
Here is a related issue: https://github.com/gliderlabs/docker-alpine/issues/155


Fix typo --lock -> --locked

Description of changes:

Describe Kani's current behavior and how your code changes that behavior. If there are no issues this PR is resolving, explain why this change is necessary.

Just a minor typo fix.
Resolved issues:

Resolves #ISSUE-NUMBER

N/A
Call-outs:

N/A
Testing:

How is this change tested?

N/A

Is this a refactor change?

N/A
Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Looks good, thanks!


configure script should run with set -e

to avoid un-noticed errors like we found out recently

Not sure what this was all about -- there is already set -e in dist/configure and it has been there since 2020. Let's reopen if any of us figures out what was intended to happen.


Depend on concurrent-ruby since we use it directly

Sprockets may bring it in, but relying on a transitive dependency
presumes that we're locked on a Sprockets version that happens to have
required concurrent-ruby by the time we use it.

(Note, Sprockets introduced the concurrent-ruby dep in 3.5.0 but we depend on ~> 3.3, so this is currently broken for those locked to 3.3.x or 3.4.x.)

:heart:


feat: display user stark domain in sidebar

This feature will allow users to see their main domain instead of their hex address.

Implementation proposal
To retrieve the stark name from the user address, we can call the function address_to_domain from the starknet ID naming contract. This function returns an array of felt that need to be decoded to be readable. You can find more information on our encoding and decoding algorithm here.
callContract({
    contractAddress: namingContract,
    entrypoint: 'address_to_domain',
    calldata: [address]
});

Source code
In starknet-snap:

Create a new method in Starknet MetaMask Snap API : starkNet_getStarkName
In starknet-snap/src create a getStarkName function

export async function getStarkName(params: ApiParams) {
  try {
    const { state, requestParams } = params;
    const requestParamsObj = requestParams as GetStarkNameRequestParam;

    // validate requestParamsObj.address argument
    // get network

    // Call a util function to get the stark domain
    const name = await getStarkNameUtil(network, requestParamsObj.address);
    logger.log(`getStarkName: name:\n${toJson(name)}`);

    return name;
  } catch (err) {
    logger.error(`Problem found: ${err}`);
    throw err;
  }
}

In starknetUtils.ts, create a util function getStarkName that will use the starknet.js function getStarkName which already implement calling the starknet ID naming contract and decoding stark domain.

export const getStarkName = async (
  network: Network,
  address: string,
): Promise<string> => {
  const provider = getProvider(network);
  return provider.getStarkName(address)
};

In wallet-ui

In useStarkNetSnap.ts, add a call to our function starkNet_getStarkName
Then we can use it in the SideBar component
update AccountAddress.view.tsx to have a new variable name

interface Props {
  address: string;
  full?: boolean;
  placement?: PopperPlacementType;
  // new variable
  name?: string
}

if name is defined then show name instead of address. It would require to create a shortenName function to shorten the name if it is too long to fit in the UI.

If a significant number of contributors agree with our approach I'll start working on Pull Request.
Please feel free to answer on this issue and tell me what you think !

Hello

Bitcode


Feature: Highlight Find and Identifier Under Caret (Occurrence)

Thank you for such a nice plugin. However, I miss a feature, find and occurrence highlighting, in the sublime.
Currently, unlike sublime, find (Ctrl+F) matches are not highlighted in the minimap.
So does identifier under caret (Settings > Editor > Colors & Fonts > General > Code > Identifier Under Caret.)

+1

I had a similar request. In RockScroll, it would highlight all instances of words (not merely lines) where you'd double clicked on a word to highlight it. I was able to see from a glance where variables appeared in the atlas.
I really love this plugin. Thank you so much for making it!

This should be similar to the new feature in Eclipse as seen in the beginning of this video: https://www.youtube.com/watch?v=13dka9ut-xs


Atom 1.17 update breaks repo

After an update to Atom 1.17 this morning (MacOS) there is no longer an "Upload" option on a file /folder when I right click (cmd click)
I've also noticed that Atom has taken it upon itself to create a "Project" pane, perhaps this has something to do with it?

Same problem with update 1.17 (Windows 7 32bit).
No upload button, cannot sync, probably have something to do with these panes

As a quick workaround you can highlight the file/folder and "Ctrl + shift + u" which will perform the upload.
Hope this isn't a permanent issue!

That doesn't work for me, hope they'll resolve the issue quickly

Replicated on macOS Sierra 10.12.4 this morning. I suspect that Atom have moved things around. As a work around old versions of Atom are available on Atom.io

Quick "permanent" fix before it comes in official plugin update. It's based on @McNuggetSauce solution for remote-sync, but work with this one as well.
Open remote-ftp.cson (.atom/packages/Remote-FTP/menus) and change line 3 from '.tree-view.full-menu': [ to '.tool-panel.tree-view': [
Restart Atom, done.  Hope it helps.

Uploading now also does not respect the directory structure of the local project -- everything gets dumped in the remote project root.

@garrottkai Works fine on my side, regardless whether it's a file, directory, or entire project. Maybe try disable and re-enable the package? Anyone else have similar problem?

please fix this? i cant upload now.

This is fixed in the latest commit, however is yet to be published.
To fix this, download the master branch, replace your package (.atom/packages/remote-ftp) with the master branch. Open the directory in terminal and run "npm install"

Thanks for the quick fix @dtsdev

The fix is not working anymore...

@dtsdev It's ok.

the fix Doesnt work...

 Might just go back to sublime text. There isn't even any alternative packages for FTP.

Great solution, work form me


[React] Nested views in Tabs are removed on tab change

I have an app with 3 tabs.
/tab1
/tab2
/tab3

Each of those tabs can go to nested views like so:
/tab1
/tab1/somedetails
/tab2
/tab2/someotherdetails
/tab3
/tab3/evenotherdetails

But from those detail pages you can link to some other person's profile.  I would like this url to be something like
/profile/:id

However, due to Ionic tab navigation, the only way I know how to do this would be:
/tab1
/tab1/somedetails
/tab1/somedetails/profile component={Profile}
/tab2
/tab2/someotherdetails
/tab2/someotherdetails/profile component={Profile}
/tab3
/tab3/evenotherdetails
/tab3/evenotherdetails/profile component={Profile}

This replication is not ideal.  If it were only a mobile app it wouldn't be a big deal.  But this is a PWA.  And I want people to be able to share links.  If I share the link /profile/:id I want that page to be able to be rendered standalone on the web as well as deep within these tabs stacks on mobile.
I cannot solve this with the docs and github issues I have read.

Is this a bug?
Am I missing something that is obvious to solve this?
Is it not implemented to solve this?

Hi @dborstelmann,
Would you be able to put together a sample repo that replicates the issue that I can look at?

Here you go:
https://github.com/dborstelmann/ionic-tab-example/blob/master/src/App.tsx

Run the app
Click "Go to profile" on tab1
Click Tab2 in the TabBar
Click Tab1 in the TabBar
Notice the profile is gone

I would expect it still to be loaded on top Tab1.  I understand this is because it's not at tab1/profile.  So how do you make a shared url keep a stack's navigation state?

I think you needed to look into Nested Routes . You've defined the Profile page route to be a top level page - a sibling to the tab pages. Figure out your specific URL structure and it should give you a hint on how to define your Routes. Of course you can use the same component to render the Route, but you may need to define a route specific to each tab.

That's what I want to avoid, having multiple routes for multiple tabs means things like the profile are not accessible from one url, but rather could be accessed in numerous locations

I think then maybe it's not clear exactly what specific pages you're trying to setup. Or there's a fundamental flaw in how you're organizing the hierarchy of your app/website.
Think of a route as a type of ID. In fact it is. A URI is a uniform resource identifier. It's a unique ID to a specific page or state of your app. So it makes sense to have multiple routes for the varying states of your app. You can reuse the components, but likely you will want to have multiple routes. You need a unique route for every combination of page state you have for your tabs and profile pages.

See this is where I am wondering if there is a better solution.  I understand the nested routes make sense for certain things (like showing a hierarchy within a page).  However in the case of Ionic Tabs, the stacks within them are really separate pages, not nested routes within a page.  But the way Ionic Tabs work in React is to hijack nested routes as the rails for getting pages to render inside of each other with transitions.
I guess my question is, can we use a different method for storing stack data so that pages within Ionic Tabs can be any URL and just load with the correct transitions (but don't unhighlight the tab or lost state on tab change).  This may be harder said than done.
But the goal would be to not have to have a separate URL scheme for your mobile Ionic app than you do for your web Ionic app.  For example:
Web: Feed -> Profile
Mobile: Feed Tab -> Profile (feed tab still highlighted because that's how you got to Profile)
Profile should be linkable at .com/profile/:id
If you click that link outside the browser on web it should load the profile page directly with no history.
On mobile it should load the profile page in some tab (maybe feed, Instagram loads a linked profile directly to the activity tab which doesn't really make sense to me but it works for them) and that tab should be highlighted.
The problem is that the way Ionic Tabs are setup now is you would have to say "if web, load /profile/:id directly, if mobile load /feed/profile/:id". If you don't specify /feed then it will load outside of a tab which is weird.
Maybe I am naive and there is no better solution tabs but this is what I was hoping the authors might be able to shed some light on.  Otherwise I will have to setup two different url mappings for mobile and web, as well as set up multiple profile routes per tab in mobile.
@elylucas

Hi @dborstelmann,
Sorry about the delay getting back to you on this.
In order for the tabs to know which tab to highlight when going directly to a tab, it needs to match up the url with the url in the tab. So in your example, going straight to /profile won't highlight Tab1, but if you changed the route to go to /tab1/profile then it would.
I realize thats not the URL setup you want though.
To get around it, you could setup a redirect that when someone goes directly to /profile it can forward to /tab1/profile.
<Redirect path="/profile" to="/tab1/profile" exact={true} />
Not sure if that will be ideal for you or not.
Let me know if I'm missing something. But as I don't think this is a bug in the framework, I'm going to close the issue, but we can keep the discussion open.
Thank

Thanks for the reply @elylucas.  That's a good start.  It's not perfect because it changes the URL so when copying and pasting a url it's different but if you use that URL scheme mostly on mobile and then have a separate router for web it should cover most usage (although this is extra work).
It would be nice if there were a more elegant solve to this long term but I understand that's it's not vital.
Thanks for the advice.


Clear packages folder/cache + runtime on Linux/Mac CI

The DNX build needs to clear the caches because you could get newer packages when you switch from dev to release

@muratg can you please assign this to the CI buddies?

@victorhurdugaci These type of tasks won't be assigned to CI rotation.

@pranavkm Thoughts on this one?

Dup: #271

We actually do this on the CI now.


You need to use a Theme.AppCompat theme

Can't use this in none Theme.AppCompat.
So, any idea for me?

What theme's attributes do you want to use?

@android:style/Theme.Black.NoTitleBar


[Samples] [FormRecognizer] Create sample to illustrate how to extract TextContent

Create a sample to show users how to extract TextContent information. For instance, in a table cell:
foreach (FormContent content in cell.TextContent)
{
   if (content is FormWord) // do something.
   else if (content is FormLine) // do something else.
}

@kinelski , do users need to differentiate between these two cases?  Couldn't they treat it as the base FormContent type in most expected use cases?
Since the service down't currently support returning FormLine for form content, I'll add this to our backlog for now.


feat: add loading event config

Description
Adds a new key to app.config.yaml || ext.config.yaml to load event config
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

LGTM. But we need to add unit tests specific to reading events from manifest file


Incorrect version specification for pyarrow

Describe the bug
The pyarrow dependency is incorrectly specified in setup.py file, in this line.
Also as a snippet:
 "pyarrow>=1.0.0<4.0.0",

Steps to reproduce the bug
 pip install "pyarrow>=1.0.0<4.0.0"

Expected results
It is expected to get a pyarrow version between 1.0.0 (inclusive) and 4.0.0 (exclusive).
Actual results
pip ignores the specified versions since there is a missing comma between the lower and upper limits. Therefore, pip installs the latest pyarrow version from PYPI, which is 4.0.0.
This is especially problematic since "conda env export" fails due to incorrect version specification. Here is the conda error as well:
conda env export
InvalidVersionSpec: Invalid version '1.0.0<4.0.0': invalid character(s)

Fix suggestion
Put a comma between the version limits which means replacing the line in setup.py file with the following:
 "pyarrow>=1.0.0,<4.0.0",

Versions
Paste the output of the following code:
- Datasets: 1.6.2
- Python: 3.7.10 (default, Feb 26 2021, 18:47:35)
[GCC 7.3.0]
- Platform: Linux-5.4.0-42-generic-x86_64-with-debian-buster-sid

Fixed by #2317.


update to godot 4.3, linux build

Hi, thanks for pirate solitaire and especially for releasing your game files!
I imported into gotod 4.3 and added a Linux build target. Not sure if you're interested but I figured I'd send you a PR.
There are a couple of other small things that are changed, too, because I was messing around trying to solve a bug where the Trail slots weren't showing. I'm not sure how or why, but something I did fixed it :shrug:
Hopefully this is helpful!

also, my Linux build can be downloaded at https://antisol.org/PirateSolitaire1.3_linux.zip


Kadane's Algorithm

Added Kadanes Algorithm for maximum subarray sum in c++

Well done but please move it to a respective folder we can't merge it to the direct main branch.

should i make a pull request to main branch or revert-15-main branch? im new to git ^^'


cmd.exe start /d not working with /min

Environment
Windows build number: 10.0.17763.475

Other software: Elasticsearch 6.7.0 using Java 1.8.0_172, but the behavior was
confirmed with a test batch file and executable.

Steps to reproduce
When testing the functionality of the start command within the cmd.exe shell, I found that having the /min parameter would affect the /d parameter: the path provided to the /d parameter did not seem to be acknowledged, and the command passed to the start command would not be found.
Test example:

Command shell with prompt at C:\temp
A test batch file at C:\temp\testdir\test.bat, with the content

@echo hello
pause

Running the following command would succeed:
C:\temp>start /d c:\temp\testdir test.bat
The following command would not succeed:
C:\temp>start /min /d c:\temp\testdir test.bat
If the path is set to C:\temp\testdir the following command would succeed:
C:\temp\testdir>start /min test.bat

The use of the /d and /min parameter together was previously working, and was required functionality for a commercial product.
I'm wondering if this problem is related to #271 .
Expected behavior
The /d parameter to be parsed when the /min parameter is also included to the start command.
Actual behavior
If the /min parameter is used with the /d parameter, the path used with the /d parameter does not seem to be used, and the program contained in the path referenced by the /d parameter is not found.

This is a duplicate of #271.


(GH-55) Disable the Debug Server on Puppet 6

The Debug Server is currently broken when using Puppet 6.  While the work to
enable the Debug Server is being undertaken, this commit adds a check which
terminates the Debug Server gracefully if it is detected on Puppet 6.  This
commit also updates the end-to-end tests to skip testing on Puppet 6.

Previously the Debug Server did not tests on the newly released Puppet 6.  This
commit adds Puppet 6 to the testing matrix of the Debug Server.
This commit also cleans up the Travis and Appveyor comments to be mataching and
more concise.

Previously each testing combination was tested in isolation.  However this meant
bundler was being called multiple times for no reasone.  Also while the
Appveyor test runtimes are quite low, because there are so many cells there's a
large delay in the Appveyor suite.  This commit refactors the Travis and
Appveyor files to test as much as possible for each Ruby/Puppet combination.
There is no loss of test coverage, just the ordering is different.

Bouncing the PR to force CI


Improve experience for random-access queries (near/id/sender/search/etc.)

For queries like near:250000 or id:333333, we might want different behavior based on some recent feedback.
First, if you do a "random access" query that does something like jump you to an id or filter on keywords (aka "search"), then we possibly want to take the user out of message-reading mode and never mark messages read.   The rationale here is just because somebody sends me a link to one particular message or I search on "cats", I don't want to read all the nearby messages right away (and have to deal with them accordingly before I forget about them or move on to more urgent things).
A related issue is that for near/id queries, we probably want to no longer exclude muted messages from queries, particularly in the case that the message itself is muted.  Again, the rationale here is that this is kind of an out-of-band experience and not part of the "normal" browsing experience (where we do want to exclude mutes in many cases).
These two issues could probably be handled separately, but I'm keeping one issue for now in case they're somewhat dependent.  For example, we might not want to dial up seeing muted messages without first dialing down mark-as-read.

chat discussion here:
https://chat.zulip.org/#narrow/stream/2-general/subject/un-narrow.20view/near/607978

@timabbott approved this plan on chat:
https://chat.zulip.org/#narrow/stream/2-general/subject/un-narrow.20view/near/609447
(His reply comes after some messages that were slightly unrelated to this issue.)

A related issue is that we don't go the server for "near" queries.  This causes us to go the wrong place in the feed (and then it gets fixed upon reload).

see #9908

See #12098 for a recent duplicate of this.

This will be fixed in #12849.


add support for mpv custom stream api

Mpv have a robust, easy to use native api for registering custom protocol for reading custom stream using:
int mpv_stream_cb_add_ro(
    mpv_handle *ctx,
    const char *protocol,
    void *user_data,
    mpv_stream_cb_open_ro_fn open_fn
);

function, I tested it on macos with swift & it was very easy to use & very performant.
It would be a great addition to be supported in this comprehensive library.

@alexmercerind can you please give your thoughts about this

We don't have time & resources.


IE conditionals support

I am trying to target IE browsers with some simple IE conditionals, but it seem to fail in marko template.
My template has these simple conditionals, but its not getting targeted properly. I don’t see the classes being added. (works however in plain html)
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="${locale}"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="${locale}"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="${locale}"> <![endif]-->
<!--[if !IE]> --><html lang="${locale}"><!--<![endif]—>
anything to do with the HTML comment’s?

This is a known issue with a clean workaround. Marko ignores HTML comments and this breaks IE conditionals since the comments are never written to the output. I've suggested the following workaround in the past:
Create a custom tag named <app-html> that maps to the following renderer:
module.exports = function render(input, out) {
    var lang = input.lang;

    out.write(
        '<!DOCTYPE html>' +
        '<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="' + lang + '"> <![endif]-->' +
        '<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="' + lang + '"> <![endif]-->' +
        '<!--[if IE 8]> <html class="lt-ie9" lang="' + lang + '"> <![endif]-->' +
        '<!--[if !IE]> --><html lang="' + lang + '"><!--<![endif]—>');

    input.invokeBody();

    out.write('</html>');
};

Then in your page layout or page template:
<app-html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Hello World</title>
        ...
    </head>
    <body>
        ...
    </body>
</app-html>

Output:
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en-us"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en-us"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="en-us"> <![endif]-->
<!--[if !IE]> --><html lang="en-us"><!--<![endif]—>
    <head>
        <meta charset="UTF-8">
        <title>Hello World</title>
        ...
    </head>
    <body>
        ...
    </body>
</html>

The benefit of this approach is that the HTML template is cleaner. In theory, we could look into a code change to introduce special handling for IE HTML comments. I'm open to ideas and/or Pull Requests, but hopefully the workaround solves your problem for now.

New version published with improvement<EMAIL_ADDRESS>

Hey @patrick-steele-idem, not a big deal, but you may want to update your code sample above to use renderBody(out) instead of invokeBody()

Thanks for letting me know @yomed. IE conditional HTML comments are automatically preserved now so the workaround discussed is not needed.

I had noticed that even though they are preserved, variables weren't output correctly. I didn't dig into it too much, but I saw this issue and liked your app-html better anyway so I went with that.
So for example:
<!--[if IE 9]>
<html class="ie9" lang="$data.language"> <![endif]-->
<!--[if gt IE 9]><!-->
<html lang="$data.language">
<!--<![endif]-->

Would end up as:
<!--[if IE 9]>
<html class="ie9" lang="$data.language"> <![endif]-->
<!--[if gt IE 9]><!-->
<html lang="en">
<!--<![endif]-->

That's true, variables inside comments are not resolved. Does keep the template code cleaner as well. Thanks for sharing.


BUG: specialObjects → modify_stiffnesses_sections

Description
The section stiffness modification is failing with an IndexError: string index out of range for the internal function call clientObject.modify_stiffnesses_section_table[0][idx].row.A = i['A']
To Reproduce

Section modification enables through modify['modify_stiffnesses_sections'] = True
A section modification was defined as {'no': 1, 'A': 0.5, 'A_y':1.0, 'A_z': 1.0, 'J': 1.0, 'I_y': 1.0, 'I_z': 1.0} and passed to the parameter modify_stiffnesses_sections_list
Does not work.

NOTE: I updated structureModification.py lines 133 - 138 from modify_stiffnesses_sections_table to modify_stiffnesses_section_table as it seems this argument has changed.
Expected behavior
Section stiffness modification in the load combination under "structure modification".
Screenshots

Desktop:

Version of RFEM6.04.0002

In structureModification.py the following changes need to be implemented:

modify_stiffnesses_sections_table needs to be renamed to  modify_stiffnesses_section_table (approx. line 133 to 138)
.row.I_Y needs to be changed to .row.I_y (line 137)


test: enable the 'loopvar' experiment to prepare for 1.22

This PR should shake out any tests that need changes prior to the release of
go1.22, which introduces a change to the way loop variables are scoped.
see https://go.dev/wiki/LoopvarExperiment for details.

with several pre-submit tests, no unexpected errors appeared with the loopvar experiment enabled.
This gives us significant confidence that loopvar will not cause significant breakage for us. 🎉


Changed helper func to use Drone Event EnvVar

https://github.com/rancher/backup-restore-operator/pull/322


Use async / await with try catch on demo docs.

[Enter feedback here]
The document looks quite old and it requires more cognitive effort to read for developers used to async/await in NodeJS.
To solve the issue, implementing the sample on async/await with try catch will reduce callback hell and cognitive workload required to understand sample better.

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

ID: 3d76dde8-c24c-db44-3487-a058759273de
Version Independent ID: d6fcf3de-633b-660b-c55c-9a00dc979e22
Content: Cognitive Services Speech SDK for JavaScript
Content Source: docs-ref-services/speech-service.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @mahilleb-msft
Microsoft Alias: mahilleb

Thanks for reporting @allanchua101 and our apologies for the late response
I have created an issue for this in the repo for the microsoft-cognitiveservices-speech-sdk package. Please subscribe to https://github.com/microsoft/cognitive-services-speech-sdk-js/issues/316 for updates.
You are also welcome to send a PR to fix this up as well. The file to update would be https://github.com/MicrosoftDocs/azure-docs-sdk-node/blob/master/docs-ref-services/latest/speech-service.md


[Clarification] captcha.py

just a question:
why is it that you need the captcha.py file and the logic behind it opening the URL in a separate chrome browser window.
I omitted this step cause it seemed utterly unnecessary and I am perfectly fine downloading episodes without it.
background information that may be important:
I do run a pihole server. Maybe that is the reason why I do not run into situations where I need the captcha logic? But I do not know.
Maybe I will run into this situation in the future!? But if so I would love to understand it, so that the logic could be adapted in a way that a separate chrome browser window is only created when needed.

The reason is that vidoza forwards you to a redirect URL in which a Google Captcha window can appear. there the user manually needs to interact. it does make it a little bit slower but i don't feel comfortable with adding a auto captcha feature.

I hope this is resolved with VOE now working and prioritising it over Vidoza


occlusion score

The paper shows an occlusion score output for each object. However, I can't find it in the output of either the image or the video predictors. Am I missing something?

I believe what they call the 'occlusion score' in the paper is called 'object score' in the code. It's calculated inside the mask decoder. In the video predictor, it gets calculated inside the forward_sam_heads function, but isn't stored as part of the video outputs (it's used to modify other outputs though).
The value seems to be around +6 to +8 when an object is 'well' tracked in a video, and then goes negative when tracking loses the object (so it's more a measure of if the object is present, rather than occluded).

Same question for me. Can the authors provide more details about the occlusion score and how they calculate the occlusion loss with cross-entropy?


resource/cloudflare_certificate_pack: handle deletion via UI

The deletion policy for certificate packs is a little different and for a short period of time following deletion, the URL does not return a 404 like most other resources. Instead, it will return a HTTP 200 with the status field set to deleted. This isn't standard handling so we'll explicitly account for both of these scenarios.
Closes #2461

acceptance tests all passing
TF_ACC=1 go test ./internal/sdkv2provider -v -run "^TestAccCertificatePack_" -count 1 -timeout 120m -parallel 1
=== RUN   TestAccCertificatePack_AdvancedDigicert
--- PASS: TestAccCertificatePack_AdvancedDigicert (15.78s)
=== RUN   TestAccCertificatePack_AdvancedLetsEncrypt
--- PASS: TestAccCertificatePack_AdvancedLetsEncrypt (14.66s)
=== RUN   TestAccCertificatePack_WaitForActive
--- PASS: TestAccCertificatePack_WaitForActive (20.65s)
PASS
ok  	github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider	52.096s


Refactor Security Component [2.1]

Expanded from a comment by @dynasource on #13837
I propose refactoring parts of the security component into a SecurityHelper.
Lots of functionality from the Security component does not use state and is purely functional. It could just as well be implemented in a helper.
Functions that do not ever use state.

[ ] compareString
[ ] hkdf
[ ] pbkdf2
[ ] validatePassword

Functions that use state only if random_bytes() is not available (PHP < 7.0). Listed here since I do not know the minimum requirements Yii 2.1 will have.

[ ] generatePasswordHash
[ ] generateRandomKey
[ ] generateRandomString
[ ] generateSalt

Functions that could moved from Request or StringHelper to SecurityHelper:

[ ] maskToken
[ ] unmaskToken

I'm not entirely sure what the criteria are for implementing something as a component vs a helper.
This issue is mainly meant for discussion.

Long ago Security component already was a helper, but was converted into a component by #4089.
I see no reason to switch it back returning to the old problems.
See https://github.com/yiisoft/yii2/pull/4052#issuecomment-47199529

Generally I don't think it's a good idea. The pro of helpers mainly is about short syntax which is great to use in views. Not the case about security one.

Having maskToken() and unmaskToken() in a helper makes sense but I'd avoid having both component and helper with the same name. Would cause huge confusion.

refactoring logic without state from components makes sense to me. Helps reducing complexity.

Functions that use state only if random_bytes() is not available (PHP < 7.0). Listed here since I do not know the minimum requirements Yii 2.1 will have.

it will be php 7.1 minimum. imo that will help the security module quite a lot.


TypeError: can't pickle _thread.RLock objects

I run the Cart_Pole.py with A3C&A2C on windows and got the error.
Traceback (most recent call last):
File "D:/学习/Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master/results/Cart_Pole.py", line 142, in
trainer.run_games_for_agents()
File "D:\学习\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\agents\Trainer.py", line 79, in run_games_for_agents
self.run_games_for_agent(agent_number + 1, agent_class)
File "D:\学习\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\agents\Trainer.py", line 121, in run_games_for_agent
game_scores, rolling_scores, time_taken = agent.run_n_episodes()
File "D:\学习\Deep-Reinforcement-Learning-Algorithms-with-PyTorch-master\agents\actor_critic_agents\A3C.py", line 35, in run_n_episodes
optimizer_worker.start()
File "D:\Programs\Python\Python36\lib\multiprocessing\process.py", line 105, in start
self._popen = self._Popen(self)
File "D:\Programs\Python\Python36\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "D:\Programs\Python\Python36\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "D:\Programs\Python\Python36\lib\multiprocessing\popen_spawn_win32.py", line 65, in init
reduction.dump(process_obj, to_child)
File "D:\Programs\Python\Python36\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: can't pickle _thread.RLock objects

Hello，I have this question too. Have you solve it now?


table 5065 "Interaction Log Entry" - change scope of procedure "OpenAttachment"

We use this procedure in several procedures in our product knkPublishing.
To be able to use the procedure with target "Cloud" the scope should be removed.
change in procedure:
table 5065 "Interaction Log Entry"
{
    Caption = 'Interaction Log Entry';
    [...]
    //removed //[Scope('OnPrem')]
    procedure OpenAttachment()
    var
        Attachment: Record Attachment;
        SegLine: Record "Segment Line";
        WebRequestHelper: Codeunit "Web Request Helper";
        IStream: InStream;
        EmailMessageUrl: Text;
        IsHandled: Boolean;
    begin
        if "Attachment No." = 0 then
            exit;

        Attachment.Get("Attachment No.");

        IsHandled := false;
        OnBeforeOpenAttachment(Rec, IsHandled, Attachment);
        if IsHandled then
            exit;

        if Attachment."Storage Type" <> Attachment."Storage Type"::"Exchange Storage" then begin
            SegLine."Contact No." := "Contact No.";
            SegLine."Salesperson Code" := "Salesperson Code";
            SegLine."Contact Alt. Address Code" := "Contact Alt. Address Code";
            SegLine.Date := Date;
            SegLine."Campaign No." := "Campaign No.";
            SegLine."Segment No." := "Segment No.";
            SegLine."Line No." := "Entry No.";
            SegLine.Description := Description;
            SegLine.Subject := Subject;
            SegLine."Language Code" := "Interaction Language Code";
            OnOpenAttachmentOnBeforeShowAttachment(Rec, SegLine, Attachment);
            Attachment.ShowAttachment(SegLine, Format("Entry No.") + ' ' + Description);
        end else begin
            Attachment.CalcFields("Email Message Url");
            if Attachment."Email Message Url".HasValue() then begin
                Attachment."Email Message Url".CreateInStream(IStream);
                IStream.Read(EmailMessageUrl);
                if WebRequestHelper.IsHttpUrl(EmailMessageUrl) then begin
                    if Confirm(OpenMessageQst, true) then
                        HyperLink(EmailMessageUrl);
                    exit;
                end;
            end;
            Attachment.DisplayInOutlook();
        end;

        OnAfterOpenAttachment(Rec, Attachment, SegLine);
    end;
    [...]
}

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52559.


Home view has been updated following the current design of the web

Proposed changes
Home view has been updated following the current design of the web
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
There is much more to do, this is just the view. The logic and the refactor will be applied soon.

Great job! At a first glance the new page on storybook looks really nice. Ill take a look now at the code.

Great job! At a first glance the new page on storybook looks really nice. Ill take a look now at the code.


Win: add Crystal::System::DirHandle

Moved platform specific things from Dir to Crystal::System::DirHandle
You can find winapi.cr and winerror in this PR #4832

Alright, so in the other PR it is decided to keep Errno as is for now, so this does not need to be discussed (though it's painful to look at).
How are we feeling about efficiency of these abstractions? A class wrapping a class that ultimately just stores a pointer doesn't seem right.

I suppose, DirHandle cannot be a struct because it has a state. How about to make
class Dir < Crystal::System::DirHandle?

No no no, a subclass cannot work, that'll leak to documentation and other such details.
You're saying it cannot be a struct (perhaps only ideologically, because technically mutable structs are fine) but I think for these internal objects we have to make an exception and think about them as an inherent part of the public objects. Make it a struct to keep efficiency at a sane level.
Though I just argued in IRC that we could easily do without Crystal::System namespace and keep the separation by files just as it is right now by reopening the types, then we wouldn't even need to discuss this.

Why can't the methods that change between operating systems be implemented directly in Dir without the need of introducing another type?

@asterite I totally agree with you, but having the Crystal::System namespace was an important decision of the core team that @txe is correctly following. May be worth discussing separately?

It was suggested to move platform specific code in System, https://github.com/crystal-lang/crystal/issues/4406.
@RX14 proposed how to do it for Dir here

Yes, Crystal::System looks silly here, but there are plenty of places where it doesn't look silly where it's already in use. I think we should do it this way for consistency.

This now superseeded by #5447


Updated dox per WP-CLI #1762

https://github.com/wp-cli/wp-cli/issues/1762

I said install, not update.


Workaround for inaccessible submenu.

Current coverage is 95.96%

Merging #78 into master will increase coverage by +0.42% as of 4e12adc

@@            master     #78   diff @@
======================================
  Files           23      22     -1
  Stmts        16374   16313    -61
  Branches         0       0
  Methods          0       0
======================================
+ Hit          15644   15655    +11
  Partial          0       0
+ Missed         730     658    -72

Review entire Coverage Diff as of 4e12adc

Powered by Codecov. Updated on successful CI builds.


Fixed Prototype Pollution vulnerability in casperjs

📊 Metadata *
Prototype Pollution bug
Bounty URL:  https://www.huntr.dev/bounties/1-npm-casperjs
⚙ Description *
casperjs is a navigation scripting & testing utility for PhantomJS and SlimerJS.
This package is vulnerable to Prototype Pollution. The mergeObjects utility function is vulnerable to Prototype Pollution.
Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. JavaScript allows all Object attributes to be altered, including their magical attributes such as _proto_, constructor and prototype. An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values. Properties on the Object.prototype are then inherited by all the JavaScript objects through the prototype chain. When that happens, this leads to either denial of service by triggering JavaScript exceptions, or it tampers with the application source code to force the code path that the attacker injects, thereby leading to remote code execution.
💻 Technical Description *
The bug is fixed by validating the input Object to check for prototypes. It is implemented by a simple validation to check for prototype keywords (__proto__, constructor and prototype), where if it exists, the function returns the object without modifying it, thus fixing the Prototype Pollution Vulnerability.
🐛 Proof of Concept (PoC) *
Clone the project, install the required dependencies and on running the below snippet of code, it triggers prototype pollution and logs pwned.
var casper = require("casper").create();
var utils = require('utils');

var payload = JSON.parse('{"__proto__": {"a": "pwned"}}')
var cu = require('clientutils').create(utils.mergeObjects({}, payload));
console.log({}.a) // prints "pwned"

🔥 Proof of Fix (PoF) *
After the fix is applied, it returns the object without modifying it when prototype pollution exists. Hence logging undefined instead of pwned.

👍 User Acceptance Testing (UAT)
The object is returned anyway and no breaking changes are introduced. :)

Congratulations Asjidkalam - your fix has been selected! 🎉
Thanks for being part of the community & helping secure the world's open source code.
If you have any questions, please respond in the comments section. Your bounty is on its way - keep hunting!


when locale != 437 (english-US) the change of font can't persist

Your Windows build number:  (Type ver at a Windows Command Prompt)
creator update
Version 10.0.15063
What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)
if my locale set to 950 (Traditional Chinese),the change of the font (ex. consolas) on BashOnWindows or cmd  would be reset to MingLiU. However, if the locale is set to 437, the font can be changed to consolas and it will not change when i reopen bash.
The problem is when I use 437 as my codepage, many application which is build in Chinese or Chinese words in the terminal will crash because they cannot display the traditional Chinese words properly, and how can i resolve it?

p.s I just try the new freature of 256-color and that is just fantastic!

@Po-wei - Hmm... codepage 950 or 437 is Windows locale. I guess... even though you set Windows to 437 codepage, linux is in zh_TW locale. Check your linux locale with "echo $LANG" command in linux. If you want to see english message, "export LC_ALL=C" command. Or, change your conlsole font in attribute - font of console window if you want to see chinese message.

@miniksa for visibility. Probably related to #757

Well, Maybe I didn't tell my problem very clear.
When we set system locale to 437 just as #757 @slgray's and everything works fine with some Chinese character cannot display.
If we can set set system locale to our local language and everything works as locale == 437, and those problem just totally fixed!
The picture show ( locale == 950 && font == consolas) and you can see everything works fine with properly display Chinese character. However, the font settings cannot persist.

If locale is set to 437 and the  font settings can persist but Chinese character cannot display if I set consolas as my default settings and the results are shown a day before.

@Po-wei - You mean...

Case
Windows
Linux
Font
Result

1
950 (Chinese)
zh_TW (Chinese)
細明體
Good

2
437 (English)
zh_TW (Chinese)
consolas
Broken

You had changed font from consolas to 細明體 (MingLiU) in case 2 to see Chinese,
but font was still consolas, not 細明體. Is this right? If so, it's a problem.
With consolas, if it cannot display 繁體中文 (Traditional Chinese), that's another problem.

@sunjoong
The table below may be clear.
Because 細明體 are not monotype font, I would like to change my font to monotype font such as consolas. However, there are some problem list below...

Case
system locale
font
display Chinese
setting persist

1(default)
950(Chinese)
細明體
yes
yes

2
950(Chinese)
consolas
yes
no

3
437 (English)
細明體
yes
yes

4
437 (English)
consolas
no
yes

5
437 (English)
other font
no
yes

I hope whether i can use Case 2 with persist settings or Case 4 or 5 with Chinese display on terminal!
Hope that table could clarify my idea :)

@Po-wei - Hmm... I had not understood the word presis.
So... you want to use consolas font in CP950. You set font to consolas but in vain; it turned back to 細明體 always. Hmm... UnCheck option - attribute - legacy console.
I tested and got simular problem. I changed font setting but it turned back. I saw legacy console check box was checked, and unchecked it; problem was solved. I tried to reproduce that problem again but failed; could not recheck legacy console. I can set and change font now with unchecked legacy console.

@sunjoong  Do you access bash directly from bash.exe or access from cmd, from previous discussion, they say they have different settings.
Bash is always lauched in 650001 which is UTF-8 and suprisely changing cp in cmd would lead to different result in bash.
bash property

cmd property

And I think the box have been unchecked before...
And the choice are different

@Po-wei - I use bash short cut in start menu, so not from cmd. I'm not sure the box had been unchecked initially. I meant... I had tested several times. When I began to test, I saw the problem too. And then, I tried to test with legacy/new console. I realized the problem was solved, but can't remember when; sorry. I could not reproduce the problem again and could not turn back to legacy console, so guessed the cause might be the legacy console. Hmm... I hope it would be solved in yours.

@sunjoong  Could you show me your solution more clearly?  Do you test in cp 950?
Which option you modify between  legacy/new console?
If there are some pictures to compare, that would be great! THX

@Po-wei - These were my doings in my memory;

Open bash in start menu
Change font
Exit from bash
Open bash in start menu and check font is changed
Check legacy console box
Exit from bash
Do 1 ~ 4
Uncheck legacy console box
Exit from bash
Do 1 ~ 4

While doing, I did those with cmd (not bash from cmd, just cmd), but... there was no other options I used.
I cannot use legacy console of bash now but can set font after that.

@sunjoong  I try this very times but in vain. too bad!
Thanks for some idea~

@Po-wei - Hmm... Then... try other console programs like ConEmu or
wsl-terminal until finding the working solution. Good luck.

@sunjoong  I did not notice that you gave me another solution! XD

@Po-wei , mind keep the issue open? I believe there is indeed a bug, despite a workaround being available.
There is a workaround  referenced in issue #757 replies , which works for running bash.exe directly.
It still doesn't work if I start from the lnk

You need a combined that supports the charset CP950 like 細明體 (It must declare support for CP950 in font meta information).
Just like me, my code page is 936 and I have been struggling with the issue for a long time. But I solved it today. I know that to solve the issue simply, I just need a font that supports the charset CP936 like SimSun. I tried some of combined fonts in Chinese and Western characters, but all didn't work. They have CP936 characters but they may not declare support for CP936 in font meta. So I cannot find them in CMD and PowerShell property. Only find in Bash property but not permanently.
But just now, I found "Microsoft YaHei Mono". I didn't need any extra action, just install it, and then select this font in the Bash property. Then the font will never change again.
The font = Microsoft YaHei + Consolas
You could find a font that combined Consolas and 細明體 and declared support for CP950 in its font meta.

I made a new font MicrosoftYaHeiMono-CP950.ttf that support both CP950 and CP936 which can really solve the problem for Chinese (Traditional) and Chinese (Simplified) users.

@doggy8088 THIS IS AWESOME!
Problem FINALLY SOLVED !

I made a new font MicrosoftYaHeiMono-CP950.ttf that support both CP950 and CP936 which can really solve the problem for Chinese (Traditional) and Chinese (Simplified) users.

It solves my problem finally after all the struggles. Thank you very much.

I think I just figured out how it could be addressed without installing new font.

Go to Control Panel - Clock, Language & Region - Locales - Region - Administrative - Language for non-Unicode programs - Change system locale, there you click on the Beta checkbox, after a reboot my WSL terminal finally got my font settings right!
I tried tmux, vim, vim in tmux, etc., all functioned well.
My OS version is Windows 10 profesional, version 1809, 17763.529.

中文：前往 控制面板 - 时钟和区域 - 区域 - 管理 - 非Unicode程序的语言 - 更改系统区域设置，勾选“Beta版：使用Unicode UTF-8提供全球语言支持”，重启后WSL字体就不会再混乱了。测试过tmux，vim，tmux中使用vim，都没有出现字体回滚的问题。

#2463


Cookies and zoom on the html page

dear @Tom-Hirschberger
trying to use your module to show an webpage on my magic mirror, I have two basic questions you could maybe answer

cookies : after installing the module and the extension in Chromium on my raspberry, the cookie banner is still appearing after starting the magic mirror every day.
Do you maybe see a solution ?
I am not even sure that Chromium is really used by the Magic Mirror to show your module.

zoom on a specific area of the webpage.

let's say, I would like to show this results table with you module, and not the entire webpage (https://www.teletext.ch/RTSUn/302)

currently, only the upper-right corner is showned.

Is that possible to force the module to show only a specific part, e.g. the "green" one. Could maybe that be done through the CSS file, specifiing to show xx dots or cm from the right and from the top of the page.?
do you maybe have an idea?

Thank you for your interest !
Kind regards,
Cedric

Hi,
looks like you use the build in Electron browser to view the MagicMirror webpage.
So the extension in chromium does effect the embedded page.
There is no easy to hide the banner.
Some pages provide URL parameters to do not display the banner. Maybe you can find one if you inspect the source code of the page.
I added a example to the docs directory of how to embed a webpage displaying a webcam and size and style the page to move only the webcam into the visible area:
(https://github.com/Tom-Hirschberger/MMM-EmbedURL/tree/main/doc%2Fconfigs)
You need to define the size of embedding container, specify a size with the attributes of the Iframe and move the content of the embedded container.

Thank you very very much @Tom-Hirschberger , it works!
you did an amazing job.
Wishing you all the best !


Create SWR-based useLayout hook

Description
Fixes additional changes introduced from #324:

Avoids using the local storage hook directly (which is a private implementation detail)
Fixes an absolute import path

Introduces a "global consistent state" (powered by SWR) useLayout hook to manage all things related to Layout (e.g. whether or not to toggle the onboarding dialog)
Checklist

[x] The documentation reflects the changes.
[ ] I have manually tested the application to make sure the changes don’t cause any downstream issues, which includes making sure ./orchest status --ext is not reporting failures when Orchest is running.
[ ] In case I changed code in the orchest-sdk, I updated its version according to SemVer in its _version.py and updated the version compability table in its README.md

[ ] In case I changed one of the services’ models.py I have performed the appropriate database migrations.

Note: Python tests failing are unrelated to this PR (cc @yannickperrenet)

Removing the dependency on a private implementation detail is a big win. Good job on refactoring 👌🏻


Impl SuperTitleParams

Codecov Report

Merging #37 (3e3d5f2) into main (b5c03cd) will decrease coverage by 0.02%.
Report is 2 commits behind head on main.
The diff coverage is 99.09%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   99.79%   99.78%   -0.02%
==========================================
  Files          16       17       +1
  Lines        4442     4549     +107
==========================================
+ Hits         4433     4539     +106
- Misses          9       10       +1

Files
Coverage Δ

src/plot.rs
99.11% <100.00%> (+0.02%)
:arrow_up:

src/super_title_params.rs
98.85% <98.85%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Use Bookstack with Galera Cluster

Hi everyone,
we are trying to install and configure our Bookstack instance to work with Galera but it seems that we are not able to.
Yesterday, we did the following :

created the empty DB on the Galera Cluster,
created the user and the Grants on the Galera Cluster,
dumped and restored the DB from the local MySQL to the Galera Cluster,
changed the .env file with the new information
tested the access
uninstalled Mysql-server from the Bookstack instance
retested the access

Just after the migration, Bookstack was working fine, and hours later, it finally broke with errors related to permission on the laravel.log file. We have reapplied the permission as they are specified in the install script : chown www-data:www-data -R bootstrap/cache public/uploads storage && chmod -R 755 bootstrap/cache public/uploads storage.
We now have another error which is :

Is there any "official" procedure for doing what we are trying to do or is this maybe not supported ? I have seen in the thread of tickets that someone has successfully made such system work, and had to change  the config/database.php file but we have not been able to do so ourselves (https://github.com/BookStackApp/BookStack/issues/722).
Thank you again, good day.
Julien

Hi @onlinejul.
Galera is not something we officially support. Looking at the responses in #722 BookStack should at least be able to connect and run fine by default.
The error indicates to me that either the app/Config/database.php files have been edited in an unsupported manner or that you maybe don't have the php-mysql module installed on your system. Can you check that non of the app/Config/*.php files have been changed and that your system has the php-mysql extension active and installed.

Hi Dan,
thank you again for your help, we have done the following and it seems that it is working fine now :

reinstalled the Bookstack fronts without mysql-server
plugged the fronts to the dbs behind galera

We suspect that when removed mysql-server, we also removed the php-mysql package.
Thanks again.
Julien


Non-deterministic result using  a pre-trained word embedding  in TensorFlow

I use pre-trained word embedding to initialize embedding in tensorflow, but got a non-deterministic result. However, if I fix the seed and use random initialization, the result is almost the same.What's the problem here? Thanks.
The code is here:
with tf.variable_scope("embedding"):
    if init_embedding is None:
        self.embedding = tf.get_variable(name='embedding', shape=[vocab_size, word_dim],
                                              dtype=np.float32)
    else:
        self.embedding = tf.get_variable(name="embedding", shape=init_embedding.shape,
                                         initializer=tf.constant_initializer(init_embedding), `trainable=True)`

init_embedding is the pre-trained word embedding

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


Missing displayIds causing problems

When opening a file that is missing displayId, you start to get errors about missing displayIds when you bring the design into your namespace.  This is likely due to createCopy requiring displayIds.  Hmm, not sure if there is any easy workaround...

If the problem is indeed an issue with the namespace requirements, then a "hacky" workaround is to set your personal namespace to match that of the part in the document.  This way, you should be able to add displayIds and avoid the wrong namespace errors.

It is actually a “bug” in libSBOLj.  You are getting this error in createCopy.  When displayIds are missing, it attempts to extract one from the identity, but it only does this for top-level objects.  It should also try to do this for child objects.  Assuming something could be extracted, then this would solve the problem.

On Feb 2, 2017, at 10:55 PM, Michael Zhang<EMAIL_ADDRESS>wrote:
If the problem is indeed an issue with the namespace requirements, then a "hacky" workaround is to set your personal namespace to match that of the part in the document. This way, you should be able to add displayIds and avoid the wrong namespace errors.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLDesigner/issues/143#issuecomment-277111363, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD9-ytA0wK8u6lqOkCovX1PQcaeyw2ks5rYl77gaJpZM4L1vaX.

Oh, I see.  This "bug" is quite a good find then.  I've sent @mgaldzic a link to this issue.  We can continue the conversation here.

libSBOLj now extracts displayIds during copy for child objects, if necessary.  This eliminates the exception for missing displayIds, and the URIs appear to be created correctly.  However, the sequences have disappeared after bringing into my namespace.  Suspect this is a larger bug when bringing into local namespace.

A file outside your namespace with no displayId, then you need to try to edit it.  Bring into your namespace, and then the sequence disappeared.

This was a bug in libSBOLj right?

At least partially, but I was losing sequences after the libSBOLj changes, I believe.  I have not seen this recently though, but I think it occurred when we tried to open files without displayIds that we got from Michal Galdzicki.

On Apr 5, 2017, at 10:10 PM, Michael Zhang<EMAIL_ADDRESS>wrote:
This was a bug in libSBOLj right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLDesigner/issues/143#issuecomment-291998135, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD9zJWNW6jamLx2ZMLnMJZ6PxnXfHGks5rtANDgaJpZM4L1vaX.

I just tested this with an SBOLDocument where I removed a displayId, and I was able to give it a displayId and have the Sequence persist, so the libSBOLj fix might have fixed it here too.  I am closing the issue for now.


add raw prefix to invalid regex

Without the r prefix, it's an invalid escape sequence. It just blowed up in our CI, and I don't know why it did not blow earlier.
  File "/builds/.venv/lib/python3.10/site-packages/dynamic_preferences/preferences.py", line 25
    if not re.match("^\w+$", name):
                    ^^^^^^^
SyntaxError: invalid escape sequence '\w'

Hmmm I thought recent python versions made it a SyntaxError (that's what is planned, at least), but it seems actually it's not the case yet, so I guess I messed up with our configuration. Anyway, thanks :)


The canvas.quadFeature test sometimes fails on travis.

This was caused by the canvas renderer being called twice in the time interval for checking if it had been called.  By switching some of the tests on call counts from === to >=, this will still pass.  I've checked several of the tests, not just the one that failed most often.
This fixes issue #588.

[Current coverage][cc-pull] is 74.07%

Merging [#589][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #589   diff @@
==========================================
  Files            83         83
  Lines          7320       7320
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           5422       5422
  Misses         1898       1898
  Partials          0          0

Powered by Codecov. Last updated by [6131078...b24e1d5][cc-compare]
[cc-base-branch]: https://codecov.io/gh/OpenGeoscience/geojs/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/OpenGeoscience/geojs/compare/613107888d7808ff569b526de4922378ff2c4778...b24e1d51053d49057b331545a85295b219d7ba7e
[cc-pull]: https://codecov.io/gh/OpenGeoscience/geojs/pull/589?src=pr

LGTM


Add edu.nivala.fi

Email addresses are in form of<EMAIL_ADDRESS>

@psikala Pull request merged. Thank you!
FTR: domain ownership proof is at https://peda.net/nivala/perusopetus/nst2/tvt/stjo


bazelci: add coverage

Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>

Hi, there is some failures on Bazel CI after merging this.
https://buildkite.com/bazel/envoy/builds/1151
Is there already a fix coming in?

@meteorcloudy this doesn't fail in my local, what does the clang/llvm version installed in the CI image?

So from the log;
The C compiler identification is Clang 9.0.0

@meteorcloudy that's from RBE, which is managed by our build-tools repo. But seems the local (i.e. where llvm-profdata runs, with --TestRunner=sandboxed,local) having different version of clang.


Tensorflow doesn't show the Cuda import messages

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

I'm on Windows 10 Enterprise 64-bit
With a i5 4200m and GT740M,  I have pip installed Tensorflow GPU version, when I go into python type "Import Tensorflow" in the previous versions it used to give me messages on which library it successfully imported but on the latest one it gives me nothing, absolutely nothing

What information do you need from those message?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

In the Previous Versions it used to display
"successfully opened CUDA library cublas64_80.dll locally
successfully opened CUDA library cudnn64_5.dll locally
successfully opened CUDA library cufft64_80.dll locally
successfully opened CUDA library nvcuda.dll locally
successfully opened CUDA library curand64_80.dll locally"

@akashmishra23, Sorry for late response.
This issue was resolved. Please refer logging details in below
>>> import tensorflow as tf
2022-03-14 15:57:13.750527: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
>>> print (tf.__version__)
2.8.0


盤や駒台、棋譜の透過させる機能

説明 / Description
#610
チェックリスト / Checklist

MUST

[x] npm test passed
[x] npm run lint was applied without warnings
[x] changes of /docs/webapp not included (except release branch)
[x] console.log not included (except script file)

RECOMMENDED (it depends on what you change)

[ ] unit test added/updated
[ ] i18n

Codecov Report
Patch coverage: 72.64% and project coverage change: +0.05% :tada:

Comparison is base (8c19880) 69.97% compared to head (048b901) 70.03%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #612      +/-   ##
==========================================
+ Coverage   69.97%   70.03%   +0.05%
==========================================
  Files          85       85
  Lines       17398    17455      +57
  Branches     2487     2487
==========================================
+ Hits        12175    12224      +49
- Misses       2770     2778       +8
  Partials     2453     2453

Files Changed
Coverage Δ

src/renderer/store/setting.ts
52.52% <33.33%> (-1.02%)
:arrow_down:

src/renderer/view/primitive/BoardLayout.ts
87.29% <63.15%> (+0.28%)
:arrow_up:

src/common/settings/app.ts
78.31% <100.00%> (+0.61%)
:arrow_up:

src/renderer/view/primitive/BoardView.vue
77.34% <100.00%> (+0.66%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Dependencies loaded from the wrong path

I checked out the ui-fabric-react folder and wanted to test the extension locally. Therefore I installed the npm-package "http-server" und ran the gulp --local command.
The upload and packaging both worked fine. BUT when the hub is loaded from the web interface it cannot find some important dependencies for ui-fabric because it looks for them in the root directory. However, it is working when using the gulp command and bundle everything together.
Also I could not provide a quickfix and copy the needed files in the root directory, as I could not find the files in the node_modules folder. Is there anything else I have to consider? Thanks.

Hi @petritzdesigns
This issue should be fixed with below PR:
https://github.com/Microsoft/vsts-extension-samples/pull/71


feat: support leading numeric/_/-

How about a test like we have here

It doesnt need to be a full valid syntax, just make sure it can parse text with these characters into TokenKind::Text


add anchor tags for species in collections pages

It would be nice to be able to reference for example https://www.legumeinfo.org/collections/vigna#unguiculata
could also be extended to https://www.legumeinfo.org/collections/vigna#unguiculata_expression etc.

I don't see how to do this. Everything is already linked over to the Datastore, so what text do I apply the anchor to? Please provide an example.

I may not be understanding what you're asking me for, but I was just thinking about an anchor to facilitate linking into the appropriate part of the page (not linking out to somewhere else) ie in my examples above you'd just have an element

preceding the text you already have hyperlinked to the datastore. So that if I send a cowpea fanperson to https://www.legumeinfo.org/collections/vigna#unguiculata it then saves them the effort of scrolling through things preceding alphabetically. You could make it fancier if you want, like the magic anchors that get little icons on hover like this: https://github.com/legumeinfo/gcv#running-gcv
I guess that sort of thing gives people something to grab onto if they want to tell their friends, but it's probably overkill for what I had in mind.

This doesn't seem to have general applicability. Unless we put a list of inline "Jump to" links at the top, for example. In order to bookmark or copy a URL one needs to see something. Typically one has a "Jump to" list at the top of the page.

Jump to the heading below

Section further down

I can certainly add the id but it's not visible to the general user, it's the link at the top you'd copy or copy the URL in your location bar after you've clicked said link.
So I interpret your request as asking for a list of "Jump to" links at the top that users could bookmark or share to get to a particular species, etc. on the page.

(Note: you may be familiar with the  form but that's been deprecated in favor of using id on any element.)

I originally ripped off the UIkit theme we're using from UIkit's own documentation website. As luck would have it, this theme includes a custom tm-heading-fragment class for adding an anchor icon to an
 tag that has an id and contains a link to that id, which means it's already present and usable in the our Jekyll site. For example:

    Vigna unguiculata

Notice, we're using the uk-h3 class to make this header the size of an
 tag even though it's an
 (I don't know why they just didn't define the tm-heading-fragment class for all headers instead of just
 but I'm sure there's a good reason for it). This renders as follows:

Clicking on the header now adds the header's id to the URL, as in @adf-ncgr's example: https://www.legumeinfo.org/collections/vigna#unguiculata. Clicking this header previously took the user to the data store so a separate link will need to be added for that, which I think is a reasonable concession here.

great, that's pretty much what I had in mind with my "magic anchors" example from the github space.
As for the "jump to" @sammyjava suggested, it might also be a good idea, but wasn't what I was originally thinking of.

That concession was my whole point. I don't have any non-linked text since the species name links the species directory on the DS. I'm gonna back off of this one, @adf-ncgr  can code it or assign it to someone else.

OK, will be a good opportunity for me to try to get some practice with the new site.


Heroku deployment - "photos unavailable"

anyone encountered the same issue?
What I'm trying to achieve
deploy storefront to heroku using the deployment button provided
Steps to reproduce the problem

click on button "deploy to heroku"

What I expected to happen
… saleor storefront with images
Screenshots

System information
Operating system: heroku ubuntu
Browser:firefox

Be default Heroku doesn't support storing media files unless you configure a backend for that. See our docs here: https://docs.getsaleor.com/docs/deployment/heroku/

Heroku’s storage is volatile. This means that all instances of your application have separate disks and lose all changes made to the local disk each time the application is restarted. The best approach is to use cloud storage such as Amazon S3. See Storing Files on Amazon S3 for configuration details.

We can recommend configuring for example S3 for that purpose: https://docs.getsaleor.com/docs/deployment/s3/

Hi Marcin,
Thank you for replying. However, i have set up S3 (aws access key, secret access and bucket).
you can see the screenshot below that i am able to upload the product image as well.

however, it does not appear in the thumbnail (resizing does not happen) and it also does not appear in the storefront unless i click on the item.
Hope you can give me more directions and insight into what i might have misconfigured.
Thank you in advance.
Ray


Cannot use unstable #![feature(catch_panic)] in beta

$ rustc --version
rustc 1.0.0-beta (9854143cb 2015-04-02) (built 2015-04-02)
$ cargo build
   Compiling git2 v0.2.8 (file:///home/anders/rust/git2-rs)
src/lib.rs:67:1: 67:25 error: unstable feature
src/lib.rs:67 #![feature(catch_panic)]
              ^~~~~~~~~~~~~~~~~~~~~~~~
note: this feature may not be used in the beta release channel
error: aborting due to previous error
Could not compile `git2`.

To learn more, run the command again with --verbose.
$ sed -i 67d src/lib.rs
$ cargo build
   Compiling git2 v0.2.8 (file:///home/anders/rust/git2-rs)
src/panic.rs:41:11: 41:30 error: use of unstable library feature 'catch_panic': recent API addition
src/panic.rs:41     match thread::catch_panic(f) {
                          ^~~~~~~~~~~~~~~~~~~
src/panic.rs:41:30: 41:30 help: add #![feature(catch_panic)] to the crate attributes to enable
error: aborting due to previous error
Could not compile `git2`.

To learn more, run the command again with --verbose.

Thanks for this! Unfortunately this API is crucial to the safety of this library, so it's necessary for now. We hope to stabilize this API in the next cycle, however!


Cirrus: Minor, fix env. var. intention

Using env. var. on the RHS of an only_if was broken in Cirrus-CI (the service).  It's fixed now, so this PR is now only a very small/minor fix.

note: I've identified a breakdown with Cirrus-CI conditional processing here.  Waiting on response from their support before I continue.

this one is ready (but no rush, it's minor)

LGTM
@mheon @edsantiago @TomSweeneyRedHat @baude PTAL

LGTM

LGTM

/lgtm

/approve


Latest update of intellij 2017.3 and the dart plugin throw errors consistently

Saw this in mac os and linux
Analyzer Feedback from IntelliJ
Version information

IDEA IC-173.3727.127
1.24.2
IC-173.3727.127, JRE 1.8.0_152-release-1024-b6x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.13.1 unknown, screens 1920x1200  Retina

Exception
Please append the contents of:
file:///private/var/folders/0_/f5tft21n2551p9xq9h8tcvfh007ms_/T/report529.txt
Dart analysis server, SDK version 1.24.2, server version 1.18.0, error: Analysis failed: removed file name
exception_20171201_094241_699
UnimplementedError
#0      CompilationUnitElementForLink.resolveTypeRef (package:analyzer/src/summary/link.dart:1096)
#1      CompilationUnitElementForLink.resolveTypeRef.getTypeArgument (package:analyzer/src/summary/link.dart:1103)
#2      new List.generate (dart:core/list.dart:142)
#3      ClassElementForLink_Class.buildType (package:analyzer/src/summary/link.dart:647)
#4      CompilationUnitElementForLink.resolveTypeRef (package:analyzer/src/summary/link.dart:1113)
#5      VariableElementForLink.declaredType (package:analyzer/src/summary/link.dart:5196)
#6      VariableElementForLink.type (package:analyzer/src/summary/link.dart:5287)
#7      PropertyAccessorElementForLink_Variable.returnType (package:analyzer/src/summary/link.dart:4548)
#8      PropertyAccessorElementForLink_Variable.asStaticType (package:analyzer/src/summary/link.dart:4501)
#9      ExprTypeComputer._doPushReference (package:analyzer/src/summary/link.dart:2485)
#10     ExprTypeComputer.compute (package:analyzer/src/summary/link.dart:2073)
#11     TypeInferenceNode.evaluate (package:analyzer/src/summary/link.dart:4957)
#12     TypeInferenceDependencyWalker.evaluate (package:analyzer/src/summary/link.dart:4808)

Hey Alexei!
This is a pretty old SDK, can you try with the latest?

I brew updated yesterday! Even uninstalled and reinstalled, what changed?

Unfortunately due to dart 2, the latest stable is really far behind.
I think this commit fixed it: https://codereview.chromium.org/2931123002 but if you can try to repro on a 2.0.0-dev release we can confirm.
Based on the description there, it looks like this is caused by using generic function syntax (T Function<T, Z>(T, Z)) which still has some issues today (ie https://github.com/dart-lang/sdk/issues/30761) so retesting may be a good idea. I think maybe a dependent library doesn't have the right SDK constraint, and therefore maybe pub gave you something that would crash?
I'm not sure how to update to the latest on a mac though...
...do you have the code to repro? I can easily try it against bleeding edge on my system.

I will try to clean it up, is mixed with a bunch of things that won't be public, but your explanation gives me a good idea where to look at, it might be a dependency I wrote myself. Thanks!
I guess that kind of code is not that common though.

I also ran into this. Upgrading to 2.0-dev got rid of the errors.
Looks like a lot of people are hitting this:
https://github.com/dart-lang/sdk/issues?utf8=✓&q=is%3Aissue+is%3Aopen+resolveTypeRef