51 karma · joined Feb 5, 2016 (10y ago) · 49 submissions
comment 4mo ago · link · parent
This occupies the space between traditional spreadsheets (simple UI but limited to 2-d) python (multi-dimensional data, and python or tensors (multi-dimensional data, but coding required).
I feel that the current data input is a bit cumbersome. There's a lot to type to enter just one cell value, and multi-dimensional tables contain a lot of cells. A more succinct alternative for data entry could be something like python/numpy multi-dimensional tables: [[[a, b, c], [d, e, f]], [[g, h, i], [j, k, l]]].
Data entry from a view grid (to a 2-d slice of the 'cube') would be more familiar, like a spreadsheet.
A data import feature (from csv, etc) would be useful too.
'Cube' has 3d connotations: 'ngrid' or 'ndata' could be less confusing.
I didn't see any functions like sum or product (or most other spreadsheet functions) to operate on data slices. I'm guessing that this is still proof of concept at the moment.
I do hope this goes further.
comment 2y ago · link · parent
This! Simple schedulers generally only allow system calls (such as printf) from the main thread. If you really want to 'print' from a child thread then send a message to the main thread, asking that it prints the message contents on on behalf of the child thread.
comment 3y ago · link · parent
comment 3y ago · link · parent
> First, they let astronomers nail down the galaxy’s age. The infrared light JWST collects is reddened, or redshifted, meaning that as it traverses the cosmos, its wavelengths are stretched by the expansion of space. The extent of that redshift lets astronomers determine a galaxy’s distance, and therefore when it originally emitted its light.
Won't a photon climbing out of a huge gravity well have a huge redshift, thus confounding estimates of distance from us and estimated age?
comment 3y ago · link · parent
I couldn't see how to do this in Windows Firewall. Which OS/firewall/rule are you using?
comment 3y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
In the UK I believe that at least two qualified nurses are required on site at all times, plus carers sufficient to care for the needs of the residents. Assuming 8 hour shifts you will need to triple that number. Multiply by a further 7/5 to account for weekends. Multiply by a further 52/46 for holidays, sickness and training. Add some for receptionist, accountant, handy man, cook(s), cleaners, manager(s).
That is quite an overhead just for wages. Add to that any mortgage for the property, heating, rates, repairs, office equipment, etc, etc.
With rooms becoming vacant and requiring redecoration between residents, there will not be 100% occupancy. The cost to break even is substantial. Even commercial care homes go out of business quite regularly. I can understand why residential care is so expensive.
Having been a frequent visitor to care homes I know that many / most of the residents most certainly do not wish to be there, and want to be back in their own home. Almost all of the staff do a fantastic job, doing unpleasant tasks without complaint, and doing their utmost to create a friendly and inclusive atmosphere.
The existing care system is very expensive for users. A more informal arrangement with less bureaucracy providing care at home would be useful.
comment 4y ago · link · parent
Per-se, yes, agreed, but I was wondering whether the transmitter and receiver antenna couple into the surrounding screen differently. The degree of coupling may de-tune them differently. If so then the setup which most accurately represents the intended use would be with the receiver inside the screen.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
If done in software then a simple implementation of autocorrelation is O(n^2). An efficient implemementation is O(n.log(n)) (it uses two ffts).