text:
Shared mailbox calendar

Thanks for this great integration!
Has anyone gotten calendars to work that are part of a shared mailbox? I've granted proper permissions in Azure and managed to find the calendar ID of the shared mailbox calendar. The user of course has access to the shared mailbox. I've added it as another line in my o365_calendars yaml file but I can't get it to work. From the documentation, it looks like this should be possible but I'm struggling to figure it out. The user of course has access to the shared mailbox.

Pretty sure when I created a shared mailbox, and then gave a user permissions to Read and Manage, I just had access. But I notice that only one of my shared mailboxes appears in my list of calendars, so I'll have to investigate what is going on.
Buried in something else at the moment, but I'll get to it.

The way I got access to the shared calendar was to give permissions via MS 365 Admin Center (I granted Read and manage permissions plus Send as permissions to my main O365 account.
This allowed me to add the account to Shared with me dialogue in Outlook (Mac) and make the calendar (and everything else available).
Then in Outlook I accessed the permissions of the calendar and granted myself Edit permissions to the calendar. This then made it visible in this api call in Graph - https://graph.microsoft.com/v1.0/me/calendars
Please give this a go, because programmatically it makes it much easier and neater than you having to manually add a calendar in calendars.yaml, and then me coding to retrieve it from the graph call you provided. I know it is an extra user step, but a quick look at the api says there is no way to retrieve this list of calendars that have been shared to a user.

Hmm. OK. I had most of this done already because that's how I use the calendar now. The only part I hadn't done is apply the permissions directly on the calendar. I just did that. It's still not showing up but I will give it some time. Changes to a Microsoft Tenant aren't always instant.

You would need to reboot HA, (or run the scan for calendars service).

It's still not showing up in the graph, but once it does, I will then restart HA.

From: RogerSelwyn @.>
Sent: Sunday, October 1, 2023 10:02 AM
To: RogerSelwyn/O365-HomeAssistant @.>
Cc: Steve Tremblay @.>; Author @.>
Subject: Re: [RogerSelwyn/O365-HomeAssistant] Shared mailbox calendar (Issue #166)
You would need to reboot HA, (or run the scan for calendars service).
—
Reply to this email directly, view it on GitHubhttps://github.com/RogerSelwyn/O365-HomeAssistant/issues/166#issuecomment-1742091654, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIP6QY5V4HNZ3TMRHJZZCUDX5FZXHANCNFSM6AAAAAA5N77WYA.
You are receiving this because you authored the thread.Message ID: @.***>

When it appears in Graph you should be good. Came up in there straightaway for me I think. Got friends round, so would need to undo and redo it to check.

That worked! You learn something new every day. I've been an Exchange admin for over 20 years and I never knew that adding a shared calendar in Outlook adds a link to your personal account. This actually solves another issue I have at work as well so thank you for that!

From: RogerSelwyn @.>
Sent: Sunday, October 1, 2023 10:05 AM
To: RogerSelwyn/O365-HomeAssistant @.>
Cc: Steve Tremblay @.>; Author @.>
Subject: Re: [RogerSelwyn/O365-HomeAssistant] Shared mailbox calendar (Issue #166)
When it appears in Graph you should be good. Came up in there straightaway for me I think. Got friends round, so would need to undo and redo it to check.
—
Reply to this email directly, view it on GitHubhttps://github.com/RogerSelwyn/O365-HomeAssistant/issues/166#issuecomment-1742092466, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIP6QY6JRRB7URPKZSHPEA3X5F2BHANCNFSM6AAAAAA5N77WYA.
You are receiving this because you authored the thread.Message ID: @.***>


text:
Recent disconnects from Discord

Keep getting the following recently and not sure why, what's the best way to do a reconnect when this happens?
System.Exception: WebSocket connection was closed ---> System.Net.WebSockets.WebSocketException: The remote party closed the WebSocket connection without completing the close handshake.    at System.Net.WebSockets.WebSocketBase.WebSocketOperation.<Process>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Net.WebSockets.WebSocketBase.<ReceiveAsyncCore>d__45.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Discord.Net.WebSockets.DefaultWebSocketClient.<RunAsync>d__32.MoveNext()    --- End of inner exception stack trace ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Discord.ConnectionManager.<>c__DisplayClass28_0.<<StartAsync>b__0>d.MoveNext()

The library should reconnect for you; was your connection unstable when this occurred?

@Still34 no, stable connection, another question however is the Ready event re-raised or is there another event raised for reconnected?

the ready event does indeed fire ever connect either reconnect or star connect it will fire when the connection is ready

My connection is stable yet loops like this sometimes.
System.Exception: WebSocket connection was closed ---> System.Exception: Unexpected close
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Discord.ConnectionManager.<>c__DisplayClass28_0.<<StartAsync>b__0>d.MoveNext()
10/08/2017 23:44:29 [    Info]: Disconnecting
10/08/2017 23:44:29 [    Info]: Disconnected
10/08/2017 23:44:30 [    Info]: Connecting
10/08/2017 23:44:31 [    Info]: Resumed previous session
10/08/2017 23:44:31 [    Info]: Connected
11/08/2017 00:23:32 [ Warning]:
System.Exception: WebSocket connection was closed ---> System.Exception: Unexpected close
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Discord.ConnectionManager.<>c__DisplayClass28_0.<<StartAsync>b__0>d.MoveNext()
11/08/2017 00:23:32 [    Info]: Disconnecting
11/08/2017 00:23:32 [    Info]: Disconnected
11/08/2017 00:23:33 [    Info]: Connecting
11/08/2017 00:23:35 [    Info]: Resumed previous session
11/08/2017 00:23:35 [    Info]: Connected
11/08/2017 00:50:03 [ Warning]:
System.Exception: WebSocket connection was closed ---> System.Exception: Unexpected close
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Discord.ConnectionManager.<>c__DisplayClass28_0.<<StartAsync>b__0>d.MoveNext()
11/08/2017 00:50:03 [    Info]: Disconnecting
11/08/2017 00:50:03 [    Info]: Disconnected
11/08/2017 00:50:04 [    Info]: Connecting
11/08/2017 00:50:05 [    Info]: Resumed previous session
11/08/2017 00:50:05 [    Info]: Connected```

For the record Ready is not fired on a reconnect.

When the library reconnects, it attempts to Resume. If it can resume, there is no Ready event from Discord. Ready is tied to the Ready event from Discord.
If you have connectivity issues, Reconnects will happen. They happen for most people, anyways, thanks to CloudFlare. Nothing anyone can do about that.
I'd recommend this issue be closed

It does not always Reconnect either. It can stop at Reconnecting.

14/08/2017 07:28:14 [ Warning]:
System.Exception: Server missed last heartbeat
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Discord.ConnectionManager.<>c__DisplayClass28_0.<<StartAsync>b__0>d.MoveNext()
14/08/2017 07:28:35 [    Info]: Disconnecting
14/08/2017 07:28:40 [    Info]: Disconnected
14/08/2017 07:28:43 [    Info]: Connecting

Also is there an event fired for Resume ?

Resuming is an implementation detail; Ready is fired whenever the underlying websocket is in a "ready" state. (I.e. the connection is live and data can be transmitted and received.)

Then why is Ready not refired when the new websocket connects and data can be transmitted. Under your logic unless I'm missing the point Resuming the connection should be unrelated to the Ready event

This issue is caused by D.NET being too slow to process tcp messages, causing tcp buffer overflow on the systgem, which drops the connection. Happens on a raw client without any user code, without any signed up events. on just large bot account. I.e. this is definitely not a "fix your code" type of issue.
See #850

source: gharchive/issue

license: mit

license_type: permissive

license_source: bigquery


text:
Improve upon Property Summaries in CommandServiceConfig

Having the CaseSensitiveCommands property summary asking a question whenever Intellisense is invoked seems a bit nonessential instead of properly explaining what exactly it does. It would be better if instead, it stated it's use to be more comprehensible to the reader.
Changes

Edits the summaries of CaseSensitiveCommands and ThrowOnError to follow a more methodical convention for boolean property summaries
(Determines whether X ... rather than Should X be ... ?).
Changes the summary for DefaultRunMode to accurately reflect the default standard and be more consistent,

This is just a small change to improve upon the current documentation, so it shouldn't conflict with anything.

Gets or sets is the C# convention for docstrings though.

source: gharchive/pull-request


text:
Roll20/master

Initial Commit

What are you merging in? I see no files added.

To make a pull request you'll need to clone the repository. Make your changes to the clone. Commit those changes. Then issue a pull request. If you need help reach out to me at steve@roll20.net and I'll walk you through the process.

authors: Rhallinan SteveKoontz suntzu777

license: MIT

license_source: github-api


text:
The ADVANCED JSON update for legacy - something went wrong with last push, JSON was not included

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[X] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

I think I made a mistake with my push before a pull request was sent out, the JSON file was not included

Character Sheet Info Roll20 Internal Use only.


text:
Fbl

Submission Checklist
Required

[ ] The pull request title clearly contains the name of the sheet I am editing.
[ ] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[ ] The pull request makes changes to files in only one sub-folder.
[ ] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.


text:
Table Top Defined New Feature - Added Ego save functionality to sheet

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
Added Ego Save to the sheet

Character Sheet Info Roll20 Internal Use only.


text:
fix(swagger): Fix error when BodyParams is used with an expression

Closes: #227

Fixed :)

repo: Romakita/ts-express-decorators


text:
Advanced Types

I'm submitting a ...

[x] feature request

Advanced Types.

Resolved in https://github.com/RommelTJ/LearningTypeScript/pull/21

repo: RommelTJ/LearningTypeScript


text:
Fazer o MOCK da API que sorteia uma questão

Fazer em PHP o MOCK de uma API de sorteio de questões. Retornar em formato JSON.
Exemplo:
/sorteiaQuestao.php
{descricao: "Qual desses é um número primo?",
opcoes: [ "8", "7", "10", "15" ],
correta: 1}
Pode-se pensar em outro formato mais adequado.

Feito e apresentado

Feito e apresentado. Ok

repo: Ronneesley/showdoespigao


text:
Fixed contributors list missing link

Hi @Roshanjossey ,
Can you review this PR?
:+1: :+1: :+1:

@ubatin, looks good. Merging

authors: Roshanjossey ubatin

repo: Roshanjossey/first-contributions


text:
Mq improvements

A number of fixes to mq interface and implementation see commit history

I realized the locked_until acts a sort of retry delay, keeping the same message from being received again for a certain timeout even if the row lock is released.  I think that sort of functionality should be up to the adapter/broker whether it applies a delay before retrying a failed message from a stream.  Let me know what you think @Rotorsoft

I realized the locked_until acts a sort of retry delay, keeping the same message from being received again for a certain timeout even if the row lock is released. I think that sort of functionality should be up to the adapter/broker whether it applies a delay before retrying a failed message from a stream. Let me know what you think @Rotorsoft

The idea of a MQ is to serialize messages to the consumers, so you cannot skip locked messages. My goal is to replace most of the broker with MQs per consumer.

I realized the locked_until acts a sort of retry delay, keeping the same message from being received again for a certain timeout even if the row lock is released. I think that sort of functionality should be up to the adapter/broker whether it applies a delay before retrying a failed message from a stream. Let me know what you think @Rotorsoft

The idea of a MQ is to serialize messages to the consumers, so you cannot skip locked messages. My goal is to replace most of the broker with MQs per consumer.

I'm implementing a POC processor/broker right now that tries to sequentially consume multiple streams (up to configurable max slots) in parallel from one of these queues.  Currently I'm using the following query to discover consumable streams ...
WITH available_messages AS (
            SELECT id, stream
            FROM "${options.tableName}"
            WHERE locked_until IS NULL OR locked_until <= NOW()
            FOR SHARE SKIP LOCKED
          )
          SELECT DISTINCT stream
          FROM available_messages
          LIMIT $1

the implementation is currently naive and that query does return stream names that could already be processing but I'm handling this concurrency elsewhere in the code.  I'll let you know if I ever get it working fully.
Regarding guarding for consumer/stream concurrency at the PostgresMessageQueue level, I would love that but we might have to store (stream, consumer) locks in another table to make this work correctly.  That would allow for distributed processing (ultimate dream) but for now I'm just experimenting with single-process in-memory concurrency control for consuming multiple streams in parallel.

yep, this PG adapter is a little naive, with one central queue per consumer group competing for messages.... this can evolve into distributed queue adapters (redis, kafka, rmq) in real apps

yep, this PG adapter is a little naive, with one central queue per consumer group competing for messages.... this can evolve into distributed queue adapters (redis, kafka, rmq) in real apps

In researching the topic of distributed stream processing it seems that the virtual actor pattern in the actor model solves the distributed processing issue but just like with event sourcing, that aren't a lot of options for this in typescript.  Dapr seems like the closest option and is compatible with javascript but it might be a little complex.
I've become increasingly more interested in NATS for inter-process communication and it's Jetstream product.  It seems like that technology could be used to develop a lighter virtual actor implementation.  Alas, that sort of experimentation is for another day.

authors: Rotorsoft TomKaltz

repo: Rotorsoft/eventually-monorepo


text:
🛑 Website (rubenfixit.com) is down

In fdef355, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 370 ms

Resolved: Website (rubenfixit.com) is back up in c44d8b2.

repo: RubenFixit/upptime


text:
Q: Anyone maintaining this repo? Any forks being maintained??

Aside from the demise of the maintainer, @RuiSiang, does anyone continue to develop and maintain this Software?

Or is this gonna be Abandonware?

Yes, the same question as this issue...

I don't know of any active forks and the owner of this account was arrested for illegally running the Incognito drug site, so I doubt this repo will ever be updated.

authors: PotBor kkarhan

repo: RuiSiang/monero-merchant


text:
关于学习率对齐

你好，我在复现论文时候，使用你的权重转到我复现的代码上可以达到你表述的精度，但是当我从头训练时候，始终差2-3个点精度，我在想是不是我学习率和batchsize设置的问题，论文中你的初始学习率是0.5，batchsize是128，请问一下这个是单卡的设置还是多卡的设置结果。

实验都是单卡跑的。我自己用不同随机种子跑的时候，会有零点几到一个点的波动，不过应该不会到2-3个点。

如果是单卡v100的话，跑一次实验大概需要5.3天，感觉做一次实验要很久

怎么训练两个数据集啊?是不是训练好一个数据集后，把continue_train改成true，在训练另一个数据集，这样做时出现了递归深度超标。怎么解决啊

authors: RuijieJ developWmark qyfff

repo: RuijieJ/pren


text:
Паршин Н.А., 6303-020302d, лаба №4

код свой, он моделирует и рисует фигуру в форме киндер сюрприза с каркасом и освещением солнца. каждый кадр солнце поворачивается на 0.1 градус, когда поворот солнца кратен 90 выводятся логи выполнения функций внутри цикла, обрабатывающего кадр. (хотелось сделать время в миллисекундах, но я так и не нашел нужной (или безопасной) функции в c++.)

Зачтено. Вам ещё 1 лаба


text:
Winapi update

Dependencies update to remove last dependency from winapi 0.2.x in my code.

ping @jeandudey

Thanks for the contribution :-) :+1:

Tomorrow by the morning (quite late here) I'll upload the new version as I'm not on Windows right now.

Tomorrow by the morning (quite late here) I'll upload the new version as I'm not on Windows right now.

@jeandudey , any updates?

authors: Dushistov jeandudey


text:
impl_modulus interaction with generic_const_exprs

Hi, I have encountered the following bug (or at least unexpected behaviour).
impl_modulus and generic_const_exprs do not seem to mix well together.
With the following code:
#![feature(generic_const_exprs)]
use crypto_bigint::{impl_modulus, U64};
impl_modulus!(RingInteger, BackendInteger, "30e4b8f030ab42f3");

I get a E0207 error claiming: 'the const parameter DLIMBS is not constrained by the impl trait, self type, or predicates'.
Removing generic_const_exprs fixes it.  Since the feature is unstable, this might not be intended usage of the library, but it would be great if it worked :)

That sounds like a bug in generic_const_exprs.
Anything that works on stable Rust today should continue to work even with new features enabled, and if not it's a bug in rustc.
If you have suggestions about how we can work around the issue, we can consider them, but otherwise nightly is a moving target and generic_const_exprs is currently expected to have bugs.

authors: WizardOfMenlo tarcieri

repo: RustCrypto/crypto-bigint


text:
Make mul_rem() primitive constant-time

As mentioned in #511, mul_rem() is currently variable-time in d, which makes mul_mod_special() variable-time in c. This PR makes mul_rem() constant-time with no loss of performance.
Some rough edges:

Unlike other functions in primitives it takes Limbs instead of Words because Reciprocal needs a NonZero<Limb>.
Is it worth it to have NonZero::map<U>(self, f: impl FnOnce(T) -> U) -> NonZero<U> so that we could convert NonZero<Word> into NonZero<Limb>? The user will have to ensure f preserves the invariant.
Whatever happened to a const constructor of NonZero? I remember there was one at some point? Currently in mul_mod_special() I am constructing a NonZero without any checks, which seems dangerous.

Whatever happened to a const constructor of NonZero?

#602

authors: fjarri tarcieri


text:
tableView(_:canEditRowAtIndexPath:) conforms to the apple documentation

This should fix #39

Hi @serluca ,
Thnx for reporting this. I'm not sure we would want this problem this way because it would require creation of entire new cell object for that check.
I think that a more performant way would be to create a new boolean property canEditRowAtIndexPathExists: Bool and use that in respondsToSelector to control does data source responds to that selector.
That would enable subclasses to check does some canEditRowAtIndexPath lambda exist, and in case it does, it would enable returning true from canEditRowAtIndexPathExists and using canEditRowAtIndexPath lambda.

Hi @kzaher
I agree with it can be expensive doing this way, we can go with your solution.

Hey, I've pushed the changes to master branch, but Delete button displays even though that selector isn't implemented. Hm...

Hi @kzaher
As I can see from your commit aec86f0113e6b765675aea8b40600e0e327497f9 you are returning true if the datasource implements canEditRowAtIndexPath, false if not.
Indeed the delete button displays in the example 1, it doesn't in the example 4 and it also doesn't in the example 4 if you return true

HI @kzaher
So, ignore my previous comment I was wrong. Your implementation is working, the problem is only when dataSource.canEditRowAtIndexPath is not defined.
I went deeply into your code and I maybe found a solution.
For some reason (I'm still not sure why) when respondsToSelector of _TableViewSectionedDataSource returns false for the selector #selector(UITableViewDataSource.tableView(_:canEditRowAtIndexPath:)) the default implementation of  canEditRowAtIndexPath is true.
What I figured out is that, you actually don't need to check if the _TableViewSectionedDataSource responds to that selector, I was able to get it working removing the entire logic of canEditRowAtIndexPathImplemented and returning false for func _rx_tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool
Doing this, when dataSource.canEditRowAtIndexPath is defined it returns that value, false if is not.
I'll try to do a pull request

Merged other PR.

authors: kzaher serluca

repo: RxSwiftCommunity/RxDataSources


text:
Dara/cp4s get open cases

A playbook that will return all the open cases. The ansible output will display the name and ID of the incident. We can add other fields if needed.

Working output. I may need to add a scenario where there is no open cases and return a message to the user


text:
I'm trying to use the addon with storybook and react, but can't build storybook once I installed the addon

Describe the bug
I had a React project and tried to use the addon-next to work properly with Sass, since in my researches it helps with some problems that i was facing when using just the Storybook default config for Sass. But, when I installed sddon-next and tried to build my project, I got an error.
Your minimal, reproducible example
Default config from docs
Steps to reproduce

Just reproduce the steps on the docs. yarn add --dev storybook-addon-next, added 'storybook-addon-next' to my 'main.js' and then yarn build-storybook

Expected behavior
I expected to build storybook correctly
How often does this bug happen?
Every time
Screenshots or Videos

Platform

OS: Ubuntu

storybook-addon-next version
1.6.7
Additional context
No response

Thanks for opening the issue!
I believe you are seeing this conflict as a result of including the CRA preset. Try removing that.

I did it, but still having this issue. Also, I had another error, probably a result from removing CRA from main.js

Any solution for this yet?

not yet. still waiting

Thanks for you patience. I was not able to reproduce your error. Are you able to provide a reproduction repo I can take a look at?

authors: Kettss1 MONTYYYYY RyanClementsHax

repo: RyanClementsHax/storybook-addon-next


text:
Storybook support

Describe the bug
I am using storybook with tailwindcss. When running my app in dev mode, color theme switching works fine.
When using storybook, nothing happens to my styles, even though the class is correctly applied to the html node of the dom.
This is implemented with @storybook/addon-styling and this code in my .storybook/preview.ts:
export const decorators = [
  withThemeByClassName({
    themes: {
      dark: '',
      light: 'theme-light',
    },
    defaultTheme: 'dark',
  }),
]

Your minimal, reproducible example
none yet
Steps to reproduce
Install storybook and tailwindcss into a react+vite project, use tailwindcss-themer with @storybook/addon-styling
Expected behavior
As described.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS, Chrome latest
tailwindcss-themer version
3.1.0
Additional context
No response

Thanks for opening the issue. I'd be happy to help. 😀
To do that I'll need a reproduction repo. I see you have instructions but the repo makes sure I see what you see while making things more maintainable on my end.

Hi, thanks for your swift reply. I was already working on an isolated example, as I am not able to share code from my actual project.
Here you go: https://codesandbox.io/p/sandbox/boring-leaf-x4yxsx
Thank you for taking the time.

I haven't prioritized looking at it yet (resolving some issues on different projects) but I hope to get to it soon unless someone else is able to take ownership of this.

You could probably achieve the same result by simply providing a decorator as follows. Docs
const withThemeProvider = (Story, context) => {
  const theme = context.globals?.theme || 'default-theme';
  return (
    <div data-theme={theme}>
      <Story />
    </div>
  );
};

const preview: Preview = {
  globalTypes: {
    theme: {
      description: 'Global theme for components',
      defaultValue: 'default-theme',
      toolbar: {
        // The label to show for this toolbar item
        title: 'Theme',
        icon: 'paintbrush',
        // Array of plain string values or MenuItem shape (see below)
        items: ['default-theme', 'theme-1', 'theme-2', 'theme-3'],
        // Change title based on selected value
        dynamicTitle: true,
      },
    },
  },

Sorry for the wait (things have been crazy on my end the last few months).
The issue you're experiencing actually has to do with tailwind's class detection. For those that want an in depth explanation, continue reading below, but you can fix this issue by including "theme-alt" anywhere in a file matched by your tailwind config's content field.
You can fix it by including .storybook/preview.ts in your tailwind config's content field.
You can even add something like this in your story file and be on your way.
const _ = "theme-alt"

Let me know if this fixes your issue @PhilippMolitor @SamyOuadhiGE

Now for the nerdy breakdown.
Tailwind generates a massive amount of classes due to all of the permutations derived from config. In order to make bundle sizes practical, tailwind inspects your code to see which classes you actually use and only includes those. The files it inspects is configured by your tailwind config's content field. On top of this, it expects to see the class represented in a string somewhere in those files. Thereby including something like const _ = "theme-alt" anywhere gets the related classes inserted in the bundle.
Also, even though .storybook/preview.ts has this string, it wasn't included by any of the globs in the content field.

authors: PhilippMolitor RyanClementsHax samithaf

repo: RyanClementsHax/tailwindcss-themer


text:
Feature Request: Do Not Reset Elapsed Time on File Change

A toggleable option to prevent the elapsed time from resetting each time a different file is opened would be appreciated. This would serve as a way to display the total time that the Solution has been worked on, rather than the individual file.

I think it is possible to make a flexible adjustment of this timer.

The ability to turn off the timer altogether;
Timer counts the running time for:

file;
project;
solution;
the current method being edited (this is expected in the future).

Finally this feature is added to the settings menu and it works.

authors: EthanC Ryavell

repo: Ryavell/VisualStudioDiscordRPC


text:
6th-project

Created a repository
cloned it to my local machine
added html and css files
added the linters for clean codes
Finally added the html and css codes to create a personal portfolio

@ahzamir can you just review my projects, as its the last of the review

repo: S-BLH/personal-portfolio-webpage


text:
Why are the types of physical description tags available at the collection level different from those at the lower component levels?

Submitted on Friday, February 28, 2014 - 2:32pm
Submitted values are:
Name: Ronda L. Sewald
Affiliation: Indiana University
Does this represent an official comment from your affiliated group? No
Comment:
Why are the types of physical description tags available at the collection
level different from those at the lower component levels?
The results of this submission may be viewed at:
http://www2.archivists.org/node/17190/submission/15484

Resolved.

repo: SAA-SDT/EAD-Revision


text:
EKPZH-3054: Update API RN to add ExpenseID to Expense Entries v3 API

We'd like to notify customers of this change in advance. Change has not been made yet.
Change to add ExpenseID as part of response body will be done in EKPZH-3053.

Hi @celestine-co,
You will need to sign the CLA before commits to this repo can be merged. If you've already signed it's likely that the issue is that the email you used to create the commit  is not associated with your GitHub account. Make sure to add (and verify) your email to your GitHub account.
Afterwards you can trigger a recheck via https://cla-assistant.io/check/SAP-docs/preview.developer.concur.com?pullRequest=1209.
Also, I've converted this to draft for now so it doesn't get accidentally merged before the RN runs.

@RoAnnC1 The PR is ready to be reviewed. The API changes will be available for the client after production deployment on 10/17.

authors: RoAnnC1 aneethad celestine-co


text:
Move default routes config from core to lib

It makes more sense to have the default routes config in the storefront near the routes definition, not in the core library. So we should move this config to the storefront lib.
Now default-storefront-routes-config.ts is provided in ConfigurableRoutesModule of core lib.
This default config and providing it should be placed in PagesModule of storefront lib.

looks good

authors: Platonn kacperknapik

repo: SAP/cloud-commerce-spartacus-storefront


text:
Create QA release plan

Create a release plan for beta

device testing / responsive design
pwa
bil to provide list of features that we have are 'pwa'
e.g. add to home, can only be done manually. possibly there are other tests as well, not sure.

https://wiki.hybris.com/display/spar/Test+Plan+for+Release+1.0+1905

authors: KateChuen Xymmer


text:
Splash Screens for iOs

@Manurod2018 as discussed previously: Nikola requested some splash screens for iOS devices, which is related to this ticket GH-3292.
He provided this generator and suggests it could be as simple as a white background with the Spartacus logo in the middle.
Since it's a visual, I suggested we should get your insight and creative suggestions first.
I understand you may have some concerns regarding this topic, can you please elaborate on that.
cc. @znikola @Xymmer

Hi Miguel, we are actually in the process of creating a brand for Spartacus and get it to be approved by SAP.Until something is officially approved we can’t release a temporary logo and need to use the generic SAP logo on the storefront. Therefore I would wait until we have something final. This has to go through the proper channels.

@Manurod2018, ok thanks. As a temporary solution that will serve as a showcase, we can have the Spartacus logo on a white background? Or does it have to be SAP logo?
And later down the road, once you have the proper splash screens we can just replace the old images.

our Spartacus logo is fine for now

@znikola
As per Bill's comments we'll use current Spartacus logo for now.
That said, white feels a bit plain to me, how about blue background so it matches our Spartacus shirts?
Pls find zip file attached. I believe you can take the html from the generator page, otherwise let me know.
splashscreens-spartacus.zip

authors: Manurod2018 Xymmer developpeurweb znikola


text:
Allow for epic branch prefix

PR for travis: https://github.com/SAP/cloud-commerce-spartacus-storefront/pull/4024
Still to do for Jenkins

Jenkins part is done

Travis also merged. Closing this ticket

authors: hackergil marlass


text:
Breaking changes bot blocked due to github pricing? (2.0?)

options:

update subscription [pending inquiry with open source guys]
move to travis

But maybe we do this for 2.0.

magically fixed


text:
404 page not working

Issue present on branch: develop
Issue not present on branch: release 1.4.x
Steps to reproduce:
Navigate to a page that does not exist, such as
http://dev-com-6.accdemo.b2c.ydev.hybris.com:4200/electronics-spa/en/USD/fsdfgsdfgs
Expected results:
The 404 page.
Actual results:
A semi blanc page with error in the console.

Looks like the issue is introduced by this commit:
4768442b946dd56533ceb645d9a3cccee0daa270

PR: #6385

QA steps:

be at homepage
append anything after the last / like /electronics-spa/en/USD/fsdfgsdfgs

redirection works as expected.

authors: bgambocjaviniar giancorderoortiz plabadie znikola


text:
Move global message store to core (GH-258)

Closes #258
I tried to follow the whole checklist, but I might have missed something. Please go through the checklist in peer review.
E2E tests don't pass and that is the other issue that needs to be resolved before merging this.

e2e tests are passing. I had to run them once more. this instability should be probably checked

authors: kacperknapik marlass


text:
Null pointer exception thrown when trying to retrieve xsappname information

We are migrating our applications from Classic to JAVA NG SDK and also migrating to the new security library.
https://github.wdf.sap.corp/CSI/outbound/pull/197/commits/c5c68f1269edfb14151135647260bf29564cfc2a
Our reuse service is bound to only one xsuaa instance.
We referred the following example Config file and guide, we have changed our WebSecurityConfig, but we are having issues when retrieving xsappname.
Our Config file : https://github.wdf.sap.corp/CSI/outbound/blob/017526ab00dc5d32f613799891df0891eccab284/java-outbound-service/src/main/java/com/sap/is/retail/csi/outbound/config/WebSecurityConfig.java
On using xsuaaServiceConfiguration to retrive xsAppName, we get the following exception:
Caused by: java.lang.NullPointerException: while trying to invoke the method com.sap.cloud.security.xsuaa.XsuaaServiceConfiguration.getAppId() of a null object loaded from static field
could you please provide your suggestion on what might be causing this?
Thanks
Abhishek

Hi @abhishekramesh
when does the issue occur? during test, on cloud foundry, when you run your application locally?
In case of cloud foundry? Please provide me
cf env <your cf-appname>via email.
In case of local test setup:
https://github.com/SAP/cloud-security-xsuaa-integration/blob/master/spring-xsuaa/Migration_JavaContainerSecurityProjects.md#testing

Hi Nena,
The error occurs during deployment to cloud foundry. Locally we are able to run the spring boot application successfully.
I have attached the logs after performing cf env.
cflogs.txt
Best regards
Abhishek

Hi Abhishek,
the problem is that XSAPPNAME is static and therefore initialized at the start of the execution. Since it accesses the xsuaaServiceConfiguration you also had to make xsuaaServiceConfiguration static otherwise this would not compile. But this cannot work! The xsuaaServiceConfiguration is not static, is it is injected at runtime by spring. I don't even know if field injection works on static fields. The error you are getting makes sense since xsuaaServiceConfiguration is accessed when it is (still) null.
You have to make  xsuaaServiceConfiguration non static and remove the  XSAPPNAME field. If you need to access the xsappname in lots of places in your code I would suggest that either inject the xsuaaServiceConfiguration (non-static) in those places as well or that you create your own bean that gives you the properties from the xsuaaServiceConfiguration you need.
Best Regards
Daniel

Hi Hassler,
Thank you for the response. We will create our bean to retrieve xsappname information from xsuaaServiceConfiguration .
In our config class : https://github.wdf.sap.corp/CSI/outbound/blob/CAP2/java-outbound-service/src/main/java/com/sap/is/retail/csi/outbound/config/WebSecurityConfig.java
We have modified our web expression from
String hasScopeView = "#oauth2.hasScopeMatching('" + VIEW_SCOPE + "')";
to use
String hasScopeView = VIEW_SCOPE;   to authorize our requests.
After deployment, when we test our GET endpoints we get a 404 Not found error message:
Our request: GET: https://cs-intelligence-acceptance-outbound-service.cfapps.sap.hana.ondemand.com/v4/OutboundService/UserRequest**
Response:
404 Not found.
We have authorized our request, could you please provide your suggestion?
We have enabled debugging, please find the logs below.
404Notfoundlogs.txt
Thanks and regards
Abhishek

Hi Abhishek,
the expression looks good. HTTP 404 means that the endpoint you tested does not exist. This has nothing to do with the security configuration. Which endpoint did you test?
When I GET https://cs-intelligence-acceptance-outbound-service.cfapps.sap.hana.ondemand.com/v4/OutboundService/UserRequest I get a 401 response (which is expected I guess)
Best Regards
Daniel

Sorry there was a typo in the endpoint. We are able to authenticate now.
Thank you
Abhishek

authors: abhishekramesh hassler-d nenaraab

repo: SAP/cloud-security-xsuaa-integration


text:
Karma opa5 plugin

Hi @matz3 @TobiasOetzel,
would it be possible to develop an karma opa5 plugin (maybe based on the qunit plugin)?
I want to run the opa5 tests in an automated fashion and get back structured results via tha karma junit reporter or the CLI. With a karma opa5 plugin we could easily benefit from the existing reporters etc.
Best Regards Christian

Hi Christian,
it is already possible to run OPA5 tests with karma and the karma OpenUI5 plugin. Here is an example configuration:
module.exports = function(config) {
	config.set({
		basePath: '',
		frameworks: ['qunit','openui5'],
		files: [
			{ pattern: 'bower_components/openui5-sap.ui.core/resources/**/*', served: true, included: false, watched: false },
			{ pattern: 'bower_components/openui5-sap.m/resources/**/*', served: true, included: false, watched: false },
			{ pattern: 'bower_components/openui5-themelib_sap_bluecrystal/resources/**/*', served: true, included: false, watched: false },
			{ pattern: 'src/**/*', served: true, included: false, watched: true },
			{ pattern: 'test/**/*.qunit.js', served: true, included: true, watched: true }
		],
		preprocessors: {
			'src/**/*.js': ['coverage']
		},
		openui5: {
			path: 'bower_components/openui5-sap.ui.core/resources/sap-ui-core.js',
			useMockServer: false
		},
		client: {
			openui5: {
				config: {
					theme: 'sap_bluecrystal',
					libs: 'sap.m',
					resourceroots: {
						'sap.m': '/base/bower_components/openui5-sap.m/resources/sap/m',
						'my.namespace': '/base/src/my/namespace'
					},
					themeroots: {
						'sap_bluecrystal': '/base/bower_components/openui5-themelib_sap_bluecrystal/resources'
					}
				}
			}
		},
		reporters: ['progress', 'coverage'],
		coverageReporter: {
			type : 'html',
			dir : 'coverage'
		},
		port: 9876,
		colors: true,
		logLevel: config.LOG_INFO,
		autoWatch: true,
		browsers: ['Chrome'],
		singleRun: false
	});
};

What is done here?

Include OpenUI5 and QUnit for the tests as frameworks

Serve all OpenUI5 related files

Serve all files forom the src dicrectory

Include all test scripts

Specify that code coverage should be enabled for all JS files in the source directory

Configure the OpenUI5 plugin

To record the code coverage correctly, you cannot run the tests in an IFrame. However, you can create an arrangement, that creates a component inside the karma test page:
sap.ui.define([
	"jquery.sap.global",
	"sap/ui/test/Opa5",
	"sap/ui/core/ComponentContainer",
], function(jQuery, Opa5, ComponentContainer) {

	var oContainer = null;
	var oComponent = null;

	return Opa5.extend("my.namespace.test.opa.Arrangements", {
		iStartAComponent: function (sName) {
			if (!oContainer) {
				$body = jQuery("body");
				$body.addClass("sapUiBody").attr("role", "application");
				if ($body.find("#content").length === 0) {
					$body.append('

');
				}
				oContainer = new ComponentContainer();
				oContainer.placeAt("content");
			}
			if (oComponent) {
				oComponent.destroy();
				Opa5.getPlugin().mViews = {};
				oComponent = null;
			}
			oComponent = sap.ui.getCore().createComponent({
				name: sName,
			});
			oContainer.setComponent(oComponent);
			return this;
		}
	});
});

Your test could look like this:
sap.ui.define([
	"jquery.sap.global",
	"sap/ui/test/Opa5",
	"sap/ui/test/opaQunit",
	"my/namespace/test/opa/Arrangements"
], function(jQuery, Opa5, opaQunit, Arrangements) {

	Opa5.extendConfig({
		arrangements : new Arrangements(),
		viewNamespace : "my.namespace.app.view."
	});

	opaTest("TestApp", function(Given, When, Then) {
		Given.iStartAComponent("my.namespace.app");
	});
});

I hope this helps!
Best regards,
Christoph

Thanks a lot christoph!

Thanks a lot @cevou ! That's exactly what I was looking for. Perhaps you could add your instructions to a sub section of the README.md of this plugin, so that future visitors know about it too :)
Best Regards Christian

@cevou I have an app with Karma running my Opa tests, my app is running via a grunt server on another port and i use the proxy config so the test run.
I want to move over to using your plugin, less moving parts. A couple of changes to your code above and it works. However i cannot get the mockserver logic working, when the component sets up the model it still tries to retrieve the live service metadata.
my app uses the parameter ResponderOn=true logic to start the mockserver
is your mockeserver logic meant to be a replacement for ResponderOn? did you have issues setting the needed parameter?
cannot see an issue relating to //workaround for crossroads/mockserver issue
also how would you add you own mockrequests?

Basically the useMockServer does the same as the responderOn logic in the tdg App. I haven't had any problems yet using the mockserver integration. Have you set useMockServer to true in the karma.conf.js?

had time to debug and i got it working - had to make a couple of changes to mockserver.js to get it working
1 . the ui5config needed to go down another level
2.  the global var 'module' is undefined
(function(window) {

var config = window.__karma__.config,
	ui5config = (config && config.openui5.config) || {},  //1
	mockserverConfig = ui5config.mockserver || {};

//workaround for crossroads/mockserver issue
(function() {
	if (typeof module === undefined){    //2
		var module = '';
	}
	var original = module;
	module = undefined;
	jQuery.sap.require("sap.ui.core.util.MockServer");
	module = original;
})();

mockserverConfig.config = mockserverConfig.config ||{};

sap.ui.core.util.MockServer.config(mockserverConfig.config);

var oMockServer = new sap.ui.core.util.MockServer({
	rootUri: mockserverConfig.rootUri
});
oMockServer.simulate(mockserverConfig.metadataURL, mockserverConfig.mockdataSettings);
oMockServer.start();

})(window);

I copied the TDG app, to get it working i had to separate the app from the tests
I couldn't get the navigation tests working but that doesn't seem like a real scenario anywhere
module.exports = function(config) {
    config.set({
        basePath: '',
        frameworks: ['qunit', 'openui5'],
        files: [{
            pattern: 'bower_components/openui5-sap.ui.core/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'bower_components/openui5-sap.m/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'bower_components/openui5-sap.ui.layout/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'bower_components/openui5-themelib_sap_bluecrystal/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'webapp/**/*',
            served: true,
            included: false,
            watched: true
        }, {
            pattern: 'test/**/*',
            served: true,
            included: true,
            watched: true
        }],
        // preprocessors: {
        //     'src/**/*.js': ['coverage']
        // },
        openui5: {
            path: 'bower_components/openui5-sap.ui.core/resources/sap-ui-core.js',
            useMockServer: true
        },
        client: {
            openui5: {
                config: {
                    theme: 'sap_bluecrystal',
                    libs: 'sap.m',
                    resourceroots: {
                        'sap.m': '/base/bower_components/openui5-sap.m/resources/sap/m',
                        'sap.ui.layout': '/base/bower_components/openui5-sap.ui.layout/resources/sap/ui/layout',
                        'sap.ui.demo.tdg': '/base/webapp',
                        'sap.ui.demo.tdg.test': '/base/test'
                    },
                    themeroots: {
                        'sap_bluecrystal': '/base/bower_components/openui5-themelib_sap_bluecrystal/resources'
                    },
                    mockserver: {
                        config: {
                            autoRespond: true
                        },
                        rootUri: '/uilib-sample/proxy/http/services.odata.org/V2/(S(sapuidemobespractices))/OData/OData.svc/',
                        metadataURL: '/base/webapp/model/metadata.xml',
                        mockdataSettings: '/base/webapp/model/'
                    }
                }
            }
        },
        reporters: ['progress'], //'coverage'],
        // coverageReporter: {
        //     type: 'html',
        //     dir: 'coverage'
        // },
        port: 9876,
        colors: true,
        logLevel: config.LOG_DEBUG,
        autoWatch: true,
        browsers: ['Chrome','PhantomJS'],
        singleRun: false
    });
};

for those interested in a working example
https://github.com/jasper07/karmatest

I guess this got solved so I'm closing the issue

Hi @janmattfeld
I copied your code to my computer to test it,but I found it's unstable.I use the jenkins server to run it every two minute.In most cases,it runs successfully,but it may failed sometimes without anything changed,Jenkins reports:
Chrome 45.0.2454 (Windows 8.1 0.0.0): Executed 0 of 0 SUCCESS (0 secs / 0 secs)
Chrome 45.0.2454 (Windows 8.1 0.0.0): Executed 0 of 0 ERROR (0.001 secs / 0 secs).
I run it 72 times,it return failure 10 times.
Do you have any idea to solve it?Thank you.

@739823891 could you please open a new issue with your problem?
As you log does not show any hint, please re-run it with --log-level debug (see here to get more output.

Hi @jasper07 ,
I copied your code in my computer to test it. I have done the changes as suggested by @matz3 that is to load 'openui5' framework before 'qunit'
frameworks: ['openui5','qunit']
So there is no issue with loading of MockServer.js but mock data is not getting loaded. I have set the log level to DEBUG and nowhere I could see that the mock data json files are being loaded/served. Also, in chrome network log, there is an entry to load metadata.xml from actual service (which fails of course).
Am I doing something wrong? I can provide the debug log files if required.
Thanks in advance.


text:
Not able to export "Geo Maps Leaflet - SAP Lumira visualization extension" in pdf format

Hi,
I tried to use leaflet extension in Lumira and I notices its not visible in exported pdf.
Below are the screensots for more details-
Able to see Leaflet map in Lumira

Not Visible in exported pdf.

Final output:
Leaflet sample .pdf
Any Hint or input why its happening?
Please let me know if any further details required.

@Vikash2402 PDF export of story pages with chart extensions is not working right now as of Lumira 1.31 https://ideas.sap.com/D38022

I'll close this issue here as this is a product bug. Please feel free to add your comments here, https://ideas.sap.com/D38022

repo: SAP/lumira-extension-viz


text:
New Macbook detected as phone

OpenUI5 version: 1.38.10
Browser/version (+device/version): Chrome latest as of  55.0.2883.95 (64-bit)
Any other tested browsers/devices(OK/FAIL): FAIL on mac
URL (minimal example if possible): Not possible but attached pdf shows the device data
MacBook pro with touchbar for 2016 detected as phone  in chrome
Attached is the device data from  https://openui5.hana.ondemand.com/test-resources/sap/ui/core/Device.html
Device - sap.ui.pdf

Hi @chapmanc ,
Thanks for the ticket.
Internal incident 1780052186   has been opened for this issue.

Are you sure you didn't have device emulation turned on? I tried with pretty much the same configuration (MacBook Pro 2016 13" with touchbar) and software versions and for me the device detection works fine.

That was first think I checked. Definitely was off.
On Sun, Jan 22, 2017 at 3:54 PM thomaskoetter notifications@github.com
wrote:

Are you sure you didn't have device emulation turned on? I tried with
pretty much the same configuration (MacBook Pro 2016 13" with touchbar) and
software versions and for me the device detection works fine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SAP/openui5/issues/1308#issuecomment-274370895, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGPBOur-ougwgvHzhul45doL9uv5lFHeks5rU-xCgaJpZM4LoWp4
.

I'm also on MacBook Pro 15 inch if that makes a difference.

@chapmanc could you please check if you've enabled some Chrome flags like touch events?
Please go to chrome://flags, reset all settings to default (upper right button) and test again.

Yep that was it. Thanks matz3.

@matz3 just so you know it seems that chrome now has three options for that flag: automatic, enabled or disabled.  It seems that some laptops are defaulting automatic to enabled so this is starting to cause issues. We have for the time being switched to other controls but this might need to get re-opened.

@chapmanc thanks for pointing this out. Could you please add some more details so that we can have a look into this?

Did you test with the latest UI5 version? You might check this with openui5nightly which is updated every night with the current master state.
With which exact laptops (OS+Version / Vendor / Touchscreen? / Browser+Version) did you encounter those issues?
What are the exact issues? sap.ui.Device.system.phone set to true or anything else?

This would really help us for further investigations 👍

Hey @matz3,
So I tested with the openui5 nightly and it still seems that the the systems in question were still showing the chrome flag as automatic and as a result the sap.ui.Device.support.touch was set to true when I checked.
The OS was windows 10 with chrome latest and not a touch screen.
I hope that helps.

@chapmanc I performed the following test:

Win 10 machine
Desktop Chrome (latest as of today)
Touch Events API flag is "Automatic" in chrome://flags/
Run https://openui5.hana.ondemand.com/test-resources/sap/ui/core/Device.html

Result:
Device - sap.ui.pdf
Please test again and let me know the settings of the tested machine and browser, and if you still get incorrect results,

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

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

Okay so I'm running in the same issue.

Machine: Converdible DELL Inspirion 13 7000
OS: Solus (Linux 4.15.17-65.current)

If  Touch Events API flag is set to "Automatic"
"sap.ui.Device.system"
phone:false
desktop:false
combi:false```
if the flag is set to "Disabled"
```tablet:false
phone:false
desktop:true
combi:false```

authors: AragurDEV PetyoKostakov Shtilianova chapmanc matz3 stephania87 thomaskoetter


text:
UniqueConstraint not enforced in CompartmentalizedComponent

Hi again,
I came across an issue while uploading several times my model, at which point I discovered that the UniqueConstraint of the rows in the table CompartmentalizedComponent are not enforced, despite its declaration:
class CompartmentalizedComponent(Base):
    __tablename__='compartmentalized_component'

    id = Column(Integer, Sequence('wids'), primary_key=True)
    component_id = Column(Integer, ForeignKey('component.id'), nullable=False)
    compartment_id = Column(Integer, ForeignKey('compartment.id'), nullable=False)
    UniqueConstraint('compartment_id', 'component_id')

And I also discovered that the upload method for compartmentalized components in model_loading.py:
    def loadCompartmentalizedComponent(self, modellist, session):
        for model in modellist:
            for metabolite in model.metabolites:
                identifier = session.query(Compartment).filter(Compartment.name == metabolite.id[-1:len(metabolite.id)]).first()
                m = session.query(Metabolite).filter(Metabolite.name == metabolite.id.split("_")[0]).first()
                #m = session.query(Metabolite).filter(Metabolite.kegg_id == metabolite.notes.get("KEGGID")[0]).first()
                object = Compartmentalized_Component(component_id = m.id, compartment_id = identifier.id)
                session.add(object)

does not check for prior existence of the said compartmentalized component, unlike how it's done with the metabolites. What happens next in loadModelCompartmentalizedComponent when calling
compartmentalized_component_query = session.query(Compartmentalized_Component).filter(Compartmentalized_Component.component_id == componentquery.id).filter(Compartmentalized_Component.compartment_id == compartmentquery.id).first()

is that the component is linked to one among many identical compartmentalized components (first() call). This gets worse when you run a query like
compartmentalized_components = make_dict(session.query(CompartmentalizedComponent).\
    join(ModelCompartmentalizedComponent, CompartmentalizedComponent.id == \
        ModelCompartmentalizedComponent.compartmentalized_component_id).\
    filter(ModelCompartmentalizedComponent.model_id == modelObject.id))

to get the list of compartmentalized components used in your model, and try to fetch from it an id equal to a ReactionMatrix.compartmentalized_component_id. It does not work because this last one points to another sibling of this compartmentalized component which likely not the one in your model.
I don't know if this was very clear, but to sum up there are two points:

UniqueConstraint does not seem to be enforced (I have no idea as to why)
loadCompartmentalizedComponents does not check if the compartmentalized component already exists in the database.

A simple fix for this one would be:
def loadCompartmentalizedComponent(self, modellist, session):
	for model in modellist:
		for metabolite in model.metabolites:
			metaboliteObject = session.query(Metabolite).\
				filter(Metabolite.name == metabolite.id[:-2]).first()
			compartmentObject = session.query(Compartment).\
				filter(Compartment.symbol == metabolite.id[-1]).first()
			compartmentalized_component_found = True if session.query(CompartmentalizedComponent).\
					filter(CompartmentalizedComponent.component_id == component_query.id).\
					filter(CompartmentalizedComponent.compartment_id == compartment_query.id)\

			if not session.query(CompartmentalizedComponent).\
						filter(CompartmentalizedComponent.component_id == component_query.id).\
						filter(CompartmentalizedComponent.compartment_id == compartment_query.id):
				object = CompartmentalizedComponent(
					component_id = metaboliteObject.id,
					compartment_id = compartmentObject.id)
				session.add(object)

I attached a printscreen as an illustration.

@jslu9 Is this still happening?

repo: SBRG/ome


text:
'proj' keyword error

Trying to setup on linux, getting the following errors;
Downloading CCA...
Extracting CCA...
Installing CCA...
Moving model data to directory...
Traceback (most recent call last):
File "/home/ashton/Treetop/PROJECTS/LVC_2016/ucvm-17.2.0/lib/python3.5/site-packages/ucvm-17.2.0-py3.5.egg/EGG-INFO/scripts/ucvm_run_tests", line 104, in
sys.exit(main())
File "/home/ashton/Treetop/PROJECTS/LVC_2016/ucvm-17.2.0/lib/python3.5/site-packages/ucvm-17.2.0-py3.5.egg/EGG-INFO/scripts/ucvm_run_tests", line 67, in main
model = UCVM.get_model_instance(options["model"])
File "/home/ashton/Treetop/PROJECTS/LVC_2016/ucvm-17.2.0/lib/python3.5/site-packages/ucvm-17.2.0-py3.5.egg/ucvm/src/framework/ucvm.py", line 202, in get_model_instance
UCVM.instantiated_models[model] = getattr(new_class, found["class"])()
File "/home/ashton/Treetop/PROJECTS/LVC_2016/ucvm-17.2.0/lib/python3.5/site-packages/ucvm-17.2.0-py3.5.egg/ucvm/src/model/velocity/gridded_velocity_model.py", line 103, in init
self.out_proj = pyproj.Proj(self.config_dict["proj"])
KeyError: 'proj'
any clue?

This is fixed in the development branch and will be merged into master shortly.

authors: ashtonflinders scecdavid

repo: SCECcode/UCVM


text:
Repository Maintenance

Prior to officially transferring ownership and responsibility to the ShapeWorks folks at SCI, this PR does some final cleanup to ensure the project is in the best possible state for transfer. This includes bug fixes, refactoring, and other maintenance.
This PR also addresses a few "low-hanging fruit" issues: resolves #348, resolves #349

Looks good. Is there a better way to stop propagation for the button click events, rather than adding .stop to each one?

Not that I know of, since we want all children except the buttons to propagate the event (otherwise clicking the Dataset title, etc. would not select it). The stop modifier is documented by Vue as the best approach to exclude certain components from event propagation: https://vuejs.org/guide/essentials/event-handling#event-modifiers. Of course, I am open to suggestion for other approaches.

Looks good. Is there a better way to stop propagation for the button click events, rather than adding .stop to each one?

Not that I know of, since we want all children except the buttons to propagate the event (otherwise clicking the Dataset title, etc. would not select it). The stop modifier is documented by Vue as the best approach to exclude certain components from event propagation: https://vuejs.org/guide/essentials/event-handling#event-modifiers. Of course, I am open to suggestion for other approaches.

That's fine. I don't think there would be an easy way to stop the prop with a class value or something. All looks great 👍

authors: JakeWags annehaley

repo: SCIInstitute/shapeworks-cloud


text:
Improve variantdir docs

Variant directory comprehension is an ongoing challenge for SCons users.  We know that probably the most helpful thing will be more examples of different scenarios, but this PR is an attempt to better answer a few questions and otherwise try to strengthen the descriptions under VariantDir and SConscript.
Reorder some bits, add some explantaions, include example of passing different environments to subsidiary SConscript.
Signed-off-by: Mats Wichmann mats@linux.com
Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[ ] I have updated CHANGES.txt (and read the README.rst)
[X] I have updated the appropriate documentation

Hmmm, in the doc file SCons/Script/SConscript.xml it has commented-out versions of the function signature below the acive ones, like this:
<scons_function name="SConscript">
<arguments>
(scripts, [exports, variant_dir, duplicate, must_exist])
<!-- (scripts, [exports, variant_dir, src_dir, duplicate, must_exist]) -->
</arguments>
<arguments>
(dirs=subdirs, [name=script, exports, variant_dir, duplicate, must_exist])
<!-- (dirs=subdirs, [name=script, exports, variant_dir, src_dir, duplicate, must_exist]) -->
</arguments>
<summary>

and although it's not mentioned in the existing docs text, the code appears to indeed accept the src_dir kwarg:
            src_dir = kw.get('src_dir')
            if not src_dir:
                src_dir, fname = os.path.split(str(files[0]))
                files = [os.path.join(str(variant_dir), fname)]
            else:
                if not isinstance(src_dir, SCons.Node.Node):
                    src_dir = self.fs.Dir(src_dir)
                    ...

Do we know the story behind this?  Was the intent to introduce something new, but it was decided not to advertise it as public? Or was it something in the process of being removed?  The commented out bits in the xml file suggest at least it's not a case of "forgot to add to docs", and there was something semi-conscious to leave it out.

Hmmm, in the doc file SCons/Script/SConscript.xml it has commented-out versions of the function signature below the acive ones, like this:
<scons_function name="SConscript">
<arguments>
(scripts, [exports, variant_dir, duplicate, must_exist])
<!-- (scripts, [exports, variant_dir, src_dir, duplicate, must_exist]) -->
</arguments>
<arguments>
(dirs=subdirs, [name=script, exports, variant_dir, duplicate, must_exist])
<!-- (dirs=subdirs, [name=script, exports, variant_dir, src_dir, duplicate, must_exist]) -->
</arguments>
<summary>

and although it's not mentioned in the existing docs text, the code appears to indeed accept the src_dir kwarg:
            src_dir = kw.get('src_dir')
            if not src_dir:
                src_dir, fname = os.path.split(str(files[0]))
                files = [os.path.join(str(variant_dir), fname)]
            else:
                if not isinstance(src_dir, SCons.Node.Node):
                    src_dir = self.fs.Dir(src_dir)
                ...

Do we know the story behind this? Was the intent to introduce something new, but it was decided not to advertise it as public? Or was it something in the process of being removed? The commented out bits in the xml file suggest at least it's not a case of "forgot to add to docs", and there was something semi-conscious to leave it out.

Not sure. I'd punt on this for now.
The src_dir is in some tests. But I don't have time to dig on this, and I'd rather merge this PR as is and revisit src_dir later.
Also to be honest it might just add to the confusion..

authors: bdbaddog mwichmann

repo: SCons/scons


text:
Installer Bernese GNSS SOftware version 5.4 + afhængigheder

Bernese GNSS Software version 5.4 [BSW] har samme afhængigheder, som version 5.2. Disse er allerede installeret på serveren.
Når programmet er installeret skal man selv hente nogle tabeller (efemerider) fra NASAs JPL. Disse data skal samles og behandles af et værktøj, der omdanner data fra ASCII til binært format, så BSW nemmere kan bruge data internt.
Programmet, der gør dette er et fortran-program, der er oversat samtidig med de andre Fortran-programmer i byg-processen. Dét forklarer, hvorfor man selv skal kontrollere, at afvigelserne fra de medfølgende test-data ikke er af nogen betydning.
Man kontrollerer dette ved at se på output fra et andet Fortran-program, der sammenligner indholdet i den binære fil med test-data.
Er data gode nok, skal de kopieres over i $MODEL-mappen i BSW.

[x] Find placering til BSW 5.4
[x] Installér programmet, så det kan køres af en bruger.
[x] (Overvej og installér eventuelt flere instanser (miljøer) eller lav versionsstyrnig på kildefilerne.)
[x] Byg og installér JPL-data

Bernese 5.4 er installeret. Bøvl med filrettigheder og test udestår. Se separate opgaver.

authors: kbevers xidus

repo: SDFIdk/AutoBernese


text:
Fix XAnim_Bin Notetracks

Currently XAnims result in errors in Linker and in APE all have same attributes as first notetrack:

After edits all tested XAnims pass linker and have no issues in APE.

It was tested on 2.7.6 (within Maya 2016) and 3.7.
I've re-targeted it to the development branch.


text:
Case Reason Typo: "Newsetter"

Critical Changes
Changes
Issues Closed

@Nickers3 The corrected picklist value of "Newsletter" is inactive.

@Nickers3  Maybe this is something that we can't do with Metecho because of it actually needing to go into the unpackaged stuff?

@badgerbadger5 @mkolodner ah, yeah, this is in the magical unpackaged stuff.  I have a new pull request that I think covers everything for this one.

@davidmreed or @Nickers3  or anyone that knows, how do we reflect that this PR has been approved on the original Metecho task (https://metecho.herokuapp.com/projects/ombudsmancloudcare/release-13/case-reason-typo-newsetter) that started it? I want it to show that @lauraetzler did the dev and @badgerbadger5 did the approval.

@mkolodner because this ended up being a part of the unmanaged section, I think we can just close this PR.  Not sure what that would show on Metecho though.

@Nickers3 Go ahead and just click what you think is the right button. I assume you're going with Close with Comment.

Closing due since PR 119 was used due to needing it to be in the unmanaged section.

repo: SFDO-Community/OmbudsmanCloudCare


text:
Make generate mappings task record-type aware

EDA and other managed packages rely heavily on record types. Generate Mappings is not currently record-type aware, which eliminates a strong and necessary datapoint for data flows.

@davidmreed is this easy to add to #1252 or does it make more sense to do it separately?

I would like to do it in #1252. (@MatthewBlanski Functionality in progress, just adding tests and integration to generator task).

authors: MatthewBlanski davidmreed davisagli

repo: SFDO-Tooling/CumulusCI


text:
change glCheck macro to be usable as an expression

this change allows [e]glCheck macros to be usable as expressions which makes writing code more natural example
GLEXT_GLhandle shaderProgram{};
glCheck(shaderProgram = GLEXT_glCreateProgramObject());

into the more natural (and bonus it is const!) ((bonus 2 it can use auto!))
const GLEXT_GLhandle shaderProgram = glCheck(GLEXT_glCreateProgramObject());

Do these changes retain the behaviour @vittorioromeo added regarding ensuring we loop to get all errors? Otherwise we're undoing work just merged to correct the use of glCheck.

Vittorio didn't add the looping mechanism because he wanted to make his pr self contained. this pr was just to make it usable as an expression so I didn't add the loop as well but it is easy to add it should I add it?

Vittorio didn't add the looping mechanism because he wanted to make his pr self contained. this pr was just to make it usable as an expression so I didn't add the loop as well but it is easy to add it should I add it?

Personally, I'd prefer the looping behaviour be implemented after what Vee has done. Maybe the expression work you want in can be done after, but I think ensuring we align with how OGL docs intend you to use these error checking functions matters more in my view. Ultimately, it'll be the maintainers choice what order it happens in though.

Pull Request Test Coverage Report for Build 10967809335
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

10 of 12 (83.33%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 56.974%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/SFML/Graphics/GLCheck.cpp
0
1
0.0%

src/SFML/Window/EGLCheck.cpp
0
1
0.0%

Totals

Change from base Build 10910746228:
0.2%

Covered Lines:
11906

Relevant Lines:
19895

💛  - Coveralls

@vittorioromeo Do you plan on submitting a PR for the looping behavior you described in https://github.com/SFML/SFML/pull/3233?

SFMLBuildMaster: Build this please.

authors: Bambo-Borris ChrisThrasher ZXShady coveralls

repo: SFML/SFML

license: Zlib


text:
Fix some problems to compile on Linux

Case must be respected on case sensitive filesystems (like ext4 or HFS+ configured as case sensitive) otherwise compilation fails for modules and headers files.
Local addons shouldn't be included in addons.make, otherwise it crashes the build.

Not included in the Pull Request :

Linking against alsa with -lasound is needed on Linux. I didn't understand why it's not automatically done nor where to add it. I put it in config.make but it might cause regression on MacOS, that's why I didn't included this fix in my PR.

thx for the changes!  it should probably be in there as "addons/ofxMidi" along with the other local addons with their path from the root level (root folder)

I should miss something. This what I typed :
rm -rf obj
make clean
make Debug -j8

But the compilation failed on every tries:

If the root level means the root level of my app, I should put addons/ofxMidi indeed, but I get many errors like the following (already defined):

/home/qdufour/Documents/dev/cpp/of_v0.9.8_linux64_release/apps/myApps/recoded/addons/ofxMidi/src/ofxMidiOut.cpp:14 : multiples definition of « ofxMidiOut::ofxMidiOut(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) »
obj/linux64/Debug/addons/ofxMidi/src/ofxMidiOut.o:/home/qdufour/Documents/dev/cpp/of_v0.9.8_linux64_release/apps/myApps/recoded/addons/ofxMidi/src/ofxMidiOut.cpp:14 : first defined here

Full content of addons.make :
ofxGui
ofxXmlSettings
ofxOsc
addons/ofxMidi
addons/ofxParameterMidiSync
addons/ofxTween

I've the same error if I put /addons/ofxMidi

If the root level, means the root level of OpenFrameworks directory, I should put apps/myApps/recoded/addons/ofxMidi but I get the following error:

Compiling recoded for Debug
make[1] : on entre dans le répertoire « /home/qdufour/Documents/dev/cpp/of_v0.9.8_linux64_release/apps/myApps/recoded »
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl gl glu glew gtk+-3.0
find: ‘unused’: No such file or directory
find: ‘unused’: No such file or directory
make[1]: execvp: /bin/sh : Argument list too long
make[1]: *** [/home/qdufour/Documents/dev/cpp/of_v0.9.8_linux64_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:190: obj/linux64/Debug/.compiler_flags] Error 127
make[1] : on quitte le répertoire « /home/qdufour/Documents/dev/cpp/of_v0.9.8_linux64_release/apps/myApps/recoded »
make: *** [/home/qdufour/Documents/dev/cpp/of_v0.9.8_linux64_release/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:147: Debug] Error 2

Full content of addons.make :
ofxGui
ofxXmlSettings
ofxOsc
apps/myApps/recoded/addons/ofxMidi
apps/myApps/recoded/addons/ofxParameterMidiSync
apps/myApps/recoded/addons/ofxTween

I've the same error if I put /apps/myApps/recoded/addons/ofxMidi

authors: ofZach superboum

repo: SFPC/recoded


text:
1603 | Design Parking System | C++

Design Parking System
What will change -
add new problem that is not present
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

assign to me

repo: SHY-Corp/LeetCode-Solutions


text:
🛑 DE Server is down

In bdc46b4, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 823041e after 52 minutes.

repo: SIRMaxis/uptime-robot


text:
🛑 DE Server is down

In f63a81b, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 0590db6 after 1 hour, 31 minutes.


text:
🛑 DNS2.electro is down

In c3ef185, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 5ca315c after 1 hour, 8 minutes.


text:
🛑 DE Server is down

In c0ac8bf, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 18ec128 after 1 hour, 20 minutes.


text:
🛑 DNS2.electro is down

In e7baf25, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 34f7d43 after 40 minutes.


text:
🛑 Website is down

In 87b9d9e, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in e933421.


text:
🛑 DNS1.electro is down

In bfae960, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in f9f0aec after 40 minutes.


text:
🛑 DNS2.electro is down

In 9bbc333, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 8575516 after 18 minutes.


text:
🛑 DNS2.electro is down

In dd1c118, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 435a7e6 after 30 minutes.


text:
🛑 DE Server is down

In 66b4216, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in 3769b8a after 10 minutes.


text:
🛑 DNS2.electro is down

In c391ca6, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 9edf190 after 47 minutes.


text:
Issue about padding token.

안녕하세요. 먼저 좋은 소스 제공해주셔서 감사드립니다!
사용 중에 궁금한 점이 생겨 여쭤보려 글 남깁니다.
padding token의 설정에 관련한 질문인데요.
모델 서머리를 보면 word embedding에서 padding_idx를 0으로 설정하는데 따로 제공해주신 vocabulary에서는 [PAD]이 1로 설정되어있습니다.
model summary

BertModel(
  (embeddings): BertEmbeddings(
    (word_embeddings): Embedding(8002, 768, padding_idx=0)
    (position_embeddings): Embedding(512, 768)
    (token_type_embeddings): Embedding(2, 768)
    (LayerNorm): LayerNorm((768,), eps=1e-12, elementwise_affine=True)
    (dropout): Dropout(p=0.1, inplace=False)
  )
...

vocab
{'[UNK]': 0,
 '[CLS]': 2,
 '[SEP]': 3,
 '[MASK]': 4,
 '[PAD]': 1,
 '!': 5,
 "!'": 6,
 '!”': 7,
...

bert model에 input tokens과 함께 padding이 아닌 위치에 attention을 주는 attention_masks가 있어 큰 상관없는 줄 알았는데, 출력값이 아래와 같이 달라져 의문이 생겨 질문드립니다.
input_ids = torch.LongTensor([[31, 51, 99], [15, 5, 1]])
input_mask = torch.LongTensor([[1, 1, 1], [1, 1, 0]])
token_type_ids = torch.LongTensor([[0, 0, 0], [0, 0, 0]])
sequence_output, pooled_output = model(input_ids, input_mask, token_type_ids)
sequence_output

tensor([[[-0.2365,  0.2418,  0.2133,  ..., -0.5110, -0.0360,  0.0815],
[-0.2378,  0.2405,  0.2103,  ..., -0.5120, -0.0353,  0.0812],
[-0.2377,  0.2407,  0.2104,  ..., -0.5113, -0.0356,  0.0817]],
...[[-0.0930, -0.4689, -0.0698,  ..., -0.1506, -0.2966, -0.1554],
[-0.1028, -0.4727, -0.0740,  ..., -0.1520, -0.2981, -0.1605],
[-0.0929, -0.4689, -0.0699,  ..., -0.1507, -0.2966, -0.1554]]],
grad_fn=)

input_ids = torch.LongTensor([[31, 51, 99], [15, 5, 0]])
input_mask = torch.LongTensor([[1, 1, 1], [1, 1, 0]])
token_type_ids = torch.LongTensor([[0, 0, 0], [0, 0, 0]])
sequence_output, pooled_output = model(input_ids, input_mask, token_type_ids)
sequence_output

tensor([[[-0.2365,  0.2418,  0.2133,  ..., -0.5110, -0.0360,  0.0815],
[-0.2378,  0.2405,  0.2103,  ..., -0.5120, -0.0353,  0.0812],
[-0.2377,  0.2407,  0.2104,  ..., -0.5113, -0.0356,  0.0817]],
... [[-0.0930, -0.4689, -0.0698,  ..., -0.1506, -0.2966, -0.1554],
[-0.1028, -0.4727, -0.0740,  ..., -0.1520, -0.2981, -0.1605],
[ 0.1585, -0.1319,  0.2887,  ...,  0.2637, -0.2277,  0.2331]]],
grad_fn=)

pytorch의 bert config을 정확하게 명시하지 않아서 기본값인 0을 넣어버린 이슈로 보입니다.
transformers에서 많은 부분 config에서 default parameter로 유추하고 있어서 직접 명시적으로 코딩하지 않는 경우 오류가 발생할 수 있어 이 부분은 고쳐져야 될 이슈네요.
리포팅 감사합니다.

config 수정 했습니다. 확인 부탁드립니다.

감사합니다. 모델 embedding에서 padding_idx = 1로 들어가는 것 확인했습니다.

authors: haven-jeon tmtmaj

repo: SKTBrain/KoBERT


text:
How to retrieve probability values

Hi everyone,
I was wondering if there is a way to extract the probability value associated with a predicted token when we compute the MRR metric. In other words, let's consider the following prediction:
static1.000000	clockid_t0.000000
I want to get for the 'static' token(where the MRR is 1) the probability or the confidence level --so to speak-- of the model.
Any ideas?
Thank you all in advance :)

Hi!
It sounds like you're looking for the entropy, which is itself just a simple transformation of probability, associated with each token. That's easy enough if you've already got the predict mode set up, as you seem to. Assuming you're doing this from the command-line (where you use the --verbose option to write to file), you'd simply change the run mode from train-predict to train-model (or both without train- if applicable).
If you're using the programmatic interface, the change is much the same; once the model is trained, just call the ModelRunner's modelX methods instead of the predictX ones.
Hope this helps!
-Vincent

authors: VHellendoorn antonio-mastropaolo

repo: SLP-team/SLP-Core


text:
add function that detects language by adding a field

it will alter a dataset and add a 'pysmap_detected_language' field to each tweet that tells what language was detected with langdetect (already implemented for languae detection for specified language)

dont add fields to data in a tool.

repo: SMAPPNYU/pysmap


text:
Improve CommandManager

Most of this really need to be tought in parallel with the JobManager #91.

[ ] Only give the base path to the command manager and let it handle the actual file naming.
[ ] Add a Command class to clean up the code. The class could be a read only string that return the actual command. It could also contain the UID and the log path for the command (might go in the JobManager).
[ ] Add one logfile per command in /logs/logs/worker/command/{COMMAND_UID}.info which will contain information about the command known by the worker. At what time it was started/resumed, on which node, it ran for how long.
[ ] Implement a {job_id}_running_commands.txt (one per job instead of a global one) to allow an epilogue script that move everything to stopped_commands when the job is killed.

We could also store all the info relative to commands and/or jobs inside an SQLite database.

repo: SMART-Lab/smartdispatch

license: WTFPL


text:
Repository does not exist

Hello!
Please help.  Thank you

Hi
The right link is SMEWebify/WebErpMesv2 where you find billyboy35 ?
Kevin

@Doncz19  is working ?

Update wiki, no new, i close this issue


text:
Schema for StrictlyPositiveRational should have 1 as minimum denominator, not 0

The strictly positive rational type behaves correctly, i.e. StrictlyPositiveRational.validate() is correct:

>   @staticmethod
>   def validate(value) -> bool:
>     """The parameter shall be a rational number whose numerator
>     is in the range [0..2,147,483,647] and denominator in the range
>     (0..4,294,967,295].
>     """
>
>     if not isinstance(value, numbers.Rational):
>       return False
>
>     if (value.numerator <= 0
>             or value.denominator <= 0
>             or value.numerator > INT_MAX
>             or value.denominator > UINT_MAX):
>       return False
>
>     return True

The generates schema from StrictlyPositiveRational.make_json_schema()` incorrectly sets 0 as the minimum numerator:

>   @staticmethod
>   def make_json_schema() -> dict:
>     return {
>       "type": "object",
>       "properties": {
>         "num" : {
>           "type": "integer",
>           "minimum": 0,
>           "maximum": INT_MAX
>         },
>         "denom" : {
>           "type": "integer",
>           "minimum": 1,
>           "maximum": UINT_MAX
>         }
>       },
>       "required": ["num", "denom" ],
>       "additionalProperties": False
>     }
>

A straightforward change.

Will fix on juren-params

authors: JGoldstone jamesmosys

repo: SMPTE/ris-osvp-metadata-camdkit


text:
Implement the improved GLR-klUCB independent of prior knowledge of Upsilon_T

We have continued to work on GLR-klUCB, and found a tuning of the forced exploration probability $\alpha$, as an increasing function of $t$, $\alpha \to (\alpha_t)t$, that gives the same regret upper bound but without prior knowledge of the number of break/change points $\Upsilon_T$.
In fact, the trick is to use $\alpha\ell = \sqrt{\frac{\ell \ln(T)}{T}}$, depending on $\ell$ the number of restart (starting at $\ell=1$ and not $0$).
I should implement the improved GLR-klUCB independent of prior knowledge of
$\Upsilon_T$.

[x] Try it (it's a very easy change in the code)
[x] Run experiments to compare it to the other variants of GLR-klUCB (and its competitors)
[ ] @JulSez have you already tried experiments with this new variant of GLR-klUCB ?

First experiments on problem 1

For problem 2:

For problem 3:

For problem 4:

For problem 5:

For larger horizon

repo: SMPyBandits/SMPyBandits


text:
🛑 CAOS is down

In 04a692d, CAOS (http://caos.ayi-asociados.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CAOS is back up in ff12312 after 26 minutes.

repo: SOPORTEAYIGROUP/AYIGROUP


text:
🛑 Internet EPEC is down

In 382c084, Internet EPEC (190.96.117.110) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Internet EPEC is back up in 5bb3f70 after 31 minutes.


text:
🛑 Gitlab Ayigroup is down

In ae9a6ae, Gitlab Ayigroup (https://gitlab.ayi-asociados.com/) was down:

HTTP code: 503
Response time: 234 ms

Resolved: Gitlab Ayigroup is back up in df0c6dd after 2 days, 11 hours.


text:
🛑 Jira Ayigroup is down

In c9ba215, Jira Ayigroup (https://jira.ayi-asociados.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Jira Ayigroup is back up in c565889.


text:
🛑 VEDI TEST is down

In a9445d8, VEDI TEST (https://vedi.test.cordoba.gob.ar/) was down:

HTTP code: 503
Response time: 384 ms

Resolved: VEDI TEST is back up in 541d7ba after 11 minutes.

repo: SOPORTEAYIGROUP/STATUSVEDI


text:
Adjust viewport height for mobile devices on Update Shelter page

ISSUE 225

Postei na issue original. Acredito que podemos resolver isso usando apenas css -> https://caniuse.com/viewport-unit-variants

Postei na issue original. Acredito que podemos resolver isso usando apenas css -> https://caniuse.com/viewport-unit-variants

Bem mais simples mesmo essa abordagem @allangalera, 92.34% dos browsers e versões já suportam essa unidade:

@felipemrvieira, como temos um suporte para mais de 90%, considere o uso do dvh por gentileza.

Postei na issue original. Acredito que podemos resolver isso usando apenas css -> https://caniuse.com/viewport-unit-variants

Bem mais simples mesmo essa abordagem @allangalera, 92.34% dos browsers e versões já suportam essa unidade:

@felipemrvieira, como temos um suporte para mais de 90%, considere o uso do dvh por gentileza.

Acabei de atualizar o PR. Valeu pelo feedback!

@SOS-RS/frontenders Preciso de mais um review aqui.

Acredito que está pronto para merge @vinny-silveira @andradeviniicius @larissapissurno

mergeado @felipemrvieira

authors: allangalera felipemrvieira larissapissurno vinny-silveira

repo: SOS-RS/frontend


text:
Added CRUD tests to GameLibrary.Tests

✨ Description
Please try to check; create, edit, etc., and exactly if tests are passed. Thanks

Linked Issue:
🔄 Type of Change

[x] 🐞 Bug fix
[x] ✨ New feature
[x] 🔧 Improvement

✅ Checklist

[x] 📝 Code follows project style guidelines
[x] 🔗 Relevant issue is linked and moved to 'In Progress'
[x] 🧪 All relevant tests have been added or updated
[x] ✔ Continuous integration (CI) tests have passed
[x] 👀 Ready for review

📄 Additional Information

Merge Committed into main.

authors: Ahmad-Alqadiri RespectMathias

repo: SP-SDU/GameLibrary


text:
yt-subs.bat probably doesn't work

This script may or may not work on windows, I assume it may work in git bash/powershell, but otherwise probably not.

It does not work.
Running yt-subs.sh works under windows 10 (it launches git bash and works as expected).

repo: SPDUK/youtube-subscription-dl

license: Unlicense


text:
Run inference on a video frame by frame

Thank you for your amazing work! I am kind of new to the 3d object detection topic. So far, i was able to test your pretrained did and got similar results to the ones you described. With the help of the kitti devkit i was able to visualize the according results.
Now i want to to test the pretrained model on new images, e.g. images from frame after frame video input and visualize the according outputs.
What do i have to do so did takes a single image (maybe together with the information about the image size) as input?

Very sorry for the late reply. Thanks for your interest in this work! Unfortunately, the current codebase cannot support a single image input directly. You can modify "train_val.py" and the kitti dataloader to achieve your goal (e.g., add a test/demo function to support a single image input).

I ran into some issues in between but I finally managed to do so. Thank you!


text:
Allows long int for bind when used with name

a3160dcfc2f80f692f3477a67c202ff87f75fa5a fixed this for bind by index
This PR just applies the same fix to the named functions.

Well, sure, I was too quick and missed that!
Thanks for doing this, with proper unit tests.

Coverage increased (+0.02%) to 96.344% when pulling cebea884c37d1fa58ee4202c077ee34815223be2 on xforce:master into 7c4689eb5179d68c79bf22381b475c191f77f31c on SRombauts:master.

authors: SRombauts coveralls xforce

repo: SRombauts/SQLiteCpp


text:
Add HPX inspect tool

This patch proposes to add a fork of the Boost inspect tool to HPX. It also enables running this tool on all of the HPX' source code tree during each CircleCI build. This will ensure that a CircleCI build will fail if one or more of the rules are violated which are currently checked by the tool.
The following things have been modified from the Boost version of the inspect tool:

Overhauled the command line handling, as a consequence the HPX inspect command line options differ from the original tool (see below for the new options)
Added the ability to write the report to a file (--output=<file> option)
Changed the tool's tags from boost-no-inspect to hpx-no-inspect

This patch also fixes (or suppresses) all reported violations in the HPX source code base.
Here is the output of invoking inpect --help:
Usage: inspect [dir [dir ...]] [options]:
  -h [ --help ]                 print some command line help
  -o [ --output ] arg           the filename to write the output to
  -t [ --text ]                 write a text file (default: html)
  -b [ --brief ]                write a short report only (default:
                                comprehensive)
  --license [=arg(=0)]          check for license violations (default: off)
  --copyright [=arg(=0)]        check for copyright violations (default: off)
  --crlf [=arg(=0)]             check for crlf (line endings) violations
                                (default: off)
  --end [=arg(=0)]              check for missing newline at end of file
                                violations (default: off)
  --link [=arg(=0)]             check for unlinked files violations (default:
                                off)
  --path_name [=arg(=0)]        check for path name violations (default: off)
  --tab [=arg(=0)]              check for tab violations (default: off)
  --ascii [=arg(=0)]            check for non-ascii character usage violations
                                (default: off)
  --apple_macro [=arg(=0)]      check for apple macro violations (default: off)
  --assert_macro [=arg(=0)]     check for plain assert usage violations
                                (default: off)
  --deprecated_macro [=arg(=0)] check for deprecated macro usage violations
                                (default: off)
  --minmax [=arg(=0)]           check for minmax usage violations (default:
                                off)
  --unnamed [=arg(=0)]          check for unnamed namespace usage violations
                                (default: off)
  -a [ --all ]                  check for all violations (default: no checks
                                are performed)

LGTM

authors: K-ballo hkaiser

repo: STEllAR-GROUP/hpx


text:
Warning cleaning pass

I've gone over the warnings I got from Clang 3.7, CMake 3.3.2 and libc++-trunk. This pull request has one commit per kind of warning:

unused variables,
pessimistic move,
CMake diagnostic,
infinite recursion.

Please inspect the files touched by the commits and see if my commonly suggested actions of HPX_UNUSED:ing the variables is desirable or if the automatic variables can be removed without losing test coverage or expressiveness.

LGTM, thanks!

authors: hkaiser zao


text:
Overhauling thread_mapper for public consumption

Fixes #4691

I am now getting correct thread IDs from the mapper on windows, which was broken before.
With this the thread_mapper becomes useable for me.
I still would suggest on the long run to replace the long ints with correct standard std::thread::id types for standard conformance.
Custom thread data can now easily be implemented by the user.
Thanks for the quick fix - I hope this gets merged soonish!

I still would suggest on the long run to replace the long ints with correct standard std::thread::id types for standard conformance.

I'll see what I can do.

I like this new change with the possibility to get the std::thread::id type. It makes some hacky conversions unnecessary.

What do we want to do with this one now? It seems like the removal of bimap from the thread mapper is a big win in any case. I also think that this is a welcome change even if @McKillroy didn't need these particular changes in the end.
PS. I think I will never be able to unsee std::thread::id.

Let's go ahead with this as is.

I think there is one lesson to be learned:
I had a requirement to initialize per-worker:thread: structures ahead of using these :thread:s. [Hi Mikael - welcome to a :thread:ed world 😉 ]
But when I asked in IRC - actually it came up on several occasions - I didn't get a satisfying answer right away, which means even the people knowing HPX extremely well couldn't come up with the easy solution I had in the end spontaneously - it took time.
To me this means, that HPX has become so powerful in its functionality and broad in its applicability, that even specialists can not always overlook what is possible.
My conclusion would be, that we need a sort of knowledge base or collection of recipes, which is searchable and goes beyond the examples directory.
I see it a bit like a bug, that now got resolved, but we should now have a test for it to prevent regressions. This would translate to having an entry with the problem and the solution somewhere, which can be indexed, tagged/categorized and is full-text searchable.
The Wiki together with the examples? I'm not sure whats best and also maintainable.

@msimberg this is good to go now (once the tests have cycled).

@hkaiser I hope I fixed the last deprecated headers. Feel free to merge once CI is happy.

authors: McKillroy hkaiser msimberg


text:
Fixing component multiple inheritance

flyby: fixing get_ptr<>(sync)

Fixes #5964
@kleinhenz would you be able to verify whether this fixes your problem?

Yes this fixes the problem for me. Thanks! Any chance this can make it into 1.8.1?

Yes this fixes the problem for me. Thanks! Any chance this can make it into 1.8.1?

Yes, that's the plan.

bors merge

authors: hkaiser kleinhenz


text:
SPI issue with STM32CubeH7 MCU Firmware Package v1.11.1

I've just discovered that even if iis3dwb driver works well with STM32H7 if MCU Firmware Package is v1.10.0, after I upgraded the firmware packgae to v1.11.1 - and no other change to my source code - iis3dwb device started having some issues on the SPI communication.
Basically, there are some conditons that stops then device from answering on the SPI.
One of them is using another SPI peripheral on the MCU to write into an external EEPROM.
After my investigation, what happens is similar to the issue described here but it's 10 months old and no patch has been provided.
I had to switch back to v1.10.0

I've just discovered that even if iis3dwb driver works well with STM32H7 if MCU Firmware Package is v1.10.0, after I upgraded the firmware packgae to v1.11.1 - and no other change to my source code - iis3dwb device started having some issues on the SPI communication. Basically, there are some conditons that stops then device from answering on the SPI. One of them is using another SPI peripheral on the MCU to write into an external EEPROM.
After my investigation, what happens is similar to the issue described here but it's 10 months old and no patch has been provided.
I had to switch back to v1.10.0

Is it an ii3dwb issue or STM32CUBEH7?

Is it an ii3dwb issue or STM32CUBEH7?

As far as I can see, this seems an STM32CUBEH7 issue (because it has changed, and iis3dwb driver has not changed), even if it's the iis3dwb that fails and doesn't work anymore.
But maybe the iis3dwb is somwhow "weak" and when the FIFO is not read after is ready, the MEMS hangs.
It's only my guess. I don't have any clear explanation for what happenes.
If @avisconti can give additonal info, they're appreciated.

After some investigation I have some news, and one question related to iis3dwb.
I suspect that the new release of STM32CUBEH7 triggers some rare corner-case on my application.
I want to read samples continously without any "wake up" event, and so I configured iis3dwb in "continous mode:  if the FIFO is full, the new sample overwrites the older one" (from the datasheet) - see page 31 of AN5444 application note.
I use a watermark threshold for the FIFO, and I configured INT1 pin to give FIFO_FULL interrupt.
When I receive a FIFO_FULL interrupt I read all the samples.
Is there any timeout in this read?
What happens if (for any reason) I'm not able to read all the samples before the FIFO is overwritten?
From what I see, it seems that no more FIFO_FULL interrupt is generated.
Is there a way to detect this situation?
Is there a way to recover from this?

Sorry for my bad explanation when I wrote:

I use a watermark threshold for the FIFO, and I configured INT1 pin to give FIFO_FULL interrupt.

I mean that I set a watermark (WTM) and so I configured INT1 to give FIFO_WTM_IA interrupt (when I wrote FIFO_FULL I meant WTM_FULL, since I use WTM).
But if I'm too slow in reading samples, is there a risk of blocking everything in this case too?
Is there a way to detect and/or recover from this?

Hi @avisconti,
I resume this topic after a log time.

I mean that I set a watermark (WTM) and so I configured INT1 to give FIFO_WTM_IA interrupt (when I wrote FIFO_FULL I meant WTM_FULL, since I use WTM).
But if I'm too slow in reading samples, is there a risk of blocking everything in this case too?
Is there a way to detect and/or recover from this?

Can you share an answer for the above questions?
Thanks a lot for your valuable help with iis3dwb.

authors: avisconti escherstair


text:
🛑 SPCast / Loadbalancer is down

In 559f13f, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in b01c794 after 9 minutes.


text:
🛑 SPCast / Loadbalancer is down

In 90822f4, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in 31f46a0 after 8 minutes.


text:
🛑 SPCast / Loadbalancer is down

In 71ebf1c, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in 4f0a2c1 after 13 minutes.


text:
🛑 SPCast / Loadbalancer is down

In 53c18bd, SPCast / Loadbalancer (https://loadbalancer.sp.radio.fm/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SPCast / Loadbalancer is back up in 5780f2c after 7 minutes.