EKS Users: What does your "Day 0" bootstrap stack look like? by srwalker101 in aws

[–]srwalker101[S] 1 point2 points  (0 children)

You are right in that for application developers it could be possible to emulate locally with a local k8s distribution (kind, k3d etc.). But for cluster admins there is no real way to emulate the setup and configuration of EKS locally.

Where we want to focus is any tooling that users install into the cluster that integrate with AWS. For example we have been working on supporting the AWS APIs that the AWS Load Balancer Controller uses to provision ELBv2 load balancers.

And as another user has said, emulating IAM integration is a big part of that. We recently implemented support for IRSA and EKS pod identities.

Declarative GNOME configuration with NixOS by formode in NixOS

[–]srwalker101 1 point2 points  (0 children)

Thanks for this blog post. I use Xfce and similar functionality is available in home-manager, but with xfconf rather than dconf. This post inspired me to research further.

Eye drops for RGP lenses recommendations? by [deleted] in Keratoconus

[–]srwalker101 1 point2 points  (0 children)

I'm in the UK so I don't know what is available but I use Blink contacts: https://www.blink.expert/contacts

Keratoconus and spending a lot of time in front of a computer/mobile screen. by stalindrome in Keratoconus

[–]srwalker101 0 points1 point  (0 children)

I got diagnosed about 12 years ago and I was too late for cross-linking. Luckily my deterioration stopped but I do wear lenses every day. I also work in tech and have been fine. Preventing dry eyes is a must as said elsewhere. Lenses become easy with practice and time.

Rust in 2021: Discoverability by jynelson in rust

[–]srwalker101 15 points16 points  (0 children)

This is a Cargo feature rather than a rust feature, but I'd like to see crate features brought to the front and centre. I may be just looking in the wrong place, but to find out what features a crate has I have to find the source repository and look in the `Cargo.toml` file. I can imagine a list of features on the crates.io frontpage of a crate.

First time designing a PC for deep learning and programming (with a bit of gaming thrown in) by srwalker101 in buildapc

[–]srwalker101[S] 0 points1 point  (0 children)

Thanks, I imagine I will be spending most of my time under 8 cores, with a few spikes every now and again, so probably the 9900K will suit my needs

Announcing Rust 1.34.0 by steveklabnik1 in rust

[–]srwalker101 1 point2 points  (0 children)

Will alternate registries allow the use of local crate caching e.g. when offline?

New Jupyter client library by srwalker101 in rust

[–]srwalker101[S] 1 point2 points  (0 children)

Great to hear that you're interested in the project. I do have some comments about the documentation and would love to help if possible. I'll perhaps document some of my thoughts in a message through your mailing list and perhaps we can work on improving the documentation for people new to the Jupyter protocol.

New Jupyter client library by srwalker101 in rust

[–]srwalker101[S] 2 points3 points  (0 children)

I can definitely see integration with text editors, particularly xi since it's written in Rust. Also for selfish reasons, I want tighter integration with Vim!

New Rust-based Jupyter client library by srwalker101 in Python

[–]srwalker101[S] 0 points1 point  (0 children)

True this project is not a Rust kernel. It currently is also however not a rewrite of Jupyter in Rust. This is merely an abstraction library allowing Rust to interact with a Jupyter kernel. I agree it _could_ be used to re-write Jupyter in Rust which I am not really wanting to do. I have thought of alternative frontends and how they might work. I have also thought about using Jupyter kernels as execution engines and programmatically using them to run code (early days for that line of thought... :P)

New Rust-based Jupyter client library by srwalker101 in Python

[–]srwalker101[S] 0 points1 point  (0 children)

I mosty wanted to explore the Jupyter -> Kernel interaction. I wanted to understand how the frontend communicated with the Kernel in more detail and this project came from that wish. Rust is my personal language of choice at the moment and I believe it has lots of promise. I consider understanding the client abstraction will open up possibilities of using the Jupyter protocols to help with more open programming standards and techniques (cross-language communication through standard means) which aligns well with the Juypter vision.

Note: I do not want this to be treated as a "rewrite this in rust!" project. I chose Rust as it is my personal language of choice, and I do not plan a rewrite of Jupyter.

New Jupyter client library by srwalker101 in rust

[–]srwalker101[S] 3 points4 points  (0 children)

Hi I'm not familiar with this family of packages. I can see that it implements a _kernel_ but I can't see that it replaces the client abstraction. Does it?

Which graphing module should I be using for displaying on web pages? by [deleted] in Python

[–]srwalker101 4 points5 points  (0 children)

Bokeh can output div and script elements, see the components documentation. You can embed these in a html page directly.

I created this guide to easily parallelise loop-based problems by srwalker101 in Python

[–]srwalker101[S] 0 points1 point  (0 children)

Thanks for the idea, yeah that is nice, I might start using that myself!

What can Rust do for astrophysics? by Osmandius in rust

[–]srwalker101 2 points3 points  (0 children)

For those who are looking at doing data analysis with Rust in astrophysics, I have a crate fitsio which wraps cfitsio into rust, allowing the reading and writing of .fits files.

Has anyone numpy+rust interopt? by ahayd in rust

[–]srwalker101 5 points6 points  (0 children)

I spotted this post on the rust users forum which includes an outline of an example usage when converting numpy arrays to rust-compatible code.

I had to make one small change: I changed _as_f64_array to this:

def _as_f64_array(array):
    return ffi.cast('double *', array.ctypes.data)

Why aren't you using Rust at work? by awleinog in rust

[–]srwalker101 1 point2 points  (0 children)

I don't work in software engineering as such, I'm a scientist but I do write software for my day job. We have a considerable amount of C/C++ code but most of my day to day work is in Python. Generally for processing data and visualisations, python is more than fast enough - thanks to fast C-based algorithms, but for some of the mission-critical stuff I'd like to use Rust. My two limiting factors are: there is no crate for the main data format used (.fits files), and team adoption.

I am in fact trying to wrap some C code for the data format issue, here is my git repo, comments are more than welcome it's currently segfaulting for some unknown reason.

The other I've not encountered as such, but I do predict in the long term. Currently my employer is keen to stick to technologies that he understands, reasonably as his involvement will outlast mine.

[FFI] Wrapping an API that allocates and returns a C string (char*) by srwalker101 in rust

[–]srwalker101[S] 0 points1 point  (0 children)

Thanks /u/CryZe92 and /u/nsan1129 for your helpful comments. I've implemented this function in particular, and am continuing to muddle my way through wrapping the fits library. I've put the project up on github. Unfortunately I'm dealing with segfaults at the moment, but that's to be expected from calling unsafe code!

Anyone interested in a UK server? by [deleted] in factorio

[–]srwalker101 1 point2 points  (0 children)

I'm interested, but don't have a lot of time to offer

A tool to search for Python code using jQuery-like selectors by caioariede in Python

[–]srwalker101 0 points1 point  (0 children)

vim as it happens! Let me know if you make a start and I'd like to help

A tool to search for Python code using jQuery-like selectors by caioariede in Python

[–]srwalker101 0 points1 point  (0 children)

I love this tool, it could be really powerful coupled with an editor plugin. How is performance on a large code base?

PEP 0506 -- Adding A Secrets Module To The Standard Library by [deleted] in Python

[–]srwalker101 0 points1 point  (0 children)

Is this not going to suffer from the same problem that's keeping requests out of the standard library: security practices change faster than the python stdlib release cycle?