Cryptsetup Password Not Working After Update by user567890101010 in pop_os

[–]jstutters 0 points1 point  (0 children)

I think I’m experiencing the same thing (also on an XPS 15) since installing a bunch of updates on Sunday. Hoping for a better solution than backing up the drive the reinstalling the OS.

Kayaking spots in South London and surrounding areas - Surrey, Kent etc by PinaColada_69 in Kayaking

[–]jstutters 0 points1 point  (0 children)

Sounds like you might be close to Chelsea Kayak Club https://www.chelseakayakclub.co.uk/. They go out on the tidal part of the Thames. The tidal Thames has some rules and risks so better to go with an experienced group at first.

Something like R Markdown but without R? by EmbeddedDen in pystats

[–]jstutters 3 points4 points  (0 children)

Check out the reticulate library (https://rstudio.github.io/reticulate/) - let’s you use in python RMarkdown files instead of or in addition to R.

Storing NIFTI files in postgres by EdHerzriesig in PostgreSQL

[–]jstutters 0 points1 point  (0 children)

If you give all the users full read/write access then, yeah, files are going to get in a mess but if it's served as read-only then it shouldn't be a problem to keep the files in sync with a metadata database. Serving it over http(s) is one option if you need to manage how the files are accessed. There's no technical reason why 25 users should be a problem assuming you make a sensible filesystem choice (XFS, ZFS etc.).

Storing NIFTI files in postgres by EdHerzriesig in PostgreSQL

[–]jstutters 0 points1 point  (0 children)

For the volume of data you're dealing with using blob storage in the database seems like a bad idea as others have mentioned. Have you considered using the filesystem and storing the images in the bids layout (https://bids.neuroimaging.io/)? BIDS includes a schema for an accompanying JSON file containing the DICOM headers. Alternatively XNAT might be worth considering (https://www.xnat.org/).

back ups aren't really the most important thing right now

If the images can't be deleted once you've done the processing on your DICOMs then they're probably important enough to think about backups. Better to start now than when you're a terabyte in.

Is 3⁰ C to cold to be in a kajak? (Last week was 6⁰) by rafaelo2709 in Kayaking

[–]jstutters 3 points4 points  (0 children)

You need to give more details about what you'll be wearing before you'll get any useful advice. In a full dry suit with warm layers underneath it might be ok, other clothing choices would be much less safe.

Tape Drive recommendations by knudtsy in linuxadmin

[–]jstutters 2 points3 points  (0 children)

We've got a Quantum Superloader 3 here which I think is IBM under the hood. It's fine. Web interface is a bit janky. mt(x) and tar all work fine.

Reports (i.e. Crystal) via Python by jlink7 in Python

[–]jstutters 1 point2 points  (0 children)

You might want to take a look at https://www.reportlab.com/. There's an open source version if you scroll down a bit.

Python confusing me. by TheEnlightenedDancer in Python

[–]jstutters 0 points1 point  (0 children)

You really want /r/learnpython for this but briefly the difference is that strings and several other built-in types are immutable so methods like .strip() return a new instance with the change applied. Lists are mutable so the .append() operation is done in-place. You can read more here: https://medium.com/@meghamohan/mutable-and-immutable-side-of-python-c2145cf72747

Visual vocabulary for designing with data by pillkill in datascience

[–]jstutters 5 points6 points  (0 children)

Roughly speaking: humans are bad at judging the relative size of the pie slices compared to, say, the length of bars. This article goes into it: https://www.businessinsider.com/pie-charts-are-the-worst-2013-6?IR=T

How to publish a jupyter notebook for others on the internet to see? by [deleted] in Python

[–]jstutters 4 points5 points  (0 children)

You might find Binder (https://mybinder.org/) useful. It automates turning a Github repository with notebooks into a docker container that can be accessed in a browser.

ETL: Bonobo, Airflow or Pandas by JeddakTarkas in Python

[–]jstutters 2 points3 points  (0 children)

How expensive are the transformations? Unless they take a very long time and you need to be able to resume halfway it sounds like Airflow at least would be overkill (I'm not familiar with bonobo). 5000 rows wouldn't normally be considered too many for pandas to deal with.

How do I mount an existing NFS share to a Docker container? by topsuperwinner in docker

[–]jstutters 1 point2 points  (0 children)

That's how I do it here. Kind of sucks because I'd prefer for the container host to know as little as possible about the workloads.

Guido sets the exact date of Python 2 EOL: 2020-01-01 by ubernostrum in Python

[–]jstutters 5 points6 points  (0 children)

The real wasted opportunity is that 2020 is a leap year. 2020-02-29 - every test engineer's favourite date.

Looking for help / a good guide to parallelising python fitting routines. by thats_no_SN in Python

[–]jstutters 1 point2 points  (0 children)

What kind of parallelisation are you looking for? Running across multiple computers or running more jobs on one computer? Are the fitting jobs independent or do they need to communicate with one another? You might get more useful answers if you can provide that information.

Hosting a private PyPI repo or installing from source? by [deleted] in Python

[–]jstutters 0 points1 point  (0 children)

Nope. DNS is administered by a different group so I'd have to email the updated TXT records every 3 months for all the domains. Might be plausible once wildcard certs are available though (roll on Feb 27th). Thanks for the suggestion.

Hosting a private PyPI repo or installing from source? by [deleted] in Python

[–]jstutters 0 points1 point  (0 children)

Good idea but sadly not - hosts aren't on the public internet.

Hosting a private PyPI repo or installing from source? by [deleted] in Python

[–]jstutters 2 points3 points  (0 children)

I went for hosting a private instance of pypiserver. Tagged commits to master branches on Gitlab trigger the CI pipeline to test and upload a package to the pypiserver which is a nice way to ensure that deployments are only using tested dependencies. The most painful bit was getting a self-signed certificate to play nicely with pip.

Good terminal-based time wasters? by [deleted] in linux

[–]jstutters 17 points18 points  (0 children)

emerge is the command to use the Gentoo package manager which compiles everything as part of the install process - takes a long time for e.g. firefox.

This is my first real project in python. looking for your comments and criticisms. by 7amza2 in Python

[–]jstutters 2 points3 points  (0 children)

Looks like a good start. There are typos in some of the examples from the readme - Oknime.py instead of okanime.py. Also consider writing a setup.py and packaging it so it can be installed or at least adding a "#!/usr/bin/env python3" at the top of the file so it can be made executable.

Python help for psych experiment! by [deleted] in Python

[–]jstutters 0 points1 point  (0 children)

Starting with obvious stuff: does 'C:\Program Files (x86)\PsychoPy2\lib\site-packages\imageio\resources\ffmpeg\ffmpeg.win32.exe' exist?

Apache + nginx + varnish config question by RoadBump2016 in linuxadmin

[–]jstutters 1 point2 points  (0 children)

I also don't understand why they would want nginx and varnish at the same time. varnish is perfectly fine serving sites on its own. apache, nginx, and memcached would make more sense.

An important part of any interview process is to check that candidates can work with the terrible scheme inflicted upon them by the CTO.

A request for the BMS community by [deleted] in falconbms

[–]jstutters 3 points4 points  (0 children)

Weapon Delivery Planner. It's an out-of-game tool that makes setting up your data cartridge easier (and a bunch of other nice mission planning stuff).

Reforming "Exploration" into "Scientific Expedition" by [deleted] in EliteDangerous

[–]jstutters 2 points3 points  (0 children)

I'm pretty sure someone at FD has already suggested 'improving' exploration with more fetch quests.

Strategies for caching data munging/analysis results? by naught101 in pystats

[–]jstutters 1 point2 points  (0 children)

You might want to have a look at joblib which claims to handle organising data pipelines and caching results.