css/styles.css not found when using generated content vs hugo server

When I use hugo server to look at my content, the generated page for a blog entry contains:
 <link href="http://localhost:1313/css/styles.css" rel="stylesheet">

When I simply generate the content and view it through nginx, it looks like:
<link href="css/styles.css" rel="stylesheet">

which resolves to https://mysite.com/posts/my_first_post/css/styles.css. Viewing this link returns 404 because there is no css/styles.css generated, so no custom styling gets applied when viewing the static site. However, when viewing via hugo server, it resolves fine.

Please use https://discourse.gohugo.io/ for questions/troubleshooting. Also see  Hugo Documentation.

For anyone else experiencing this, it was the themes I'd downloaded that was misbehaving.
A wishlist item: A theme linter so that consumers of themes can feel confident that a theme will work, and you'll get less bug reports. The theme was literally producing unresolvable links in the HTML that somehow managed to resolve when run with hugo server. That's bad.


Nick: Watch kio4.com

Nick requests the watch of the watch_keyword kio4\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

kio4\.com has been seen in 0 true positives, 0 false positives, and 1 NAA.

Approved by cigien in Charcoal HQ


fix noredist build because of missing maven dependency of vmware 6.0 lib

fix noredist build for new vmware lib

This is to fix novelist on master. Correct?

noredist* phone loves to change things.

@rhtyd can you review why travis is failing?  It seems to be failing to find something at shapeblue.  We should probably review what is being hosted at shapeblue which is in our critical path and get them moved.  Thx...

@swill there is a ipmitool pkg that needs to be installed before each run. I'll send a PR for a workaround.
The packages.shapeblue.com repository is down, which we'll chase with BT who is hosting the server on Monday.

@pdion891 usually, I clone this repo: https://github.com/rhtyd/cloudstack-nonoss and execute the install-non-oss.sh script in that repo: https://github.com/rhtyd/cloudstack-nonoss/blob/master/install-non-oss.sh

LGTM

@rhtyd  why not update the main "deps/install-non-oss.sh" instead of duplicating it in another repo? Also, I think we are due to update the documentation on build ACS with noredist. It's an oudated documentation :-S

Fixed...  You can resume testing master @pdion891.  Cheers...


CTRL/CMD+F on Desktop app puts cursor in Mattermost search box filtered to channel

Propose in the Desktop app, CTRL/CMD+F brings up
a) Mattermost search
b) all search results pre-filtered to the channel (i.e. search text is in:[channel_handle])
This would have a similar effect to the browser CTRL/CMD+F and would be a nice improvement to user experience.

We have received feature requests from several sources, would be great if we got this in for v1.4
Original uservoice request: https://mattermost.uservoice.com/forums/306457-general/suggestions/15020541-ctrl-f-on-windows-desktop-app-puts-cursor-in-matte

I had a look, but doing keybindings in electron kinda sucks. As they are system global. So the only way to have them for when the program is focused, is to set them up and tear them down each time the app gets focus or looses it. Which wasn't very reliable when I tested it.
See https://www.npmjs.com/package/electron-shortcut for e.g.

Thanks for looking into it @Razzeee!
Would there be an alternative to CTRL/CMD+F? I'm surprised electron wouldn't have added better support for it given it's a common functionality.

I still fear the problem of this not working is somehow app specific, as we also have problems with the notification stuff and electron-context-menu which all have problems out of the box.
Maybe also react specific?
@jnugh

Instead of binding the keys using electron it should be possible to listen to keydown in react, I guess.
However how did you bind the event?
When you use document as a target it should not be global as in system wide!

Well I just used auto bind as in the examples here. https://github.com/ragingwind/electron-shortcut#usage
Which works for the first time, but then just stops working.

You can try to open the developer tools and add a breakpoint to the focus event.
See if it gets caught by react.

I'm not sure why you are considering global-shortcut, how about implementing the Ctrl+F shortcut at src/main/menus/app.js? Then open the search-box described by @jasonblais. We can inject js code by src/browser/webview/mattermost.js, so maybe we can trigger the function via ipcRenderer.
FYI, Electron provides APIs to implement find-in-page features like web browsers. But it seems a little hard because it doesn't provide any UI.

Well I don't think this should have a menu entry. It might be a plan b but it feels weird to me.

MenuItem has visible property, but I think it's not bad idea to indicate the shortcut by using its menu entry.
FYI, Slack's CMD+F performs like the case b. It opens the search pane in the right side of the window and enters in:[current_channel] filter.

Prepared a note last night but never hit 'Comment'..
I checked other Windows apps and including Find under Menu Bar > Edit seems to be relatively common.
Ideally I think a global shortcut would be nice, but I don't see adding it to the menu bar would be terrible. Thoughts @Razzeee?

I tried that yesterday, got stuck on setting the focus to the box. As getElementsByClass name didn't work. Maybe due to the hierarchy of windows. In fact it would be nice, if those input elements got ids.

Thanks @Razzeee for trying it out! This would be a great improvement for the app.
Would anyone from the community have additional thoughts? @jnugh @yuya-oc ?

@Razzeee: Where did you register the listener? This would need to be handled inside the webview to work. If you are outside you cannot access the search box.

You can inject the code into webview via src/browser/webview/mattermost.js. Just experimentally implemented at 647e396. This can focus to the search box. However, it seems <input>.value = STRING does not properly work because probably the value is controlled by the state of React.js component. So we somehow have to pre-enter the keyword.

Just tried filling in:[channel_handle] at 7e3acf6. Any thoughts about this artifact?
https://circleci.com/gh/mattermost/desktop/560#artifacts

Almost, the focus doesn't seem to be set correctly on the first time pressing the shortcut. After that it's working.
Another thing I would have done different, if there already is something in the search field, CTRL+F will only switch focus to the input. I would have emptied the input field, filing ```in:[channel_handle]````and then setting the focus.

@yuya-oc Great work here! Love it! :)
I seem to get focus on the first try, does this reproduce for you each time @Razzeee?
@Razzeee Interested to hear your thoughts behind clearing the search filed each time CTRL+F is pressed? On the browser, CTRL+F either

opens search with focus, or
sets focus back to the search bar with the current search term highlighted

The second gives the user an opportunity to decide whether they want to
a) start a new search (as the search term is highlighted and typing a letter clears the field) or
b) modify the search term by pressing the left or right arrow keys

Yes, it's happening every time for me. Even happens after switching team tabs. CTRL+K seems to have similar but other problems, that one just doesn't trigger due to focus. CTRL+F triggers but the carret isn't showing up.

In my mind it's different on our usecase, as we have the channel injected.

So if I go to a channel/dm
CTRL+F search something + Hit enter
Switch to another channel/dm
Hit CTRL+F

Behaviour:
You still have the other channel selected and also the same search. When your in a whole different context/channel.
Expected:
I wanted to search this channel, not the other one I might already have forgotten about.

About focus issue and Ctrl+K, I think probably they are similar or same. It seems the problem is that <webview> doesn't have focus properly.

Focus: When clicking a tab, the focus is owned by the tab.
Ctrl+K: When returning to the window, the webview's focus is stolen by the parent html.

About the usecase, I could not decided which is better.
Just researched Slack now. in:[channel_handle] is updated to current channel when pressing Ctrl+F. If the box doesn't have channel_handle, in:[channel_handle] is inserted at the leading of existing words.

There definitely are some related focus issues (such as reported here). I got it reproducing with CTRL+F as well now so I think it's the same issue.
As for the use case: @Razzeee, that makes sense, which is CTRL+F

empties the input field
fills in:[channel_handle]
sets focus to the search bar

each time the shortcut is used.

Updated and prepare the PR #258.


remove tf statefile after manifest deletion

Closes #227
This PR adds deletion of the statefile from minIO after the cluster has been deleted.
This PR also includes some code clean up

Regarding using Id(), I don't think we can use it here as we use DesiredState in that function and the Id() uses current state (as desired state doesn't exists when the cluster is being deleted)

Regarding using Id(), I don't think we can use it here as we use DesiredState in that function and the Id() uses current state (as desired state doesn't exists when the cluster is being deleted)

What's more, ClusterBuilder does not even use the Cluster interface, which made me remove my comment.
LGTM, good job!


Fix invalid navigation listener.

fixes: https://ibutsu.apps.ocp4.prod.psi.redhat.com/results/35107803-c64b-4fb1-8afd-40bca4c9129a#summary

Codecov Report

Merging #23 (79e1911) into master (389e99d) will decrease coverage by 0.10%.
The diff coverage is 0.00%.

:exclamation: Current head 79e1911 differs from pull request most recent head 79dfcbd. Consider uploading reports for the commit 79dfcbd to get more accurate results

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   11.76%   11.66%   -0.11%
==========================================
  Files          34       34
  Lines         340      343       +3
  Branches       57       57
==========================================
  Hits           40       40
- Misses        291      294       +3
  Partials        9        9

Impacted Files
Coverage Δ

src/App.js
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Can't set CELERY_ACCEPT_CONTENT parameter through the ini file (will be blocking with celery 3.2)

In pyramid_celery 2.0.0-rc3, while configuring through the main ini file, it's not possible to configure CELERY_ACCEPT_CONTENT
The ini file content
CELERY_ACCEPT_CONTENT =
     json

The traceback
Traceback (most recent call last):
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/billiard/process.py", line 292, in _bootstrap
    self.run()
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/billiard/pool.py", line 286, in run
    self.after_fork()
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/billiard/pool.py", line 389, in after_fork
    self.initializer(*self.initargs)
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/concurrency/prefork.py", line 81, in process_initializer
    app=app)
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/app/trace.py", line 161, in build_tracer
    backend = task.backend
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/five.py", line 284, in __get__
    return self.__get.__get__(obj, type)()
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/task/base.py", line 75, in backend
    return cls.app.backend
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/kombu/utils/__init__.py", line 322, in __get__
    value = obj.__dict__[self.__name__] = self.__get(obj)
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/app/base.py", line 625, in backend
    return self._get_backend()
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/app/base.py", line 444, in _get_backend
    return backend(app=self, url=url)
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/celery/backends/base.py", line 107, in __init__
    conf.CELERY_ACCEPT_CONTENT if accept is None else accept,
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/kombu/serialization.py", line 454, in prepare_accept_content
    return set(n if '/' in n else name_to_type[n] for n in l)
  File "/home/gas/.virtualenvs/autonomie/lib/python2.7/site-packages/kombu/serialization.py", line 454, in <genexpr>
    return set(n if '/' in n else name_to_type[n] for n in l)
KeyError: '\n'

Expected CELERY_IMPORTS (a specific treatment has been added in the pyramd_celery/init.py file), we can't customize parameters expecting a list as value.

@tonthon  Pushed -rc4 with a fix for this.  Please set me know if that helps and then I will close this issue

This is fixed in rc4

Thanks a lot for the fix (I confirm it's ok)


replace dictarray for tensortable in transforms functionality

This PR replaces the use of dictarray with tensortable so that now the embedding operators work against tensortables.

Based on the cluster of issues linked here, this appears to be a CuPy/cuDF interoperability issue. Not sure if there's much we can do with the content of this PR to address it, or if we'll need to make changes to the CI container.


Possibly unnecessary std::string copy?

Is this copy necessary (on this and similar functions)?
https://github.com/skypjack/uvw/blob/58b299ee60d62386a2339dab3f99d30570b33085/src/uvw/tcp.cpp#L46-L52
To my eye const std::string & would work just as well

I guess you are right, in order to evaluate single case,
would you perchance like to propose a pull request for these (others)?

@fireice-uk any news about this?

I should be able to get some time to do this later this week :)


It fails installation scipy<1.11

Collecting scipy<1.11 (from scispacy)
Using cached scipy-1.9.3.tar.gz (42.1 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [40 lines of output]

Hi @ainilaha, please share more about your installation setup. What command did you  run? What is the full error? What environment are you installing in? This project doesn't have a pyproject.toml, so I suspect you are installing a different package.

I encountered the same issue while using Conda. It appears that Conda now defaults to Python 3.12.*, which is causing the problem. To resolve this, I downgraded my Python version to 3.9.19, and it worked perfectly.
In the setup.py of scispacy, it specifies python>=3.6, leading pip to attempt an installation even though it is no longer compatible with the latest Python version.
Hope this helps!


added swap_registers to qft()

such that the qubits are again in qiskit's reversed order

hi @ebaeumer, can you rerun the notebook with these changes?

Sorry, what exactly do you mean?

So yes, for me the code works... I'm confused, what am I supposed to do next?


VT100 emulator can't handle cmdline wrapping past eol

Workaround: make a really wide virtual vim? Downside: makes "vt100 monitor" mode suck.

Irrelevant now we are switching to neovim.


Custom markers inside cluster, Swift

Is it possible to customize markers inside cluster, using Swift? Markers should be different depending of the category. I'm only manage to find Obj-C solutions, where I need to extend GMUDefaultClusterRenderer and override this method:
- (GMSMarker *)markerWithPosition:(CLLocationCoordinate2D)position                              from:(CLLocationCoordinate2D)from                          userData:(id)userData                       clusterIcon:(UIImage *)clusterIcon                          animated:(BOOL)animated
and also a "dirty" way where I directly in previous method change clusterIcon image, but there I can't use different categories.
Thanks for help in advance.

Follow the delegates as in this example? https://github.com/googlemaps/google-maps-ios-utils/blob/master/CustomMarkers.md

@mountainvat
I manage to find solution, but unfortunately it's not straightforward in Swift. I changed markerWithPosition method (put else statement) in GMUDefaultClusterRenderer.m class and only after that everything works like it should.

Are you able to export a PR so that I can take a look?

@mountainvat
Sorry, what do you mean by "PR"?

PR is a shorthand for a Git Pull Request. We'd love to see what you did, thanks!

Thanks for explanation.
Unfortunately, I can't export a PR to you, but I answered on SO, so maybe that can help you.
https://stackoverflow.com/a/44107523/6336996

I'm closing this out for the time being, as I can't see a solid path forward. If you have suggestions for changes in the API surface to make this easier in Swift, please feel free to re-open this bug. Thanks!


Incorrect sortino ratio

When running zipline with a capital base of 100000 with this algorithm
https://pastebin.com/CNVbw29Q
It gives a capital of -80000 and a sortino ratio of 102.3967
This obviously is an incorrect sortino ratio but I don't understand how it is calculating it at 102.

Hi @jSumne , thanks for the report, and sorry for the (very) slow response.
From what I can tell, your algorithm is incurring extremely high leverage because each minute, you might be ordering $10,000 worth of AAPL (lines 21-22), and you're also consistently selling $10,000 worth of AAPL every minute (lines 23-24). I ran your backtest on the Quantopian platform, from 2011-01-04 to 2011-01-07, with $100k capital. I ended up with 13028.56x leverage.
Risk metrics can grow to extremely high numbers that might look 'incorrect'. However, I believe the root issue here is that the algorithm's leverage is growing much higher than you'd expect.
In case this is useful, our sortino ratio is done in the Empyrical library: https://github.com/quantopian/empyrical/blob/master/empyrical/stats.py#L727
I'm going to close this issue for now, but definitely let us know if you see any more issues with the sortino ratio.


how to use the themekit?

Hi,
I really love uniform, and I want to theme it myself.
I would like to know is how to use the sprites.psd? and the code generator
kind regards

I must agree the documentation is very lacking in this area.

Also not sure I understand this bit. A how to would be killer.


add fastcgi support

Summary
We use Kong as out api-gateway in k8s, and it works fine. There's only one problem, Kong doesn't support fastcgi, so we have to add a nginx proxy server before php-fpm to transform HTTP to FAST-CGI, it's not a big deal when we have only a few php projects, but it keeps growing. It will be a great benefit if we could remove such nginx proxy container from our Pod running in k8s.
Here is what I want to achieve.
Add a fcgi service and proxy it directly to php-fpm
curl -i -X POST --url http://localhost:8001/services/  --data 'name=byte' --data 'url=fcgi://<IP_ADDRESS>:9000/var/www/byte/public/index.php'

#1165

Thanks for reporting the issue, see https://github.com/Kong/kong/pull/5642#issuecomment-596793223.


Add second server for development

dev.thinktank-server.averycrespi.com
Disables CORS (origin: *)
Serve on different port
Use second copy of git repo (thinktank-dev)

Work on develop branch
Subdomain changed to thinktank-server-dev


Operation request: Escape Smart Characters

Summary
An operation to convert smart characters (quotes, dashes, apostrophes, arrows, copyright signs, ellipses etc.) back to plain ASCII.
Example
Input
“”—‘’ →©…

Output
""--''-->(c)...

References
http://unicode.scarfboy.com/?s=quotation+mark
http://quotesandaccents.com/

What should happen if the input contains a character with no obvious text equivalent, eg ☣?
http://unicode.scarfboy.com/?s=U%2B2623
Should it be:

Removed from the output
Included in the output
Escaped to HTML/Unicode entity
Something else

It would probably make sense for this to be an option that the user can specify. The following options should be available:

Remove
Include
Replace with a '.'

If someone wants to escape them as HTML or Unicode entities, there are other operations that can achieve that.


xgboost  on yarn  is running beyond virtual memory limits

hi @tqchen
when we using xgboost with dmlc，there is some wrong with it. the training set is very very small，our hadoop version is 2.4.1
Diagnostics:Container [pid=40959,containerID=container_1462859744498_485365_01_000002] is running beyond virtual memory limits. Current usage: 76.1 MB of 2 GB physical memory used; 31.8 GB of 4.2 GB virtual memory used. Killing container.
error detail as follows：
Container: container_1462859744498_485365_01_000003 on datanode16.data.cluster_50800
LogType: stderr
LogLength: 655
Log Contents:
readDirect: FSDataInputStream#read error:
java.io.IOException: Filesystem closed
at org.apache.hadoop.hdfs.DFSClient.checkOpen(DFSClient.java:707)
at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:776)
at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:844)
at org.apache.hadoop.fs.FSDataInputStream.read(FSDataInputStream.java:144)
[11:11:48] include/dmlc/logging.h:245: [11:11:48] src/io/hdfs_filesys.cc:44: HDFSStream.hdfsRead Error:Unknown error 255
terminate called after throwing an instance of 'dmlc::Error'
what():  [11:11:48] src/io/hdfs_filesys.cc:44: HDFSStream.hdfsRead Error:Unknown error 255
LogType: stdout
LogLength: 38
Log Contents:
[11:11:46] start datanode16.data.cluster:0
Container: container_1462859744498_485365_01_000001 on datanode46.data.cluster_48791
LogType: stderr
LogLength: 17621
Log Contents:
16/05/30 11:11:36 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/05/30 11:11:37 INFO dmlc.ApplicationMaster: Start AM as user=yarn
16/05/30 11:11:38 INFO dmlc.ApplicationMaster: Try to start 0 Servers and 1 Workers
16/05/30 11:11:38 INFO client.RMProxy: Connecting to ResourceManager at resourcemanager.data.cluster/<IP_ADDRESS>:8030
16/05/30 11:11:38 INFO impl.NMClientAsyncImpl: Upper bound of the thread pool size is 500
16/05/30 11:11:38 INFO impl.ContainerManagementProtocolProxy: yarn.client.max-nodemanagers-proxies : 500
16/05/30 11:11:38 INFO dmlc.ApplicationMaster: [DMLC] ApplicationMaster started
16/05/30 11:11:40 INFO impl.AMRMClientImpl: Received new token for : datanode61.data.cluster:54536
16/05/30 11:11:40 INFO dmlc.ApplicationMaster: {launcher.py=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/launcher.py" } size: 2696 timestamp:<PHONE_NUMBER>786 type: FILE visibility: APPLICATION, xgboost=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/xgboost" } size: 1947053 timestamp:<PHONE_NUMBER>921 type: FILE visibility: APPLICATION, libstdc++.so.6=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/libstdc++.so.6" } size: 6469571 timestamp:<PHONE_NUMBER>125 type: FILE visibility: APPLICATION, mushroom.aws.conf=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/mushroom.aws.conf" } size: 855 timestamp:<PHONE_NUMBER>243 type: FILE visibility: APPLICATION, dmlc-yarn.jar=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/dmlc-yarn.jar" } size: 21292 timestamp:<PHONE_NUMBER>380 type: FILE visibility: APPLICATION}
16/05/30 11:11:40 INFO dmlc.ApplicationMaster: {DMLC_NODE_HOST=datanode61.data.cluster, DMLC_ROLE=worker, DMLC_TASK_ID=0, CLASSPATH=${CLASSPATH}:./:/data/sysdir/hadoop-2.4.1/etc/hadoop:
/data/sysdir/hadoop-2.4.1/share/hadoop/common//:
/data/sysdir/hadoop-2.4.1/share/hadoop/common/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/hdfs//:
/data/sysdir/hadoop-2.4.1/share/hadoop/hdfs/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/mapreduce//:
/data/sysdir/hadoop-2.4.1/share/hadoop/mapreduce/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/yarn//:/data/sysdir/hadoop-2.4.1/share/hadoop/yarn/lib/, DMLC_NUM_WORKER=1, PYTHONPATH=${PYTHONPATH}:., DMLC_NUM_ATTEMPT=0, DMLC_NUM_SERVER=0, DMLC_SERVER_MEMORY_MB=1024, DMLC_JOB_ARCHIVES=, DMLC_TRACKER_URI=<IP_ADDRESS>, DMLC_JOB_CLUSTER=yarn, DMLC_WORKER_MEMORY_MB=1024, DMLC_WORKER_CORES=1, LD_LIBRARY_PATH=/data/home/tangshouxu/gbdt/xgboost/lib::$HADOOP_HDFS_HOME/lib/native:$JAVA_HOME/jre/lib/amd64/server, DMLC_TRACKER_PORT=9092, DMLC_SERVER_CORES=1}
16/05/30 11:11:40 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER for Container container_1462859744498_485365_01_000002
16/05/30 11:11:40 INFO impl.ContainerManagementProtocolProxy: Opening proxy : datanode61.data.cluster:54536
16/05/30 11:11:40 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
16/05/30 11:11:43 WARN dmlc.ApplicationMaster: KILLED_EXCEEDED_PMEM
16/05/30 11:11:43 INFO dmlc.ApplicationMaster: [DMLC] Task 0 exited with status 143 Diagnostics:Container [pid=40959,containerID=container_1462859744498_485365_01_000002] is running beyond virtual memory limits. Current usage: 76.1 MB of 2 GB physical memory used; 31.8 GB of 4.2 GB virtual memory used. Killing container.
Dump of the process-tree for container_1462859744498_485365_01_000002 :
|- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE
|- 40959 33704 40959 40959 (bash) 0 0 108699648 268 /bin/bash -c ./launcher.py ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model  1>/data/sysdir/hadoop-2.4.1/logs/userlogs/application_1462859744498_485365/container_1462859744498_485365_01_000002/stdout 2>/data/sysdir/hadoop-2.4.1/logs/userlogs/application_1462859744498_485365/container_1462859744498_485365_01_000002/stderr
|- 40981 40967 40959 40959 (xgboost) 158 7<PHONE_NUMBER>6 18112 ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model
|- 40967 40959 40959 40959 (python) 2 0 131223552 1107 python ./launcher.py ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model
Container killed on request. Exit code is 143
Container exited with a non-zero exit code 143
16/05/30 11:11:43 INFO dmlc.ApplicationMaster: Task 0 failed on container_1462859744498_485365_01_000002. See LOG at : http://datanode61.data.cluster:8042/node/containerlogs/container_1462859744498_485365_01_000002/yarn
16/05/30 11:11:43 INFO impl.NMClientAsyncImpl: Processing Event EventType: STOP_CONTAINER for Container container_1462859744498_485365_01_000002
16/05/30 11:11:43 INFO dmlc.ApplicationMaster: onContainerStopped Invoked
16/05/30 11:11:45 INFO impl.AMRMClientImpl: Received new token for : datanode16.data.cluster:50800
16/05/30 11:11:45 INFO impl.AMRMClientImpl: Received new token for : datanode68.data.cluster:19652
16/05/30 11:11:45 INFO dmlc.ApplicationMaster: {launcher.py=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/launcher.py" } size: 2696 timestamp:<PHONE_NUMBER>786 type: FILE visibility: APPLICATION, xgboost=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/xgboost" } size: 1947053 timestamp:<PHONE_NUMBER>921 type: FILE visibility: APPLICATION, libstdc++.so.6=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/libstdc++.so.6" } size: 6469571 timestamp:<PHONE_NUMBER>125 type: FILE visibility: APPLICATION, mushroom.aws.conf=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/mushroom.aws.conf" } size: 855 timestamp:<PHONE_NUMBER>243 type: FILE visibility: APPLICATION, dmlc-yarn.jar=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/dmlc-yarn.jar" } size: 21292 timestamp:<PHONE_NUMBER>380 type: FILE visibility: APPLICATION}
16/05/30 11:11:45 INFO dmlc.ApplicationMaster: {DMLC_NODE_HOST=datanode16.data.cluster, DMLC_ROLE=worker, DMLC_TASK_ID=0, CLASSPATH=${CLASSPATH}:./:/data/sysdir/hadoop-2.4.1/etc/hadoop:
/data/sysdir/hadoop-2.4.1/share/hadoop/common//:
/data/sysdir/hadoop-2.4.1/share/hadoop/common/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/hdfs//:
/data/sysdir/hadoop-2.4.1/share/hadoop/hdfs/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/mapreduce//:
/data/sysdir/hadoop-2.4.1/share/hadoop/mapreduce/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/yarn//:/data/sysdir/hadoop-2.4.1/share/hadoop/yarn/lib/, DMLC_NUM_WORKER=1, PYTHONPATH=${PYTHONPATH}:., DMLC_NUM_ATTEMPT=1, DMLC_NUM_SERVER=0, DMLC_SERVER_MEMORY_MB=1024, DMLC_JOB_ARCHIVES=, DMLC_TRACKER_URI=<IP_ADDRESS>, DMLC_JOB_CLUSTER=yarn, DMLC_WORKER_MEMORY_MB=1024, DMLC_WORKER_CORES=1, LD_LIBRARY_PATH=/data/home/tangshouxu/gbdt/xgboost/lib::$HADOOP_HDFS_HOME/lib/native:$JAVA_HOME/jre/lib/amd64/server, DMLC_TRACKER_PORT=9092, DMLC_SERVER_CORES=1}
16/05/30 11:11:45 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER for Container container_1462859744498_485365_01_000003
16/05/30 11:11:45 INFO impl.ContainerManagementProtocolProxy: Opening proxy : datanode16.data.cluster:50800
16/05/30 11:11:45 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER for Container container_1462859744498_485365_01_000004
16/05/30 11:11:45 INFO impl.ContainerManagementProtocolProxy: Opening proxy : datanode68.data.cluster:19652
16/05/30 11:11:45 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
16/05/30 11:11:45 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
16/05/30 11:11:49 WARN dmlc.ApplicationMaster: KILLED_EXCEEDED_PMEM
16/05/30 11:11:49 INFO dmlc.ApplicationMaster: [DMLC] Task 0 exited with status 143 Diagnostics:Container [pid=83953,containerID=container_1462859744498_485365_01_000003] is running beyond virtual memory limits. Current usage: 197.6 MB of 2 GB physical memory used; 31.9 GB of 4.2 GB virtual memory used. Killing container.
Dump of the process-tree for container_1462859744498_485365_01_000003 :
|- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE
|- 83953 29156 83953 83953 (bash) 0 0 108650496 314 /bin/bash -c ./launcher.py ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model  1>/data/sysdir/hadoop-2.4.1/logs/userlogs/application_1462859744498_485365/container_1462859744498_485365_01_000003/stdout 2>/data/sysdir/hadoop-2.4.1/logs/userlogs/application_1462859744498_485365/container_1462859744498_485365_01_000003/stderr
|- 83986 83966 83953 83953 (xgboost) 355 22<PHONE_NUMBER>6 49165 ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model
|- 83966 83953 83953 83953 (python) 1 1 131186688 1107 python ./launcher.py ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model
Container killed on request. Exit code is 143
Container exited with a non-zero exit code 143
16/05/30 11:11:49 INFO dmlc.ApplicationMaster: Task 0 failed on container_1462859744498_485365_01_000003. See LOG at : http://datanode16.data.cluster:8042/node/containerlogs/container_1462859744498_485365_01_000003/yarn
16/05/30 11:11:49 INFO impl.NMClientAsyncImpl: Processing Event EventType: STOP_CONTAINER for Container container_1462859744498_485365_01_000003
16/05/30 11:11:49 INFO dmlc.ApplicationMaster: onContainerStopped Invoked
16/05/30 11:11:51 INFO impl.AMRMClientImpl: Received new token for : datanode123.data.cluster:60096
16/05/30 11:11:51 INFO impl.AMRMClientImpl: Received new token for : datanode136.data.cluster:19129
16/05/30 11:11:51 INFO impl.AMRMClientImpl: Received new token for : datanode96.data.cluster:40278
16/05/30 11:11:51 INFO dmlc.ApplicationMaster: {launcher.py=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/launcher.py" } size: 2696 timestamp:<PHONE_NUMBER>786 type: FILE visibility: APPLICATION, xgboost=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/xgboost" } size: 1947053 timestamp:<PHONE_NUMBER>921 type: FILE visibility: APPLICATION, libstdc++.so.6=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/libstdc++.so.6" } size: 6469571 timestamp:<PHONE_NUMBER>125 type: FILE visibility: APPLICATION, mushroom.aws.conf=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/mushroom.aws.conf" } size: 855 timestamp:<PHONE_NUMBER>243 type: FILE visibility: APPLICATION, dmlc-yarn.jar=resource { scheme: "hdfs" port: -1 file: "/tmp/temp-dmlc-yarn-application_1462859744498_485365/dmlc-yarn.jar" } size: 21292 timestamp:<PHONE_NUMBER>380 type: FILE visibility: APPLICATION}
16/05/30 11:11:51 INFO dmlc.ApplicationMaster: {DMLC_NODE_HOST=datanode123.data.cluster, DMLC_ROLE=worker, DMLC_TASK_ID=0, CLASSPATH=${CLASSPATH}:./:/data/sysdir/hadoop-2.4.1/etc/hadoop:
/data/sysdir/hadoop-2.4.1/share/hadoop/common//:
/data/sysdir/hadoop-2.4.1/share/hadoop/common/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/hdfs//:
/data/sysdir/hadoop-2.4.1/share/hadoop/hdfs/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/mapreduce//:
/data/sysdir/hadoop-2.4.1/share/hadoop/mapreduce/lib//:
/data/sysdir/hadoop-2.4.1/share/hadoop/yarn//:/data/sysdir/hadoop-2.4.1/share/hadoop/yarn/lib/, DMLC_NUM_WORKER=1, PYTHONPATH=${PYTHONPATH}:., DMLC_NUM_ATTEMPT=2, DMLC_NUM_SERVER=0, DMLC_SERVER_MEMORY_MB=1024, DMLC_JOB_ARCHIVES=, DMLC_TRACKER_URI=<IP_ADDRESS>, DMLC_JOB_CLUSTER=yarn, DMLC_WORKER_MEMORY_MB=1024, DMLC_WORKER_CORES=1, LD_LIBRARY_PATH=/data/home/tangshouxu/gbdt/xgboost/lib::$HADOOP_HDFS_HOME/lib/native:$JAVA_HOME/jre/lib/amd64/server, DMLC_TRACKER_PORT=9092, DMLC_SERVER_CORES=1}
16/05/30 11:11:51 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER for Container container_1462859744498_485365_01_000005
16/05/30 11:11:51 INFO impl.ContainerManagementProtocolProxy: Opening proxy : datanode123.data.cluster:60096
16/05/30 11:11:51 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER for Container container_1462859744498_485365_01_000006
16/05/30 11:11:51 INFO impl.ContainerManagementProtocolProxy: Opening proxy : datanode136.data.cluster:19129
16/05/30 11:11:51 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER for Container container_1462859744498_485365_01_000007
16/05/30 11:11:51 INFO impl.ContainerManagementProtocolProxy: Opening proxy : datanode96.data.cluster:40278
16/05/30 11:11:51 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
16/05/30 11:11:51 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
16/05/30 11:11:51 INFO dmlc.ApplicationMaster: onContainerStarted Invoked
16/05/30 11:11:56 WARN dmlc.ApplicationMaster: KILLED_EXCEEDED_PMEM
16/05/30 11:11:56 INFO dmlc.ApplicationMaster: [DMLC] Task 0 exited with status 143 Diagnostics:Container [pid=137020,containerID=container_1462859744498_485365_01_000005] is running beyond virtual memory limits. Current usage: 117.9 MB of 2 GB physical memory used; 31.9 GB of 4.2 GB virtual memory used. Killing container.
Dump of the process-tree for container_1462859744498_485365_01_000005 :
|- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE
|-<PHONE_NUMBER>28<PHONE_NUMBER>20 (xgboost) 243 14<PHONE_NUMBER>8 28756 ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model
|-<PHONE_NUMBER>86<PHONE_NUMBER>20 (bash) 0 0 108654592 312 /bin/bash -c ./launcher.py ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model  1>/data/sysdir/hadoop-2.4.1/logs/userlogs/application_1462859744498_485365/container_1462859744498_485365_01_000005/stdout 2>/data/sysdir/hadoop-2.4.1/logs/userlogs/application_1462859744498_485365/container_1462859744498_485365_01_000005/stderr
|-<PHONE_NUMBER>20<PHONE_NUMBER>20 (python) 2 0 131186688 1108 python ./launcher.py ./xgboost ./mushroom.aws.conf nthread=2 data=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/train/agaricus.txt.train eval[test]=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/test/agaricus.txt.test model_dir=hdfs://AutoclusterCluster/dmp/person/shouxu/gbdt/model
Container killed on request. Exit code is 143
Container exited with a non-zero exit code 143
16/05/30 11:11:56 INFO dmlc.ApplicationMaster: Task 0 failed on container_1462859744498_485365_01_000005. See LOG at : http://datanode123.data.cluster:8042/node/containerlogs/container_1462859744498_485365_01_000005/yarn
16/05/30 11:11:56 INFO dmlc.ApplicationMaster: [DMLC] Task 0 failed more than 3times
16/05/30 11:11:56 INFO impl.NMClientAsyncImpl: Processing Event EventType: STOP_CONTAINER for Container container_1462859744498_485365_01_000005
16/05/30 11:11:56 INFO dmlc.ApplicationMaster: onContainerStopped Invoked
16/05/30 11:11:56 INFO dmlc.ApplicationMaster: Application completed. Stopping running containers
16/05/30 11:11:56 INFO impl.ContainerManagementProtocolProxy: Closing proxy : datanode61.data.cluster:54536
16/05/30 11:11:56 INFO impl.ContainerManagementProtocolProxy: Closing proxy : datanode16.data.cluster:50800
16/05/30 11:11:56 INFO impl.ContainerManagementProtocolProxy: Closing proxy : datanode123.data.cluster:60096
16/05/30 11:11:56 INFO impl.ContainerManagementProtocolProxy: Closing proxy : datanode68.data.cluster:19652
16/05/30 11:11:56 INFO impl.ContainerManagementProtocolProxy: Closing proxy : datanode96.data.cluster:40278
16/05/30 11:11:56 INFO impl.ContainerManagementProtocolProxy: Closing proxy : datanode136.data.cluster:19129
16/05/30 11:11:56 INFO dmlc.ApplicationMaster: Diagnostics., num_tasks1, finished=0, failed=1
[DMLC] Task 0 failed more than 3times
16/05/30 11:11:56 INFO impl.AMRMClientImpl: Waiting for application to be successfully unregistered.
Exception in thread "main" java.lang.Exception: Application not successful
at org.apache.hadoop.yarn.dmlc.ApplicationMaster.run(ApplicationMaster.java:290)
at org.apache.hadoop.yarn.dmlc.ApplicationMaster.main(ApplicationMaster.java:115)

@tqchen thx

no reply


Log client ips

Fixes #268.

Coverage increased (+0.03%) to 73.147% when pulling ac7e0b700e9d084540b1273018be95ad772a388b on Yannik:log-ips into 68bb6ab654b6fb1fe375e08807688c55621513a2 on joohoi:master.

sweet nice i was hoping i wouldnt have to do that, any chance we can add a deny from in config.cfg or otherwise that can help “block” or how would you go about it? i really suck at ufw and dns stuff and i would personally love to spin up boxes on digitalocean etc and just pull a docker image and pull a config from github and rock roll (ill have to rebuild an image from this commit but at least its a atart! thaks @Yannik!

i wouldnt mind an auto deny from that uses a rate limit feature, i am not an avid go dev but  i mean even a simple map of counts by ip address with an interval to check or theres probably a rate limit package like there is for node

@lanl0rd Rate limiting needs to limited to domains which could not possibly be valid acme-dns subdomains, because otherwise third parties could dos your acme-dns service by repeatedly requesting certificates from letsencrypt (hence, the letsencrypt server will get blocked).
I will implement a fail2ban filter which implements rate limiting and post about it here. (currently blocked by https://github.com/fail2ban/fail2ban/issues/3062)

We now have a working fail2ban filter for this: https://github.com/joohoi/acme-dns/issues/268#issuecomment-891165077

yayy

@lan10rd:

i wouldnt mind an auto deny that uses a rate limit feature, i am not an avid go dev but i mean even a simple map of counts by ip address with an interval to check or theres probably a rate limit package like there is for node

Yes, there is golang.org/x/time/rate.  Simple exposition here.


Move all content from gitops template repo to docs

We need to have comprehensive docs about how to setup a gitops repository and how to use the kubectl gs commands. The content in the gitops template repository is already outdated and we need to focus on our docs.
### Guide on how to start from scratch
  * [x] Guide on how to setup a gitops repository
  * [x] Guide on how to setup an organization
  * [x] Guide on how to create a cluster

* [x] Move expert topics from gitops template repo to docs
* [ ] Delete the docs in gitops template repo
* [ ] Explain the purpose of the gitops template repo (use `kubectl gs gitops` but the repo contains examples)
* [ ] Add more explanations to the examples

@carillan81 I talked to @marians and heard that you both agreed to move and rewrite the content from the template repo to our docs. I've created a rough overview. Does that make sense? Feel free to add or change stuff.
@giantswarm/team-honeybadger fyi. Besides that the content in the repo isn't easy to digest and references to kubectl gs gitops are also missing. Carlos is already writing a guide for our docs. And then we will see how to move the other content. Help from your team would be appreciated. But I know you are busy with other things at the moment.

related to https://github.com/giantswarm/giantswarm/issues/22879

See: https://github.com/giantswarm/roadmap/issues/1529#issuecomment-1377416492

I think we can close this issue as we have already merged in docs the main parts of gitops tutorials.
Currently we are covering:

basic how to start, create repo, attach to MC
basic tuto on wc creation
tuto on base creation
tuto on environment creation
tuto on app management

This issue has been already closed. https://github.com/giantswarm/giantswarm/issues/22879
There several pending actions that belong to Honeybadger:

Convert repo docs into description of the examples and a more descriptive documentation
Expand docs in the future with more advanced topics like more on ecryption or other topics
Maintain and keep docs up to date


strange depth map image comes out

I want to get depth map image and semantic image.
so I attached two camera to 'client_example.py'
but so stange 'depth image' and 'semantic image' comes out.
I don't understanad why this images come out.
How can I get normal 'depth image' and 'semantic segmantation image' ?
Normal camera is clean. and semantic segmantation image is just black.
this image is depth map image that I got in Carla sim.

Hi @bluebear78, have you installed the dependencies mentioned in the ImageConverter's README?

This image is the raw depth format. You also can output a gray and logarithmic depth maps but this will affect the quality and resolution of the image (int8 vs int24)
I wrote about the CarlaSimBlog - https://carlasimblog.wordpress.com/2023/09/16/sensors/


 Which we've closed in favor of changing to #76

@ittaiz I don't see how it is related to that. If I disable sandboxing, the test passes. Only with sandboxing enabled to I get different hashes.
Did I misunderstand your point? The issues you link to above were about md5 vs md5sum and doing the shell test in bazel, no?

sorry for the late reply. it seems I've misunderstood you, thanks for the explanation

There is a similar issue with the go rules.
https://github.com/bazelbuild/rules_go/issues/198
It has to do with the randomly generated sandbox paths being included as debug symbols.

@chrismcbride Thanks for the pointer!

I somehow can't reproduce this now. I was trying to fix it and see if some paths were getting in somewhere. If anyone else can repro, let me know. I hope it is not sporadic.

I might be mixing stuff up but when I run test_run.sh on HEAD of rules_scala with nothing in my .bazelrc I get the following error:
____Loading complete. Analyzing... ____Found 68 targets... ____Elapsed time: 0.114s, Critical Path: 0.00s ____Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes. ____Loading package: test/data ____Loading package: @bazel_tools//tools/cpp ____Loading package: @local_jdk// ____Loading package: @local_config_cc// ____Loading package: @local_config_xcode// ____Loading complete. Analyzing... ____Loading package: @bazel_tools//third_party/java/jdk/langtools ____Loading package: src/java/com/google/devtools/build/lib ____Found 68 targets... ____Building... ____[0 / 1] BazelWorkspaceStatusAction stable-status.txt ____[1 / 51] Writing file build-info-redacted.properties ____[30 / 271] Writing file src/scala/io/bazel/rules_scala/tut_support/tut_compiler_lib_MANIFEST.MF [for host] ____[30 / 283] Writing file test/src/main/scala/scala/test/twitter_scrooge/mixed_MANIFEST.MF ____[30 / 286] Writing file test/src/main/scala/scala/test/twitter_scrooge/justscrooges_MANIFEST.MF ____[86 / 291] Extracting interface @libthrift//jar:jar ____[86 / 291] Extracting interface @util_logging//jar:jar [for host] ____[97 / 291] Creating runfiles tree bazel-out/local-fastbuild/bin/test/JavaBinary.runfiles ____[225 / 291] Still waiting for 16 jobs to complete: Running (sandbox): scala //scala/support:test_reporter, 10 s scala //src/scala/io/bazel/rules_scala/tut_support:tut_compiler_lib, 10 s scala //test:JavaOnlySources, 10 s scala //test:MoreScalaLibResources, 10 s scala //test:ScalaLibResources, 10 s scala //test:SuiteSrcs_lib_DataRoot1.scala, 10 s scala //test/tut:test_dep [for host], 10 s scala //test/tut:test_dep, 10 s scala //src/scala/io/bazel/rules_scala/tut_support:tut_compiler_lib [for host], 10 s scala //test:SuiteSrcs_lib_DataRoot2.scala, 10 s Scheduling: scala //test:MixJavaScalaLib, 10 s scala //test:MacroTest, 10 s scala //test:Runtime, 10 s scala //src/scala/io/bazel/rules_scala/scrooge_support:focused_zip_importer [for host], 10 s scala //test:Exported, 10 s scala //test/src/main/scala/scala/test/srcjars:source_jar, 10 s ____[234 / 291] Still waiting for 11 jobs to complete: Running (sandbox): scala //scala/support:test_reporter, 37 s scala //test:MixJavaScalaLib, 19 s scala //test:MacroTest, 18 s scala //test:Runtime, 18 s scala //src/scala/io/bazel/rules_scala/scrooge_support:focused_zip_importer [for host], 15 s scala //test:Exported, 15 s scala //test/src/main/scala/scala/test/srcjars:source_jar, 14 s scala //test:ConsumeSuite, 14 s scala //test:ScalaLibBinary, 11 s scala //test:MoreScalaLibBinary, 10 s Scheduling: Executing genrule //test/tut:some_example__tut, 11 s ____From scala //test:MacroTest: warning: there was one deprecation warning; re-run with -deprecation for details one warning found ____From Executing genrule //test/tut:some_example__tut: [tut] compiling: test/tut/SomeExample.md wrote: bazel-out/local-fastbuild/genfiles/test/tut/some_example_tut.md ____From scala //test:HelloLib: test/HelloLib.scala:20: warning: Remove the if expression and use the condition directly. def dumb(x: Int) = if (x == 3) true else false ^ one warning found ____From scala //test:ScalaBinary: Compiler runtime: 7894ms. ____From scala //src/scala/scripts:generator_lib [for host]: warning: there were two deprecation warnings; re-run with -deprecation for details one warning found ____From scala //test/src/main/scala/scala/test/twitter_scrooge:twodeep: warning: there was one feature warning; re-run with -feature for details one warning found ____From scala //test/src/main/scala/scala/test/twitter_scrooge:mixed: warning: there was one feature warning; re-run with -feature for details one warning found ____Elapsed time: 148.072s, Critical Path: 143.13s 42d41 < MD5 (bazel-bin/test/libOtherJavaLib-hjar.jar) = f57034a0379fbc0ca5b42e1677aa45f5

Is this what you're looking for? Because as far as I can see I'm not using sandboxing.
Running this on OS X of course.

I just ran bash test_run.sh on MacOSX with bazel 0.5.2 and it passed. I came here from README that says test_run.sh doesn't pass due to this issue. Did something get fixed?

I don't think so I just ran with HEAD~2 and it failed. I think that it
passes on some machines (Oscar- it always passes on yours, right?) but
fails on others (I think it never passed on my machine).
On Wed, Jul 12, 2017 at 9:38 PM gkk-stripe<EMAIL_ADDRESS>wrote:

I just ran bash test_run.sh on MacOSX with bazel 0.5.2 and it passed. I
came here from README that says test_run.sh doesn't pass due to this
issue. Did something get fixed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/136#issuecomment-314859147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF-7ftnfliitwVeHLbpMv0JUnYGIJks5sNRKigaJpZM4L48S_
.

I'm closing this as I haven't been able to reproduce this for some time.
We've done a lot of work in related areas and upgraded the bazel version and any of them could have contributed.
Closing for now, please reopen if you see something else

Reopening since I've started hitting this again locally :(
Can't dive into it right now but there is probably still something lingering.
I think the first thing to do is change the test to also keep a list of file names to md5 so that if the test fails we have a finer granularity on where were the diffs. Maybe also keep a copy of the jars so we can inspect them.

@gkk-stripe also saw this on our Linux CI but it seemed like macros were at play. There may be two different issues. Clearly a macro can be non reproducible since it can use the clock or it could use a identity based hashCode.

You mean Scala macros right?
On Mon, 4 Dec 2017 at 17:21 P. Oscar Boykin<EMAIL_ADDRESS>wrote:

@gkk-stripe https://github.com/gkk-stripe also saw this on our Linux CI
but it seemed like macros were at play. There may be two different issues.
Clearly a macro can be non reproducible since it can use the clock or it
could use a identity based hashCode.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/rules_scala/issues/136#issuecomment-348993694,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF6sURXZJTTYtcZa4sVSlDfT2J9xiks5s9A39gaJpZM4L48S_
.

yes

I like your suggestion! I'd love to get to the bottom of this.

The most common reason for macros to be non-deterministic is to rely on object identity for hash code. If you put them in a map, the order of iteration is non-deterministic.


e2e-simple relies on a warm cache

Unintentionally, I made e2e-simple rely on a warm cache in 9df3104bf16a70b5bf4f6e146b91b42d9c627c92.
We need to install node modules, but skip the bootstrap phase and bootstrap after.
This causes unintentional CI failure, e.g. https://github.com/facebookincubator/create-react-app/pull/1662.

Fix is up in #1667.


Fix/color export Issue #61

Fixed the color export of the Color Inventory -> Export dialogue.
Now it will export it to the same destination als generate -> export.

Thanks a lot! You are amazing!

You're welcome!

it doesn't work..

agreed. still doesn't work on 3.5.2


Support file upload for GraphQL

Motivation:
Although it is not official in GraphQL, many open sources make multipart requests in the following way.
This PR is a work to support this feature in Armeria as well.
See https://github.com/jaydenseric/graphql-multipart-request-spec
Modifications:

Move FileAggregatedMultipart
Add process when content-type is multipart/form-data
Add PathScalar
Copy/Convert MultipartVariableMapper from dgs-framework
Add integration test

Result:

Closes #3971

There is an impact from https://github.com/line/armeria/pull/4262

Gentle ping, @heowc 🙇

Sorry for the late reply 🙏

ExchangeType was introduced. We should use REQUEST_STREAMING for multipart requests.
https://github.com/line/armeria/blob/142c3f361599cae98b9fe0b1f284be6729a03844/graphql-protocol/src/main/java/com/linecorp/armeria/server/graphql/protocol/AbstractGraphqlService.java#L154-L158

ExchangeType

I'll check 😄


support more than just let-bound HttpHandler values called webApp

It'd be very nice to support a thing called webApp that is either a

value
function whose final return value is a HttpHandler and use DI to resolve the other parameters.

done!


User Story:  Detail display view for each Coins

user Story:  Detail display view for each Coins
(Must To have)
User Story Description
As a user
I want to have the ability to see all details and information of each coins in separated page.
so that
it make me be able to see all the details of each coins.
Acceptance Criteria:
displayed data in based on API
Additional Considerations:
Follow the wireframe design
sample picture was

Story Points
4


Reset and patch reject when deserialize fails. Add new test helper

Reset and patch return an action. This PR sets those actions up so that they are rejected whenever deserializing their payloads fail.
Deserialize still raises an exception.
I've also added a new test helper for quickly testing repo state in a safe way.

👍

Coverage remained the same at 100.0% when pulling 291dc8dc9ed6a37275285feccc3e027985d44982 on deserialize-and-test-helpers into 5209f63c535fcd95cc586144e4f55faee7822f17 on master.


Use of cases.Titler is not multi-go routine safe

var titleCaser = cases.Title(language.English)

https://github.com/ConductorOne/baton-splunk/blob/2d60a52b10c62a552f8b4cd1ee2e53ba43f45d9c/pkg/connector/helpers.go#L16
Unfortunately, titleCaser is not safe to be used as a package level variable, without a lock. Inside  vendor/golang.org/x/text/transform/transform.go you can see the .Reset() method is called -- because the instance has a local buffer:
func String(t Transformer, s string) (result string, n int, err error) {
	t.Reset()

This could cause "corrupted" Names in a multi-gorotine/production environment.

@pquerna I opened PR that moves the creation of Caser instance into function that returns the formatted string right away. Let me know if that's ok.


Feature request: Input box completion support

VSCode Version: 1.17.0
OS Version: Windows 10 x64

I'm not sure if I'm searching for the right terms, but there doesn't seem to be a way to get an extension to show an input box with completion entries, similar to the 'Show all commands' dropdown, or the 'Go to symbol in workspace' dropdown:

The closest that I can get is to use showInputBox with a validateInput input validator, but this only allows you to return one entry, which doesn't work well if there's multiple options that could be possible. There's also the quick picker, but as far as I know, it doesn't allow you to dynamically update the available options depending on what has been typed in.
Is it possible to expose a similar sort of functionality in the vscode API?

Another (arguably more powerful) UI would be completion for particular words in the input box. Here's an example from IntelliJ, which completes comand flags:


Support S3 path style

Is your feature request related to a problem?
No
Describe the solution you'd like
Support for S3 path style to support Minio storage: https://stackoverflow.com/a/57347250
Additional context
No response

How you configure with a minio server? I tried but it always end up with an error.


However I have been playing with the example code and the "Edit Item" function does not seem to update the the list of item displayed on "Meteor List View".
I looked at my MongoDB on my server and the collections do not change after I press "Save". It seems to be me at least that the collection.update does not work?
Again apologies if there is something really obvious that I am missing, but any help would be greatly appreciated.
Cheers,
Wil

Currently, updates are not reactive. You'll receive the update once it is updated on the server and comes back to the client. If it isn't updating on your server either, it might be a problem with permissions.
Think of react-native-meteor as a client, and updates can only be executed in the client if there are allow/deny rules on the server.
Also, it's a little easier to use methods instead of allow/deny rules, since they're easier to setup and maintain.

Thanks for the response.
I am just using the example code on the project. It can add items to the server via the meteor.call, it just seems to have promblems with the collection.update not going to the server.
As you suggested I will look at any permission settings on my system that would prevent a collection.update.
Cheers

Thanks for the response.
I am just using the example code on the project. It can add items to the server via the meteor.call, it just seems to have problems with the collection.update not going to the server.
As you suggested I will look at any permission settings on my system that would prevent a collection.update.
Cheers

Hi @Wil-Ho,
Is it ok now ?


Laptop freezes when watching YouTube videos.

Hey guys, I'm wondering if anyone is experiencing such an issue. When I play a video on YouTube in safari, after a minute or two my laptop hangs and doesn't respond to anything, needs to be powered off using the button. It also freezes after a while if I pause the video. Started happening a couple days ago and is present on both 2.1.6 and 2.1.7. Running latest Monterey.

Check the GPU power settings in voltageshift, sounds like it may be related to that.

Deleted entire voltageshift folder, issue persists.

Appears to be a common issue in the latest batch of monterey updates, extensively usnig safari with too many tabs I was able to replicate this issue. Looking for a solution.
Meantime, I recommended everyone stay below 12.4


Black highlighting on text outside of window.

I am using the dracula colorscheme on vim on ubuntu. When I load an existing file any text that doesn't initially fit into the window will have a strange black highlight on any space without a character. I only have one colorscheme enabled and it definitely is an issue with this colorscheme. It is annoying as opposed to unusuable but would really appreciate a fix.
I've attached a screenshot of what this looks like.

This issue should be opened in the vim repository
https://github.com/dracula/vim


Created html and style

Created a table of Premier League table and a style sheet for table

created a bracket for the champions league. some touching up could be done

Thanks!


workitem UI: Edit WI (Task), recreates the task

From @burrsutter on June 6, 2017 14:59
https://screencast.com/t/b11xv8PGF
Editing the Description causes a new WI to be created
Copied from original issue: openshiftio/openshift.io#196

I have found that I can just click the "check mark" multiple times to create copies during the creation of a WI.

Edited the description and seems to duplicate the WI
https://screencast.com/t/Urw8Ai7e7lf


uiBreadcrumbs backspace + user not found

Chrome browser / windows 8.1 latest
In the pluncker demo, backspace key doesnt seem to work. And if i go to image and click the back button
I get in in the breadcrumb user not found.

Yeah I noticed this too. I'm pretty sure it's due to a change in the workings of the newer version of UI router. I ill-advisedly made use of an internal API ($state.$current as opposed to the public $state.current) for the functionality you describe.
I'm away on holiday for the next couple of weeks so I'll probably not get round to fixing this till I get back, but I do intend to bring it up to date with the latest ui-router version.

ok thanks  no problem just want to be sure it was not a problem on my side.

I've updated the repo to the latest version of ui-router (0.2.13). All the tests work still, so it looks all fine. I fixed the Plunker demo so that the "not found" error is fixed. Regarding backspace not working, I think this may be a problem caused by running it inside Plunker. In a production app where I use this directive, backspace works fine.

Thank you, using succesfully (including backspace) with  Angular 1.3.10 ui router 0.2.13.


Developers often use Pathname objects for paths

Strings are naive path names, and in Ruby we have an object specifically for path names called Pathname.

I think really we should be moving away from explicit type checking and towards duck typing.
Looking at how OpenURI handles this problem, it checks for the open() method (which is supported by Pathname and IO objects) and failing that it checks for to_str() (which is supported by strings and Pathname in ruby prior to 1.9).
This method is a bit of a mess, it should probably be checking for supported methods (like OpenURI does) rather than using rescue instead of conditionals and rescue statements for flow control.

I agree with @iainbeeston, I think it's the most flexible way and having rescue for control flow is really a code smell.

I'm going to close this for now. Feel free to open another PR

This is rather disappointing.
On Jan 8, 2016 2:50 AM, "Iain Beeston"<EMAIL_ADDRESS>wrote:

I'm going to close this for now. Feel free to open another PR
—
Reply to this email directly or view it on GitHub
https://github.com/ruby-json-schema/json-schema/pull/274#issuecomment-169962136
.

If you have time to make a new pull request that uses duck-typing rather than explicit type checking and we'll be more than happy to look at it


Checkbox Not appearing on iOS

Checkbox not appearing in iOS app, but working on android

Sorted, you should add the readme that you need to add Messier16Controls.InitAll(); to the AppDelegate.cs


add FailLogLevel helper to log only if test failed

What does this PR do?

Adds ebpftest.FailLogLevel to log lines at specified level ONLY if the test fails
Adds file+line and millisecond context information to ebpftest.LogLevel
Use ebpftest.FailLogLevel in TestEBPFPerfBufferLength because it is flaky

Motivation
Debugging flaky tests
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Towards a conflict free python build-system

I'm opening this issue to discuss about the problem of dependency conflicts errors in the python build system of nixpkgs.
The problem is specifically triggered when using lang2nix approaches where versions and sources of packages are generated from a lock file.
The issue
If the lock file introduces a custom version of any python package that is also used as a build tool by the nixpkgs own hooks, like, for example setuptools or packaging, this will likely trigger the following build error:
       > Found duplicated packages in closure for dependency 'packaging':
       > 	packaging 23.2 (/nix/store/l4l6p6x4hxirclz9n0nvgydb2xyl610j-python3.10-packaging-23.2/lib/python3.10/site-packages/packaging-23.2.dist-info)
       > 	packaging 23.2 (/nix/store/lrp3rjxmcb3m4kkkcirlsxqbbd6l963g-python3.10-packaging-23.2/lib/python3.10/site-packages/packaging-23.2.dist-info)

Why no override?
Now you probably wonder, why I don't just override the nixpkgs python fixpoint to ensure there is only one version of packaging. Well, some reasons are:

there is no guarantee, that the nixpkgs hooks will still work with the overridden dependency
it is easy to trigger hard to debug problems like infinite recursions when overriding the fixpoint in an automated fashion, due to aliasing issues etc.

When using lang2nix I just want to use the nixpkgs build system as a black box to build arbitrary externally defined packages. I am not interested in any of the nixpkgs python packages itself. Therefore it seems counter intuitive and smells like bad UX that I have to deal with the nixpkgs fix point in order to fix issues.
Optimally the build system itself would never introduce conflicts in the first place.
Are the conflicts real?
The weird thing is that in all cases where I ran into this issue, there haven't actually been any dependency conflicts in the build output.
The pythonCatchConflictsHook doesn't even scan $out for conflicts. Instead it scans$PYTHONPATH for conflicts. The issues here is that $PYTHNOPATH not only contains the installed dependencies but also build time only python dependencies and that's where the conflicts appear.
TL;DR; pythonCatchConflictsHookraises false positive errors in all my cases. There aren't actually any installed conflicts at runtime.
How to fix the issues?
So far I have been trying to fix these issues for individual hooks, like in https://github.com/NixOS/nixpkgs/pull/254547, but the issue gets re-introduced over time by new hooks added etc. I'd like to implement a more generic fix for this issue.
Ideas:

remove pythonCatchConflictsHook in general: Seems like a bad idea, because manually introduced conflicts by the user wouldn't be caught anymore
lift conflict detection up to eval time: Each python package could carry meta-data about it's build and runtime dependency versions, which is then compared with other packages at eval time. Sounds clean, but probably much more complex to implement
make the hook smarter: Improve the hook to do something that's smarter than scanning PYTHONPATH. Not sure exactly what that would look like. Maybe it can scan the build inputs somehow. Not sure how complex this would be due to input propagation.

I would like to fix this and am looking for some input.
cc @FRidh @mweinelt
reproducer

problem.nix
let
  pkgs = import (builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/nixos-unstable") {};
  py = pkgs.python3.pkgs;
  # a custom version of 'packaging'
  packaging = py.buildPythonPackage rec {
    pname = "packaging";
    version = "23.2";
    src = pkgs.fetchPypi {
      inherit pname version;
      hash = "sha256-BI+w6UBQNlGOqvSKVZU8dQwR4aG2jg3RqdYu0MCSz8U=";
    };
    pyproject = true;
    buildInputs = [
      py.flit-core
    ];
  };
  # another package that depends on the custom 'packaging'
  pyprojectToml = builtins.toFile "pyproject.toml" ''
    [project]
    name = "my-project"
    version = "1.0.0"
  '';
  # the source of the example project
  projectSource = pkgs.runCommand "my-project-source" {} ''
    mkdir -p $out/src
    cp ${pyprojectToml} $out/pyproject.toml
    touch $out/src/__init__.py
  '';
in
  # a python package that depends on a custom version of packaging
  py.buildPythonPackage {
    pname = "my-project";
    version = "1.0.0";
    src = projectSource;
    pyproject = true;
    buildInputs = [
      py.setuptools
    ];
    propagatedBuildInputs = [
      packaging
    ];
  }

---
Add a :+1: reaction to issues you find important.

Thanks for writing this issue!
I think medium term, a separation between build- and runtime dependencies as outlined in https://github.com/NixOS/nixpkgs/pull/271597 could help solving this.

The weird thing is that in all cases where I ran into this issue, there haven't actually been any dependency conflicts in the build output.

You might have checked, but just in case those were about setuptools specifically: python-catch-conflicts-hook.sh always adds @setuptools@/site-packages to PYTHONPATH before calling the catch_conflicts python script. So that one presumably counts, even though it doesn't need to be actual closure.
My guess why it adds setuptools at all, is that there's a "legacy" variant in  ../catch_conflicts/catch_conflicts_py2.py, that is used for python < 3.10 which uses pkg_resources from setuptools, instead of importlib which is in the stdlib since python 3.1. The oldest python we currently ship seems to be 3.8.

Thinking about it, it seems like doing some reference scanning on $out to detect conflicts could be a better solution. What would be a good way to implement that?

I think it should be good enough to scan $out/${python3.sitePackages} for the derivation at hand and the same for all of it's propagatedBuildInputs, instead of PYTHONPATH? Both should result in a comparable amount of paths to scan. I'll give it a try later on - as sooften with nix it might not be as easy after all. :sweat_smile:

I think this should be fixed as of https://github.com/NixOS/nixpkgs/pull/287957. If not, please re-open


unable to copy text from the issues tab

What happened?
I can't copy the Error from Isssues tab, It shows where error is happening, but I can't copy that error!

I
Steps to reproduce problem

Additional info
Browser
Browser:
Version:
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)?
Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:
[paste warnings or errors here]

Machine
Operating system:
Version:
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
// Paste code here.

DartPad's output
Did DartPad print anything to the console pane? If so, paste it below:
[paste console output here]

If you were running Flutter code, you can also paste an image of the
Flutter output directly into this bug report.

Came here to say the same thing.


Add image examples to field guide

Add examples for species and behaviors  in the field guide
Add text to describe examples

I believe we've done this but if not feel free to reopen and add to LabelStudio


Ug gui changes

fix #231
fix #208
fix #165

LGTM. Need to fix checkstyle tho.

Codecov Report

Merging #239 (b7ee342) into master (adb4125) will decrease coverage by 0.10%.
The diff coverage is 12.50%.

@@             Coverage Diff              @@
##             master     #239      +/-   ##
============================================
- Coverage     79.30%   79.19%   -0.11%
  Complexity     1003     1003
============================================
  Files           119      119
  Lines          3015     3019       +4
  Branches        408      410       +2
============================================
  Hits           2391     2391
- Misses          503      507       +4
  Partials        121      121

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/InterviewCard.java
0.00% <0.00%> (ø)

...in/java/seedu/address/model/position/Position.java
87.09% <100.00%> (ø)

Continue to review full report at Codecov.

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


SSD postprocessing layer

ACL version: 20.02.1
OS: Android 8.1
I am trying to implement SSD MobilenetV3 small downloaded from here [tensorflow model zoo] on ACL Graph APIs.
I managed to get all the layers working till last but one layer (before PostProcessing Layer). I have tried to implement post processing layer by 2 different methods available with Graph APIs. But I am struggling to get the correct results.

Using "DetectionPostProcessLayer":

    const int   max_detections            = 100;
    const int   max_classes_per_detection = 1;
    const float nms_score_threshold       = 0.30000001192092896f;
    const float nms_iou_threshold         = 0.2;//0.6000000238418579f;
    const int   num_classes               = 90;
    const float x_scale                   = 10.f;
    const float y_scale                   = 10.f;
    const float h_scale                   = 5.f;
    const float w_scale                   = 5.f;
    std::array<float, 4> scales = { y_scale, x_scale, w_scale, h_scale };

    out_final << DetectionPostProcessLayer(
                    std::move(out_conf),
                    DetectionPostProcessLayerInfo(max_detections, max_classes_per_detection, nms_score_threshold,
                        nms_iou_threshold, num_classes, scales, false, 100, true),
                        get_weights_accessor(data_path, "anchors_t.npy", DataLayout::NCHW)).set_name("DetectionPostProcess");

Using "DetectionOutputLayer":

    const int                          num_classes         = 91;
    const bool                         share_location      = true;
    const DetectionOutputLayerCodeType detection_type      = DetectionOutputLayerCodeType::CENTER_SIZE;
    const int                          keep_top_k          = 100;
    const float                        nms_threshold       = 0.6f;
    const int                          label_id_background = 0;
    const float                        conf_thrs           = 0.15f;
    const int                          top_k               = 100;

    detection_ouput << DetectionOutputLayer(std::move(out_conf), std::move(out_prior),
                                DetectionOutputLayerInfo(num_classes, share_location, detection_type, keep_top_k,
                                    nms_threshold, top_k, label_id_background, conf_thrs));

Both the methods are not giving correct results. I compared the output till last but one layer with Tensorflow output and it is matching. Probably I am doing something wrong.
Can you please help me to define the last layer of SSD MobilenetV3 Small network? Any hint/advise would be of very much help.
Thanks,
krgor

@morgolock , I have tried with ACL 20.08 and seeing the same issue as previous versions. As you have put v20.08 as milestone; is the mentioned issue fixed with ACL 20.08?
Can you please advise?
Thanks,
krgor

Hi @krgor
I've updated the tag to 20.11, we'll look into this in the next few days.

@morgolock, Is there any update on this issue? Is it covered in ACL 20.11?

@morgolock, Is there any update on this issue? Is it covered in ACL 20.11?

Hi @krgor
Please take a look at our example https://github.com/ARM-software/ComputeLibrary/blob/master/examples/graph_ssd_mobilenet.cpp#L680 to see how we configure the DetectionPostProcessLayer in SSD Mobilinet V1.
It's likely the configuration you shared above is not correct.
Hope this helps.

Hi @krgor
Please take a look at our example https://github.com/ARM-software/ComputeLibrary/blob/master/examples/graph_ssd_mobilenet.cpp#L680 to see how we configure the DetectionPostProcessLayer in SSD Mobilinet V1.
It's likely the configuration you shared above is not correct.
Hope this helps.

Hi @krgor

Could you please double check making the following changes:
const float nms_score_threshold       = 9.99999993922529e-9;
const float nms_iou_threshold         = 0.6000000238418579;

Hope this helps.

Hi @krgor

Could you please double check making the following changes:
const float nms_score_threshold       = 9.99999993922529e-9;
const float nms_iou_threshold         = 0.6000000238418579;

Hope this helps.

Thanks @morgolock . I will try this and get back to you.

Thanks @morgolock . I will try this and get back to you.

I have tried with mentioned values but it didn't help. Now it just works on all the boxes having confidence more than 9.99999993922529e-9 (very small number).
I have also tried playing with exact same values as "DetectionOutputLayer" of "https://github.com/ARM-software/ComputeLibrary/blob/master/examples/graph_ssd_mobilenet.cpp#L680"; but that also didn't help. Looks like some bug in calculation. Can you please point out the implementation of these layers? I will try to explore more on that.


Missing capability check causes crashes

Hi,
you need to check if the capability passed to the getCapability function is indeed the capability for the ItemHandler, otherwise you will cause crashes with anything requesting a capability other than an IItemHandler on your tiles. See https://github.com/blay09/RefinedRelocation2/issues/28 for example.
Relevant line of code that needs an if(capability == ...) check:
https://github.com/LogicTechCorp/NetherEx/blob/4f7bb06ba11d5fbaa017aa66b9d56a0dd81b89ee/src/main/java/nex/tileentity/TileEntityInventory.java#L91

This issue has been fixed in the latest version.


chore(master): release 1.1.7

:robot: I have created a release beep boop
1.1.7 (2022-03-06)
Styling

add labelMessage attribute to Form component (8c42790)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kailong321200875/vue-element-plus-admin/releases/tag/v1.1.7 :sunflower:


Function using array as Parameter

Hello,
I set up my OData service with a function declared as below:
WebApiConfig.cs

builder.EntitySet<Domain>("Domains");
builder.Function("ListDomains").ReturnsCollectionFromEntitySet<Domain>("Domains").CollectionParameter<string>("ListIdentifiers");

DomainsController

[HttpGet]
[ODataRoute("ListDomains(ListIdentifiers={listIdentifiers})")]
public IHttpActionResult ListDomains([FromODataUri] IEnumerable<string> listIdentifiers)
Implementation which return an IHttpActionResult with a collection of items "Domain"

I tried with a RESTClient (Google) using following GET request

http://hostname:port/ListDomains(ListIdentifiers=['identifier1','identifier2'])

and it works fine with a JSON response with a collection of Domain elements.
But when I try to do the request with Simple.OData.Client as described below

var result = await client.Unbound<Domain>().Function("ListDomains").Set(new { ListIdentifiers = new string[] { "identifier1","identifier2" } }).ExecuteAsEnumerableAsync();

it fails with the Exception

!BolLG!The type 'System.String[]' is not supported when converting to a URI literal. Ploc Pl!

I tried to Set directly the string array in the ".Set" clause -->".Set( new string[] { "identifier1","identifier2" })" and in this case the Exception is

Mismatch in number of parameters (really the exception is in Italian, I translated it so I think is something similar).

What's wrong? Does this mean that Arrays and Complex Object (I tried with them too obtaining the same Exception) are not supported by Client?
Thanks for the support.
Matteo.

Hi,
Can you send me your service metadata file to vagif.abilov at gmail.com? The whole file or just the definition of this function? I'd like to write a test for this case.

Can you please verify this with the version 4.25.0? It contains a possible fix for this problem.

Hi Mr. Vagif,
Actually I can't test the version 4.25.0 because I'm out of the office. I will check it as soon as possibile.
Anyhow I have just sent an email with the information requested in the previous answer.
Thanks for the support.

Hi, I can reproduce the same bug:
            Dictionary<string, object> subParameters = new Dictionary<string, object>();
<EMAIL_ADDRESS>new Guid("B5262003-769C-E711-80F8-C4346BAC4304"));
            Dictionary<string, object> parameters = new Dictionary<string, object>();
            parameters.Add("Target", subParameters);
            parameters.Add("FieldName", "new_rollup");
            client2.Unbound().Function("CalculateRollupField").Set(parameters).ExecuteAsEnumerableAsync().Wait();

throws:
System.AggregateException occurred
HResult=0x80131500
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at ConsoleApp1.Program.Main(String[] args) in C:\Users\macie\Desktop\ConsoleApp1\ConsoleApp1\Program.cs:line 82
Inner Exception 1:
ODataException: The type 'System.Collections.Generic.KeyValuePair`2[System.String,System.Object]' is not supported when converting to a URI literal.
Thanks for support!


Add testing!

Is your feature request related to a problem? Please describe.
Currently the project has no automated testing built in, though stability has been improving I would like to implement a full range of tests to ensure there are no regressions or unexpected behaviour with new commits.
Describe the solution you'd like
I want tests to be added as part of the Sylph 3 update, covering every feature of the project.
Ideally these tests will use one of the common testing frameworks and not be home grown. AVA is my personal preference but I'll explore other testing frameworks in advance.
Describe alternatives you've considered
AVA, Jest, Mocha
Additional context
Tests are more than just handy to ensure code doesn't break, they provide general stability, force you to evaluate the way the code is structured and how the logic flows.
Possibly more important than any of that, they allow people interested in using the platform to explore Sylph with confidence.

Decided Jest best for this case, will start updating core with tests and deploy prevention soon

A


Spyder submenus appear to be farther below menu in a second monitor

From<EMAIL_ADDRESS>on 2012-02-08T00:26:39Z
What steps will reproduce the problem?
1.Attach a second monitor to laptop (Dell Inspiron 1520)
2.open Spyder
3.click on the File menu and the submenus show up in a position farther from File. What is the expected output? What do you see instead? I expect to see the submenus appear just below the File menu.
Instead, I see they are farther down from File. What version of the product are you using? On what operating system? Spyder 2.1.6.
Fedora 16
Please provide any additional information below
. An interesting thing is the distance from submenu and menu increase as the window size is increased.
The same problem occurs with Oracle VirtualBox menus.
Is this a problem with Spyder or with the second monitor (Fedora is handling properly?)
Thanks.
I love Spyder. Thanks for the great work.
Attachment: Spyder_submenu_off_in_the_second_monitor_20120207.png
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=932

From<EMAIL_ADDRESS>on 2013-05-25T06:50:04Z
Hello, I got the same kind of bug report from a Debian user http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=709782 do you know if tis problem is qt4 or window manager related ?

From<EMAIL_ADDRESS>on 2013-05-25T07:53:10Z
Hi,
The problem is automatically fixed after I upgrade Fedora to 17. Thanks for
debugging.
Best,
YG

From<EMAIL_ADDRESS>on 2013-05-25T10:24:56Z
Yes it seems that this is a gnome problem, which version are you using ?

From<EMAIL_ADDRESS>on 2013-05-25T10:56:26Z
Hi,
I am using spyder-2.1.13-3.fc17.
More details:
"""
Spyder 2.1.13
Python code real-time analysis is powered by pyflakes 0.5.0 and other code
introspection features are powered by rope 0.9.4
Python 2.7.3 64bits, Qt 4.8.4, PyQt4 (API v1) 4.10.1 on Linux.
'"""
By the way, Spyder is great. Thanks to you guys' hard work.
I have one question or feature request:
In Spyder, Ctrl+Space will show the available variables for ease of
auto-completion. Do you know if there is a way Spyder can show available
variables as I type?
Best,
YG
Best,
Yonggang

This seems fixed already.. @ccordoba12?

I think. The reported Spyder version is quite old :-)


Calling translation with plural is returning an array

Hello,
The t function returned by getI18n should return a string instead of an array on server actions (or non-RSC)
eg:

"use server";

import { getI18n } from "#locales/server";

export async function hello(name: string) {
  const t = await getI18n();
  return {
    message: t("welcome", { name, })
  };
}

Because of the param 'name', value of 'message' is an array.
Is there a way to make getI18n take a parameter like "forceFlat" or something like that?
At the moment, I have to make a function to convert the result of t into a string because the typing tells me "string" but may return a list (probably a ReactNode).
Thanks!

t() always returns a string, unless a parameter is some kind of ReactNode. In this case, it will return a ReactNode because it has to somehow concatenate the translation string with the React elements given in the parameters.

I have to make a function to convert the result of t into a string because the typing tells me "string" but may return a list

You shouldn't need to do this based on my explanation above. I haven't tried to use next-international with Server Actions since it's experimental. Do you mean that it currently doesn't work?

I was curious and tried using the following code to return a translated message by giving a parameter from the client to the server action:

It seems to work as expected:

Oh sorry, my example was different from the one where I had the problem, I didn't test the one I shared because I thought it would mess up too.
Here's a case where the issue is present and is a behavior not necessarily related to "server actions" :
// locales/en.ts
export default {
  "time.minutes#one": "1 minute",
  "time.minutes#other": "{count} minutes",

  "please_wait": "Please wait {time}",
} as const;

// `page.tsx`
export default async function Page() {
  const t = await getI18n();

  // it returns "string" when it is an array (or a ReactNode) in the console
  const wrongType = t("please_wait", { time: t("time.minutes", { count: 5 }) });

  // it returns "string" which is correct
  const validType = t("please_wait", { time: "5 minutes" });
  console.log({ wrong: wrongType, valid: validType });

  return (
    <>
      {wrongType}
      {validType}
    </>
  );
}

Thanks for the precision. The issue doesn't seem to be caused by plurals, but by parameters that aren't string (in your case, 5 is a number):
https://github.com/QuiiBz/next-international/blob/040728a29fee89869e4cf9b2699f30a27e76741a/packages/next-international/src/common/create-t.ts#L78
This is technically a breaking change and will be included in the v1 release (see #126) which will be out soon.

Thank you for the reply!

I've just released 1.0.0-rc.3 that includes this fix, but I'll need to read the release note in the description of #126 if you want to upgrade.


core: Fire store setup

Get the initial config to make firestore accessible.
Main objectives are to make main compatible with .env files for the fire store config.
I need to make the documents and collections manually in the firebase console as well.

The CSV file provided to us for hcm is left to the developers to decide on how we want to process the data.

Will work on the happy path first with the firestore configs before parsing or checking on start up.

TODO:

[ ] create directory called 'firebase' with the file 'database.js'
[ ] database.js should store get the firebase config details from a .env file
[ ] Create the initial db documents and collections on firebase site as according to the ERD defined from https://github.com/advweb-grp1/advanced-web-final-year-project/issues/2#issuecomment-1469941542
[ ] Create a test document that has the key value {"Status": "Active"}
[ ] Create a test end point that displays the test document to verify that the db app can contact the db

There are larger implications how that I think about the .env file because I think that for this assignment, we need to make that available on the repo but I do not feel comfortable with putting API keys on a public GitHub repo.
Need to think of a way to have something like a .env.local file for dev and allow for .env to be pushed to the repo once the project is done.

Instead of a test document, would it be more sensible to have a "Setup" document that has values that tracks if the app has been setup?
I could still have the test key value but, I could also have a key value for "{hcm_data_uploaded:false}"? So, in the app, I check for that and if it is false, I find the csv and parse it to post onto the db. This would be better than a standalone script that is a throw away and it wouldn't be a throwaway end point that we would have open.

Need to think of a way to have something like a .env.local file for dev and allow for .env to be pushed to the repo once the project is done.

So the pushed .env file with just access variables from the .env.local file?

No. The .env file is one that is available publicly. .env.local file will just be for local development that is not pushed to GitHub. Reason for making the .env file public is because I think that Ismail wants the config files for firebase visible along with the account passwords ect for the adv-grp1 accounts so we need to make a .env file publicly visible.

We will use .env.local for now and make push .env file public at the end of the project.

.env to be pushed to the repo once the project is done.

Wouldn't want the firebase config settings to be pushed right now during development. Saves time with putting .env in .gitignore now and then taking it off at the end to push .env. Whereas I can put .env.local in .gitignore and not bother with messing with that file at all.

Noticed that there is already a branch for core/fire-base-setup. Need to check with @LiamSingh64 on if he wants to dev it since he already has two commits in there.

Taking back ownership of dev after clarifying Liams stance.

Vite has a way to manage env files https://vitejs.dev/guide/env-and-mode.html

Going to use csv-parser to parse the csv and fs to find the csv in the current directory.

Trying to do the parsing right now and I am getting this error when trying to use fs to read the file Cannot access "fs.existsSync" in client code.

Starting to learn that there is a difference between vite and nodejs. vite is the frontend development server which runs in the browser means that it is separate from the server side nodejs. This means that vite cannot have direct access to server files and cannot exit using process.exit(1).

Not sure if it is worthwhile to upload the hcm csv file


Make array assert_eq check dtype.

[x] Part of #2682
[x] Tests added / passed
[x] Passes black dask / flake8 dask / isort dask

@dask/maintenance I think this one is good to go, but I'd appreciate a second set of eyes.

This seems good to me.
It seems relatively straightforward, but there were two points where I wasn't completely sure & have commented on those lines above.


handling workflow_job_node not started yet

When a workflow is launched, some of the the workflow_job_nodes won't have their job started and accessing the job will fail. This will fix that and return nil

@jameswnl Do you need help moving this forward?  This PR technically blocks merging https://github.com/ManageIQ/manageiq-providers-ansible_tower/pull/103 because it can raise an error if the job does not exist when it is called here https://github.com/ManageIQ/manageiq-providers-ansible_tower/pull/103/files#diff-5d6544405f28c534f089db8ee5001058R81
cc @d-m-u

I think https://github.com/ansible/ansible_tower_client_ruby/commit/21c22ef3e62c663210a12633cd67d75fc3ed859a is a much cleaner approach.  @syncrou thoughts?

@bdunne - I do like the removal of the negative case on respond_to?(:job_id) Can you put a PR together with the changes?

@bdunne I'll just steal your line of code 😄

Ok, @jameswnl @syncrou I pushed that commit to this branch.

I opened https://github.com/ansible/ansible_tower_client_ruby/pull/116 instead

@jameswnl - Can we please close in favor of #116


Correction for raw affiliation UniLaSalle, ULR7519—Unité Transformations & Agro-Ressources, F-60026 Beauvais, France

Correction needed for raw affiliation UniLaSalle, ULR7519—Unité Transformations & Agro-Ressources, F-60026 Beauvais, France
raw_affiliation_name: UniLaSalle, ULR7519—Unité Transformations & Agro-Ressources, F-60026 Beauvais, France
new_rors:
previous_rors: 03q99v794
works_examples: W4402965319
contact: 03dff2174f9abf540eb1af8bd8c4ebd2:4f36494b09b86478cd993a37d3d8 @ univ-lille.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


MAINT: Deal with pytest 8.0

See https://github.com/pytest-dev/pytest/pull/10937#issuecomment-1619222493, TL;DR is that pytest.warns in 8.0 will re-emit any unmatched warnings. So in effect our options are, for every call where this happens (about 100 according to this run), do one or a combination of:

Chain multiple context managers to catch all warnings
Add an outer context manager just to swallow other warnings
Roll our own warns(...) variant with a reemit=False default

I don't like (3) because the more we specialize our code the more hard it becomes to work with and come from other packages. (2) is the easiest and probably most appropriate for some cases actually where we get multiple warnings -- like in this first test_misc.py we get multiple "event missing" warnings we don't care about and rather than catch a bunch of them, just make sure the one we care about does get emitted. (In the volume source estimate cases this could be dozens of warnings, so impractical there as well.) And (1) could be ideal in some cases.
So I think my plan is to do a combination of (1) and (2) based on judgment of the ~85 currently failing tests. It'll take some time but hopefully end up readable. Okay @drammock ?
Closes #12372

Self-merging, now that 8.0 is out we need this


--initial-branch= clone option

I saw in https://github.com/git-tfs/git-tfs/blob/master/doc/commands/clone.md this option:
--initial-branch=VALUE Passed to git-init (requires Git >= 2.28.0)
My git (git bash) --version: git version 2.37.1.windows.1
Running git tfs clone (latest version) which gives me clone help, does not list this option.  When I tried to use the option as
--initial-branch=main
when cloning a TFS repository-path called Main, rather than my getting a directory called Main, the directory was called "--initial-branch=main" :-(
And when going into it an running git status, I saw default branch was still called master.
Any idea if this is supposed to be supported?
Thanks,
Larry

The best for that is to search in PRs: #1405
So the goal is to be able to use another name than master in the git repository (because git is moving toward main as the default branch name but now let the user choose it's default branch name)

This works, but it is not yet included in a released version of git-tfs, meaning you have to build it yourself to get that feature.
@pmiossec Perhaps it is time for a new release?

Thanks the clarification!
On Wed, Oct 26, 2022, 9:12 PM Peter Baumann @.***>
wrote:

This works, but it is not yet included in a released version of git-tfs,
meaning you have to build it yourself to get that feature.
@pmiossec https://github.com/pmiossec Perhaps it is time for a new
release?
—
Reply to this email directly, view it on GitHub
https://github.com/git-tfs/git-tfs/issues/1440#issuecomment-1292419635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCRJLWOH6PECBIE5DZZSATWFFYCVANCNFSM6AAAAAARO32HTU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Feature Request: Ability to sign in with a username alias

Feature request
Is your feature request related to a problem? Please describe.
Hello together! 😊 First of all, thanks for creating and maintaining such an awesome product. I am using supabase for customer to build a backend document management platform. They want the login to have usernames (not email) and passwords. As far as I can see, this is currently not possible with Supabase Auth.
Describe the solution you'd like
A solution could be, that every supabase auth user also can have a username instead of an email. If it's set, and the user signs in with this alias, something like:
let { user, error } = await supabase.auth.signIn({
  username: 'someone',
  password: 'xxx'
})

it should also sign them in. I am generally not a fan of usernames, but in such cases where a username is really required from a customer, or when building like a social network platform, it would be absolutely great to have this ability.
Describe alternatives you've considered

In Firebase, there is the ability to a custom sign in-strategy, where you can use your own authentication system to authenticate with Firebase. I haven't found the ability in supabase. (https://firebase.google.com/docs/auth/web/custom-auth) So it's no alternative.

Hey @madebyfabian, we don't plan to support username-password sign-ins in gotrue. This is because it is not a secure option and there is no good way to recover the user's account if they forget their username (unless they have a verified email in which case they should just be using email-password logins).
If you want to include the customer's username as described in your usecase, you can opt to ask for it and add it in the raw_user_meta_data field in the users table. The signUp method allows you to pass in custom user metadata.

@kangmingtay Thanks for your answer! I understand the security aspect of it.
The usecase back then was basically having no public signup flow, so my customer would have created accounts for different customers of them so they can access the platform. But the didn't wanted to deal with asking for an email of every customer requesting an account. So maybe in the end this would be a usecase for password-only access ("this page is protected by a password...") and then I think it's out of scope of supabase auth.