text:
funcat-tutorial 案例运行错误

选出涨停股
select(
lambda : C / C[1] - 1 >= 0.0995,
start_date=20170104,
end_date=20170104,
)
运行错误，
---------------------------
---------------------------
lambda : C / C[1] - 1 >= 0.0995,
---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
<ipython-input-19-88c2dd06ea5d> in <module>()
      3     lambda : C / C[1] - 1 >= 0.0995,
      4     start_date=20170104,
----> 5         end_date=20170105,
      6 )

D:\WinPython-32bit-3.5.3.0Qt5\python-3.5.3\lib\site-packages\funcat\helper.py in wrapper(*args, **kwargs)
     15         try:
     16             old_settings = np.seterr(all='ignore')
---> 17             return func(*args, **kwargs)
     18         finally:
     19             np.seterr(**old_settings)  # reset to default

D:\WinPython-32bit-3.5.3.0Qt5\python-3.5.3\lib\site-packages\funcat\helper.py in select(func, start_date, end_date, max_date, callback)
     36     data_backend = ExecutionContext.get_data_backend()
     37     order_book_id_list = data_backend.get_order_book_id_list()
---> 38     trading_dates = data_backend.get_trading_dates(start=data_backend.get_start_date(), end=max_date)
     39     for idx, date in enumerate(reversed(trading_dates)):
     40         if end_date and date > get_int_date(end_date):

D:\WinPython-32bit-3.5.3.0Qt5\python-3.5.3\lib\site-packages\funcat\data\tushare_backend.py in get_trading_dates(self, start, end)
     81         start = get_str_date_from_int(start)
     82         end = get_str_date_from_int(end)
---> 83         df = self.ts.get_k_data("000001", index=True, start=start, end=end)
     84         trading_dates = [get_int_date(date) for date in df.date.tolist()]
     85         return trading_dates

D:\WinPython-32bit-3.5.3.0Qt5\python-3.5.3\lib\site-packages\tushare\stock\trading.py in get_k_data(code, start, end, ktype, autype, index, retry_count, pause)
    673                                        symbol, code,
    674                                        index, ktype,
--> 675                                        retry_count, pause),
    676                            ignore_index=True)
    677     if ktype not in ct.K_MIN_LABELS:

D:\WinPython-32bit-3.5.3.0Qt5\python-3.5.3\lib\site-packages\tushare\stock\trading.py in _get_k_data(url, dataflag, symbol, code, index, ktype, retry_count, pause)
    705                 js = json.loads(lines[0])
    706                 dataflag = dataflag if dataflag in list(js['data'][symbol].keys()) else ct.TT_K_TYPE[ktype.upper()]
--> 707                 if len(js['data'][symbol][dataflag][0]) == 6:
    708                     df = pd.DataFrame(js['data'][symbol][dataflag],
    709                                   columns = ct.KLINE_TT_COLS_MINS)

IndexError: list index out of range

我那个怎么不会画图啊。。。

这个应该是 tushare 的问题，您可以 pip install -U tushare 升级一下 tushare

原来就升级了。，我用anaconda3的

上面的都可以运行，就这个选股的有问题

直接用 tushare.get_k_data("000001", index=True, start="2017-01-04", end="2017-01-04") 试试？

import后可以运行

import tushare
tushare.get_k_data("000001", index=True, start="2017-01-04", end="2017-01-04")
可以运行

date
open
close
high
low
volume
code
1
2017-01-04 3133.79 3158.79 3160.1 3130.11 167860850.0 sh000001

你现在重新运行 select 呢？

lambda : C / C[1] - 1 >= 0.0995,

IndexError                                Traceback (most recent call last)
 in ()
3     lambda : C / C[1] - 1 >= 0.0995,
4     start_date=20170104,
----> 5         end_date=20170104,
6 )
C:\Anaconda3\lib\site-packages\funcat\helper.py in wrapper(*args, **kwargs)
15         try:
16             old_settings = np.seterr(all='ignore')
---> 17             return func(*args, **kwargs)
18         finally:
19             np.seterr(**old_settings)  # reset to default
C:\Anaconda3\lib\site-packages\funcat\helper.py in select(func, start_date, end_date, max_date, callback)
36     data_backend = ExecutionContext.get_data_backend()
37     order_book_id_list = data_backend.get_order_book_id_list()
---> 38     trading_dates = data_backend.get_trading_dates(start=data_backend.get_start_date(), end=max_date)
39     for idx, date in enumerate(reversed(trading_dates)):
40         if end_date and date > get_int_date(end_date):
C:\Anaconda3\lib\site-packages\funcat\data\tushare_backend.py in get_trading_dates(self, start, end)
81         start = get_str_date_from_int(start)
82         end = get_str_date_from_int(end)
---> 83         df = self.ts.get_k_data("000001", index=True, start=start, end=end)
84         trading_dates = [get_int_date(date) for date in df.date.tolist()]
85         return trading_dates
C:\Anaconda3\lib\site-packages\tushare\stock\trading.py in get_k_data(code, start, end, ktype, autype, index, retry_count, pause)
673                                        symbol, code,
674                                        index, ktype,
--> 675                                        retry_count, pause),
676                            ignore_index=True)
677     if ktype not in ct.K_MIN_LABELS:
C:\Anaconda3\lib\site-packages\tushare\stock\trading.py in _get_k_data(url, dataflag, symbol, code, index, ktype, retry_count, pause)
705                 js = json.loads(lines[0])
706                 dataflag = dataflag if dataflag in list(js['data'][symbol].keys()) else ct.TT_K_TYPE[ktype.upper()]
--> 707                 if len(js['data'][symbol][dataflag][0]) == 6:
708                     df = pd.DataFrame(js['data'][symbol][dataflag],
709                                   columns = ct.KLINE_TT_COLS_MINS)
IndexError: list index out of range

后面的选股也一样

是不是你那里面时间格式有问题？

我之前用 tushare 的 0.6.18 是可以的，刚刚升级到 0.7.4 就报错了，我看看是啥问题

恩，麻烦了，谢谢，这个库挺好的

发现确实 tushare 升级后行为比较诡异：
ts.get_k_data("000029", start="20170104", end="20170104")

目前可以先 pip install tushare==0.6.8 ，降级一下就可以用了

好的，谢谢

改成0.6.8还是有问题；最后还是用了raphla
附代码：
from funcat.data.rqalpha_data_backend import RQAlphaDataBackend
set_data_backend(RQAlphaDataBackend("~/.rqalpha/bundle"))
set_data_backend(RQAlphaDataBackend(start_date="2014-07-01"))
S("000001.XSHG")  # 设置当前关注股票
T("2016-06-01")   # 设置当前观察日期

你们那个ricequant里面什么时候把这个库加进去啊？

正在完善中，过段时间就加进去

我改成了0.6.8也有问题，这样岂不是就没法获取实时数据了？
Error in sys.excepthook:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 26, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/time_series.py", line 76, in value
return self.series[-1]
IndexError: index -1 is out of bounds for axis 0 with size 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 28, in wrapper
raise FormulaException(e)
funcat.utils.FormulaException: index -1 is out of bounds for axis 0 with size 0
Original exception was:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 26, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/time_series.py", line 76, in value
return self.series[-1]
IndexError: index -1 is out of bounds for axis 0 with size 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 9, in
print(O, H, L, C)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/time_series.py", line 161, in repr
return str(self.value)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 28, in wrapper
raise FormulaException(e)
funcat.utils.FormulaException: index -1 is out of bounds for axis 0 with size 0

临时处理办法：
改用raphla作为数据源
附代码：
from funcat.data.rqalpha_data_backend import RQAlphaDataBackend
set_data_backend(RQAlphaDataBackend("~/.rqalpha/bundle"))
set_data_backend(RQAlphaDataBackend(start_date="2014-07-01"))
S("000001.XSHG") # 设置当前关注股票
T("2016-06-01") # 设置当前观察日期

@better319 请问您是如何获取当前实时数据的？

@better319 可以➕下我的Q吗？328080339 特别着急现在，卡在这里了。

把这段话加载最前面就好了，重新运行下。你这个raphla的库要安装

我都卡了20天了，别急，晚上我回去看下。下班了

IndexError: list index out of range 这个问题是新版本 tushare 的问题，建议可以先降级一下 tushare
https://github.com/waditu/tushare/issues/351

@better319 @cedricporter 谢谢！
我已经降级了，现在是0.7.1 还是会报错
代码:
from funcat import *
# from funcat.data.rqalpha_data_backend import RQAlphaDataBackend
# set_data_backend(RQAlphaDataBackend())
from funcat.data.tushare_backend import TushareDataBackend
set_data_backend(TushareDataBackend())

T("20170419")
S("000001.XSHG")
print(O, H, L, C)

@aweiu 麻烦再确认下版本，我用0.6.8是ok
import tushare as ts; print(ts.__version__)

@cedricporter 0.7.1 我是看了您发我的那个issues里有人说这个版本没问题我换的
现在我还安装不了0.6.1就很无奈了。。我再试试

安装0.6.1得需要astropy，然后安装它会报错。大意是：
The C compiler used to compile Python gcc-4.2
我现在在想办法如何使用py3的c编译器

@cedricporter 请问这个现在还有解吗？有没有可能是tushare那边请求的数据源出了问题

用
pip install tushare==0.6.1

降级如果不行的话，可以使用另一个 Backend
from funcat.data.rqalpha_data_backend import RQAlphaDataBackend
from funcat import *

set_data_backend(RQAlphaDataBackend("~/.rqalpha/bundle"))

@cedricporter 我试过 获取当天数据还是会报那个错误

那就先使用 RQAlphaDataBackend 吧

那这样是不是意味着我就没有办法获取到当前的实时数据了，这就很蛋疼了。。
唉，真的特别想用您这个库，因为我只了解一些通达信的公式。。

你可以把你那边的报错贴一下看一下吧

@cedricporter
因为今天的股市交易结束了，我更新了今天的RQAlphaDataBackend数据，现在不会报错。只要没有当前数据，会报以下错误（因为今天已经过去了，所以您可以用明天的日期做测试一样会报那个错误）
代码如下（tushare 0.7.4）：
from funcat import *
from funcat.data.rqalpha_data_backend import RQAlphaDataBackend
set_data_backend(RQAlphaDataBackend())

T("20170419")
S("000001.XSHG")
print(O, H, L, C)

报错如下：
Error in sys.excepthook:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 26, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/time_series.py", line 76, in value
return self.series[-1]
IndexError: index -1 is out of bounds for axis 0 with size 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 28, in wrapper
raise FormulaException(e)
funcat.utils.FormulaException: index -1 is out of bounds for axis 0 with size 0
Original exception was:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 26, in wrapper
return func(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/time_series.py", line 76, in value
return self.series[-1]
IndexError: index -1 is out of bounds for axis 0 with size 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 9, in
print(O, H, L, C)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/time_series.py", line 161, in repr
return str(self.value)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/funcat/utils.py", line 28, in wrapper
raise FormulaException(e)
funcat.utils.FormulaException: index -1 is out of bounds for axis 0 with size 0

我看了你使用 RQAlphaDataBackend 这个错误，是因为没有当天的数据，错误提示不明确。你可以使用
rqalpha update_bundle 更新以下数据。
另外可以 pip install funcat==0.2.3 升级一下，会改善错误提示。
另外看到 Tushare 升级到了 0.7.5 了，可能会没有问题了。

十分感谢您这么晚还回复我！
您这么说我好像理解了，如果是这样，我的疑惑就是那您这个库的select方法就是不能根据当前实时股价选股了是么？我之前猜想库可能会这么处理，优先会取本地取数据，然后本地数据和实时数据相差的部分会从tushare取，每次取完最新数据还会追加到本地数据中。因为不太熟悉Python，所以很难从您的源码中解读。另外，我那个报错也是我执行了update数据之后发生的，那时候可能是因为今天的数据还不全是吗？我在停盘之后又执行了一遍update才可以的。如果是这样，那就真的没办法基于当前股价选股了啊。

用默认的 TushareDataBackend 理论是可以盘中选股的。我记得 tushare 的 get_k_data 的最后一个 Bar 是动态更新的。

好的。明天我再测试一遍！那不知道比如计算十日均价这种，如果是使用tushare，前九日的数据，在第一次请求之后会不会缓存到本地？还是说每次计算都得从服务器拉取？如果是这样，那效率肯定成问题的，毕竟三千多只股票筛选啊。
问了这么多都不好意思了，实在抱歉了，因为这些细节真的想搞清楚。

不过如果要做到高效地盘中实时选股，你需要自己实现一个 DataBackend ，使用本地历史数据（这个你可以使用RQAlpha的数据，后者自己把 tushare 的数据存到本地），再拼接 tushare.get_realtime_quotes 获取的当前实时的数据 得到动态更新的 K线。这样运行速度就可以大大提高。
tushare.get_realtime_quotes 这个是走新浪的数据，获取 3000只股票的盘口数据 1秒内可以搞定。

OK!再次感谢，明天又有大活儿咯！您也早点休息了，晚安

authors: aweiu better319 cedricporter

repo: cedricporter/funcat


text:
myrtille init error: Can't find variable: XmlHttp

Hello,
I am using myrtille on a remote touchscreen panel with a browser which i haven't got access to his settings. With an online tool i found out it has Safari for Ubuntu installed on it. I used myrtille on a docker container with an external network to connect my panel to a ubuntu VM installed on my computer.
all was working fine with this link:
http://DockerContainerExternalSwitch/Myrtille/?__EVENTTARGET=&__EVENTARGUMENT=&server=myServerIp&user=davide&passwordHash=hereihavethecorrecthash&connect=Connect%21
After the installation of a Windows Server machine in my office I decided to move Myrtille onto the server and install it directly with the newest version 2.9.0 . After i adapted the link to have the server address and the relative passwordHash, i tried to connect once again to my ubuntu machine. From my laptop on the latest chrome everything works fine. But if i try to connect from my remote Panel i get 2 message errors one after the other:

myrtille init error: Can't find variable: XmlHttp

and

failed to start myrtille: Can't find variable: XmlHttp

if I connect to regular myrtille page and insert manually the information about VM Ip user and password i manage to connect just fine, but I really need to be able to connect from a direct link.
I tried to explore the file and even change the config to avoid XHR setting it to WEBSOCKET but the error still remain. I would gladly accept some help on this matter since i'm not sure if this is a coding bug or some setup error, which seems strange since last version on docker was working great..

Hi, looks like a javascript issue. Do you have the ability to show the devtools console on your Safari ?
What did changed in 2.9.0 is the use of a cdn for the on-screen keyboard (https://cdn.jsdelivr.net/npm/interactjs/dist/interact.min.js). If your Ubuntu machine doesn't have access to it, the on-screen keyboard won't work; it shouln't impact the rest of Myrtille, but it's possible.

Unfortunately I'm not able to access the devtools console, it is an embedded and locked up system which only makes available the web browser url to access a single app or website. This is also the reason why I use myrtille, so i can have a full on operative system on that panel. Is the docker version exactly the same as the windows version? could it be that the issue came out switching from docker to windows app instead of upgrading from 2.8 to 2.9?

Quick update:
I just tried installing myrtille 2.8 on my computer without docker, tested it and all is working fine. So apparently the issue is indeed in upgrading to 2.9

Yes, and this is probably related to the use of a cdn (nodejs), with the new international on-screen keyboard in 2.9.0. Your panel may not have internet access, so it can't access https://cdn.jsdelivr.net/npm/interactjs/dist/interact.min.js, and this prevents loading the others javascript files, as a side effect.
I must say I was a bit lazy on this one because I didn't embeddedinteract.js into Myrtille, as opposed to all the others 3rd party libraries, thus breaking the ability of Myrtille to work in a closed environment (with no internet access). I will do that in the next version. Meanwhile, you can download interact.js and all its dependencies (and that's where nodejs is nasty) and change the related

Thanks for the explanation, the panel should have internet access, it is possible however that the internal system has some protection over the network thus blocking it, unfortunately i'm not able to verify that... as of now we will continue as usual with version 2.8.0. Whenever a new release is available I will try it and keep you updated on the behaviour of the panel.

It's a little detail. You can fix it by changing the following line (into the Myrtille install folder ("C:\Program Files (x86)\Myrtille" by default):
js/network/xmlhttp.js: line 238
js/network/eventsource.js: line 91
js/network/websocket.js:line 299

Replace: catch by catch (exc)

It's a little detail. You can fix it by changing the following line (into the Myrtille install folder ("C:\Program Files (x86)\Myrtille" by default):
js/network/xmlhttp.js: line 238
js/network/eventsource.js: line 91
js/network/websocket.js:line 299

Replace: catch by catch (exc)

updated release 2.9.1

updated release 2.9.1

source: gharchive/issue

authors: cedrozor serridavide

repo: cedrozor/myrtille

license_type: permissive

license_source: bigquery


text:
Always invalid when the text is set using the controller (PhoneController.value)

I can set the input through the controller e.g.
phoneNumberController.value = PhoneNumber.fromRaw(123);
But after this when I call the parent Form's validate() method then PhoneFormField() validator becomes active,
if I edit the number a little e.g. erase the last digit and then type it again then the validate() method of the parent Form widget works as intended

I'm not sure I understand what you are saying. Can you provide a sample code ?

Can you submit a fix ?

Is there a solution for this issues?

Is there a solution for this issues?

What is the issue exactly ? Do you have a repro ?

Setting a valid phonenumber by the controller (without editing the phone-number-field via the ui) is not recognized by the validator. It makes no difference which AutoValidationMode is used - bug is always present.
Only if you edit the field (delete a digit and re-enter the digit) and submit the form then the validator works.
Steps to reproduce:

set valid phone number via controller
submit form without clicking oder editing the form field

Expected result:

Form is valid

Actual result:

Form is invalid

import "package:flutter/material.dart";
import "package:phone_form_field/phone_form_field.dart";

class TestApp extends StatefulWidget {
  const TestApp({Key? key}) : super(key: key);

  @override
  State<TestApp> createState() => _TestAppState();
}

class _TestAppState extends State<TestApp> {
  final _formKey = GlobalKey<FormState>();
  final PhoneController _phoneController = PhoneController(null);

  @override
  void initState() {
    _phoneController.value = PhoneNumber.parse("+436641234123");
    super.initState();
  }

  @override
  void dispose() {
    _phoneController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Form(
        key: _formKey,
        child: Column(
          children: [
            Padding(
              padding: const EdgeInsets.all(16.0),
              child: PhoneFormField(
                autovalidateMode: AutovalidateMode.disabled,
                controller: _phoneController,
                shouldFormat: false,
                defaultCountry: IsoCode.AT,
                decoration: const InputDecoration(
                  labelText: "Phone",
                ),
                validator: PhoneValidator.compose([
                  PhoneValidator.required(errorText: "Please enter phone number"),
                  PhoneValidator.valid(),
                ]),
              ),
            ),
            ElevatedButton(
              onPressed: () {
                bool isValid = _formKey.currentState!.validate();
                if (isValid) {
                  _formKey.currentState!.save();
                  print("Form saved");
                } else {
                  print("Form invalid");
                }
              },
              child: const Text("submit"),
            )
          ],
        ),
      ),
    );
  }
}

Thanks, this was an easy fix, will upload next release shortly

@cedvdb I`m having the exact same issue.
In my case, some phones are saved with the isocode along the nsn. The plugin correcs this but only if editing the ui as @philitell described.
Do you have any date for the next release?
Thank you.

@williamrech I do not have open time slots for this package in the upcoming month. Feel free to have a look.  It might be useful if you could give reproduction steps in case someone wants to have a look.

As an example, the phone passed to the controller in this case is "+5551999163181". When typing an extra "0", the country code "55" is removed, then the fone gets correctly formatted when removing the "0".

I was not able to make the field behave correctly without user interaction, thus the form could not be successfuly validated.

Could you reopen another issue about this ? This is a different issue and is actually in this package
https://github.com/cedvdb/phone_numbers_parser/issues

authors: NeatFastro cedvdb philitell williamrech

license: MIT

license_source: github-api


text:
QGB implement exponential backoff

We could implement in the QGB orchestrator an exponential backoff mechanism when retrying.
Originally posted by @SweeXordious in https://github.com/celestiaorg/celestia-app/pull/512#discussion_r912296231

per sync discussion, this issue can be closed due to moving to v2

authors: SweeXordious evan-forbes

repo: celestiaorg/celestia-app


text:
[Wallet] Add "On Valora" recipients to RecipientPicker

Description
When choosing a recipient to send/request money, there is now an additional section that includes all recipients the user has received a transaction from (currently only receive, as for now we don't grant profile access to people who have sent us transactions)
Tested

contact phone numbers removed from screenshot for privacy
Related issues

Fixes part of #6101

moved to https://github.com/celo-org/wallet/pull/45

source: gharchive/pull-request

repo: celo-org/celo-monorepo


text:
fix(Drawer): Fix Drawer Navigation example

Issue: none
https://go.screenpal.com/watch/cZjrDsV9JdE
What I did

Add missing import to docs example
Checklist

[X] changeset has been added
[X] Pull request description is descriptive
[X] I have made corresponding changes to the documentation
[X] New and existing unit tests pass locally with my changes
[-] I have added tests that prove my fix is effective or that my feature works

How to test
Test that code sandbox opens without an error on all Drawer examples

I verified that I could successfully see the Navigation Example working on Code Sandbox.

authors: orion-cengage silvalaura

repo: cengage/react-magma


text:
Tags: Add two new APIs defaultTagContext() and defaultBuilder().

It's important to differentiate between empty and default TagContext, since they are not always the same in different implementations. Currently we're using Tagger.empty() and Tagger.emptyBuilder() to get the default TagContexts and that has caused some problems.
Adding two new APIs defaultTagContext() and defaultBuilder(). By default they are the same as empty() and emptyBuilder() but implementations can override them to have different behaviors.
/cc @zhangkun83

Codecov Report

Merging #1316 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1316      +/-   ##
============================================
+ Coverage     82.61%   82.62%   +<.01%
- Complexity     1305     1307       +2
============================================
  Files           199      199
  Lines          6391     6393       +2
  Branches        585      585
============================================
+ Hits           5280     5282       +2
  Misses          951      951
  Partials        160      160

Impacted Files
Coverage Δ
Complexity Δ

api/src/main/java/io/opencensus/tags/Tagger.java
100% <100%> (ø)
3 <2> (+2)
:arrow_up:

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 1120887...ec3f290. Read the comment docs.

Chatted offline, we're considering an alternative approach.

repo: census-instrumentation/opencensus-java


text:
Support for AngularJS 1.4?

Any known issues with using angular-grid with angular 1.4?

I have had nobody mention anything about 1.4, no reason to suspect any issues.

If that is the case, can you modify the bower.json file to include 1.4? Thanks.

you don't need to use the version that i specify as a dependency, you are free to use whatever version you want??? depending on how you build, you should be only taking the files from my 'dist' folder, you should be getting angularjs as a seperate dependency in your project???

Because you're not specifying any version of Angular, this is causing issues for some build scripts - check this issue here.
If you're worried about locking it down to a specific version, you can have a ">1.3" or so..

@jadjoubran are you advising me to do this in ag-grid, or mykbaber to do it in his code?

hi @ceolter, thanks for your reply.
Actually it's better if ag-grid explicitly defines its dependencies (Angular in this case) so that it works harmoniously with build systems and package managers.

ah - that's the problem, ag-Grid does NOT depend on angular, angular is optional. the grid works all on it's own, angular is only used if you specify you want it inside your custom cells.

authors: ceolter jadjoubran mykbaker

repo: ceolter/angular-grid

license: mit


text:
igw: stop daemons on purge all calls

When purging the entire igw config (lio and rbd) stop disable the api
and gw daemons.
Fixes Red Hat BZ
https://bugzilla.redhat.com/show_bug.cgi?id=1621255
Signed-off-by: Mike Christie mchristi@redhat.com

jenkins test pipeline

authors: guits mikechristie

repo: ceph/ceph-ansible


text:
ceph-rgw-loadbalancer: Add keepalived non-distro install option

Currently keepalived installs the distro version which is 2 years behind.
Add feature which allows the user the option to specify the version number of keepalived to install.
Signed-off-by: Stanley Lam stanleylam_604@hotmail.com

bump


text:
[skip ci] cephadm-adopt: configure repository for cephadm installation

In case of using ceph/ceph images, the cephadm binary in container uses /usr/libexec/platform-python interpreter that might not available in distros like ubuntu. This installation method help to install cephadm from the cephadm script (https://docs.ceph.com/en/latest/cephadm/install/#curl-based-installation) and skip get cephadm from the container image
Signed-off-by: Seena Fallah seenafallah@gmail.com

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm_adopt

The cephadm adopt issue isn't related to this PR.
This will be tracked by https://tracker.ceph.com/issues/51902

I agree with the first solution too. If you are ok too I can change it.

I think there's legacy stuff here and we can simplify the current workflow.
To be honest, downloading the cephadm script from the github repository (or elsewhere) is a no go.
So non containerized deploy are installing the cephadm package from the ceph repository (community, rhcs, custom, etc..).
For containerized deployment we're extracting the script from the container which leads to the issue reported for non CentOS/RHEL nodes.
Historically this was done because RHCS 5 wouldn't release the cephadm package and only the ceph container image.
But this assumption isn't true anymore so we have two solutions:

Play the existing repository setup from the ceph-common role when containerized_deployment: true and remove the cephadm file extraction from the container image.
Replace the cephadm shebang according to the ansible_python_interpreter fact after the extraction.

To me, 1) is the clean way to do this but requires large changes. 2) is much simplier but looks as a dirty hack.
@guits what do you think ?

option 2/ doesn't seem very elegzant, for that reason I would go with option 1/ too

@guits @dsavineau PTAL

ping @guits @dsavineau

ping @dsavineau @guits :)

jenkins test centos-container-collocation

jenkins test centos-non_container-all_daemons

jenkins test centos-non_container-collocation

jenkins test centos-container-cephadm_adopt

jenkins test centos-non_container-all_daemons

jenkins test centos-container-cephadm_adopt

jenkins test centos-non_container-all_daemons

jenkins test centos-container-all_daemons

jenkins test centos-non_container-all_daemons

jenkins test centos-non_container-all_daemons

@guits I've also added this to the cephadm playbook

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm

jenkins test centos-container-collocation

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm

jenkins test centos-non_container-all_daemons

jenkins test centos-container-cephadm

jenkins test centos-container-cephadm_adopt

jenkins test centos-non_container-all_in_one

jenkins test centos-non_container-lvm_batch

jenkins test centos-non_container-lvm_osds

jenkins test centos-non_container-collocation

jenkins test centos-non_container-update

jenkins test centos-non_container-purge

jenkins test centos-container-collocation

jenkins test centos-non_container-switch_to_containers

jenkins test centos-container-cephadm

@clwluvw could you rebase onto master pls?
thanks!

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm

@guits Is that related to the configured repository?
fatal: [mon1]: FAILED! => changed=false
  attempts: 3
  msg: 'Failed to download metadata for repo ''ceph_stable'': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried'
  rc: 1
  results: []

jenkins test centos-container-cephadm

jenkins test centos-container-cephadm_adopt

@clwluvw could you rebase on master pls? thanks!

jenkins test centos-container-cephadm

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm_adopt

jenkins test centos-container-cephadm

@guits Seems jenkins commands not working =)

@guits Why marking it as a draft? =)

because this PR isn't ready yet to be merged at all

because this PR isn't ready yet to be merged at all

@guits What did I miss in this PR?

@guits Seems the failure is unrelated 🤔

on master branch, this job passes the CI

let's see there how it goes https://2.jenkins.ceph.com/job/ceph-ansible-scenario/259/console

Why it fails on validate ceph_repository_community? Did you do any edits on the testing branch?

take a look at the second job I've triggered, https://2.jenkins.ceph.com/job/ceph-ansible-scenario/259/console

authors: clwluvw dsavineau guits


text:
Refactor deeply nested if statements

nestif reports deeply nested if statements in the codebase.
Issue reported: ... is deeply nested (complexity: X) (nestif)
Steps:

Enable nestif linter from scripts/golangci.yml.in (if #1157  is merged)
Run make containerized-test TARGET=go-lint

What is the value to the end user? (why is it a priority?)
Improve understandability and reduce Cognitive Complexity.
How will we know we have a good solution? (acceptance criteria)
nestif linter does not show any more warnings.
Additional context
Works something like...
if condition1 { // total: 3
    if condition2 { // +1
    }
    if condition3 { // +1
    }
    if condition4 { // +1
    }
}

@Yuggupta27 isnt this taken care already?

This is not fixed, there is a todo present and it's currently disabled at https://github.com/ceph/ceph-csi/blob/02b4a7175c4679466fdc6eab6674ef84525351ee/scripts/golangci.yml.in#L169

@Yuggupta27 can you revisit this?

@Rakshith-R is working on this now.

repo: ceph/ceph-csi


text:
push images to quay.io with canary tag

updated deploy.sh script to push images to quay.io with canary tag.
Once we merge a PR against master and csi-v0.3 branches we need to build and push the latest
image with canary tag. by doing this we can avoid the accidental update of the images which
are already deployed with stable tags (i.e v1.0.0 or v0.3.0).
Signed-off-by: Madhu Rajanna madhupr007@gmail.com

@ShyamsundarR @j-griffith @humblec @leseb PTAL

https://github.com/ceph/ceph-csi/issues/266

Lgtm. Thanks

It's a bit confusing to apply a -canary name on a tagged version, I think it's confusing become people won't probably realize that v0.3 is not the ceph-csi version but the csi spec version.
I believe we should rethink that a little bit.

added  -canary at last to avoid tagging canary for both v0.3.0 and v1.0.0 images.
any suggestion for image tag?

What's the strategy to let's say push a new version of our ceph-csi driver for the csi v0.3 spec. Are we going to increment? v0.3.x?
i think we need to increment the tag, once  we do the new releases

It's uggly but typically a tag for ceph-csi might look like REPO/IMAGE:CSI_SPEC_VERSION-CEPH_CSI_VERSION, which might translate to:
ceph/csi-rbd:v0.3.0-v0.1.0.
With that we can easily increment like ...-v0.1.1, ...-v0.1.2 and also have a latest version such as: ``ceph/csi-rbd:v0.3.0-latest`.

It's uggly but typically a tag for ceph-csi might look like REPO/IMAGE:CSI_SPEC_VERSION-CEPH_CSI_VERSION, which might translate to:
ceph/csi-rbd:v0.3.0-v0.1.0.
With that we can easily increment like ...-v0.1.1, ...-v0.1.2 and also have a latest version such as: ceph/csi-rbd:v0.3.0-latest.

It is useful to have a CSI version and then the ceph-csi plugin version, so what is suggested above looks good.
latest would point to latest released version, right?
What about per PR builds per version, this is where IMO the canary for that version helps for whoever wants to test/use the bleeding edge. IOW, like what is used in kubernetes-csi.
We can again adopt (or use our own rules) as to when a canary is released, and we up the "z" version for the next release.

@ShyamsundarR @leseb IMO we can follow REPO/IMAGE:CSI_SPEC_VERSION-CEPH_CSI_VERSION for the ceph-csi release version.
I think we can have  canary as the image tag for PR build version
any other suggestions?

With the possibility that in the future we maybe compatible to multiple CSI spec versions with the same plugin binaries, I now think we should NOT specialize our plugin version using the CSI spec that it supports. Instead we can call out a supported version matrix on the README.md and retain the compatibility information there. This seems like a more prudent approach at the moment.
Considering this, versioning and other process artifacts can look as follows,
RELEASE-VER: vx.y.z

z +1 for minor releases
y +1 for major releases
x +1 for breaking change type releases

Branch: csi-v0.3

Version value is: v0.3
Minor-Version is: 0
Latest is: v0.3-latest (points to) v0.3.0
Next-minor value is: 1
Per PR revision: never pushed to the image repository
Per PR merge version: update v0.3-canary image

What happens when 2 PRs merge at the same time, is there a guarantee that the latter job publishes the images after the former PR job?

Per release candidate release: v0.3.1-rci (i: 0..n) (or, Version.Next-minor-rci)

Or, rethink RCs as alpha, beta and final version?

When released:

Minor-Version becomes: 1
Latest moves: v0.3-latest (points to) v0.3.1
Next-minor value is: 2

NOTE: All future branches adopt the same strategy as above. Branches are created per major (or above) release number changes.
Branch: master

Version: no current version as master is for the next release
Latest: no latest image, as there is nothing stable we release from master branch
Next-release: v1.0.0
Per PR revision: never pushed to the image repository
Per PR merge version: canary updated (no versions with canary here)
When released:

Next-release becomes: v1.1.0 (for now at least)

Branching occurs just before first RC or alpha is ready to release, and hence master never has the RC related tags

This would possibly lead to the next set of questions on when releases are made, and life-cycle of releases etc. we possibly need to tackle that next.

Ping @leseb @Madhu-1 @humblec any further thoughts on this one?

whats pending on this PR? making canary tag without version for the master branch?

whats pending on this PR? making canary tag without version for the master branch?

That is one if we agree to what is proposed, I would like to understand if the proposal is fine and what we need to tune for the same?

updated PR

@leseb @humblec @gman0 Request one of you to review and add the second approval if changes look fine, Thanks.

Lgtm.  Thanks

authors: Madhu-1 ShyamsundarR humblec leseb


text:
Issue with non-privileged OSDs and SElinux

Can not mount the OSD fs, ceph-disk logs:
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: 2017-02-28 13:43:27  /entrypoint.sh: static: does not generate config
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: main_activate: path = /dev/sdb1
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: get_dm_uuid: get_dm_uuid /dev/sdb1 uuid path is /sys/dev/block/8:17/dm/uuid
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: command: Running command: /sbin/blkid -o udev -p /dev/sdb1
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: command: Running command: /sbin/blkid -p -s TYPE -o value -- /dev/sdb1
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: command: Running command: /usr/bin/ceph-conf --cluster=ceph --name=osd. --lookup osd_mount_options_xfs
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: mount: Mounting /dev/sdb1 on /var/lib/ceph/tmp/mnt.rguqya with options noatime,largeio,inode64,swalloc
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: command_check_call: Running command: /bin/mount -t xfs -o noatime,largeio,inode64,swalloc -- /dev/sdb1 /var/lib/ceph/tmp/mnt.rguqya
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: mount: /dev/sdb1 is write-protected, mounting read-only
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: mount: cannot mount /dev/sdb1 read-only
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: Traceback (most recent call last):
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: File "/usr/sbin/ceph-disk", line 9, in <module>
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5230, in run
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: main(sys.argv[1:])
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5181, in main
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: args.func(args)
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3532, in main_activate
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: reactivate=args.reactivate,
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 3266, in mount_activate
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: path = mount(dev=dev, fstype=fstype, options=mount_options)
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 1337, in mount
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: raise MountError(e)
Feb 28 13:43:27 docker-centos-osd ceph-osd-run.sh[23738]: ceph_disk.main.MountError: <exception str() failed>

Selinux logs:
time->Tue Feb 28 13:41:45 2017
type=SYSCALL msg=audit(1488289305.045:162836): arch=c000003e syscall=165 success=no exit=-13 a0=ea0240 a1=ea02f0 a2=ea0260 a3=c0ed0400 items=0 ppid=18748 pid=18755 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mount" exe="/bin/mount" subj=system_u:system_r:svirt_lxc_net_t:s0:c590,c721 key=(null)
type=AVC msg=audit(1488289305.045:162836): avc:  denied  { mount } for  pid=18755 comm="mount" name="/" dev="sdd1" ino=32 scontext=system_u:system_r:svirt_lxc_net_t:s0:c590,c721 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem

SElinux:
[root@docker-centos-osd ~]# getenforce
Enforcing

Setting to permissive solves the issue.

Seems to be related to the removal of --pid=host...

@b-ranto any ideas on this selinux issue?

It says that mount was called with svirt_lxc_net_t context which suggests containers did not do/define the appropriate context transition when calling mount.

any updates about how to fix this?

@sjkyspa you can run your container with --pid=host. If you run on k8s you're fine.

authors: b-ranto ktdreyer leseb sjkyspa

repo: ceph/ceph-docker


text:
Removing Beanstalk from teuthology

The following changes support the removal of Beanstalk from Teuthology.
In place of Beanstalk, we will now be using Paddles for queue management in Teuthology.
This PR has the corresponding changes for the paddles PR: https://github.com/ceph/paddles/pull/94/files.
The changes include:

Removing all beanstalk related code
Teuthology scheduler and dispatcher using Paddles queue for scheduling and dispatching jobs
Adding support for Paddles queue management
Additional functionality of being able to change the priority of Teuthology jobs in the queued state in the teuthology-queue command

Signed-off-by: Aishwarya Mathuria amathuri@redhat.com

First of all, the tests are failing.

Second, is it possible to support both scheduling mechanisms for a while?

Second, is it possible to support both scheduling mechanisms for a while?

It seems like a lot of effort - on the teuthology side one can always use the commit before this merges.
In terms of the sepia lab, I figure we'll announce this widely before it merges and when it is being merged. Folks will notice pretty fast when beanstalkd is no longer running.
@amathuria is planning to test out the paddles side further in sepia before merging the teuthology piece as well.

Second, is it possible to support both scheduling mechanisms for a while?

It seems like a lot of effort - on the teuthology side one can always use the commit before this merges.

I don't think it is a lot of effort for the moment to support just another scheduling on teuthology client side. I've added --backend option to handle this.

In terms of the sepia lab, I figure we'll announce this widely before it merges and when it is being merged. Folks will notice pretty fast when beanstalkd is no longer running.

It is not only about sepia lab we still use downstream beanstalk with two different teuthology setups and it will be tough to switch everything at once.
I would vote for keeping the beanstalk support in teuthology for awhile so it can run with older paddles and pulpito.

 replace beanstalk queue

@zmc want to take a look at the teuthology side of this change?

I had to change the target branch and re-mark some old comments as resolved. I'm also noticing a failing unit test.
I'm trying to test this with the docker-compose dev setup; I think if we rebase this branch on to main now, we'll be close to being able to test it. Some steps I took before trying to test:
* Clone [ceph/paddles#94](https://github.com/ceph/paddles/pull/94) locally, and build via `docker build -t paddles:wip-amathuria-removing-beanstalkd .`

* Modify `docker-compose.yml` to point to the image we just built

* Optionally, remove beanstalk references from `docker-compose.yml`

* Modify `start.sh` to reflect CLI flag changes

* Push a (rebased) copy of this branch to `ceph/teuthology` so that the remote branch-fetching code will not miss it

I see jobs getting scheduled and picked up by the dispatcher, but I'm getting this bizarre failure: teuthology.exceptions.CommitNotFoundError: '52f341b00a5dc4ff54351a75605d2f7dfe9b6033' not found in repo: https://github.com/ceph/ceph-ci.git! And of course, I'm not specifying any sha1s manually. I haven't yet put a lot of time into debugging that.
Edit: If you've been testing this a different way and having more success, please let me know

@zmc  I have pushed some minor changes to the Paddles branch, do you mind cloning it again and trying? I'm working on rebasing this branch too and it should work fine after that.

@zmc I have pushed some minor changes to the Paddles branch, do you mind cloning it again and trying? I'm working on rebasing this branch too and it should work fine after that.

I got farther! Job failed with an ansible error that seems like it's probably unrelated:
teuthology.exceptions.AnsibleFailedError: {'06d995007718': {'_ansible_no_log': False, 'changed': False, 'invocation': {'module_args': {'daemon_reexec': False, 'daemon_reload': False, 'enabled': None, 'force': None, 'masked': None, 'name': 'apache2', 'no_block': False, 'scope': 'system', 'state': 'stopped', 'user': None}}, 'msg': 'Service is in unknown state', 'status': {}}}

@zmc I have pushed some minor changes to the Paddles branch, do you mind cloning it again and trying? I'm working on rebasing this branch too and it should work fine after that.

I got farther! Job failed with an ansible error that seems like it's probably unrelated: teuthology.exceptions.AnsibleFailedError: {'06d995007718': {'_ansible_no_log': False, 'changed': False, 'invocation': {'module_args': {'daemon_reexec': False, 'daemon_reload': False, 'enabled': None, 'force': None, 'masked': None, 'name': 'apache2', 'no_block': False, 'scope': 'system', 'state': 'stopped', 'user': None}}, 'msg': 'Service is in unknown state', 'status': {}}}

What OS did you run that on?  I've only seen that on CentOS 9.

I got farther! Job failed with an ansible error that seems like it's probably unrelated: teuthology.exceptions.AnsibleFailedError: {'06d995007718': {'_ansible_no_log': False, 'changed': False, 'invocation': {'module_args': {'daemon_reexec': False, 'daemon_reload': False, 'enabled': None, 'force': None, 'masked': None, 'name': 'apache2', 'no_block': False, 'scope': 'system', 'state': 'stopped', 'user': None}}, 'msg': 'Service is in unknown state', 'status': {}}}

What OS did you run that on? I've only seen that on CentOS 9.

The testnode container image is based on ubuntu:latest and the host machine is running 20.04

The testnode container image

Ah, that's probably why.  I think on CentOS9 and/or newer kernels, there was some issue with the ansible systemd module not working.  ceph-cm-ansible hasn't been adapted to work inside containers yet though so that's why.

I'm in the very early stages of testing this with ceph/paddles#94 via ceph-devstack, but I have run into an issue: it looks like teuthology-schedule isn't noticing that I have backend: paddles in my .teuthology.yaml, so I get RuntimeError: Beanstalk queue information not found in None.
I also see several log entries with POST to http://paddles:8080/queue/stats/ failed with status 400: {"message": "specified queue does not exist"} - so I think there's an issue with creating queues as well. This comment belongs on the paddles side, but I think it'd make a lot of sense to just create queues transparently like beanstalkd does.

Thanks for trying this out! I'll look into these issues

I'm in the very early stages of testing this with ceph/paddles#94 via ceph-devstack, but I have run into an issue: it looks like teuthology-schedule isn't noticing that I have backend: paddles in my .teuthology.yaml, so I get RuntimeError: Beanstalk queue information not found in None.
I also see several log entries with POST to http://paddles:8080/queue/stats/ failed with status 400: {"message": "specified queue does not exist"} - so I think there's an issue with creating queues as well. This comment belongs on the paddles side, but I think it'd make a lot of sense to just create queues transparently like beanstalkd does.

The queue does not exist issue popped up because I wasn't reading backend from teuthology.yaml. Once that is fixed we shouldn't see this error anymore.

Adding DNM as the Paddles PR will have to be merged first

authors: amathuria djgalloway jdurgin kshtsk zmc

repo: ceph/teuthology


text:
Verify and apply filters using a callback name

What?
At the moment, the only way to customise the process of verifying or applying a filter is to write a callable inline, in the filter declaration.
My suggestion is to accept, as apply: and verify: parameter values, either a callable, or a method name (string or symbol).
How?
Using the same apply: option as previously, we could also pass a callback name, that would need to be defined on the resource class.
filter :public, apply: :apply_public_filter

# (...)

def self.apply_public_filter(records, value, _options)
  records.where(public: (value == "public"))
end

Same goes with verify:
filter :user_id, verify: :verify_filter_user_id

# (...)

def self.verify_filter_user_id(values, _context)
  current_user = context ? context[:current_user] : nil
  values.map do |id|
    id == "me" ? current_user.try(:id) : id
  end
end

Why?
Although the existing solution is a progress from the previous suggestion to override the apply_filters and verify_filters methods, it does not allow code factorisation, and sometimes makes the code harder to read. I personally ended up with a lot of, in my opinion disgraceful declarations like the one below:
filter :custom, apply: ->(*args) { my_custom_filter_callback(*args) }

The solution above makes it easier to factorise, and follows a pattern that I think is quite common.

@davidstosik Thanks, that's a nice addition. And thanks for the excellent write up on the problem and solution! I think this should be the model for how to submit a PR.

Thanks, but I merely copied what looked like a nice template from the original issue thread #526.

I thought it look vaguely familiar. Glad you used it, and thanks to @iamvery for using it in #526

:heart:

authors: davidstosik iamvery lgebhardt

repo: cerebris/jsonapi-resources


text:
Release 3.0.0

Issues
Test evidence

+1

+1

Released,
https://github.com/cerner/cerner_tomcat/tree/v3.0.0
https://supermarket.chef.io/cookbooks/cerner_tomcat/versions/3.0.0

authors: EdwardSkoviak bbaugher mkwhitacre


text:
Migrate Detail View to CSS Modules

Summary
Addresses issue #128

Functional review complete.  No issues identified.

authors: PaulSolDev emilyrohrbough

repo: cerner/terra-clinical


text:
[terra-application-name] minor enhancements

Enhancements

need to refactor so the container for application-name content in the Menu has a dynamic height and will size according to the component/text/SVG or image provided
need to update the examples to have both a colored background and a white background for both application-name and the application-menu-name (or better way to show/test with theming when they might be different, a toggle perhaps)
need to update examples and tests to have both with and without a start icon/accessory, and with a full SVG logo in the place of the name.

terra-application-name is end-of-life will be marked as deprecated.
(replaced by terra-application-navigation)
Closing as no longer needed.

repo: cerner/terra-framework


text:
Release 2/15

Summary

Closes #
Deployment Link

https://terra-framework-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Thank you for contributing to Terra.
@cerner/terra

@sdadn These packages have already been released on https://github.com/cerner/terra-framework/pull/1517 so this can be closed.

Closed because duplicate of #1517

authors: benbcai sdadn


text:
fix(helm): templating of required value in controller and webhook configmaps

Pull Request Motivation
A couple of weeks ago I made two PRs (https://github.com/cert-manager/cert-manager/pull/6360 and https://github.com/cert-manager/cert-manager/pull/6357) that improved the behavior of the Helm Chart. The goal was to disable the creation of the Controller and Webhook ConfigMaps resp. if the .Values.config and the .Values.webhook.config sections were not defined.
In this PRs, I also changed the way we check that some required values in these sections are defined, but I actually introduced a bug. The current code is :
{{- required ".Values.xyz must be set !" .Values.xyz -}}
With this code, the values that are checked are actually templated at the top of the ConfigMap which can result in some issues.
The goal of this PR is to fix this bug by doing this :
{{- $_ := .Values.xyz | required ".Values.xyz must be set !" -}}
The variable $_ is used by convention to indicate that the value is not used. This is somewhat similar to the use of the blank identifier in Go.
Sorry for the inconvenience.
Kind
bug
Release Note
fix(helm): templating of required value in controller and webhook configmaps

/ok-to-test

/approve
/lgtm
Thanks for reporting & fixing this bug.

/kind bug

authors: ABWassim inteon wallrj

repo: cert-manager/cert-manager


text:
Upgrade oci module

https://github.com/cert-manager/makefile-modules/pull/47 needs some manual upgrade steps

/approve
/lgtm

repo: cert-manager/cmctl


text:
Annual review of the OWNERS file (2023): Maartje moved to Emeritus Maintainer

Ref: https://github.com/cert-manager/cert-manager/issues/6231

/approve
/lgtm

authors: inteon maelvls

repo: cert-manager/openshift-routes


text:
[release-0.6] Bump deps to fix CVEs

This backports several fixes which have been applies on the main branch.

#200 (so that I can test locally)
Fixes CVE-2023-44487 & CVE-2023-39325 by bumping go / deps
Fixes other reported CVEs in hack/tools
Bumps versions for v0.6.1 release

(I don't think the smoke test will run, which I think is fine for now)

/test  pull-trust-manager-smoke

The test failure is legitimate because we use go 1.21 on main but go 1.20 here: https://github.com/cert-manager/trust-manager/pull/209 should be the easiest fix for us

/test pull-trust-manager-smoke

/test pull-trust-manager-smoke
It didn't pick up the newly merged PR yet!

/test pull-trust-manager-smoke
(terminated at startup)

repo: cert-manager/trust-manager


text:
Fix typo in the docs

There's no such thing as a "USI" SAN, it's a URI.
Also, drop the "SAN" here; we don't repeat it for the other classes of "SAN" (e.g., "DNS Name SAN, IP Address SAN", and we're not explicitly naming the key (i.e., uriSAN).

/ok-to-test
/lgtm
/approve
/override-dco

/override dco

/override dco

/override dco

/override dco

Sorry about the slow follow up w.r.t. DCO: I wrote this in the context of my job, so I had to follow up internally about it. My employer is fine w/ this change being upstreamed. It's too late to alter the commit, of course, but I wanted to note that here.
Signed-off-by: Roy Wellington Ⅳ roy@commure.com

authors: meyskens roy-work

repo: cert-manager/website


text:
Update security.yml

Minor typo

Thanks @ismail1432

repo: certificationy/symfony-pack


text:
倾斜模型转换之后，做压平，发现压平区域偏移，是为啥？

我用的自己的方法实现的压平，我点选的区域和实际压平区域会有偏差，不明白为啥

您是要别人猜一下你代码是怎么写的么

authors: herewaitting vtxf

repo: cesiumlab/XbsjEarthUI


text:
Validate GaN model

GaN model is implemented based on 10.1088/1361-648X/ab6cbe. We need to validate that the current implementation is consistent with the paper.

This is not currently a priority. We are studying other systems in CESMIX.


text:
can't navigate to language module declarations using ⌘O

Navigate > Class... does show me ceylon.language::String (twice!) but when I try to actually select it, no editor gets opened.

@bjansen This still isn't working for me.

Note: it's half-fixed: String is only shown once now, but I still can't actually open it.

Maybe it's the cache problem again, do you see stacktraces in the logs?

It's now working for me ... let's see if that sticks...

authors: bjansen gavinking

repo: ceylon/ceylon-ide-intellij


text:
allow compilation of modules that reference unknown backends

Continuing from https://github.com/ceylon/ceylon-common/issues/62#issuecomment-149037708
If a module has a native annotation for a non-builtin backend, currently, it can only be compiled on this "other" backend, since the non-builtin backend must be registered.
I presume the justification for this restriction is to prevent people from accidentally using native("java") instead of native("jvm"), but there needs to be some way for a module to override the restriction against non-jvm or js backends, and allow things like dart and llvm.

I know why you're asking for this but I'd like to see it "set down in writing". So can you explain exactly why you need this and how you would see this work?

The reason for this is to allow multi-backend modules without having to maintain separate source code branches, which would defeat the purpose of having native in the first place.

For a proposal on the mechanics, it’s difficult for me because the current implementation isn’t documented or explained, so I may be missing things. But here are my thoughts:
It appears redundant that modules need to be annotated listing supported backends when there is also, by rule of nature, an existence check to see if imported modules are available for a particular backend. So I would:

No longer annotate modules with native, unless a concrete, meaningful, and realizable benefit can be identified
No longer require registration of backends (If I’m at Starbucks, it’s fine if they call out someone’s name that I don’t recognize, I just ignore it.)
Perhaps blacklist some backend names, such as java and javascript, to prevent common errors

Without the above, there is a contradiction in that JVM-only modules are allowed to exist that contain no native annotations at all, except that sometimes, if you import a JVM-only module that is annotated, then an annotation is required. The lack of an annotation provides no guarantee that all backends will be supported. Likewise, the presence of an annotation makes no guarantee that a module and its dependencies are actually available.

ad 1. there are actually good reasons to mark an entire module as native because not every native module has a native import, in fact many of them probably won't: they might be using native .java or .js files mixed in with their Ceylon code or they might be using dynamic. If we wouldn't have the native annotation on the module we wouldn't know until runtime that something was wrong.
It also makes possible the feature that we can say ceylon compile * and it will compile only those modules meant for the JVM. (And ceylon compile-js * will do the same for the JS backend of course)

Without the above, there is a contradiction ... then an annotation is required

Any code that uses native code, either by import or by including native implementations, has to be marked native, there's no contradiction that I see.

The lack of an annotation provides no guarantee that all backends will be supported

It should! At least the code should be compilable. It might not make sense on certain backends and in that case I'd suggest marking the module native and specifying those backends. Any weird exceptions we'll just have to figure out what to do when we encounter them.
ad 2. To me registration does not have anything to do with this. What you want is that backends don't complain about other backends they don't know anything about. But it's still very useful to be able to ask which backends are supported right now by the code you're running. Without registration we couldn't do that.
ad 3. Is perhaps the weakest point and the one I'm most "worried" about. It makes checking the validity of the native annotations very fragile. You make a mistake and type native("jmv") and the error will show up somewhere else.

Ok, yes, I agree that an indication that backend "x" shouldn't even attempt to compile a module is very practical and useful, especially in cases where it might succeed when you don't want it to (e.g. code not designed for JS Integers). So item 1 should be adjusted. But that doesn't necessarily justify requiring an annotation on module in order to import modules that aren't available for certain backends. The benefits remain inconsistent and unclear (although, it's not such a huge burden either.)

The lack of an annotation provides no guarantee that all backends will be supported

It should!

Well, it doesn't, and can't! Ultimately, a module is available for JS if you can find a JS binary for it from one of your configured repos. And, if you don't enumerate backends, how would the type checker even know which backends exist in this universe?

ad 3. Is perhaps the weakest point

I'm sure this can be solved. An initial step might be to disallow native("x") for any "x" that is not one of: jvm, js, or (further backing off on item 1) part of the native annotation on the module. (In practice, is that already the case?) So there would be a single point of failure. A further possibility would be to generate a warning for anything other than jvm and js on the module annotation, requiring the mistake to be very explicit (e.g. suppressWarnings("unknownBackend") native("jvm", "dart"))
This is just an idea. But regardless, I think it's solvable without turning the dependency relationship between the typechecker and its backends on its head.

Well, it doesn't, and can't!

Sure it can.
If I write this code:
Integer double(Integer n) => 2 * n;

The fact that I have not marked it native guarantees that it will compile on any backend you can think of. The same holds for the module. If you don't mark it native it should only contains Ceylon code that is compilable on all existing and possibly existing backends.
We don't adhere to that ourselves 100% of course, for example when we create a module that has implementations for the JVM and for JS and we don't mark it native because it happens to have an implementation for the only two backends we currently support. But I see that as a mistake really. Strictly speaking it should be marked native("jvm", "js") but right now it doesn't work that way.
The reason is that for the idea of native headers and implementations to be fully extended everywhere we should have native modules as well. And a way that you could have a complete language module and SDK module implementations separate from the "official" ones we have now. Because it's just not manageable to mark existing code with native("x"), it must be possible to do this separately somehow.

Well, it doesn't, and can't!

Sure it can.
...
The fact that I have not marked it native guarantees that it will compile

You're missing my point. If binaries for a dependency can't be found, compilation (and running) will fail, regardless how the dependency was annotated.

But I see that as a mistake really. Strictly speaking it should be marked native("jvm", "js")

If somehow those annotations were 1) global available and 2) honored, the Dart backend would work. Instead, Dart modules rely on an existence proof for the availability of ceylon.collection/1.2.0 when imported by dart modules.
Of course, while I think these are important facets to explore, they're possibly tangential to the main point of this issue, which I hope we can resolve. Well, that is, unless the JVM compiler refuses to compile ceylon-random because it can't find ceylon.math for Dart!

You're missing my point.

Ok, now I get it, you're not saying "the lack of an annotation provides no guarantee that all backends will be supported" but instead "the lack of an annotation provides no guarantee that all backends will be available". That's a big difference ;)
But yes, that's exactly the reason why I wanted to have native annotations on import statements because I think it's unreasonable to expect us to go download and check artifacts that have nothing to do with the backend you are using to compile things with. But I was overruled by both Gavin and Stef here https://github.com/ceylon/ceylon/issues/5632.

Ok, but you'll need to download everything anyway to check package membership. (And then, still, conflicts and ambiguities.)
So I think that should be re-evaluated. I don't want to download all of Maven over airplane wifi in order to compile something to JS.

Well, if you can put a native annotation on the import statement itself you could just say:
native("jvm") import com.redhat.ceylon.compiler.java { ModuleDescriptorReader }

And it wouldn't need to check package membership, it would just skip it if the compiler wasn't the JVM backend.

Yes, I very much like how that would turn out.

Don't drag me into this, I did comment there to say I thought this was a bad idea at the time ;)

Throw me under the bus why doncha :)

Haha :)

authors: FroMage gavinking jvasileff quintesse

repo: ceylon/ceylon


text:
late return types should be invariant locations

As it turns out, for the same reasons variable return types must be invariant locations, late return types must too.
Here is an example of unsound code that exploits the fact that they aren't:
class C<out T>()
{
    shared late T t;
}
value c = C<String>();
(c of C<Object>).t = 123;
print(c.t.size);

Thanks @Zambonifofex, fixed!

authors: Zambonifofex gavinking


text:
Error on login page on production

Hi
I tried deploying it on hosting server. Getting couples of errors on it. I am running the store and api using pm2 (process.json on ports 3000 and 3001)
apiClient.js?ad89:97 OPTIONS http://uniquecloud9tu6.cloud:3001/api/v1/authorize net::ERR_CONNECTION_TIMED_OUT
apiWebSocket.js?2c62:22 WebSocket connection to 'ws://uniquecloud9tu6:3001/ws/dashboard?token=null' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
Uncaught (in promise) Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development
Any clue?

@jay-aplan
Please check this guide
How to deploy a Cezerin on Ubuntu 16.04

authors: jay-aplan restmount

repo: cezerin/cezerin


text:
Single data values taken over spatial/temporal range.

I often work with data collected from ice cores. In many cases, the ice core is split into sections and melted. A single measurement is taken for each section (e.g. the salinity of the ice core) and one can analyse how these measurements vary with 'depth' in the ice.
Depth       Salinity
0-10 cm    2.5%
10-20 cm  2.8%
20-30 cm  2.9%
30-37 cm  3.1%
I plucked those values out of the air, they are probably not realistic!
How should I structure a CF-NetCDF file where each value covers a depth range rather than a discreet depth? As far as I am aware, there is not a minimum_depth and maximum_depth standard name. I am not what the best, most machine understandable solution should be.
I suspect this use case could be relevant to many scenarios - sediment cores, values averaged over a depth range in sea water, values averaged over a time range etc.

Hi,
I would think that a "z" and a "z_bounds" variable would be a CF way of encoding this.
z = 5, 15, 25, 33.5cm
z_bounds = (0, 10), (10, 20), (20,30), (30,37)
dims:
time =4
bnds = 2
z(time)
z:units="cm"
z:bounds =z_bounds
z_bounds(time,bnds)
Would that work for you ?
Best regards,
Armin Rauthe-Schöch
-----Ursprüngliche Nachricht-----
Von: Luke Marsden @.>
Gesendet: Dienstag, 31. Januar 2023 08:43
An: cf-convention/cf-conventions @.>
Cc: Subscribed @.***>
Betreff: [cf-convention/cf-conventions] Single data values taken over spatial/temporal range. (Issue #429)
I often work with data collected from ice cores. In many cases, the ice core is split into sections and melted. A single measurement is taken for each section (e.g. the salinity of the ice core) and one can analyse how these measurements vary with 'depth' in the ice.
Depth Salinity
0-10 cm 2.5%
10-20 cm 2.8%
20-30 cm 2.9%
30-37 cm 3.1%
I plucked those values out of the air, they are probably not realistic!
How should I structure a CF-NetCDF file where each value covers a depth range rather than a discreet depth? As far as I am aware, there is not a minimum_depth and maximum_depth standard name. I am not what the best, most machine understandable solution should be.
I suspect this use case could be relevant to many scenarios - sediment cores, values averaged over a depth range in sea water, values averaged over a time range etc.
—
Reply to this email directly, view it on GitHub https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk7Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxOzhpODw9OTw1Pzk4ND41NWlvOG1qaTo8OjloaWk7aGppPG41ND8/OSp4MT06Ozk9OT08PjgqfWVoMT88WjtkZWNIPDw0PTQ/IT88WjtkZWNJPDw0PTQ/Kn5vfHgxTX5hZWIiXm15eGRpIV9vZGNpb2RMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3A%2F%2Fgithub.com%2Fcf-convention%2Fcf-conventions%2Fissues%2F429 , or unsubscribe https://ofcsg2dvf1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk7Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxPD09bmo5aDVtOTtpOThuNTk9NWk7Oj4/aj1pam81OjhvNWo6PD04OCp4MT06Ozk9OT08PjgqfWVoMT88WjtkZWNIPDw0PTQ/IT88WjtkZWNJPDw0PTQ/Kn5vfHgxTX5hZWIiXm15eGRpIV9vZGNpb2RMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAN5XMXFUWLN66NGHOA5YTIDWVC7BXANCNFSM6AAAAAAUMCX5NE .
You are receiving this because you are subscribed to this thread. <https://ofcsg2dvf 1.dwd.de/fmlurlsvc/?fewReq=:B:JVI2PTk7Nip6MT4iPCplaDE8PTY8PSp/ZWtibXh5fmkxbm49Pm5obW5uPjlobzpvPzg7Oz84Pm5qP29vPW48bmg1aGo0NWo/Oip4MT06Ozk9OT08PjgqfWVoMT88WjtkZWNIPDw0PTQ/IT88WjtkZWNJPDw0PTQ/Kn5vfHgxTX5hZWIiXm15eGRpIV9vZGNpb2RMaHtoImhpKm8xOT4qZGhgMTw=&url=https%3A%2F%2Fgithub.com%2Fnotifications%2Fbeacon%2FAN5XMXBNWUP3X3SOSBGJWITWVC7BXA5CNFSM6AAAAAAUMCX5NGWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHF2NPNTM.gif&fmlBlkTk> Message ID: @.***>

Hinweis (DWD): Mindestens eine URL in dieser E-Mail wurde vom Schadsoftware-Erkennungssystem als potentiell gefährlich eingestuft und so umgeschrieben, dass ein Klick darauf diese zunächst auf gefährliche Downloads hin untersucht, bevor Inhalte angezeigt werden. Die Analyse erfolgt ohne menschliches Zutun voll automatisiert. Der Datenschutz ist gewährleistet. Es kann einige Sekunden dauern, bis die Inhalte angezeigt werden.
Der Originalabsender dieser E-Mail ist: @.*** Wenn Ihnen dieser unbekannt ist, so sollten Sie die enthaltenen Links nicht anklicken.

This looks like an interesting approach. What would be the variable attributes that I should use for the z_bounds variable?

The "z_bounds" variable does not have to have any attributes. It is implied that it has the same units etc. as the "parent" variable "z".
Probably clearer:
dims:
depth =4
bnds = 2
z(depth)
z:units="cm"
z:bounds = "z_bounds" (I missed the quotation marks above)
z_bounds(depth,bnds)
salinity(depth)
salinity:cell_methods = "depth: mean"

See here in the CF Convention: http://cfconventions.org/Data/cf-conventions/cf-conventions-1.10/cf-conventions.html#_data_representative_of_cells

Thanks, very helpful!

authors: Armin-RS lhmarsden

repo: cf-convention/cf-conventions


text:
Update README.md

I added some things here

committing changes


text:
debug

not sure if this works...

Thank you for submitting a PR! Maybe @olehermanse can review this?

authors: cf-bottom mzedel

repo: cfengine/build-website


text:
Bug when allocating memory aligned with 4KB

The code that does the alignment is wrong:
if (align == 1 && (free_mem_addr & 0xFFFFF000)) {
        free_mem_addr &= 0xFFFFF000;
        free_mem_addr += 0x1000;
 }

It should be (masking with 0x00000FFF instead of 0xFFFFF000) :
if (align == 1 && (free_mem_addr & 0x00000FFF)) {
        free_mem_addr &= 0xFFFFF000;
        free_mem_addr += 0x1000;
}

Or you can just
total_usable = (total_usable + 0x1000) & ~((uint32_t)0xFFF);

Something like that

repo: cfenollosa/os-tutorial


text:
Punch Training

Implement Punch Training with VB algorithm

https://github.com/cfogrady/VitalWear/commit/1022550a0b65ef6fa61e9117e250dbbf5c6345eb

repo: cfogrady/VitalWear


text:
Incorrect styling for gray expandable

The styling for our gray expandable variation is incorrect. Additionally, the gray expandable version should be in the variations section within the docs. The white background version should be the default.
Current behavior

Border: No border
Background (active): Gray 10 (#d2d3d5)
Background (hover): Gray 20 (#e7e8e9)
Font-size: 1em

Expected behavior

Border: Gray 40 (#b4b5b6)
Background (active): Gray 5 (#f7f8f9)
Font-size: 1.125em
Background (hover): Gray 10 (#e7e8e9)

Steps to replicate behavior

https://cfpb.github.io/capital-framework/components/cf-expandables

Related content:
https://cfpb.github.io/design-manual/page-components/expandables.html
https://github.cfpb.gov/flapjack/Modules-V1/wiki/Expandables (DM specs will also need to be updated once we make this fix so please don't reference those specs)

Oh yes that looks much better.

Discovered that in practice we don't ever use the hover style change and that it looks really odd in a place like https://www.consumerfinance.gov/about-us/blog/. We should remove that from the spec unless there's a use case someone else is aware of.

repo: cfpb/capital-framework


text:
Fixed the missing logo on IE 8

Fixed the missing logo on IE 8
Additions

Added conditional IE 8 logo

Testing

gulp build and check the homepage in a modern browser with and without JS, and IE 8 with and without JS. A single logo should be displayed in all.

Review

@sebworks
@anselmbradford
@KimberlyMunoz

Screenshots
IE 8

Notes

We are forcing no-js on IE 8, but the logo swaps to a backup with noscript, issue was that logo isn't loaded in IE 8 because the JS is actually still available

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Huge shout to @sebworks for setting me in the right direction with the .u-js-only clue.

:+1: Good solution! This closes #1790.

:+1:

authors: KimberlyMunoz jimmynotjim sebworks

repo: cfpb/cfgov-refresh


text:
Update "filterable-list-pages" page

Automatically generated by Netlify CMS

Trying to update an image, we'll see if it works.

Trying to update an image, we'll see if it works.

repo: cfpb/design-system


text:
Change path to path_full in ES query

Previously, the ES query being generated was filtering by "path", but the correct field is "path_full".  This makes that change.

shouldn't it be path_analyzed, not path_full, to get the tree functionality?

actually, I think it should be path.path_analyzed. See: https://github.com/cfpb/github-wiki-search/blob/fb2dc1ae13353bc4009bac261fd1b4180fadc4cb/client/src/static/js/app.js

Ah, good call.  path_full works for when the full path is entered.  path_analyzed works for both the full path and the first part of it (e.g. /cfpb).  I didn't see a difference between path.path_analyzed and just path_analyzed.

looks good.

authors: dgreisen-cfpb dpford

repo: cfpb/github-wiki-search


text:
ResponseType.stream is not working on web.

Package
dio
Version
5.4.3+1
Operating-System
Web
Adapter
Default Dio
Output of flutter doctor -v
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79
    darwin-arm64, locale tr-TR)
    • Flutter version 3.22.2 on channel stable at
      /Users/emirs/Downloads/flutter
    • Upstream repository
      https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 weeks ago), 2024-06-05
      22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android
    SDK version 34.0.0)
    • Android SDK at /Users/emirs/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Users/emirs/Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11609105)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google
      Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/emirs/Applications/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.10+0-17.0.10b1087.21-11609105)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.3)
    • IntelliJ at /Users/emirs/Applications/IntelliJ IDEA
      Ultimate.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (4 available)
    • Emir’s iPhone (mobile)          •
      00008101-000A58240A98001E • ios            • iOS 17.5.1
      21F90
    • macOS (desktop)                 • macos
      • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad
      • darwin         • macOS 14.5 23F79 darwin-arm64
    • Chrome (web)                    • chrome
      • web-javascript • Google Chrome 126.0.6478.63

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Dart Version
3.4.3
Steps to Reproduce

simply create a POST request with the responseType set as ResponseType.stream

Expected Result
return the stream, as it does on other platforms.
Actual Result
instead of a stream, it directly gives the response body as one when the stream finishes.

Streaming response is unavailable on the Web platform with XHR-based implementations. https://github.com/dart-lang/http/issues/593

repo: cfug/dio


text:
includeDetails error

TypeError: get_report() got an unexpected keyword argument 'includeDetails'

I had the same issue but if you leave out that arg, the results include all report details so it is unnecessary.

authors: ghost lizpdx

repo: cghall/salesforce-reporting


text:
Can't compile Firebase (anymore)

This is related to what Slack message I sent
https://bazelbuild.slack.com/archives/C05NZSHE7FU/p1712411153265529
Targets FirebaseMessaging and GoogleDataTransport are failing to compile
Initially appeared on CI build agent (first ever project build attempt on that machine), but during attempts to fix this I updated bazel dependencies (including rspm), which caused the issue to appear on my mac too.
Reverting to older project version is not helping, the issue persists.
The example project (it is not compiling on my machine at current time):
FirebaseTest.zip
note: "swiftpkg_googledatatransport" is manually added into use_repo command for purposes of the test, it is not normally exposed after bazel run //:swift_update_pkgs command
rules_swift_package_manager 0.26.2 used in this project but it also reproducible in 0.29.1
What I see, for some reason build files for those dependencies are generated differently:
the old BUILD file for GoogleDataTransport: old_GoogleDataTransport_BUILD.bazel.txt
new BUILD file for GoogleDataTransport: new_GoogleDataTransport_BUILD.bazel.txt
The difference I see in those files is presence of line:
        "-include$(location :GoogleDataTransport_GoogleDataTransport_objc_resource_bundle_accessor_hdr)",

inside of rule's GoogleDataTransport_GoogleDataTransport copt parameter (line 49)
the same for FirebaseMessaging, but I have no old version and it it is 28222 lines long, so, not attaching it
Commenting those lines, in fact, makes both targets compile
bazel build output:
bazel build output.txt

GoogleDataTransport_GoogleDataTransport_objc_resource_bundle_accessor_hdr_ObjcResourceBundleAccessor.h.txt
The header file generated by GoogleDataTransport_GoogleDataTransport_objc_resource_bundle_accessor_hdr


text:
use web-time crate to allow functioning in web browsers

Hey there!
I tried using this for wasm in a browser but std::time doesn't work in browsers. So this is a quick and easy fix that defaults to std::time when not in a browser.

Hey, I'm really sorry for the delay in responding. I've been reluctant to add because I was working on a major new version. This is now almost done (available in pull request #4). In that version we will have a modified API, support for vector integration etc. I also made the change you requested to web time.
It's not quite there yet but if you want access now you should be able to pull the branch down. Any feedback on the release (or any further pull requests) would be really appreciated.

Thanks for the reply. That's good news, however I'm wanting to publish a package of my own that depends on this version (with the time change), but i can't publish it with a github commit dependency. I'll happily upgrade to the new version when it's out, but any chance i can convince you to publish this as a bugfix in the meantime?

New version is published on crates.io, so should be available now!

authors: cgubbin wellcaffeinated

repo: cgubbin/quad-rs


text:
🛑 Personal is down

In 68835c0, Personal (https://chadburrus.com) was down:

HTTP code: 521
Response time: 189 ms

Resolved: Personal is back up in effb986 after 11 minutes.

repo: chadburrus/upptime


text:
🛑 Personal is down

In 9ee2351, Personal (https://chadburrus.com) was down:

HTTP code: 521
Response time: 90 ms

Resolved: Personal is back up in aa8d5c8.


text:
Speedup Upsampling2D on CPU

This PR improves the speed of Upsampling2D on CPU by avoiding for loops.

forward
backward

before
0.3773 +- 0.0086 sec
0.1923 +- 0.0210 sec

after
0.0153 +- 0.0004 sec
0.0110 +- 0.0003 sec

speedup
~24.7 x
~17.5 x

The performance measurement script is here: https://gist.github.com/mitmul/b0041b4afd58eaf9489b423cb0345bbb

Good! LGTM.

Backport?

I made a backport PR.

authors: mitmul niboshi rezoo

repo: chainer/chainer


text:
[backport] Fix TypeError in max_pooling_2d

Backport of #6835

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 68d30937dc8b4b0aaa290da90e3c058793effadd, target branch v6) failed with status FAILURE.

CI unrelated

authors: chainer-ci emcastillo toslunar


text:
Allow to change vendor part of triplet (currently it's hardcoded)

This isssue is basically affecting https://github.com/chainguard-dev/melange, I'm unsure how relevant it is for apko itself.
Responsible code for that is https://github.com/chainguard-dev/apko/blob/87f7f0ff54fab41ca6dd580343487310e8e25d94/pkg/build/types/types.go#L237-L277
I might look at it later and provide PR, but nothing promised.
Relevant melange code:
https://github.com/chainguard-dev/melange/blob/225b6a2a6e78ffa225800d950c88f173ab0d01b9/pkg/build/build.go#L337
https://github.com/chainguard-dev/melange/blob/225b6a2a6e78ffa225800d950c88f173ab0d01b9/pkg/build/pipeline.go#L98-L99

We are talking about possibly splitting out the triplet code to be its own Go library.  At that time, it might be possible to allow the vendor field to be customizable.  The default is pc on x86 and unknown on others, except S390 where it is ibm.  That's why these triplets are hardcoded the way they are.  But we could make it customizable.

authors: kaniini panekj

repo: chainguard-dev/apko


text:
App fails to create on CloudFormation

How to reproduce the behaviour

Your Environment

Operating System:
Python Version Used:
When you install doccano:
How did you install doccano (Heroku button etc):
I get the following notice when clicking launch on the EC2 Cloudformation script:
The following resource(s) failed to create: [App]. . Rollback requested by user.
The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request. (Service: AmazonEC2; Status Code: 400; Error Code: VPCResourceNotSpecified; Request ID: 38b35da4-30be-4426-a067-f46730925883)

I think there may be another set of parameters to be specified.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html

Please try again #397 is already fixed.

repo: chakki-works/doccano


text:
ถ้าอยากได้ข้อมูลอื่นๆ

คืออยากได้ ข้อมูลที่อยู่ในหน้าบัตร คือ ศาสนา กับเลข คำขอที่อยู่ใต้รูป ต้องมีการเรียก โค้ดไหนครับ

เพิ่ม addresa offset ไปเรื่อยๆ ดูครับ
แล้วก็ศาสนา บัตรไม่เก็บครับ
ในวันที่ พฤ. 7 มิ.ย. 2018 15:51 namwon notifications@github.com เขียนว่า:

คืออยากได้ ข้อมูลที่อยู่ในหน้าบัตร คือ ศาสนา กับเลข คำขอที่อยู่ใต้รูป
ต้องมีการเรียก โค้ดไหนครับ
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chakphanu/ThaiNationalIDCard/issues/12, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACsQxtZjTBrHs3flKZKHSNeHG1Ypd3Eqks5t6Ol7gaJpZM4Ud_h8
.

อาจจะเป็นบัตรบาง version ที่เก็บ
ต้องหาตีวอย่างชนิดบัตรนั้นมาสุ่มอ่านทุก address ครับ
เจอแล้วช่วย push code ขึ้นมาด้วยเลยนะครับ :)
ในวันที่ ศ. 8 มิ.ย. 2018 00:55 namwon notifications@github.com เขียนว่า:

พอดีเห็นในโปรแรกมที่โหลดฟรีมาของ siam id มีแสดงข้อมูลศาสนา
เลยคิดว่าในบัตรเก็บด้วย หรือว่ามี code จากกรมการปกครองถึงเข้าถึงข้อมูลได้
แต่ใช้ของคุณไม่ผิดหวังจริงๆใช้งานง่าย ขอบคุณมากๆครับ
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chakphanu/ThaiNationalIDCard/issues/12#issuecomment-395509640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACsQxr3i6JowvJfqUfcm-haH_L7ii6DPks5t6WkDgaJpZM4Ud_h8
.

จะลองดูนะครับ เพราะไม่เคยเขียนอ่านบัตร

@namwon หาเจอไหมครับ field religion

authors: TSS-Develop chakphanu namwon

repo: chakphanu/ThaiNationalIDCard


text:
fix(core): ensure setTimeout delay value in machine action not overflowing

Closes #
📝 Description
The actions function would be executed immediately if the delay of actions was specified to exceed the max range.
This PR fixes this issue by set the maximum value for setTimeout if exceeded value set.
⛳ Current behavior (updates)
If set the exceeded value, setTimeout's handler is executed immediately.
(strictly, the overflow results in faster execution than specified.)
🚀 New behavior
If set the exceeded max value, setTimeout's handler is executed after max delay time.
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
setTimeout’s timeout value is defined as long type(interface), and long type’s range is [−2147483648, 2147483647] (Web IDL).
If it is exceeded, it will be overflowing and set value as 0 in many case. (converting algorithm)
As a result, the handler of setTimeout will be executed immediately.

Thanks for this PR. I understand the intention behind this and it make sense.
I really believe this is something that should be handled outside the machine core logic.
Anyone building a machine on top of Zag should handle this use case by configuring their delays to not exceed the overflow.

@segunadebayo
Thank you for your comment.
I understand that you don't want to include this kind of logic in the machine core, so I will try to handle it on the user side.

repo: chakra-ui/zag


text:
chalk properties are still exposed

chalk-template provides a separate way to use chalk. The highlighting properties (e.g. chalk.red) are not intended to be used, but they are still available. They work, but break on ttys (see chalk/chalk#568).

They work, but break on ttys

Can you elaborate a bit on this?

I apologize. This was my mistake, I realized during testing.

authors: Qix- cpiber

repo: chalk/chalk-template


text:
[Feat] FullWidthButton 컴포넌트 제작

개요

#29

작업내용

[x] FullWidthButton를 컴포넌트화했습니다.

[x] 기본상태
[x] 비활성화
[x] 키보드가 올라왔을 때 상태 (cornerRadius 0)
[x] 버튼 눌렀을시 액션 추가 가능하도록

[x] SwiftUI에서도 사용 가능하도록 작업했습니다.

사용법
UIKit

기본

private let button: UIFullWidthButton = {
    $0.title = "기본 버전"
    return $0
}(UIFullWidthButton())

button.snp.makeConstraints {
    $0.bottom.horizontalEdges.equalTo(view.safeAreaLayoutGuide).inset(20)
}

키보드
isOnKeyboard를 true로 초기화하고 inset을 주지 않는다.

private let button: UIFullWidthButton = {
    $0.title = "키보드 버전"
    $0.isOnKeyboard = true
    return $0
}(UIFullWidthButton())

button.snp.makeConstraints {
    $0.bottom.horizontalEdges.equalTo(view.safeAreaLayoutGuide)
}

비활성화
UIKit에 기본으로 있는 isEnabled를 사용

button.isEnabled = false

액션 추가
action 변수에 UIAction을 준다.

button.action = UIAction { _ in
    // action
}

SwiftUI

기본

FullWidthButton("기본") {
 // action
}
.padding(.horizontal, 20)

키보드
.withKeyboard() 수식어를 사용하면 cornerRadius가 0으로 변경된다.

FullWidthButton("키보드") {
    // action
}
.withKeyboard()

비활성화
SwiftUI에 기본으로 있는 .disabled() 수식어 사용.

@State private var isDisabled = true

FullWidthButton("비활성화") {
    // action
}
.withKeyboard() // .withKeyboard 수식어 먼저!
.disabled(isDisabled)

리뷰포인트

최소버전이 iOS16인만큼 UIButton에 configuration과 UIAction을 적극 사용해봤습니다.
UIKit과 SwiftUI의 컨벤션에 따라 이름을 작성해 UIKit 컴포넌트는 앞에 'UI'가 붙고, SwiftUI 컴포넌트에는 붙지 않게 했습니다 (UIFullWidthButton, FullWidthButton)
UIButton을 UIViewRepresentable로 감싸 SwiftUI에서 사용 가능하게 한 다음, SwiftUI View로 UIViewRepresentabler을 한 번 더 감싸 SwiftUI에서 사용하기 편하게 만들었습니다.

SnapKit으로 잡은 높이 50이 UIViewRepresentable에서는 적용이 안되어 .frame(height: 50)가 자동으로 적용되도록 만듦
.withKeyboard() 수식어를 만들어서 수식어로 쉽게 상태를 변경할 수 있게 만듦

Reference

하루하나 개발일지 - FullWidthButton 컴포넌트
https://stackoverflow.com/questions/56943036/creating-custom-modifiers-for-swift-ui-views

Checklist

[x] 브랜치를 가져와 작업한 경우 이전 브랜치에 PR을 보냈는지 확인
[x] 빌드를 위해 SceneDelegate 수정한 것 PR로 올리지 않았는지 확인
[x] 필요없는 주석, 프린트문 제거했는지 확인
[x] 컨벤션 지켰는지 확인
[x] final, private 제대로 넣었는지 확인
[x] Xcode Team none 으로 되어있는지 확인

conflict 해결하고 머지ㄲㄲ

authors: Chaeho-Min chaneeii

repo: chaneeii/HRHN


text:
代码中的评价指标问题。

您好，请问
https://github.com/chaneyddtt/UDA-Animal-Pose/blob/f1ebfda860a2585c60fe86ce1632e910ac97ebc5/evaluation/test.py#L190
此处acces.avg  是否就是 论文中PCK@0.05 中的Mean 呢？ 而 print('\n Joint {}: {} '.format(p, score/count)) 即为对应每个部位的结果？

您好，您的理解是正确的。

奥，谢谢您！
------------------ 原始邮件 ------------------
发件人: "Li @.>;
发送时间: 2022年1月4日(星期二) 下午4:51
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [chaneyddtt/UDA-Animal-Pose] 代码中的评价指标问题。 (Issue #13)
您好，您的理解是正确的。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

repo: chaneyddtt/UDA-Animal-Pose


text:
Update docs index to use anchor links

I've updated the index to use anchor links so that the links go directly to the (sub)heading rather than just the top of the page.

Thanks!

authors: MyklClason chanks

repo: chanks/que


text:
Blueprint with a set url_prefix wont allow POST requests

Considering the following snippet, the GET request works perfectly. But the POST request results in sanic.exceptions.InvalidUsage: Method POST not allowed for URL /api/failing. This seems to be specific when url_prefix is set.
from sanic import Sanic, Blueprint
from sanic.response import text, json

app = Sanic()

failing_bp = Blueprint('failing_blueprint', url_prefix='/api/failing')

@failing_bp.get("/")
async def get_data(request):
    return json({
        "hello": "world",
        "I am working if": "you see me",
        "from": "the failing blueprint"
    })

@failing_bp.post("/")
async def post_data(request):
    return text("POST [FAILING] - {}\n\n{}".format(
        request.headers,
        request.body
    ))

if __name__ == "__main__":
    app.blueprint(failing_bp)

    app.run(debug=True, host="0.0.0.0", port=8000)

The extra weird part, is that if you were to comment out (or remove) the GET request from the blueprint, the POST request works pefectly fine.
I've got a super small repository that highlights this if you want to mess with it yourself.
https://github.com/mattfinnell/sanic-blueprints
EDIT : User mateusz_b on the python slack channel stated that this had to deal with an issue regarding trailing slashes in the url. Performing the post request with a trailing slash allowed it to work just fine, but there seems to be quite a bit of odd behavior behind this. Especially considering that an endpoint with a non-trailing slash will only work if the POST request is the ONLY route in the blueprint.

I thought I fixed this already. Will have to look again soon. Thanks for reporting.

repo: channelcat/sanic


text:
Plugins with very short description hover in the middle of the page

Description
This might be desired behavior so please close if it is, but I noticed today that plugins with very short descriptions hover in the middle of the page and it looks kind of odd. See napari-math and napari-pymeshlab

Expected Results
I feel like they should start at the top, like other plugins with longer descriptions, but then I recognize we'd have a lot of blank space before the footer. I think that would still be preferable though? I'm not sure, but hovering in the middle looks strange to me.

@DragaDoncila I'm not seeing this... is it still happening for you?

@neuromusic just confirmed this is still happening for me on the latest version of Chrome on Mac. Can look at windows/ubuntu if we need as well

super weird... its not happening for me on mac & chrome... @codemonkey800, any idea what might be happening here? any additional info we need from @DragaDoncila to debug?

@DragaDoncila by chance are you using a vertical monitor while coding or do you just somehow have a really tall monitor? this issue is reproducible if the height is really tall:

authors: DragaDoncila codemonkey800 neuromusic

repo: chanzuckerberg/napari-hub


text:
Check plugin version before indexing

this address some problems identified in #611
perform a version check when indexing plugin metadata to prevent pypi api race condition, where the listing reports a newer version but history API is not up to date to use that version.

The other place it's used is in is preview.py, not sure if preview.py is affected by the versioning issue too

I think this addresses one of the issues brought up in #611, but we still don't know why there's sometimes a delay before a plugin shows up at all, right?

@potating-potato Thanks for looking into this! Some questions/thoughts:
Is the idea that we would wait for PyPI's non-versioned endpoint to "catch up" to the latest release?

Yes
we would still expect this lag to continue, right?
I am assuming so at the moment, I will keep 611 open

authors: lgan-czi potating-potato richaagarwal


text:
🛑 br (UFSCar Alcateia) is down

In c0bb6b0, br (UFSCar Alcateia) (https://br-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 275 ms

Resolved: br (UFSCar Alcateia) is back up in 72b37bb.

repo: chaotic-aur/chaotic-uptimes


text:
🛑 in-2 (Albony) is down

In 7a7fb17, in-2 (Albony) (https://in-2-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 144 ms

Resolved: in-2 (Albony) is back up in 2bb3000.


text:
🛑 Silky.Network - ca-3 is down

In 5b7baf3, Silky.Network - ca-3 (https://ca-3-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 76 ms

Resolved: Silky.Network - ca-3 is back up in 4ab0f61.


text:
🛑 br (UFSCar Alcateia) is down

In ee999e3, br (UFSCar Alcateia) (https://br-mirror.chaotic.cx/no-failover/chaotic-aur/lastupdate) was down:

HTTP code: 503
Response time: 271 ms

Resolved: br (UFSCar Alcateia) is back up in a2448bf.


text:
🛑 Silky.Network - kr-3 is down

In 2b43116, Silky.Network - kr-3 (https://icn-kr-mirror.silky.network) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Silky.Network - kr-3 is back up in 5c6a29e after 12 minutes.


text:
Version variable needs updating

https://github.com/chargely/chargify-sdk-php/blob/master/src/Crucial/Service/Chargify.php#L46
Noticed this while inspecting response from a V2 call that is failing - still looking into why it's failing.

version string has been updated

authors: brynnbp crucialwebstudio

repo: chargely/chargify-sdk-php


text:
Typo in the title for the SnD graph on the inital research

The suptitle for the figure is labelled as '2020' rather than '2023'

Completed by Sunny on 28/01/23

repo: charlbbbbb/CDL-Stats


text:
sbteclipse plugin causes nix command to error

If my project includes the sbteclipse plugin then I get the following error when I run the 'nix' command.
This happens if the sbteclipse plugin is in the global or project-specific plugins.sbt location.
java.lang.NoSuchMethodError: scalaz.Scalaz$.ToValidationV(Ljava/lang/Object;)Lscalaz/syntax/ValidationV;
	at sbt2nix.NixPlugin$.setting(NixPlugin.scala:174)
	at sbt2nix.NixPlugin$.baseDirectory(NixPlugin.scala:158)
	at sbt2nix.NixPlugin$$anonfun$nixCommand$2.apply(NixPlugin.scala:27)
	at sbt2nix.NixPlugin$$anonfun$nixCommand$2.apply(NixPlugin.scala:24)
	at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)
	at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:59)
	at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)
	at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:61)
	at sbt.Command$.process(Command.scala:93)
	at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
	at sbt.MainLoop$$anonfun$1$$anonfun$apply$1.apply(MainLoop.scala:98)
	at sbt.State$$anon$1.process(State.scala:184)
	at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
	at sbt.MainLoop$$anonfun$1.apply(MainLoop.scala:98)
	at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
	at sbt.MainLoop$.next(MainLoop.scala:98)
	at sbt.MainLoop$.run(MainLoop.scala:91)
	at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:70)
	at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:65)
	at sbt.Using.apply(Using.scala:24)
	at sbt.MainLoop$.runWithNewLog(MainLoop.scala:65)
	at sbt.MainLoop$.runAndClearLast(MainLoop.scala:48)
	at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:32)
	at sbt.MainLoop$.runLogged(MainLoop.scala:24)
	at sbt.StandardMain$.runManaged(Main.scala:53)
	at sbt.xMain.run(Main.scala:28)
	at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
	at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
	at xsbt.boot.Launch$.run(Launch.scala:109)
	at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
	at xsbt.boot.Launch$.launch(Launch.scala:117)
	at xsbt.boot.Launch$.apply(Launch.scala:18)
	at xsbt.boot.Boot$.runImpl(Boot.scala:41)
	at xsbt.boot.Boot$.main(Boot.scala:17)
	at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.NoSuchMethodError: scalaz.Scalaz$.ToValidationV(Ljava/lang/Object;)Lscalaz/syntax/ValidationV;

seems related to: https://github.com/typesafehub/sbteclipse/issues/221

@cessationoftime Warning: I'm not likely to fix this issue any time soon. Someone pointed me to this recently, which might be a better place to start.
https://github.com/teozkr/Sbtix

I just merged a fix for this in sbt eclipse: https://github.com/typesafehub/sbteclipse/commit/97cbdbfeff0b3e39cb2881d51b28eebbcc48576c

authors: benmccann cessationoftime charleso