Better HN
topnewbestaskshowjobs
Log inSign up

physicsguy

3,142 karma · joined Feb 12, 2018 (8y ago) · 1,452 submissions

Former Physicist. Now developer. Have worked in academia, scientific software development.
Submissions

comment 6y ago · link · parent

Sure, and I imagine the ARM ones will in time - but it moves the MBP further along the admittedly already in progress line of it not really being a Pro machine anymore.

comment 6y ago · link · parent

This sort of thing is the reasons I don't think the walled garden of the iOS App Store is anywhere near as much of a problem as people say it is on here.

comment 6y ago · link · parent

That's deliberate though, when you distribute software you choose the lowest common denominator in general, and that's SSE2 for 64 bit machines.

comment 6y ago · link · parent

Bit of a problem if you want to write iPhone or Mac apps though...

comment 6y ago · link · parent

Yes. It's just not ideal. It depends a lot on what you want to do. Plenty of developers work on remote boxes either by remote desktop or SSH. That is not very memory intensive.

On the other hand, if you want to make iPhone apps, you'd probably want more, as Xcode for e.g. is a resource hog.

comment 6y ago · link · parent

Every IDE I've ever tried is slow. That's literally it for me. I do use VS Code quite a bit for more complex refactorings, but I do use vim for quick edits to files + initial development.

Edit: should say, I also do a lot of work on remote Linux boxes, often supercomputers. Vim is the only thing I can guarantee is installed - Emacs often is not.

comment 6y ago · link · parent

Ding ding ding ding ding

In theory it can all work but in practice there's going to be issues.

comment 6y ago · link · parent

I think the reality is, plenty of scientists use Windows, and even among those who use Linux, many aren't that comfortable with it.

The issue is, most scientists who do software development are not used to the paradigms commonly used in Windows software development. Anything that's unfamiliar seems 'wrong' to them - and I know when I started doing dev on Windows, I felt like that too.

Just a few examples

* When making a dynamic library on Windows, you need to explicitly export the symbols you want to be visible. You can do this with GCC, but it's not the default.

* It's common to generate a .lib (import library) and a .dll for a dynamic library on Windows vs just a single .so on Linux.

* Using an IDE and MSVC projects for development is common on Windows, even with CMake support improving rapidly

* Lots of scientific packages just assume that they're running on Linux and have hard coded path names, and use tools in the setup scripts that aren't necessarily available on Windows. So Cygwin + MinGW can plug the gap sometimes, but for e.g. if you want to build a Python extension that can work via pip on Windows, that's not necessarily sufficient, because Python is usually built by MSVC and so a library you build via MinGW won't work because it's not ABI compatible.

None of these make Windows 'worse' - it's just different. And unless you know what the differences are, you do limit yourself to having a package that only works on one or the other. I used to think that knowing Linux was sufficient, but I've moved on to think that anyone calling themselves a scientific software developer should be able to (and be willing to) develop on both, even if that means pushing people to use WSL.

Also - I don't think most packages can just be taken and put on Windows CI like the author suggests. Just as a start - if it uses Make, autoconf, etc. then you're out of luck straight away and need to come up with something better.

comment 6y ago · link · parent

My MBP from 2013 has 8gb RAM and I considered that an essential upgrade at the time!

comment 6y ago · link · parent

Why are you repeatedly posting this?

That's three times in the last week.

comment 6y ago · link · parent

Syncing music still works fine on Macs/Windows. I'd actually go as far as to say that on Mac it's an improvement, becasue you just have a 'Music' app and a 'Podcast' app, and when you plug in an iPod you can see it in Finder.

comment 6y ago · link · parent

It's a real PITA isn't it.

One thing I will say - I like the way that you've done your migration. I'm very wary of using defined actions written by GitHub or otherwise, because it seems to me that it leads to vendor lock in for CI.

comment 6y ago · link · parent

https://www.youtube.com/watch?v=qHHOFIKlnu4

Danny Wallace the British comedian did a whole TV series about this idea

comment 6y ago · link · parent

This is something I found when looking at GitHub actions. I don't want to use tons of third party stuff and be vendor locked in. We already moved builds to build a Docker container when we used Travis for this exact reason before testing with CI.

comment 6y ago · link · parent

The biggest issue is that if you run the command 'docker pull X', it counts as a pull even if you already have the up-to-date image, and so it doesn't do a download.

comment 6y ago · link · parent

That likely requires more in depth regulatory approval than just updating the driver for things like medical devices.

comment 6y ago · link · parent

If you have commercial Qt license the support is pretty good. The source code is open source too, so you can go and look at what's going on if you need.

comment 6y ago · link · parent

Which implementation of BLAS/LAPACK? Because if it's the ref. implementation then it's not that impressive, the performance of that is very poor.

comment 6y ago · link · parent

Doesn't hurt that they're in the middle of Kensington does it...

comment 6y ago · link · parent

I used Tcl by virtue of a software package in the scientific domain I work in called OOMMF which is old but a stalwart and very reliable. I find it an odd language.

But the one thing that I think is very cool, is that it's very very simple to get a minimal Tcl interpreter (partcl) that can be embedded into a C/C++ application. It also still comes bundled in to Python for the Tkinter framework. You can even use it in Jupyter Notebooks now

comment 6y ago · link · parent

It's not even possible to install every python package (and it's dependencies) using pip, which is why Conda exists.

comment 6y ago · link · parent

It's overstated that that works everywhere though, it certainly doesn't in Python. That's why we've got pip, conda, virtualenv, pyenv, etc. for version and package manaegemnt.

comment 6y ago · link · parent

One project I'm involved in. We used a dependency which was Python 2 only. When they finally upgraded to Python 3, it was almost a complete rewrite and completely undocumented, and broke a ton of functionality we used. We didn't have the resource to fix the mess and aren't actively developing it, so we dumped it in a Docker container with the pinned versions, and use it as is.

Also worth saying that a lot of commercial C# applications that bundle a Python console are using Python 2.7, because IronPython doesn't go higher than that currently.

comment 6y ago · link · parent

It's a lot easier for some mobile companies to roll out 5G than 4G too. Vodafone in the UK were still rolling with point-to-point microwave connections between masts all over the place before 4G and had to ditch that to get the bandwidth needed to support it.

1375.

OS Data Hub to canvas: bring your favourite GB locations to life(ordnancesurvey.co.uk ↗)

2 points · by physicsguy · 6y ago · discuss

comment 6y ago · link · parent

True to some degree, but you can also end up with very old dependencies which have vulnerabilities if someone is not keeping track of it all.

comment 6y ago · link · parent

It hides all the songs you had in GPM behind another menu for a start.

comment 6y ago · link · parent

In the UK we have a really odd situation like this. British Telecom was privatised by the government in the 1980s, and since then, it's been split into two arms - BT, which is the consumer company, and OpenReach, which is the infrastructure company. OpenReach have to offer access to other providers, and so you can sign up to internet via their lines via Sky, TalkTalk, etc.

Simultaneously, in the late 1980s, various regional companies tried to set up cable TV and phone networks by laying their own cable, and eventually they consolidated into NTL, which was eventually rebranded. These have their own fibre cable network, but because it was privately funded and set up, there's no obligation for other companies to have access to it.

comment 6y ago · link · parent

+ then there's things around this like thermal engineer - design verification and simulations.

comment 6y ago · link · parent

My wife has a HP laptop from work that charges through USB-C. I have a Dell XPS from work that can charge by USB-C (because I have a dock for it which does that), but if I plug her charger in, it doesn't work. It's a mess.
1
4546474849