text:
Add setup option endpoint

First implementation of https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode/issues/90#issuecomment-1614415702

[x] Add tests
[ ] get_setup_option_parameter(option, parameter) will return  {'errorCode': 'UNSPECIFIED_ERROR', 'error': 'Internal Error'} when option does not exist. If parameter does not exist, it will return None.
[ ] Add helper for local setup that will return a bool?

About the helper, we haven't such thing yet. Do yourself have any otherwise helpers ideas?

@tetienne actually, in previous PRs I added 2 utils (https://github.com/iMicknl/python-overkiz-api/blob/main/pyoverkiz/utils.py) which are some kind of helpers 😁.

source: gharchive/pull-request

authors: iMicknl tetienne

repo: iMicknl/python-overkiz-api

license: MIT

license_type: permissive

license_source: github-api


text:
Exception handling

Any chance to have raised Exceptions surface instead of being printed in the background?
I need to handle rate_limit_exhausted and use the exception to choose another .pkl session

Umm, there is a temporary fix. (I might add some permanent fix to the code soon, it sounds like a great idea to me.)You can handle it in a couple of ways:
If you want to handle it before the data is returned, you have to make changes to the code to shuffle the session before it hits the rate limit.
However, if you are planning to change the session after it returns the response data, you can add an extra key-value pair with the rate limits data and can use the cursor_endpoint to continue after shuffling the session.
Question : How do I keep a track of rate limits?
Answer : Navigate to the following line in request_util module
api_limit_stats = util.check_api_rate_limits(response)

You can assign this api_limit_stats to some temporary variable which is available everywhere. I am going to use config module for this.
api_limit_stats = util.check_api_rate_limits(response)
config.RATE_LIMIT = {'rate_limit':api_limit_stats}

Now api_stats are available in the config file. You can navigate to the tweeterpy.py module and look for _handle_pagination.
If you want to handle the session within the code, just check  if config.RATE_LIMIT.get('rate_limit',{}).get('rate_limit_exhausted',None) is True. and shuffle the session. Or just add this rate_limit data to data_container in _handle_pagination method (if you want to shuffle the sessions on your end), when it returns the data, check for the rate_limit in returned data and use try except block with some loop to handle it.
# you can add the api_stats to data container in _handle_pagination method
data_container['data'].extend(filter_data(data))
data_container['rate_limit'] = config.RATE_LIMIT

I hope this answered your question, let me know if you need any help.

Will try shortly. I tried initially to raise a custom error from make_request through _handle_pagination through search that contains the original error + the data but that didn't work out quite as planned.

Yes, it won't work. I mean yes you can raise the error from the request_util module but when the _handle_pagination handles that error exception, it just prints  the error and then returns the data_container. I  chose to do it that way so that no matter what sort of error it is, user always gets the data. But if you want to go the other way, you can raise the exception in except block in _handle_pagination method, but then you have store that data in realtime in some global variable or database so that when the error is raised you dont lose your data.

Hey @codilau
Hey I just added this rate limit feature. I am going to commit changes soon.
API rate limit stats/data will always be available in config._RATE_LIMIT_STATS , just in case you want to use it in some other way.
If you want to manually get access to the rate limits :

from tweeterpy import config
print(config._RATE_LIMIT_STATS)
NOTE : It will only show the rate limit data for the most recent request you made. For instance if you recently scraped user friends, the rate limit data will be related to that API endpoint, same goes for the other endpoints. You can check the file logs (tweeterpy.log) for thorough api stats.

Here is how you can implement it into your code:
# if you are fetching a lot of data, avoid using while loop. I am using it only for demonstration purposes.
from tweeterpy import TweeterPy
from tweeterpy.util import RateLimitError # you can use this custom exception to throw error when rate limit gets exhausted

twitter = TweeterPy()
user_tweets = {"data": [],"cursor_endpoint": None, "has_next_page": True, "api_rate_limit":{}}
has_next_page = True
while has_next_page:
	try:
		tweets = twitter.get_user_tweets('elonmusk',total=50) # setting 50 on purpose, just for demonstration purpose.
		cursor_endpoint = tweets.get('cursor_endpoint', None)
		api_rate_limit = tweets.get('api_rate_limit', {})
		has_next_page = tweets.get('has_next_page', False)
		limit_exhausted = api_rate_limit.get("rate_limit_exhausted")
		user_tweets['data'].extend(tweets['data'])
		user_tweets['cursor_endpoint'] = cursor_endpoint
		user_tweets['has_next_page'] = has_next_page
		user_tweets['api_rate_limit'] = api_rate_limit
		if not has_next_page:
			break
		if has_next_page and limit_exhausted:
			raise RateLimitError
	except RateLimitError:
		#handle exception here, shuffle account or wait (time.sleep) until rate limit gets expired. Reset datetime python object is in tweets.get('reset_after_datetime_object')
	except:
		pass

If you have any questions, let me know.

source: gharchive/issue

authors: codilau iSarabjitDhiman

repo: iSarabjitDhiman/TweeterPy


text:
Update CONTRIBUTING.md

added more information about contribution.

Thanks!! ❤

authors: iSaulX nadunwee

repo: iSaulX/DTMA-YouTube


text:
Feature/strapi endpoint koppelen met frontend

Description
Closes #157
Branch name: #161
Let op: voeg VITE_STRAPI_API_URL toe aan je .env met de waarde https://jungle-gym-cms.herokuapp.com
Type of change
Please select the option that is relevant

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

Checklist

[x] I have commented my code, particularly in hard-to-understand areas.
[x] All the required documentation is added.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.

Additional information
[Provided extra information if necessary]

Doen we dan nog even wat short circuits erin, zodat we beide API's kunnen gebruiken voor nu?

@iSirThijs Done (als het goed is). Heb getest en beide APIs doen het niet.

authors: iSirThijs jochemvogel

repo: iSirThijs/jungle-gym


text:
expose VisuallyHidden component

Changes
Improved the CSS for visually-hidden component, added focus behavior using data attribute, removed the "revert" mixin (was not used anywhere), and publicly exposed react component so users can consume it (previously it was internal).
Testing
Added examples and tested in voiceover+safari.

Docs
Added changeset, jsdocs, and a new docs page with multiple examples.

Very useful!
I could not get screen reader to read "3 stars out of 5". Do you have any tips how to achieve that?

Tried it in playground just now and it seems to work.

I understand why you didn't make any visual tests, because it's not supposed to be visible, but maybe having a test that confirms that's the case for regression purposes would be good?

It is already used in other components (e.g. Tile, FileUpload and MenuItemSkeleton), so we have indirect visual tests. And having examples in the docs page is a good place to verify it as well. So I don't think a story is necessary.

repo: iTwin/iTwinUI


text:
Checkstyle: Bump oss basepom to 1.9

To get the latest checkstyle rules:

Comma(,) at end of line
Plus(+) and dot(.) at beginning of line.
All files should have an NL at end of file

ping @nzroller again: did I get it right with the oss pom?

Yes except see https://github.com/iZettle/izettle-toolbox/pull/136 -- basically I'm the only one who can release right now because I'm the only one with write permissions on sonatype for the groupId com.izettle. I was hoping I could automate the whole process somehow but haven't got around to it yet...

So for this PR, I think it's still fine to use the "private" basepom and I'll try to figure it out today...

I updated the commit back to izettle:1.7 -- @sirtik is helping test and implement semi-automated OSS releases and once that is ready we can make the switch to the oss pom via #136

authors: adamvoncorswant nzroller

repo: iZettle/izettle-toolbox

license_source: bigquery


text:
TimeZoneId: Update with current zones

And remove a few outdated ones.
ping @olsson

I think so. Otherwise, I'll ping @nzroller after this is merged, but I would need a merge first :)

Nice. Thank you @olsson !


text:
Would the code be supplemented later?

Hi Iago,
Would the code be supplemented later?
Thanks and reagards
John

Hello John,
Sure!
I'm just finishing the documentation and I will update the project.
Sincerely,
Iago

Looking forward to your fabulous works!


text:
Increase test coverage for NLU module

NLU module is being actively worked on so this is a priority for expanding test coverage.
It would be nice to get >90% coverage for the module.

NLU will be refactored in the future. Moving this to v1.1.

repo: iai-group/MovieBot


text:
constants.FUNCTIONS_SRC can be undefined

As per our documentation the FUNCTIONS_SRC constant can be undefined:
https://github.com/iamanishroy/netlify-plugin-js-obfuscator/blob/ca7d29c28849b0066756dc0e6f43c2dae1a3ca6b/index.js#L41
This would mean the following replacement:
https://github.com/iamanishroy/netlify-plugin-js-obfuscator/blob/ca7d29c28849b0066756dc0e6f43c2dae1a3ca6b/index.js#L9
Could result in:
directoryFilter: ["!node_modules", "!plugins", "!undefined"],

Depending on how the module reasons with the directoryFilter, and what sort of assets the user has, might not have that much impact... However might be worth considering some sort of check beforehand and only using the variable if it actually exists.

Issue Fixed!
`const excludedDir = ["!node_modules", "!plugins"];
// listing all the '.js' files
const getJsFiles = async (directory, func_dir) => {
if (func_dir) {
excludedDir.push(!${func_dir});
}
const files = await readdirp.promise(directory, {
fileFilter: "*.js",
directoryFilter: excludedDir,
});
return files.map((file) => file.fullPath);
};`

Issue Fixed!
`const excludedDir = ["!node_modules", "!plugins"];
// listing all the '.js' files
const getJsFiles = async (directory, func_dir) => {
if (func_dir) {
excludedDir.push(!${func_dir});
}
const files = await readdirp.promise(directory, {
fileFilter: "*.js",
directoryFilter: excludedDir,
});
return files.map((file) => file.fullPath);
};`

issue fixed!
const excludedDir = ["!node_modules", "!plugins"];

// listing all the '.js' files
const getJsFiles = async (directory, func_dir) => {
  if (func_dir) {
    excludedDir.push(`!${func_dir}`);
  }
  const files = await readdirp.promise(directory, {
    fileFilter: "*.js",
    directoryFilter: excludedDir,
  });
  return files.map((file) => file.fullPath);
};

issue fixed!
const excludedDir = ["!node_modules", "!plugins"];

// listing all the '.js' files
const getJsFiles = async (directory, func_dir) => {
  if (func_dir) {
    excludedDir.push(`!${func_dir}`);
  }
  const files = await readdirp.promise(directory, {
    fileFilter: "*.js",
    directoryFilter: excludedDir,
  });
  return files.map((file) => file.fullPath);
};

issue fixed!
var excludedDir = ["!node_modules", "!plugins"];

// listing all the '.js' files
const getJsFiles = async (directory, func_dir) => {
  if (func_dir) {
    excludedDir.push(`!${func_dir}`);
  }
  const files = await readdirp.promise(directory, {
    fileFilter: "*.js",
    directoryFilter: excludedDir,
  });
  return files.map((file) => file.fullPath);
};

issue fixed!
var excludedDir = ["!node_modules", "!plugins"];

// listing all the '.js' files
const getJsFiles = async (directory, func_dir) => {
  if (func_dir) {
    excludedDir.push(`!${func_dir}`);
  }
  const files = await readdirp.promise(directory, {
    fileFilter: "*.js",
    directoryFilter: excludedDir,
  });
  return files.map((file) => file.fullPath);
};

authors: JGAntunes iamanishroy


text:
Page not longer using this script

Hi Dustan, sadly I've redesigned my personal site a while ago and it's not longer using this script. I've seen it's present in the README (jeremenichelli.github.io/site) so I think you should remove it. If you want I can help you build an example page.
Cheers!

Thanks @jeremenichelli. Removed the In The Wild section from the readme.

authors: iamdustan jeremenichelli

repo: iamdustan/smoothscroll

license: mit


text:
Don't do anything

On realme gt neo 2 stock rom

On poco x5 pro with Evolution X rom

repo: iamlooper/XCharge


text:
What is the performance penalty of this sugar?

This isn't but it does not feature either but related to performance so I made this issue.
This library is awesome and it's no brainer that there should be an easier way to implement easy stuff like padding, opacity, margin, transform etc than having to increase the height of the Christmas tree. But I have a curiosity regarding performance issues, how the internals are designed to address this aspect.
So as we make extensive use of (extension) functions in this library (at least in my understanding), what are we losing in terms of performance that we gained using StatelessWidget?
As per this answer from  Remi Rousselet (https://github.com/rrousselGit, we might be losing some performance using functions in place of stateless Widget?
If we are losing performance, do you have anything planned to address this issue?

No we are not losing any performance because most of the times you will just use the props which are not widgets. When you say make() that means that it created one widget for you. It's almost how you write your apps but the approach is just different

Thats great to hear then :)

authors: erluxman iampawan

repo: iampawan/VelocityX


text:
Processing data in models

In this PR, I have completed the following

Created model classes with associations for all entities as shown in the ERD diagram.
Used models to insert data and applied CRUD methods to find, update and delete entities.
Created custom methods according to following guidlines
Users

A method that returns the 3 most recent posts for a given user.

Posts

A method that updates the posts counter for a user.
A method which returns the 5 most recent comments for a given post.

Comments

A method that updates the comments counter for a post.

Likes

A method that updates the likes counter for a post.

Hi @elisha2kyakpo1 👋, Thanks for the thorough and for approving the PR!!

repo: iamsjunaid/quill-quest


text:
🤔 Submitting a form that does not redirect

Problem
Right now the submit_form function assumes that the response is a redirect. This may not be the case.
How should we handle form submissions that do not redirect?
(Potential) Solution(s)
One option would be to check the response and behave accordingly.
def submit_form({conn, {:ok, view, _html}}, selector, attributes) do
  result = view |> form(selector, attributes) |> render_submit()

  case result do
    {:error, _} -> {conn, follow_redirect(html, conn)}
    _ -> {conn, {:ok, view, result}}
  end
end

Another option would be to remove the assumption and require an explicit "follow" from the caller. I tend to not prefer this option, because the whole purpose of this lib is to minimize required knowledge of underlying live-view-isms.

follow_redirect takes an optional third arg that asserts it redirected to the correct URL so it would be nice to be set that up.
You could have a follow_submit_form as well?  You could also probably just get away with submit and follow_submit since they'd be taking a selector that hopefully makes it obvious it's a form:
|> follow_submit("form", %{
  pizza: %{
    toppings: %{
      0 => %{
        name: "Some topping everyone likes and no one will complain about"
      }
    }
  }
}, ~p"/thank-you")

Very cool! I'm not sure I've seen the follow_redirect/3 form. I've also updated submit_form in #23 to handle redirects internally. The path option would be a nice addition.

authors: iamvery sodapopcan

repo: iamvery/iamvery-elixir


text:
🛑 Hacker News is down

In ab8e446, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 293 ms

Resolved: Hacker News is back up in d28d1a6 after 10 minutes.

repo: ianmyles/uptime


text:
Is there any way to use tensorrt model??

Hi,
I want MIT license YOLOv8 models to use it on my project, and I'm new here.

Can I use exported tensorRT YOLOv8 model with this codes?

And, just out of curiosity, why did you use onnx?? Is it better than tensorRT model?

I'm not the repo author, but according to the MIT license you can use this code without limitations.
Usually we use ONNX to export a model in a standardized cross-platform representation, while TensorRT is specific and optimized for Nvidia platforms.
If you convert any model to TensorRT you would get better performances only on Nvidia devices.


text:
Add pelias panel ltr

A couple of tweaks for #699.

Merged by https://github.com/ibi-group/datatools-ui/pull/699/commits/3f832614074de2f1b2e1115af38a539c3d5b9e1a

authors: landonreed miles-grant-ibigroup

repo: ibi-group/datatools-ui


text:
Update help text

Firstly thanks for creating this! Works like a charm!
I see that PowerSession now supports cmd and pwsh through the --command parameter(#4), but this option is not shown in the help text. It would make its discovery easier.
Also, on a side note, when I do powersession play hello2.txt and the file hello2.txt doesn't exist, PowerSession just dumps out a stacktrace. It'd be better if it just said 'File not found'.
Cheers!

Thanks for the posting.
the help text can be checked this way and this is how https://github.com/dotnet/command-line-api works. added example in README.
PS C:\Users\i\RiderProjects\PowerSession\PowerSession.Cli\bin\Release\netcoreapp3.0\win-x64\publish> .\PowerSession.exe rec -h
rec:
  Record and save a session

Usage:
  PowerSession rec [options] <file>

Arguments:
  <file>    The filename to save the record

Options:
  -c, --command <command>    The command to record, default to be powershell.exe

Thanks for the posting.
the help text can be checked this way and this is how https://github.com/dotnet/command-line-api works. added example in README.
PS C:\Users\i\RiderProjects\PowerSession\PowerSession.Cli\bin\Release\netcoreapp3.0\win-x64\publish> .\PowerSession.exe rec -h
rec:
  Record and save a session

Usage:
  PowerSession rec [options] <file>

Arguments:
  <file>    The filename to save the record

Options:
  -c, --command <command>    The command to record, default to be powershell.exe

also please check out the latest release for handling the file not found exception https://github.com/ibigbug/PowerSession/releases/tag/release-v1.4.1

also please check out the latest release for handling the file not found exception https://github.com/ibigbug/PowerSession/releases/tag/release-v1.4.1

Oops, sorry, my bad, I was just checking by doing powersession --help. Thanks for the quick reply!

Oops, sorry, my bad, I was just checking by doing powersession --help. Thanks for the quick reply!

repo: ibigbug/PowerSession


text:
block 回调YYmodel

我在block里面回调一个YYmodel 的实体时 无法使用点语法点出属性的值并且通过 po 来打印出来的属性值提示 error: member reference type 'ParentJsonModel *' is a pointer; did you mean to use '->'?
error: incomplete definition of type 'ParentJsonModel'
note: forward declaration of 'ParentJsonModel'
error: 2 errors parsing expression
我在根据上面的提示使用-> 这个来输出时 提示
error: member access into incomplete type 'ParentJsonModel'
note: forward declaration of 'ParentJsonModel'
error: 1 errors parsing expression

这是 Xcode 或 lldb 的问题，与其他框架和 Model 代码无关。
检查下你的工程是否是在 Debug 模式下、是否关闭了编译优化，重启 Xcode，等等。

authors: ibireme sunjames

repo: ibireme/YYModel


text:
Test a Pipeline fails without error on ZIP file

Describe the bug
When using a ZIP file to use "Test a Pipeline" and an error occurs with the ZIP, no error message is shown, only a green bar.
Reporter
Ricardo/Bibi
Category
Use following Tags to categorize your bug report

Frank Console

To Reproduce
Steps to reproduce the behavior:

Open Test a Pipeline
Use .zip file (will be send per mail) on any adapter
Get green bar

Expected behavior
A clear and concise error of why the file could not be processed.
Screenshots
N/A
Environment:

Application server (f.e. Tomcat/WebSphere/JBOSS/Jetty): Tomcat
Browser [e.g. chrome, safari]: Chrome
IAF Version [e.g. 7.5 RC3, 7.6]: 7.6-20201021.120101

Additional context
N/A

I tested with ibis4sapbp on TST, which is running on 7.5RC2. It appears that there the file (either zip or txt) is not recognized in test a pipeline: the error message says: 'Please specify a file or message!'
I tested also on ibis4example, which is running on 7.6 snapshot. There a small zip file I created myself is executed without a problem. The zipfile that was sent by mail, however, indeed fails without any trace.

authors: gvanbrakel ricardovh

repo: ibissource/iaf


text:
Add copy/paste capabilities to the Frank!Console page that displays a logfile

Is your feature request related to a problem? Please describe.
When you open a logfile in the Frank!Console, you cannot copy/past the text.
Describe the solution you'd like
When you are seeing a logfile in the Frank!Console, it would be nice if you could select text and copy it.
Describe alternatives you've considered
This issue becomes less problematic when issue #631. Then at least you are seeing the full path of the file, allowing you to open it in a text editor.
Additional context
I am working on the Frank!Manual, a chapter for operators. When an operator opens a logfile in the Frank!Console, the only thing she can really do with it is sending it to a Frank developer. To do this, she has to copy/past it to her mail or chat program.

You can copy the path (and filename with #631) or click the copy icon, see:

It is also possible to send the logging's page url to others. This will directly display the directory or file.

I checked that I can select text and use right-click. Then you get a menu and you can select Copy. You can then paste the selected text somewhere.


text:
Now prints the "prompt" that was returned

I like this recipe a lot.
This change lets the user see what the returned prompt actually is, which also makes it easier to compare the final doc output with the input code in the prompt.
Almost all the line differences are metadata from the notebook. (I cleared the output.) I'm not sure what to do about this, other than just accept it 🤷

lgtm but first @fayvor shouldn't your cleaner be scrubbing the ids of this?

authors: deanwampler rawkintrevo


text:
Getting started instructions should reference src/secret.js

If I follow the startup instructions on this project, it doesn't work. I get the error:

could not resolve ./src/secret

It turns out there's hard-coded Cloudant credentials required in a ./src/secret.js file. There is a ./src/secret.js.template file provided as a guide but this is not mentioned in the README at all.

The current implementation seems to be a place holder for the replication URL setting that users should be able to configure in the app.

Related #43

no need to fix anymore

authors: glynnbird ptitzler


text:
Maybe something wrong in ‘/imagenet_pytorch/utils.py’？

I noticed that:
in file ‘/imagenet_pytorch/utils.py’
line 152
block_feature_II = torch.cat((block_feature_II, self.blob_dict_list[1][str(layer_id)]), 1)
maybe the self.blob_dict_list[1] should be replaced with self.blob_dict_list[self.loop_num]
to get the final loop result instead of the first loop result?

Hi,
You are right.  When we debuged our code, we always set loop_num = 1. It does not matter. We have rewrite it. Thanks!

Thank you for your notice!
I checked the code again,
but it might be self.loop_num not self.layer_num?

sorry, error has been fixed

repo: iboing/CliqueNet


text:
Blog app: add authorization rules

In this [PR] we (@sarazaToussaint, @ibr5500 ) have:

Install CanCanCan in the project.
Add a role column to the users table
A user can delete a (post, or comment) if it is theirs or if they have an admin role

Thank you @BenMukebo for the code review.

Thank you @mugishasam123 for the code review


text:
本来是0.6.6版本，编辑保存了一下，开机报错了。

我看到好像oc 0.6.7是新增了3个属性，能优化一下这个么？

目前已经支持了0.6.7正式版。你光是保存了配置文件（相当于只升级了配置文件），而没有升级OC，那肯定是会报错的。你必须将OC升级到0.6.7才不会报错，这样配置文件和OC才是一个完整的统一。

关于如何升级OC，你可以参考下面的这个：https://github.com/ic005k/QtOpenCoreConfig/issues/14

开发板更新到0.6.8了吗？支持不？

开发板更新到0.6.8了吗？支持不？

只要OC验证通过，就支持。这个和OC的版本没有任何关系，有关系的仅仅是OC是否增加或删除了一些选项。
比如OC升级到了1.0，但没有增加或删除任何新的选项，目前的OCAT依然适用。
所以你只需打开0.6.8的配置文件SampleCustom.plist，用OC验证看看有没有新的东西添加，如果没有，则OCAT就支持0.6.8的编辑。


text:
🛑 Icarephone is down

In ce74cd8, Icarephone (https://www.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Icarephone is back up in 7d0f8e0.

repo: icarephone/upptime


text:
fix babelPluginsMerge

https://github.com/ice-lab/icepkg/pull/403

Codecov Report
Base: 78.81% // Head: 78.81% // No change to project coverage :thumbsup:

Coverage data is based on head (9622e88) compared to base (67e5ed1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           stable/0.x     #404   +/-   ##
===========================================
  Coverage       78.81%   78.81%
===========================================
  Files              20       20
  Lines             812      812
  Branches          164      164
===========================================
  Hits              640      640
  Misses            172      172

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

版本信息要添加下

authors: ChrisCindy ClarkXia codecov-commenter

repo: ice-lab/icepkg


text:
Error: Handshake failed: no matching key exchange algorithm

Hi,
I really like the package and it has been very useful in the past.
I haven't used the remote-ftp package in a while, so i am not sure which update "broke" it for me.
However, every time I try to connect now (via SFTP) I get an error message regarding key exchange algorithm.
The host apparently only accepts
'diffie-hellman-group-exchange-sha1' and 'diffie-hellman-group1-sha1'
I am using
ubuntu 16.04
atom 1.19.3
remote-ftp 1.1.3
I was able to fix the problem by changing the hash key in lib/client.js line 431 from "key" to "kex"
cheers,
Rudolf

Hi,
Thanks for report issue and solved.
Do you want to do a Pull Request? I know that's a little change, but you're a contributor.
(If it doesn't matter to you, I'll write it myself.)
I think it is incorrect since https://github.com/icetee/remote-ftp/commit/cb123c56a3067d8ef1f4961bc89f22509d5d6b25 commit.
I found these with this command ssh -Q.
key:
ssh-ed25519
ssh-ed25519-cert-v01@openssh.com
ssh-rsa
ssh-dss
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
ssh-rsa-cert-v01@openssh.com
ssh-dss-cert-v01@openssh.com
ecdsa-sha2-nistp256-cert-v01@openssh.com
ecdsa-sha2-nistp384-cert-v01@openssh.com
ecdsa-sha2-nistp521-cert-v01@openssh.com

kex:
diffie-hellman-group1-sha1
diffie-hellman-group14-sha1
diffie-hellman-group-exchange-sha1
diffie-hellman-group-exchange-sha256
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521
curve25519-sha256@libssh.org

cipher:
3des-cbc
blowfish-cbc
cast128-cbc
arcfour
arcfour128
arcfour256
aes128-cbc
aes192-cbc
aes256-cbc
rijndael-cbc@lysator.liu.se
aes128-ctr
aes192-ctr
aes256-ctr
aes128-gcm@openssh.com
aes256-gcm@openssh.com
chacha20-poly1305@openssh.com

Hi,
I can create a pull request. However if I clone the current master branch I get an "Cannot find module 'fs-plus'" error. Not sure if you want to merge "my fix" into that version.
Anyhow just sent you a a Pull Request.
Regarding the Handshake issue, instead of hard coding the algorithm lists in the client, I would suggest to use the constants defined in ssh2-streams.constants.ALGORITHMS.

Go to the remote-ftp folder and install node-modules npm install or apm install.

That makes sense of course...
Everything works fine now.
cheers,
Rudolf

I merged https://github.com/icetee/remote-ftp/pull/953 thanks!

Great!
And keep up the good work!

authors: icetee lioutikov

repo: icetee/remote-ftp


text:
Buttons not clickable emptyState

Describe the bug
In the DataTable component, when using the emptyState prop to display a custom empty state containing any interactive button, the button becomes unresponsive. However, if the same component is rendered directly instead of within emptyState, the button works as expected. This appears to be an issue with DataTable’s handling of the emptyState prop.
To Reproduce

Use the DataTable component with emptyState to render an interactive component containing a button (e.g., Button or ActionIcon).
Attempt to click the button in the rendered empty state.
The button does not respond to clicks within emptyState.
Move the same component outside of DataTable’s emptyState and observe that the button becomes responsive.

Sample code of what I'm referring to:

function ExampleTable({ data, openModal }) {
  // Direct rendering example for comparison (works as expected)
  if (data.length === 0) {
    return (
      <Group justify="center" gap="lg">
        <ActionIcon size={24} onClick={openModal}>
          <IconPlus />
        </ActionIcon>
        <Stack align="left" gap={0}>
          <Text c="dimmed" size="sm">
            No records found.
          </Text>
          <Text c="dimmed" size="sm">
            Click the + button to add one
          </Text>
        </Stack>
      </Group>
    );
  }

  // DataTable rendering using emptyState (button does not work)
  return (
    <DataTable
      records={data}
      columns={[
        { accessor: "name", title: "Name" },
        { accessor: "age", title: "Age" }
      ]}
      emptyState={
        <Group gap="lg">
          <ActionIcon size={24} onClick={openModal}>
            <IconPlus />
          </ActionIcon>
          <Stack align="left" gap={0}>
            <Text c="dimmed" size="sm">
              No records found.
            </Text>
            <Text c="dimmed" size="sm">
              Click the + button to add one
            </Text>
          </Stack>
        </Group>
      }
    />
  );
}

Expected behavior
Buttons within the emptyState prop of DataTable should respond to clicks.
Screenshots
Using emptyState prop:
https://github.com/user-attachments/assets/23016287-f5c3-4e6c-855f-c5e8d5c4920f
Rendering directly with early return:
https://github.com/user-attachments/assets/f642c3ed-c0fb-4e7a-8a38-2743b1267b0d
Gyazo links in case embeds stop working:
https://gyazo.com/3c8cd0879ccdba8665433d2d40124384
https://gyazo.com/a7d9577f0c29bbb51be265280ba03622
Desktop (please complete the following information):

OS: MacOS Sonoma 14.6.1
Google Chrome
Version 130.0.6723.69 (Official Build) (arm64)

Thanks for reporting!
This was addressed in 7.14.3, which should hit the npm registry in a few minutes.

@mariansimecek
Oops, you're right. Will revert in a minute.

@mariansimecek Fixed in 7.14.4. Apologies for the inconvenience.
@pfo-omicsstudio To add interactive empty state content, make adjust the styling as explained here: https://icflorescu.github.io/mantine-datatable/examples/empty-state/#interactive-custom-empty-state-content

authors: icflorescu pfo-omicsstudio

repo: icflorescu/mantine-datatable


text:
🛑 Cravings For Green is down

In 005d43f, Cravings For Green (https://cravingsforgreen.nl/) was down:

HTTP code: 500
Response time: 10362 ms

Resolved: Cravings For Green is back up in 6ee977f after 1 hour, 8 minutes.

repo: icheered/uptime


text:
Add source install after build

Closes #20.

LGTM


text:
the shape error in deep_model

i meet the shape error when run the script to
**
network = tf.concat(1, [wide_inputs] + flat_vars, name="deep_concat")
**
the shape of wide_inputs is [?,5]
5 continue features
flat_vars is List of [?,8]
8 cates

How do you solve it

authors: timruning xsfd


text:
Iconify for vue2 creates a new vue instance when using it with Nuxt

This causes my console to be spawn with "$attrs is readonly" type of errors (related stackoverflow))
Here is the console without using iconify at all:

Now, in a component, I import iconify:
<template>

    <Icon icon="mdi:at" width="32" height="32" />

</template>

And this is the console output:

What can I do to solve this conflict and stop the multiple instances from happening?
Nuxt version is: ^2.15.7
Iconify 2: ^1.0.0-beta.1

Thanks a lot for reporting this! I'll debug it.

Debugged it, there are definitely some weird things happening. Component is not supposed to include Vue instance, but it does and there are few other bugs.

Actually, component does not include second Vue instance. It correctly imports it as external dependency. Component is not the issue, Nuxt is the one including it second time for some reason.
Why it does that? I don't know. After debugging it for 2 hours, I have more questions than answers.
Vue 2 component is pretty much identical to Vue 3, React and Svelte components. Even build process of those components is identical. Nuxt is not available yet for Vue 3, but for Sapper/SvelteKit and Next.js components have no issues with server side rendering.
I will continue debugging that issue when I'll have more time, but for now for server side rendering I recommend switching from Vue 2 component to SVG framework.
There are 2 ways to use SVG framework with Nuxt: as plugin or as remote script.
To use it as plugin, install @iconify/iconify add this to nuxt.config.js:
plugins: ['@/node_modules/@iconify/iconify/dist/iconify.min.js'],

To use it as remote script, add it to head section of nuxt.config.js (added script at the end of section):
	head: {
		title: 'nuxt2-demo',
		htmlAttrs: {
			lang: 'en',
		},
		meta: [
			{ charset: 'utf-8' },
			{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
			{ hid: 'description', name: 'description', content: '' },
			{ name: 'format-detection', content: 'telephone=no' },
		],
		link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
		script: [
			{ src: 'https://code.iconify.design/2/2.0.3/iconify.min.js', body: true },
		],
	},

Then in templates use span with icon name:

So I did more debugging, as far as I can tell, problem is in inability to mess with rendering engine, so Nuxt had to use some hacks to do its thing. Vue 2 was never designed with possibility server side rendering. Nothing can be done for Vue 2, it is just how Vue 2 and Nuxt work.
Good news is looks like issue is fixed in Vue 3. Vue 3 was designed differently and looks like it is possible to do proper server side rendering.

authors: cyberalien rafael-lua

repo: iconify/iconify


text:
add game board rendering

Render game with grid via a board class. No player functionality.

👍 empty tiles!!!!!
glad we got the board figured out


text:
submodule update for HERON and TEAL

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Continuing #1114
What are the significant changes in functionality due to this change request?
HERON: small updates to ramp frequency constraint auxiliary variable
TEAL: bug fixes for cash flow plots
- If there are more components than available colormaps, the colormap sequence repeats with additional hatching patterns.
- Fixes indexing error in stacked bar plots for inflows and outflows plot
- Removes Oranges from colormap list, was too similar to the Reds colormap

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Approved to merge if tests pass.

authors: GabrielSoto-INL PaulTalbot-INL

repo: idaholab/raven


text:
setInitialPageIndex strange animation if not first image

Hi,
if i use setInitialPageIndex and opens the Photo Browser the animation is strange.
It animates from the first image to the initial page index, also on hiding the browser.
If i open from the first image the animation is fine.
Any ideas?

Hi x2on, can show how to use setInitialPageIndex ?

I use it like this:
NSMutableArray *images = [NSMutableArray arrayWithCapacity:[imageSources count]];
for (id object in imageSources) {
    IDMPhoto *image;
    if (mode == ImageGalleryModeURL) {
        NSURL *url = (NSURL *)object;
        image = [IDMPhoto photoWithURL:url];
    }
    else {
        GalleryImage *galleryImage = (GalleryImage *)object;
        image = [IDMPhoto photoWithImage:galleryImage.image];
    }
    [images addObject:image];
}

IDMPhotoBrowser *browser = [[IDMPhotoBrowser alloc] initWithPhotos:images animatedFromView:galleryCell.imageGallery.currentImageView];
[browser setInitialPageIndex:idx];
browser.displayArrowButton = NO;
browser.scaleImage = galleryCell.imageGallery.currentImageView.image;
browser.delegate = self;
[self.navigationController presentViewController:browser animated:YES completion:nil];

Any thoughts on this issue?

@x2on, I don't know if you had solved the issue but for me, I realised it only happens if I use browser.scaleImage before presenting the view.

repo: ideaismobile/IDMPhotoBrowser


text:
我的一个业务场景发生变化，不再适合ssdb，请问有没有迁移回redis的办法？

这个业务的读取量增长的太大，读取达到了1秒90万，而我们目前的ssd硬盘无法支撑了，需要迁移回Redis集群。数据结构都是hash和set类型。

你需要自己写脚本遍历ssdb, 然后把数据写回redis. 遍历ssdb的代码你可以参考 ssdb-cli 或者 phpssdbadmin, 具体就是对不同的数据结构调用 *scan 类命令, 分页遍历.

谢谢，我去试试

authors: Hisoka-J ideawu

repo: ideawu/ssdb


text:
Update papers.bib

唐老师剩余的文章放入publication

pls fix conflict and resent, pls check and do not have duplicate papers.

done

authors: cainiaogoroad merlintang


text:
The layout of the graph within the draft in HTML/PDF version is not right

Describe the issue
In the newest version of HTM/PDF layout of the internet draft, the graph is wrapped around automatically, and let almost every graph can't be easily viewed by the reader.
Can you fix it, or add horizon scroll bar to improve the overview of the draft.
you can check the problem in the "Table of Contents" part of  https://datatracker.ietf.org/doc/html/draft-wang-tcpm-tcp-service-affinity-option, and Figure 1 in the introduction part of the same draft.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

I see the issue, but I can't reproduce it in my development instance - the PDF looks fine there. @rjsparks, any ideas?

Maybe the differences are in the fonts weasyprint is finding on ietfa vs the dev instances? Note that the header is wrapped badly in the pdfized text cached at the datatracker.

The datatracker generated pdfs are using Liberation-Mono - the dev instance generated pdfs are using DejaVu-Sans-Mono

That is probably it. We should standardize on fonts asap.

Is it solved?
When I review https://datatracker.ietf.org/doc/html/draft-ietf-idr-vpn-prefix-orf-00, the problem still exists.
How can I review it in correct format?
Best Regards
Aijun Wang
China Telecom
From: @.*** @.> On Behalf Of Robert Sparks
Sent: Wednesday, February 8, 2023 3:15 AM
To: ietf-tools/datatracker @.>
Cc: Aijun Wang @.>; Author @.>
Subject: Re: [ietf-tools/datatracker] The layout of the graph within the draft in HTML/PDF version is not right (Issue #5079)
Closed #5079 https://github.com/ietf-tools/datatracker/issues/5079  as completed via #5098 https://github.com/ietf-tools/datatracker/pull/5098 .
—
Reply to this email directly, view it on GitHub https://github.com/ietf-tools/datatracker/issues/5079#event-8461344642 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ADZCVBA3XJ3Q47DHYDME6NLWWKNMFANCNFSM6AAAAAAUP5PKIM .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/ADZCVBDOUYEQ4JN4PM7743LWWKNMFA5CNFSM6AAAAAAUP5PKIOWGG33NNVSW45C7OR4XAZNWJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XKUY3PNVWWK3TUL5UWJTYAAAAAD6CV36BA.gif Message ID: @.*** @.***> >

The fix hasn't been deployed yet.

authors: AijunWang larseggert rjsparks

repo: ietf-tools/datatracker


text:
facebookresearch/dinov2 can download?

I want know where can download it.

wget https://dl.fbaipublicfiles.com/dinov2/dinov2_vitl14/dinov2_vitl14_reg4_pretrain.pth -O  /home/llm/linda/lab2/models/classifiers/dinov2_vitl14_reg.pth
I  downloaded pth file, and run error:
[ATTENTION] Set backend to: sage
Environment configured - Backend: spconv, Attention: sage, Smooth K: True, SpConv Algo: implicit_gemm
[ATTENTION] Set backend to: sage
Loading local model: ss_dec_conv3d_16l8_fp16
Loading local model: ss_flow_img_dit_L_16l8_fp16
Loading local model: slat_dec_gs_swin8_B_64l8gs32_fp16
Loading local model: slat_dec_rf_swin8_B_64l8r16_fp16
Loading local model: slat_dec_mesh_swin8_B_64l8m256c_fp16
Loading local model: slat_flow_img_dit_L_64l8p2_fp16
Loading DINOv2 model from /home/llm/linda/lab2/models/classifiers/dinov2_vitl14_reg.pth
Error loading TRELLIS model: name 'logger' is not defined
!!! Exception during processing !!! name 'logger' is not defined

I added the logger should be okay now
I think it should download correctly now but if it doesnt
You could try downloading the models and place them like this
PS D:\ComfyUI\models\checkpoints\TRELLIS-image-large>
│   .gitattributes
│   pipeline.json
│   README.md
└───ckpts
        slat_dec_gs_swin8_B_64l8gs32_fp16.json
        slat_dec_gs_swin8_B_64l8gs32_fp16.safetensors
        slat_dec_mesh_swin8_B_64l8m256c_fp16.json
        slat_dec_mesh_swin8_B_64l8m256c_fp16.safetensors
        slat_dec_rf_swin8_B_64l8r16_fp16.json
        slat_dec_rf_swin8_B_64l8r16_fp16.safetensors
        slat_enc_swin8_B_64l8_fp16.json
        slat_enc_swin8_B_64l8_fp16.safetensors
        slat_flow_img_dit_L_64l8p2_fp16.json
        slat_flow_img_dit_L_64l8p2_fp16.safetensors
        ss_dec_conv3d_16l8_fp16.json
        ss_dec_conv3d_16l8_fp16.safetensors
        ss_enc_conv3d_16l8_fp16.json
        ss_enc_conv3d_16l8_fp16.safetensors
        ss_flow_img_dit_L_16l8_fp16.json
        ss_flow_img_dit_L_16l8_fp16.safetensors

PS D:\ComfyUI\models\classifiers>
    dinov2_vitl14_reg.pth

trellis
DinoV2
You could try downloading manually or I also have a HF downloader for comfy but the Dino needs to be manually downloaded
https://github.com/if-ai/ComfyUI-IF_AI_HFDownloaderNode

authors: blueroutecn if-ai


text:
Panel de administración básico para actualizar catálogo

Actualmente, el catálogo se actualiza mediante:

Descargar el Excel actualizado provisto por la Facultad (manualmente).
Convertirlo a CSV y eliminar files inútiles previas a las de metadata (head rows).
Actualizar el catálogo en la base de datos mediante la tarea data_importer de Rake (por consola), con el CSV dentro de TomaRamosWebApp/db/catalog según corresponda (más info).
Si hay problemas con la tarea, es probable que sea por errores humanos en valores de dicho Excel/CSV mismo de la Facultad. En cuyo caso, se repite el paso corrige a mano (no queda de otra) y se repite el paso 3 hasta que no haya problemas.
Subir el CSV (actualizado) del repositorio en un commit.
Desplegar en el servidor (pull y build con docker-compose).

Se desea agilizar esta tarea, implementar un panel de administración en la aplicación web misma, de forma que, directamente en el servidor, se pueda autenticar como un usuario administrador, se suba el Excel, y se ejecute la tarea data_importer, pudiendo ver el output en tiempo real. Investigar sobre alguna gema que permite hacer esto.

Esto es una tarea compleja que ahora mismo no será abordada. Esto porque implica:
I. Dificultades en el debugging, ya que, en muchos casos, como se menciona en (4), hay errores humanos del CSV mismo de la Facultad y esto debe solucionarse manualmente por el desarrollador.
II. Desarrollo considerable de sincronización de tareas de rake: no encontré una gema existente que sirva mucho para esto, y se tendría que desarrollar todo un formato para ver el output de la tarea data_importer (backend) desde la app web (frontend).
Si bien la forma actual no es demasiado cómoda, es más práctica teniendo en cuenta el tamaño del proyecto.


text:
Added leaky bucket rate limiter

Added a leaky bucket rate limiter that limits the number of request per minute for trading and non-trading requests to the limits published by the API... minus 2, because the API doesn't function as published.
Creates a couple of threads that each fill a queue at the allowable rate. Before making a request, a blocking get is called, which will pause until a token is released.
If IG ever allow bursting, that can easily be accommodated by increasing the length of the queue.
Worth checking the correct queue gets checked for trading/non-trading requests.
Tenacity is still needed.
Seems fairly solid and should result in an overall speed improvement, though not fully tested with all request types.

Hi @LangleJ Thanks for the contribution. How would you turn this behaviour off, for someone who has resolved the API limits externally?

I can add a kwarg with a default to set a class attribute, and just immediately return from the pause if its false, we would also not start the bucket threads.
I'm happy to add that.
Note, API limits used are queried from the API, but yes, they don't seem to be precisely adhered to by the server, hence the awful magic number.  I'm mindful limits are likely to change and differ between live and demo, hence why I like this approach.
I appreciate this is quite a big change in behaviour, so adding some ctor args is a very reasonable thing to do.
I'll have a look at the failed unit tests.

authors: LangleJ bug-or-feature

repo: ig-python/ig-markets-api-python-library


text:
🛑 CRM is down

In 81d903a, CRM (https://condor.acierto.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CRM is back up in b77cbd8.

repo: igaataciertocom/upptime


text:
Two weeks without any new books

I have this problem with the script not downloading any books. Got error as attached.
Help?

What command did you ran to get this output?

I'm having the same exact issue. I'm running a bat file to execute the python script on Windows. Nothing has changed with the script for the past several months.

Do both of you have the newest version of the script?
@InfoSecured Do you use unmodified bat file from the repository? Do you run it manually or via schtasks?
@ranrinc How do you run this script? Manually or via cron/schtasks? What exact command do you run?

I'm using your script via schtasks and the only line I modified is line 11
to say 'python packtPublishingFreeEbook.py -sgd' instead of 'python
packtPublishingFreeEbook.py -gd'
Jason S. Lazerus, M.S., GCFA, GPEN, GCIH, GCFE, GCED, GSEC
On Mon, Aug 20, 2018 at 1:44 PM, mjenczmyk notifications@github.com wrote:

Do both of you have the newest version of the script?
@InfoSecured https://github.com/InfoSecured Do you use unmodified bat
file from the repository? Do you run it manually or via schtasks?
@ranrinc https://github.com/ranrinc How do you run this script?
Manually or via cron/schtasks? What exact command do you run?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igbt6/Packt-Publishing-Free-Learning/issues/110#issuecomment-414403084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP70A3k4ohRJucuYfqok5Hz97iEkXINTks5uSvWFgaJpZM4WCb6B
.

I have an idea what could be the reason of this issue. Recently list of all user's ebooks in Packt account became paginated, if the ebook grabbed the day the script failed (as both of you reported) had already been in your account the script may have tried to download that day free learning ebook, but it wasn't on the first pagination page and the script couldn't find that ebook in your account - that was before merging my fix into master.
The issue should be fixed in 3069d8de0e4154acaeffa54de76e080cfbaea892 commit which already is on master - can you confirm that script works as expected on current master? Have I explained everything in understandable way?

BTW, could you take a look at #100 @InfoSecured? I'd like to finish this, but neither me, nor @igbt6 can verify if that works (and potentially fix this pull request), as we don't have access to machine with Windows. I'd really appreciate help with this pull request.

It appears that this worked!
*** Grabbing free eBook from Packt Publishing.... ***
[INFO] - Creating session...
[INFO] - Session created, logged in successfully!
[INFO] - Start grabbing eBook...
[INFO] - Captcha detected. Trying to solve it using anti-captcha.com.
[INFO] - TaskId created: 252702383
[INFO] - Waiting for completion of the task: 252702383...
[SUCCESS] - Solution found for task: 252702383
[SUCCESS] - eBook:
'OpenCV_3_Computer_Vision_Application_Programming_Cookbook_-Third_Edition'
has been successfully grabbed!
[INFO] - Getting your books data...
[INFO] - https://www.packtpub.com/account/my-ebooks has been successfully
opened.
[INFO] - Getting books data from https://www.packtpub.com/account/my-ebooks.
..
[INFO] - Fetching books data from
https://www.packtpub.com/account/my-ebooks...
[INFO] - Books data from https://www.packtpub.com/account/my-ebooks has
been successfully fetched.
[INFO] - Getting books data from
https://www.packtpub.com/account/my-ebooks?page=2...
[INFO] - Fetching books data from
https://www.packtpub.com/account/my-ebooks?page=2...
[INFO] - Books data from https://www.packtpub.com/account/my-ebooks?page=2
has been successfully fetched.
[INFO] - Getting books data from
https://www.packtpub.com/account/my-ebooks?page=3...
[INFO] - Fetching books data from
https://www.packtpub.com/account/my-ebooks?page=3...
[INFO] - Books data from https://www.packtpub.com/account/my-ebooks?page=3
has been successfully fetched.
[INFO] - Getting books data from
https://www.packtpub.com/account/my-ebooks?page=4...
[INFO] - Fetching books data from
https://www.packtpub.com/account/my-ebooks?page=4...
[INFO] - Books data from https://www.packtpub.com/account/my-ebooks?page=4
has been successfully fetched.
[INFO] - Books data has been successfully fetched.
[INFO] - Title:
'OpenCV_3_Computer_Vision_Application_Programming_Cookbook-Third_Edition'
[INFO] - Downloading eBook:
'OpenCV_3_Computer_Vision_Application_Programming_Cookbook-Third_Edition'
in .pdf format...
[PROGRESS] - [################################################# ] 100.0%
[SUCCESS] - eBook:
'OpenCV_3_Computer_Vision_Application_Programming_Cookbook-Third_Edition.pdf'
downloaded successfully!
[INFO] - 1 eBooks have been downloaded!
[INFO] - File
OpenCV_3_Computer_Vision_Application_Programming_Cookbook-_Third_Edition.pdf
already exists on Google Drive
[SUCCESS] - Good, looks like all went well! :-)
*** Done ! ***
Jason S. Lazerus, M.S., GCFA, GPEN, GCIH, GCFE, GCED, GSEC
On Sun, Aug 26, 2018 at 3:04 PM, mjenczmyk notifications@github.com wrote:

BTW, could you take a look at #100
https://github.com/igbt6/Packt-Publishing-Free-Learning/pull/100
@InfoSecured https://github.com/InfoSecured? I'd like to finish this,
but neither me, nor @igbt6 https://github.com/igbt6 can verify if that
works (and potentially fix this pull request), as we don't have access to
machine with Windows. I'd really appreciate help with this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igbt6/Packt-Publishing-Free-Learning/issues/110#issuecomment-416061054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AP70A6dWhks1wYYq-FJBKuYgYC0-gDO3ks5uUvFBgaJpZM4WCb6B
.

@igbt6 Should we assume that the issue is resolved and can be closed?

yep, i think so :) Closed! btw @mjenczmyk  - thanks for taking care of the repo and contribs ! I have to assign you as an admin of it :D !

authors: InfoSecured igbt6 mjenczmyk ranrinc


text:
Added Mesh Python interface

Signed-off-by: ahcorde ahcorde@gmail.com
🎉 New feature
This PR is part of this meta ticket https://github.com/ignitionrobotics/sdformat/issues/931
Summary
Added Mesh Python interface
Test it
from sdformat import Mesh

mesh = Mesh()

Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Codecov Report

Merging #942 (d7d813e) into main (6c9b4ad) will decrease coverage by 0.05%.
The diff coverage is 62.50%.

@@            Coverage Diff             @@
##             main     #942      +/-   ##
==========================================
- Coverage   88.14%   88.08%   -0.06%
==========================================
  Files         102      103       +1
  Lines       14706    14738      +32
==========================================
+ Hits        12962    12982      +20
- Misses       1744     1756      +12

Impacted Files
Coverage Δ

python/src/sdf/pyMesh.cc
61.29% <61.29%> (ø)

python/src/sdf/_ignition_sdformat_pybind11.cc
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c9b4ad...d7d813e. Read the comment docs.

@osrf-jenkins retest this please

authors: ahcorde codecov-commenter

repo: ignitionrobotics/sdformat


text:
I cant reproduce the mentioned WER of 17%

Hello, I cant reproduce the results you got, can you help me? I used the provided released models and the minimum WER I got was 83%, am I doing something wrong? Should I train my own model to achieve this alleged 17% WER? Please help!

Hi @greboide, the metric reported is the CER (Character Error Rate) not WER (word error rate) since the code I provided does not have any language model.

My bad man, sorry for the confusion, do you have any pointers on how to add a language model?

You can check it out in the @SeanNaren repo, for example.

authors: greboide igormq


text:
🛑 Nurses Now Recommender is down

In 2858fcb, Nurses Now Recommender (https://nurses-now-recommender.solz.me/docs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nurses Now Recommender is back up in 1401051 after 1 hour, 27 minutes.

repo: iharshgor/upptime


text:
Web editor doesn't show MATLAB output

The web editor shows the LaTeX, C++, and Python output, but not MATLAB. It should show MATLAB, too.

Fixed

authors: pressureless yig

repo: iheartla/iheartla


text:
Leveling past level 30

I want to farm blue essence on an account that's past lvl 30, but it's not letting me. Is there anything I can change in the code for it to bypass that restriction?

Nvm, I read the READ ME, I figured it out

repo: iholston/lol-bot


text:
对主色调的调整

I agree and want to create new issue

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[x] Yes, I was on NexT Documentation Site.
[x] And yes, I already searched for current issues and this is not help to me.

Expected behavior
更改了主色调，暗色调
Actual behavior
暗色调风格的next
Steps to reproduce the behavior

https://lianghx-319.github.io
N/A
N/A

Link to demo site with this issue: N/A
Link(s) to source code or any usefull link(s): N/A

NexT Information
NexT Version:

[ ] Master
[x ] Latest Release
[ ] Old version -

NexT Scheme:

[ ] All schemes
[ ] Muse
[ ] Mist
[x ] Pisces

Other Information

@ivan-nginx He said he added a dark-color based style, but I am confused that maybe he wants a PR, not an issue. He leaves his blog as example.

@AlynxZhou but if he want option to select dark style, he must show he's custom styles file or changed files to do this.

我修改了主色调，但是无论如何找不到base.yml中的header的颜色，请问如何做？

As far as I know, if you want some custom theme color, you have to edit css by hand. Here is a guide I follow to do so: link

完善中。。。可以参考我的博客：点我跳转

authors: AlynxZhou SkyVincent ivan-nginx leafjame lianghx-319 mygittestings

repo: iissnan/hexo-theme-next


text:
Something wrong with "social---E-Mail"

I agree and want to create new issue

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[x] Yes, I was on NexT Documentation Site.
[x] And yes, I already searched for current issues and this is not help to me.

Expected behavior
use E-mail link properly
Actual behavior

How to solve it?
Steps to reproduce the behavior
there is my source.

Link to demo site with this issue: N/A
Link(s) to source code or any usefull link(s): N/A

NexT Information
NexT Version:

[x] Latest Master branch.
[] Latest Release version.
[] Old version -

NexT Scheme:

[] All schemes
[] Muse
[] Mist
[x] Pisces
[] Gemini

Other Information

In latest master branch for now u should specify your e-mail by mailto:xxx@qq.com.
social:
  GitHub: https://github.com/ivan-nginx || github
  E-Mail: mailto:ivan.nginx@gmail.com || envelope

thx

authors: Dedsecr ivan-nginx


text:
next优化

大家可以去我的博客看效果:https://hebaochina.top
有需要帮助的请留言

re

#119

authors: hebaochina ivan-nginx


text:
Remove install or devinstall dependency in some Makefile targets

Currently, each target on Makefile executes the installation process.
like here.
https://github.com/iizukak/potage/blob/main/Makefile#L14
It increases the execution time.

removed.

repo: iizukak/mdsite


text:
Environment setup

Set up dependencies for the project
JUCE - https://docs.juce.com/master/tutorial_new_projucer_project.html
Stockfish - https://github.com/official-stockfish/Stockfish

I propose we all try to get this example application (which includes a GUI and audio) compiled and running on our machines by Wednesday.


text:
Minor build fixes in cmake

Three minor cmake fixes in hipsycl itself:
1 - Explicitly set CMAKE_CXX_STANDARD to 14, in case it doesn't get automagically set
2 - Set and forwarded CMAKE_CUDA_HOST_COMPILER and CMAKE_CUDA_STANDARD to the CUDA target if building with NVCC, as those don't always get correctly inherited to match the C++ side of the build
3 - Probed the system for the ROCM_PATH variable and used it, if present, to add ROCM's include path to the build. I myself had always been adding the full path manually, but ROCM sets this on a file in profile.d when it install itself, so probing this env variable is an option
None of these changes should break pre-existing builds. The one that could would be no1 if the compiler doesn't support it but it seems to me SYCL doesn't even build with a standard lower than 14 due to lambda shenanigans

Thank you! :) However, it seems that this PR breaks the Travis CI build (at least with clang-cuda), interestingly with the same error as reported in #50. I've just rechecked and it builds fine without this PR. Could you please investigate? Does this PR depend on PR #40 ?

It should build straight off of current master. Can you  give me the console output of your CI so I can have a look?

See here. For testing, you can use the Dockerfiles or singularity definition files in install (replace repository with your fork and checkout your branch), as the CI just tries to build those.

That's interesting. I run into this specific issue myself quite a bit with clang and nvcc. The workaround is to pass -D__STRICT_ANSI__ into CXX_FLAGS. Curious it showed up only now in that build. I'll have a play but my guess is that the culprit would be me enforcing CXX_STD to 14. If it just works otherwise in CI I might just revert that one commit.

It indeed was the CXX standard... kind of curious that it seemed I bumped into needing it on my side. Good to come in contact with the docker stuff to check before pushing though. I've just pushed a revert commit but can, if you'd prefer to have a cleaner tree, do some evil rebasing trickery and get rid of the commit(s) altogether

Without having looked at the CI output our tried building this myself, it might be due to CMake defaulting to GNU standards (i.e., gnu++14) on Linux. Try setting set_property(TARGET <target> PROPERTY CXX_EXTENSIONS OFF) - at least that's what I previously had to do for a similar sounding issue.

Thanks for all the ideas. I think we should try getting C++14 enabled by default because of the feedback from issue #56, where a missing -std=c++14 caused compilation failures. @VileLasagna, could you please have a look at @psalz's proposals?

Sure thing. Will try and massage that into conformity

authors: VileLasagna illuhad psalz

repo: illuhad/hipSYCL


text:
[infra] Introduce pre-commit hooks

This commit introduces basic style uniformity in the entire repository.
Most notably, it fixes all occurrances of trailing whitespaces and missing
newlines at the end of files.
I think it makes sense to defer the commit that documents the pre-commit hooks so that this commit only contains the changes made by the hooks, and the .pre-commit-config.yaml file.
I also deferred a commit unifying the C++ code via clang-format, since the formatting style should probably be discussed first.
While these hooks can (and should) be installed by contributors locally, a next step will be adding this to the CI pipelines so that they run before the actual test pipelines start. This way we can give contributors immediate feedback on style issues instead of them having to wait for 20-60 minutes for the full CI feedback.

Closing since too outdated. I'll recreate something like this at some point that starts off with just a single check. Then we can gradually introduce these changes over time.


text:
Purchase and sell rate shouldn't be readonly

Into the setting dialog, purchase rate and sell rate shouldn't be readonly
We defined that they should be readonly when the mercatino is open, but we can drop that requirement if it's too complex to implement

We agreed with Sara that we will allow edit of those setting regardless of the period. Main difference it that before updating those values, the Admin will be prompted a confirmation dialog.

Fixed in #54

authors: IlCallo SirAuron andrea-cerlini

repo: ilmercatinodellibro/ilmercatinodellibro


text:
Research about local path planning

http://www.cs.mcgill.ca/~hsafad/robotics/
https://www.youtube.com/watch?v=LvOP7TUERGI

http://dcyoung.weebly.com/path-planning-mazes--pacman.html


text:
%sink

Added a tiny version of SSS that uses noun diffs.

cc @wicrum-wicrun


text:
RegexSearcher matches have a wrong value of StartFpos

The value of the MatchData.StartFpos is slightly off at the beginning of the file and progressively gets worse the further into the file the search goes.   Easily reproducible by seeking to the match StartFpos and comparing the text there to the text Value of the match data.

Resolved by https://github.com/imagibee/Gigantor/pull/27

repo: imagibee/Gigantor


text:
Implement pointer struct patching with basic test

This resolves #30

Thanks! Sorry for being so late.

authors: buoto imdario

repo: imdario/mergo


text:
Code quality improvement

Currently, the pylint score for the entire project is 9.00. Usually, the target is 9.50+. So we need to work on it before the release

will submit a PR with models code improvement

Closing the issue as the overall score for the codebase is 9.50. For this release it's perfect.

repo: imdeepmind/NeuralPy


text:
键盘添加符号功能

在键盘输入的时候, 可以有一个符号功能. 提供以下符号输入

emoji
数学
英文符号
中文符号
列表符号
等等

说说一点想法，总得来说，就是缺少了对键盘整体UI的自定义，无论是候选的编码嵌入方式，候选栏的高度自由调整，
中英的切换也好，缺少的是像irime那样，能够对布局高度自定义的操作，要想方便大众，就得增加UI布局的统一设置页面了。相对，工作量就大了，是否可以考虑下先出一个通过自行修改配置文件的方式来自定义键盘的整体布局呢，类似irime，而在软件里增设统一的设置页面后续再增设？我们很多人，现状就差一个UI自定义，就能当作主用输入法软件了，所以比较期待

说说一点想法，总得来说，就是缺少了对键盘整体UI的自定义，无论是候选的编码嵌入方式，候选栏的高度自由调整， 中英的切换也好，缺少的是像irime那样，能够对布局高度自定义的操作，要想方便大众，就得增加UI布局的统一设置页面了。相对，工作量就大了，是否可以考虑下先出一个通过自行修改配置文件的方式来自定义键盘的整体布局呢，类似irime，而在软件里增设统一的设置页面后续再增设？我们很多人，现状就差一个UI自定义，就能当作主用输入法软件了，所以比较期待

很赞的想法~之前也有用户提过这样的需求, 但是正如你所说, 一个完全自定义键盘布局UI的开发工作量会多一些.
我是这样想的, 完全自定义适合深度动手的用户, 大部分用户都是开箱即用, 太复杂的配置可能会劝退这些用户.  所以我想先做其他功能的开发. 至于高度可定制的键盘UI配置, 我想优先级放低一些.

是的。除开目前已经增加的几个UI的调整，希望能加上键盘的行距，列距的调整，如此一来，在没有完全自定义键盘布局UI配置前，可以有一个很好的过度了。提这个的原因是因为，在自定义键盘布局的时候，发现除了高度以外，这两个也会很影响打字的误触几率，手感会有很大的提升。这么说，我之前甚至想换手机，但后来把高度，行距，列距，调到自己手指适应的位置，完全没有了那种想法，键盘调整好，就能解决手感的问题。所以，希望能考虑一下

是的。除开目前已经增加的几个UI的调整，希望能加上键盘的行距，列距的调整，如此一来，在没有完全自定义键盘布局UI配置前，可以有一个很好的过度了。提这个的原因是因为，在自定义键盘布局的时候，发现除了高度以外，这两个也会很影响打字的误触几率，手感会有很大的提升。这么说，我之前甚至想换手机，但后来把高度，行距，列距，调到自己手指适应的位置，完全没有了那种想法，键盘调整好，就能解决手感的问题。所以，希望能考虑一下

嗯嗯, 想法很赞~我也打算先优化UI, 后续在考虑开发自动布局的功能.

可以考虑增加一个功能或按钮，直接调用系统的emoji，这样用户可以通过上下滑或空格左右按钮配置，或者像irime，直接放在没有任何输入时的候选栏上。

authors: AeonWorks imfuxiao wzxmer

repo: imfuxiao/Hamster


text:
3.0 版本自定义键盘：自定义英文键盘

3.0 版本自定义键盘，能否考虑增加自定义英文键盘的功能呢? 在自定义键盘的布局时，无法指定中英文的模式，导致自定义出来的键盘，始终都只能输入中文。

自定义键盘中 Key 的属性中有 Action, 如果是 character 类型默认是经过 rime 引擎处理的，您可以改为 symbol 类型，这个不经过 rime 引擎处理。

哇喔……3.0版本就来了哇

哇喔……3.0版本就来了哇

TF版本号用的是3.0，对应将来商店版本的2.0，为了 TF 发版本方便，不用等苹果的TF审核。

自定义键盘中 Key 的属性中有 Action, 如果是 character 类型默认是经过 rime 引擎处理的，您可以改为 symbol 类型，这个不经过 rime 引擎处理。

好的，谢谢。

authors: imfuxiao shawnwang5 tamhaywoo


text:
Fix URL params for resizing snippet

I think the example URL for resizing the :bear:'s h parameter is missing an = ?

Cheers,
Lee :beers:

@leereilly You are correct. I never liked the bear anyway. Thanks!

:8ball:  this makes github a beautiful place

authors: kellysutton leereilly matte

repo: imgix/jekyll-imgix


text:
进入文章之后相关文章显示错位

麻烦给个博客地址？

authors: blackappleD imkundev

repo: imkundev/halo-theme-fantastic


text:
In which case it actually works?

One part of this issue related to sibling issue:

The empty variable doesn't become settable but a new one created instead.

Actually I try to reset it APP_URL=NOT_SET_YET to new value for example using
docker exec -i $container_name php artisan env:set APP_URL $(aws ssm get-parameter --name APP_URL --with-decryption --region ${region} --query "Parameter.[Value]" --output text)
which actually calls to php artisan env:set APP_URL 'some url'. But it doesn't change value at all to provided one.

Sorry for the late response to this issue. If this is still a problem in the latest version please raise a new ticket, however I have just manually tested this case on v1.1 and it works as intended.

authors: imliam worldofswift

repo: imliam/laravel-env-set-command


text:
State is not immutable if one uses classes

🐛 Bug Report
If one is using "constructor" objects (instead of literal objects) as state, the state object is mutated. Is this a bug? Or do I use immer in the wrong way?
To Reproduce
// Typescript

it('works', () => {
  const state = {
    a: 1,
  }

  const nextState = produce(state, s => {
    s.a = 2
  })

  expect(state.a).toEqual(1)
  expect(nextState.a).toEqual(2)
})

it('fails', () => {
  class State {
    a = 1
  }

  const state = new State()

  const nextState = produce(state, s => {
    s.a = 2
  })

  expect(state.a).toBe(1) // FAILED: state.a is now 2 as well
  expect(nextState.a).toBe(2)
})

Is that intended?
Expected behavior
I would expected,

that the nextState is an object of type State with an value of a =2
and that the state object still has the value of a = 1

Link to repro (highly encouraged)
https://codesandbox.io/s/j3nw10pyj3
Environment

Immer version:
[ ] Occurs with setUseProxies(true)
[ ] Occurs with setUseProxies(false) (ES5 only)

You need the immerable symbol mentioned here.

Ah, OK. Thxs. I was skimming through the docs, but somehow missed that section.
Maybe immer can warn people, if they try to draft objects that are not immerable?

That is hard, as there can be completely valid use cases for that as well..
On Mon, Apr 22, 2019 at 6:19 AM uwinkler notifications@github.com wrote:

Ah, OK. Thxs. I was skimming through the docs, but somehow missed that
section.
Maybe immer can warn people, if they try to draft objects that are not
immerable?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/immerjs/immer/issues/357#issuecomment-485320264, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAN4NBHVHVDDPC762ZSEPHLPRU4GVANCNFSM4HHLD3XA
.

new link to doc for immerable

authors: aleclarson mweststrate tmtron uwinkler

repo: immerjs/immer


text:
Fixed autofocus error

Fixed autotofocus error that was popping up in the developer console in the browser. Semantic UI supports autofocus by passing autoFocus prop to the Input component so there is no need to create that functionality manually.

Thanks again @tomdohnal

authors: drimpact tomdohnal

repo: impactasaurus/app


text:
Use pre-commit.ci instead of bespoke GitHub Workflow

It seems like it can do everything our current config can and more: https://pre-commit.ci/

This was done some time ago.

repo: imperialCHEPI/healthgps


text:
Add gRPC adhoc config protobuf

Only small changes to default port and to indicate that we're dealing with the gRPC :authority header.

Codecov Report

Merging #71 into feature/grpc-adhoc-rules will decrease coverage by 0.16%.
The diff coverage is n/a.

@@                     Coverage Diff                      @@
##           feature/grpc-adhoc-rules      #71      +/-   ##
============================================================
- Coverage                     44.06%   43.89%   -0.17%
============================================================
  Files                            41       41
  Lines                          2376     2376
============================================================
- Hits                           1047     1043       -4
- Misses                         1263     1266       +3
- Partials                         66       67       +1

Impacted Files
Coverage Δ

lib/resolvers/k8s/streamer.go
68.42% <0%> (-7.02%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 356621f...7474081. Read the comment docs.

authors: codecov-io joshpmcghee

repo: improbable-eng/kedge


text:
nullsafe version?

I'm using im_stepper but cannot upgrade my app to null safety. Will there be a nullsafe version of im_stepper ?

Hi Robert,
Thank you for getting in touch. Yes, hopefully by the end of this week. I will keep you posted!
Regards
iMujtaba

Thanks. I look forward to the new version.

Hi Chrisihoby,
Thank you. The code has already been migrated to null-safety. It will be available in pub.dev on 4th April (Sunday). I will keep you posted!
Regards,
Mujtaba

That's great! Thanks Mujtaba!!

Hi Robert, Chrisihoby, and MarceloRab,
It is to inform you guys that the null-safety version is now available on pub.dev. Thank you for your feedback and support. Here's the link: https://pub.dev/packages/im_stepper
Regards
Mujtaba

Mujtaba
Thank you!  I just tried using the new version and it works well.
Thanks for the excellent and speedy change.
Rob

Mujtaba,
Thanks!!, I really appreciate it.🙏
Chris
On Mon, 5 Apr 2021 at 20:29, RW @.***> wrote:

Mujtaba
Thank you! I just tried using the new version and it works well.
Thanks for the excellent and speedy change.
Rob
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/imujtaba8488/package_im_stepper/issues/22#issuecomment-813560677,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ42ZONZFJODGR6ET7IWAUTTHH6PTANCNFSM4ZXTUGNQ
.

authors: chrisihoby-dev imujtaba8488 robertonic


text:
add open link in new tab

fix #65

不计划再这样添加marked扩展，原因如下：

存在伙伴可能会想自定义；
不再将marked个别属性扩展到编辑器。

这个扩展将在1.12版本统一体验

authors: imzbf yzqdev


text:
Notifications screen

A user can tap into notifications on the tab bar to view notifications and messages. This is what notifications should look like, with as much of this detail as exists in the current API.

IMO we should work from a design that works with the API we have.

authors: albullington kueda

repo: inaturalist/iNaturalistReactNative


text:
Added cost to task info

https://github.com/inductiva/tasks/issues/396
This PR adds the task cost to the info.
Running the cli command inductiva task info <task_id> should now also print the task cost.
This also works for python scripts with the task.info or task.get_info().
The task cost will only be displayed if there is a cost to be shown.

Using the cli i was the following commands:
inductiva tasks info 6hrps61hov6fhczsiivtgq14f
inductiva tasks info 6hrps61hov6fhczsiivtgq140

It worked as expected, printing:
...
Cost ($US): 0.00056
```

repo: inductiva/inductiva


text:
Fixed Issue #57

-Fixed Whip not swinging while breaking blocks

bruh

repo: infernalexp/Infernal-Expansion


text:
fi-1472-host-banner

Added support for a banner. It looks for a banner.html.erb file and renders it if found in the main directory. The banner size is set within the template. @AlyssaWang helped me work in some changes to the Sidebar and Header to allow for the banner. The banner.html.erb file I included will be removed before merging - I added it to make running/testing easier.

Codecov Report

Merging #151 (ed5005c) into main (bb69e67) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #151   +/-   ##
=======================================
  Coverage   93.87%   93.87%
=======================================
  Files         109      109
  Lines        2744     2744
=======================================
  Hits         2576     2576
  Misses        168      168

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb69e67...ed5005c. Read the comment docs.

The banner.html.erb file I included will be removed before merging - I added it to make running/testing this PR easier.

FYI @Jack-Fraser16 @Jammjammjamm I think that <style></style> issue is likely because we were trying to do something technically illegal by adding a style tag in the body (by putting it in the banner.html.erb, it gets embedded in the body).  That would probably be ok if we weren't using a @mui/styles, which I think might update the DOM somehow?  I pushed an update that inlines the styles in the banner and that seems to fix it for me?

I'm not sure how to test this in the context of a real test kit.  @Jammjammjamm could you take a look and approve if it looks good?
We'll want to remove that banner from this repo before merging too, correct?

This branch needs to get rebased on main, and the footer seems messed up:

I missed this in the review, sorry.  It looks like the change from 100vh to 100% is what messed this up.  I agree this looks bad and we should fix it.

Yeah, height was not being explicitly set to 100% in the 'wrapper' element, which waterfalled down into what height was available for the 'app' and where the footer was being pushed down to. Should be all set now, and I added the banner back in to test:

Something in this branch is making a horizontal scroll bar appear on the left side. I don't see it in main.

Something in this branch is making a horizontal scroll bar appear on the left side. I don't see it in main.

It was changing the paper style of the drawer. Should be fixed.

authors: Jack-Fraser16 Jammjammjamm arscan codecov-commenter

repo: inferno-framework/inferno-core


text:
.babelrc

Abstract
Babel helpers, like _extends, causes duplications when you use them everywhere on different files then import those files on another file that uses it, this actually causes duplicate codes on the build, I checked it and saw these on main.js
var s = Object.assign || function (e) {
      for (var t = 1; t < arguments.length; t++) {
        var n = arguments[t];
        for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
      }
      return e
    },

var a = Object.assign || function (e) {
      for (var t = 1; t < arguments.length; t++) {
        var n = arguments[t];
        for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
      }
      return e
    },

I simply did a search for Object.assign || and saw that there where 6 occurences on main.js alone! This is a big no-no, because in production these redundancies become dead codes that consumes resources but are not in used (actually they are in used but different places that use them could have referred to s itself and not create a new binding for it).
I researched and found out that babel devs themselves are aware of this and I also found this module https://babeljs.io/docs/en/babel-plugin-transform-runtime.

Babel uses very small helpers for common functions such as _extend. By default this will be added to every file that requires it. This duplication is sometimes unnecessary, especially when your application is spread out over multiple files. This is where the transform-runtime plugin comes in: all of the helpers will reference the module babel-runtime to avoid duplication across your compiled output. The runtime will be compiled into your build. ~ https://babeljs.io/docs/en/babel-plugin-transform-runtime

runtime will be compiled into your build

Sounds a bit scary since I don't know how big the module is, I'm actually looking for something better, maybe a smarter transpiler that knows not to redundantly repeat stuff and would help in eliminating dead codes to save our users from us (LOL 🤣 ).
Objective
I am aiming to save some file size and eliminate dead codes on build as much as possible.

If you want optimal output, you might want to consider rollup IIFE format + custom set of plugins (no preset) for babel. This way you get only once per application those helpers inlined. Also "typeof" babel plugin creates a lot of overhead. We simply removed it, but then you cannot use typeof for Symbols. I'm not sure if we can apply those patterns into this create-inferno-app, but you can definitely roll your own.

hmmm, if I use rollup and custom babel config, that would mean I would need to eject, right?

@sprlwrksAprilmintacpineda yeah, it might be easier to just do everything yourself.. :/

I will make a inferno starter project based on rollup and stuff, we use in our company... but there is so much to do atm. So that has lower priority

@Havuven maybe we could just do that with inferno-scripts?

I have rebased all updates from the upstream, updated all the depencies to latest versions and converted the source code to ESM.
The next major version will require Node 20 or newer.
This issue is most likely fixed after all those changes to babel plugins. Closing.

repo: infernojs/create-inferno-app


text:
[Feature Request]: data created and deleted can be output

Is there an existing issue for the same feature request?

[X] I have checked the existing issues.

Describe the feature you'd like
Use _CREATE and _DELETE as the special columns to output two timestamp of the data like _ROW_ID

#1336

repo: infiniflow/infinity


text:
ISPN-9377 Enhance JdbcStringBasedStore to support segmentation

https://issues.jboss.org/browse/ISPN-9377

Updated from review comments, waiting on CI to verify though.

@wburns org.infinispan.tools.store.migrator.MigratorSerializerTest.testSerializerLoaded is failing with:
      java.lang.NumberFormatException: null
	at java.lang.Integer.parseInt(Integer.java:542)
	at java.lang.Integer.parseInt(Integer.java:615)
	at org.infinispan.tools.store.migrator.jdbc.JdbcStoreReader.<init>(JdbcStoreReader.java:50)
	at org.infinispan.tools.store.migrator.StoreIteratorFactory.get(StoreIteratorFactory.java:20)
	at org.infinispan.tools.store.migrator.StoreMigrator.run(StoreMigrator.java:34)
	at org.infinispan.tools.store.migrator.MigratorSerializerTest.testSerializerLoaded(MigratorSerializerTest.java:83)
	at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
... Removed 18 stack frames

Fixing

Should be fixed, just waiting on CI to make sure I didn't break anything else.

Not sure how these test failures are related as they are from other packages. I restarted CI.

Test failures are completely unrelated https://ci.infinispan.org/job/Infinispan/job/PR-6178/13/

authors: ryanemerson wburns

repo: infinispan/infinispan


text:
[9.4] ISPN-10066 Add server-name attribute to the server remote-store authe…

https://issues.jboss.org/browse/ISPN-10066

Thanks @tristantarrant

authors: ryanemerson tristantarrant


text:
🛑 Status Page is down

In 7d603f4, Status Page (https://status.infinite8.co) was down:

HTTP code: 404
Response time: 128 ms

Resolved: Status Page is back up in 1cb010b.


text:
refactor(boilerplate): remove authPassword from store

Please verify the following:

[ ] yarn test jest tests pass with new tests, if relevant
[ ] README.md has been updated with your changes, if relevant

Describe your PR
Following up on the issue in https://github.com/infinitered/ignite/issues/2223

Removes authPassword from authenticationStore for security reasons. Simple but effective.
Fixes regression issue on Login Screen that always prompts after refresh. See https://github.com/infinitered/ignite/pull/2338

Note that this also removes password validation, which I think is normal -- we usually validate passwords during sign up and not during sign in. Please advise if we really need to validate password at login, I can modify this PR.

:tada: This PR is included in version 8.5.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: infinitered/ignite


text:
Add explicit function return type

It seems like this rule used to be enabled by some recommended rulesets in eslint v4, but is no longer in v5 (or is no longer an error).
We can discuss if we might want to set some options (see docs).
Additionally, I am not sure how this would affect React apps, but for Angular I would like to enable this rule. @kristijanbambir and @isBatak do you think we should enable this for React apps as well, or should I move the rule to Angular-specific config?

This rule should be there for React apps as well. @isBatak do you see any issues with this?

I don't think we need this rule, TS is smart enough to infer the return type.
This tsconfig flag is better option https://www.typescriptlang.org/tsconfig#strictFunctionTypes

I think it's still worth having this rule. For example, if you have a function like this:
export function getResult() {
  return 42;
}

The inferred return type will be number.
If someone changes it to this:
export function getResult() {
  if (some_condition) {
    return;
  }
  return 42;
}

then the return type becomes number | undefined.
Or this:
export function getResult() {
  return '42';
}

then the return type becomes `string`.

These changes of the inferred typed might not be wanted because they change the public interface of the method.

Yes, there will probably be compilation errors in some other places in the codebase where the function is used, but ideally I would like the errors to stop in this function. These types of changes might not even be caught in other places in the codebase if strictNullChecks tsc flag is not enabled or if there is some type casting happening or if `any` is used somewhere.

If there is a change to the public interface of a method, I want us to be explicit about it instead of inferring the new type and rely on compilation errors in other places of the codebase.

These types of changes might not even be caught in other places in the codebase if strictNullChecks tsc flag is not enabled

Well we should fix that issue and force devs to enable this feature.

or if there is some type casting happening or if any is used somewhere

If any is used somewhere then return type will not help.
no-explicit-any rule could help here https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.md
Long story short, I would not recommend enabling this for React projects.
Resons:

This works just fine

const getNumber = () => 24;
const getString = () => '24';
const getResult = (condition: boolean) => {
  if (condition == true) {
    return;
  }
  return 42;
}

const addOne = (value: number) => value + 1;

addOne(getNumber());
addOne(getString()); <-- this will show an error
addOne(getResult(true)); <-- this will show an error

https://www.typescriptlang.org/play?ssl=14&ssc=25&pln=1&pc=1#code/MYewdgzgLgBA5gUygOQK4FsBGCBOMC8MAFAJQEB8MATACwDcAUKJLIlAMpQ4CWYcBxMvkoByWiMbNo8JACUEEVABtYhIswAm3KN3AAuGJhAglCAIZghlAN4MYMbgDNim7brAFCXVAjK379jhIqDhgjPYAvnYwQVAhHjRUjFFM4NJmGhoA8mAIAkQAbmZKPgZgGNg4VjBFJXkA1DAAjIwMGdm5RGxoWLikJIztOQhdSJw8fP2DmcOjUPKKKkTevgNAA

Return types clutter the code and increases cognitive load (it's harder to read the code)

Let's agree to disagree and enable this for Angular projects and not for React projects.

authors: fvoska isBatak kristijanbambir

repo: infinum/js-linters


text:
influxd upgrade is not a command that works

influxd has no upgrade option
Relevant URLs

https://docs.influxdata.com/influxdb/v2/install/upgrade/v1-to-v2/automatic-upgrade/
Provide other relevant URLs (project issues, community threads, etc.)

It says to run 'influxd upgrade' to upgrade from 1.x to 2.7.  I'm running 1.6.7~rc0 and there is no 'upgrade' option available.  The available options are backup, config, help, restore, run, and version.

@chili-bean I'll update the documentation to make this more clear. influxd upgrade is part of the v2 influx CLI.

authors: chili-bean sanderson


text:
docs: Add docker compose workflow for running docs locally

Closes #5399
Definitely open to feedback here. It seems to just work when I run docker compose up local-dev -- the rendered site looks fine without running any additional npm commands or whatever.

[x] Signed the InfluxData CLA
(if necessary)
[x] Rebased/mergeable

I just made some style suggestions for the README and some minor changes to make the compose file more explanatory.

For what it's worth I was following the existing convention from the previous in the README but I like your suggestions better so I accepted them.


text:
Cursor in script editor mode (flux) cannot go to end of the line

Hi all,
System:
-Linux mint virtual machine (6 xeon cores, 12gb memory)
-telegraf, mqtt broker, influxdb 2.0 and grafana all latest versions recently (+/- 3 weeks) installed on the VM
BACKGROUND: For the past couple of weeks I have been learning up on the entire flux quering in my influxdb 2.0 database (I have some MQTT feeds from my solar production and my energy meter). That has been working beautifully and managed to get several sorts of math calculations / joins etc.
ISSUE: Now my problem, yesterday, when adding a new cell to my panel (in influxdb 2.0), suddenly the cursor in the script editor mode inside the querying field lagged 1, 2 or 3 characters behind, meaning that i cannot select until the end of each row and when I insert a character, it does not get inserted at the place of the cursor but 1 to 3 places behind my cursor. You can also see visually that, the further you go down each line, the cursor is not aligned with the text anymore (cfr pictures below).
I then checked my other cells that were working fine up to that moment, and the issues also presented it on the other cells. The issue did not go away when deleting the cell I was working in. It was also present when editing on a different machine and after restarting the virtual machine, or after restarting influxdb.
The issues is not constant for each line and even not within one line of text (the first characters of each line typically do not seem to have the issue).
Below I have inserted a picture of a piece query, before and after a dash, at the place of the cursor.

I really hope someone can assist with this issue, because it is really hard working in this way.
Thank you for reading!
KR,
Ben

@desa or @bthesorceror either of you have ideas on this one?

@blvermeu which browser is this in? We have https://github.com/influxdata/influxdb/issues/18159 and https://github.com/influxdata/influxdb/issues/18026

I'll bump this is priority because it seems like people are hitting it fairly frequently

Hi all,

@blvermeu which browser and OS are you using? We have #18159 and #18026
The issue is present on windows 10, on 3 different computers, using chrome (Version 80.0.3987.132 (Official Build) (64-bit))
The issue is not present on linux mint, using either chrome or firefox.
Internet explorer does not seem to work on any computer.

Hopefully this can be sorted out, because very difficult to edit in this mode! :-)
Thank you all,
kind regards,
Ben

duplicate of https://github.com/influxdata/influxdb/issues/18026

authors: blvermeu desa nathanielc

repo: influxdata/influxdb


text:
Fix cluster/pool release of connection

[x] Rebased/mergable
[x] Tests pass
[ ] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

This PR fix a possible resource exhaustion on connection to other node.
I can reproduce this issue on v0.11.1 and this PR fix issue. On 0.12 / master this issue should no longer exists - at least in opensource version. That why I didn't updated CHANGELOG.md.
The issue happen when a load spike cause multiple thread to create new connection on the pool. It may cause total to exceed capacity : code of boundedPool.Get
The later when exceeding connection are returned to the pool, they are discarded (since pool is full) but total is NOT decremented : code of boundedPool.put
At this point with the default value, pool have 3 working connections (== capacity) but total may be larger than this, lets say 6.
Now, if the target node goes down, connection will be marked as unusable which will closed them and remove them from pool. code of boundedPool.MarkUnusable
Here total is decremented, but since is was above capacity we end up with an empty pool (all connections fail/timeout since the target node is down) but total is still above 0. It will be 3 in our example.
Then from now, all call to boundedPool.Get will fail:

The pool is empty, unable to get a already existing connection
total = 3 which is NOT less than capacity, so it don't open a new connection

@PierreF Is there some what I can reproduce this locally?

As said in #5876, I was able to reproduce it with the following step:

Restart all cluster node (I always done 3 node cluster)
start influx_stress on node1. keep it running for about 30 seconds, then stop it. This objective of this step is to create a rush in boundedPool.Get and had total exceed the capacity. We stop the stress to be sure it try to put back all connection in the pool (and thus discarding exceeding connection - without reducing total counter)
kill/stop node2
restart influx_stress on node1. This should mark all connection as unusable and close them since node2 is down. Once all connections are closed, we should end up with no connection in the pool and total > 0

With those step, I was able to reproduce it all the time on my laptop. It was using 0.11.1 with a 3 node cluster. Needless to say that with this PR I was no longer able to reproduce with the above step

@PierreF Can you add a changelog entry under 0.13?

Changelog entry added + rebase on master

👍 Thanks @PierreF!

authors: PierreF jwilder


text:
pagerduty2 still seems to be using the v1 API

I tried using pagerduty2() with some of my alerts but it seems like kapacitor is still connecting to the v1 API. When my alert was triggered, I went to the message in pagerduty and it shows this:
{
  "client": "kapacitor",
  "client_url": "http://[::]:9092/kapacitor/v1",
  "description": "REDACTED",
  "details": {
    "result": {
      "series": [
        {
          "name": "REDACTED",
          "tags": {
            "REDACTED": "REDACTED",
            "REDACTED": "REDACTED"
          },
          "columns": [
            "REDACTED",
            "REDACTED",
            "REDACTED"
          ],
          "values": [
            [
              "REDACTED",
              "REDACTED",
              "REDACTED"
            ]
          ]
        }
      ]
    }
  },
  "event_type": "trigger",
  "incident_key": "REDACTED",
  "service_key": "REDACTED"
}

This looks very much like an Events v1 message rather than an Events v2 message.
I then tried sending an Events v2 message with pagerduty's python client:
>>> import pypd
>>> pypd.EventV2.create(data={
...     'routing_key': 'REDACTED',
...     'event_action': 'trigger',
...     'payload': {
...         'summary': 'this is just a test',
...         'severity': 'info',
...         'source': 'pypd bot test',
...     },
...     'links': [{
...         'text': 'A Chart',
...         'href': 'https://grafana.example.com/dashboard/db/some_chart',
...     }],
... })
{'status': 'success', 'message': 'Event processed', 'dedup_key': 'REDACTED'}

And when I looked at the message from pagerduty, I see:
{
  "contexts": [
    {
      "type": "link",
      "text": "A Chart",
      "href": "https://grafana.example.com/dashboard/db/some_chart'"
    }
  ],
  "description": "this is just a test",
  "event_type": "trigger",
  "incident_key": "REDACTED",
  "service_key": "REDACTED"
}

So that's definitely using the v2 Events API.
I then tried using the service-tests:
$ kapacitor service-tests pagerduty2
Service             Success   Message
pagerduty2          true

And the message on pagerduty looks like:
{
  "client": "kapacitor",
  "client_url": "http://[::]:9092/kapacitor/v1",
  "description": "test pagerduty2 message",
  "details": {
    "result": {
      "series": null
    }
  },
  "event_type": "trigger",
  "incident_key": "testAlertID",
  "service_key": "REDACTED"
}

Again, looks like a v1 event.

Actually, now that I look at the python client message, it too looks like a v1 Event message. I'm wondering if pagerduty is just formatting all messages like v1 upon rendering?

repo: influxdata/kapacitor


text:
0.9 Release Cluster Write Errors

I am receiving the following message every time I attempt to write points into my DB:
[write] 2015/06/12 06:57:13 write failed for shard 3 on node 1: error code 1: write shard 3: field type conflict: input field "value" is type int64, already exists as type %!s(influxql.DataType=1)
[write] 2015/06/12 06:57:13 write failed for shard 3 on node 2: error code 1: write shard 3: field type conflict: input field "value" is type int64, already exists as type %!s(influxql.DataType=1)
The interesting thing is that all of my values are scraped before writing to make sure some decimal value has not returned.  I also dropped my database entirely, created a new one then manually instantiated my measurements with int type to attempt to prevent float type from being set as follows:
curl "http://influx1.internal:8086/write?db=testdb" -d 'cpu value=10 1000000000001'
After performing the above, whenever a write is made to another node it is for some reason created with float type from what I can tell.
Any thoughts here?

@Jhors2 What do you see if you query the data?  Does it return ints or floats?

@jwilder The queries (I performed one across each measurement) always return ints.
Example:

[5:07 PM] Eric Cables: name: cpu
tags: server=web01,site=SFO
time                value
----                -----
2015-06-12T13:46:07.972194Z    1000516
2015-06-12T13:55:08.000088Z    1000516
2015-06-12T13:56:07.983637Z    1000516
2015-06-12T13:58:08.077041Z    1000516
2015-06-12T14:01:08.347279Z    1000516```

Would you be able to post a sequence of steps to recreate this?  E.g. create database, RP, your initial write and then some sample writes that fail.  Not sure what's going on.

Sure:
drop database testdb;
create database testdb;
CREATE RETENTION POLICY infrep ON testdb DURATION inf REPLICATION 3 default;
curl "http://influx1.internal:8086/write?db=testdb&precision=s&consistency=quorum" -d 'hose_as_output_bps,hose_id=xxxx:31150,as_type=peer_dst_as,as_num=39405,protocol=ipv4 value=6632243 1434123302'
curl "http://influx1.internal:8086/write?db=testdb&precision=s&consistency=quorum" -d 'hose_as_output_bps,hose_id=xxxx:31150,as_type=peer_dst_as,as_num=43100,protocol=ipv4 value=253405 1434123302'

Thanks @Jhors2.   I was able to reproduce the issue.  Fix is in #2967

repo: influxdb/influxdb