Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rpep
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
rpep
4y ago
I think the DSL approach really comes from people liking the simplicity of setting things up. Jenkins allows you to write a job script in Groovy and bring in arbitrary functions, and it feels much more arduous to get something working than
62.
▲
by
rpep
4y ago
That’s common to all typed languages and is the motivation behind generics/templates which allow you to write once and provide specialisation where necessary. In older C and Fortran libraries it wasn’t unusual to have to compile a libr
63.
▲
by
rpep
4y ago
Generally for scientific libraries where this is common, the expectation is from many users that you'll make it available via Conda Forge/Spack/EasyBuild for easier distribution, and that anyone wanting anything else will eit
64.
▲
by
rpep
4y ago
I've been through the journey with compiling extensions to Python in lower languages (primarily C and C++) and it's really worth evaluating the benefit. In general, the control that it gives you over memory layout and chaining of
65.
▲
by
rpep
4y ago
I spent a lot of time looking at this at work, and it was not smooth sailing for a complex workflow. The main issue is that B2B supports it pretty well, but if you need to say, do something like add an extra attribute dynamically to the JWT
66.
▲
by
rpep
4y ago
Typical storage for a string string in C is just an array of “char” type data of some fixed length. The string is often shorter than the char buffer it’s stored in, so there needs to be some way of terminating it and for historical reasons&
67.
▲
by
rpep
4y ago
There’s a lot of variance between codes that run on a HPC system like this. You’d expect to see molecular dynamics, fluid dynamics, weather forecasting codes, density functional theory etc. etc., and the first two especially have a lot of v
68.
▲
by
rpep
4y ago
There are a few things I subscribe to, but they’re pretty few and far between now as I deliberately try and keep it to a minimum. For e.g. I use Google Photos and Gmail so I pay to upgrade my storage to 100gb, and I have a Spotify family su
69.
▲
by
rpep
4y ago
Countries in the EU switched from coal to gas mainly because it’s about 50% of the carbon emissions per kWh: https://www.forestresearch.gov.uk/tools-and-resources/fthr/b...
70.
▲
by
rpep
4y ago
I would say that the Sellafield plant has a huge amount of nuclear waste that the UK has to deal with from nuclear weapons development and early power station decommissioning, and that modern nuclear power stations do produce waste but at c
71.
▲
by
rpep
4y ago
Construction on Hinckley Point C didn’t start until 2017. Until that point it was going through political and legal challenges and planning.
72.
▲
by
rpep
4y ago
It’s questionable whether the price can stay as low as it currently is though. The three major manufacturers of wind turbines are basically operating at a loss on the turbines themselves. The price can’t go much lower.
73.
▲
by
rpep
4y ago
In the early 2010s, a lobbying campaign against new nuclear in the U.K. basically started, including people like the deputy prime minister [1] complaining that it was too slow and renewables would be faster and it wasn’t necessary. Fast fo
74.
▲
by
rpep
4y ago
I did similar, I asked it to compute the median on some filtered time series data, but as I added more requirements to the filtering it couldn’t seem to adapt the program.
75.
▲
by
rpep
4y ago
The version support for Boost is still so impressive. GCC 4.6.3 is still one of the test compilers and was released in 2012!
76.
▲
Why using Alpine Docker images and Python is probably bad for your project
(rpep.dev)
4 points
by
rpep
4y ago
|
0 comments
77.
▲
by
rpep
4y ago
> You want to signup for a digital service from the government, your bank, your insurance company,.. . Well you need to send in a copy of a bill and your passport. This isn't generally the case; for the most part, a UK resident just
78.
▲
by
rpep
4y ago
The account number/sort code combination alone is not usable by a fraudster to withdraw money in any way in the U.K., so perhaps this is where the disconnect is. You’d need to physically go to a branch and present the bank card and ent
79.
▲
by
rpep
4y ago
I really don’t think people in the US realise quite how far behind it is in banking services. In the U.K. we’ve had online banking for 20 years now, and telephone banking before that. With most banks you can send an amount up to £25k to an
80.
▲
by
rpep
4y ago
It's not that bad: jobs: unit-tests: runs-on: python:3.8.15-slim-buster - name: "Run tests" working-directory: ./bin run: unit-tests.sh
81.
▲
by
rpep
4y ago
I’m not sure the niggles here are platform things - they’re hard lessons that come from experience in using CI for the most part. Generally you want to aim for writing things in scripts that your CI system calls, so that they can be run loc
82.
▲
by
rpep
4y ago
I’m also trying to do this and haven’t got very far yet. The thing I’m trying to do is write things I would have liked to read myself, because it would have saved me time in my day to day work, or because it’s interesting to me.
83.
▲
by
rpep
4y ago
Have you tried out Spack? I used this quite a bit in academia to install the scientific sorts of libraries many Python packages depends on without needing to rely on the OS versions which were often out of date.
84.
▲
by
rpep
4y ago
I’m generally of the opinion that you either go all in for OS distributed Python packages, or you manage all versions yourself. When I first learnt Python about 10 years ago, I found it much more common to install things from package manage
85.
▲
by
rpep
4y ago
Predictive maintenance software for renewables assets is a fairly large area of growth.
86.
▲
by
rpep
4y ago
It’s trivial but not useful when good solutions already exist
87.
▲
by
rpep
4y ago
I'm a strong advocate (after migration between various cloud CI providers free tiers when I worked in academia) of making your build process as agnostic as possible to the CI provider. That generally means putting things into shell scr
88.
▲
by
rpep
4y ago
I think the big point of interest will come with Python 3.12 where it's proposed that as part of the faster CPython project, the GIL-per-process will be removed.
89.
▲
by
rpep
4y ago
My favourite resources for FEM were the book and courses that Hans Petter Langtangen (RIP) wrote at Simula. FEniCs made FEM so easy, it’s truly an excellent software project that is unfortunately not as well known as it should be within the
90.
▲
by
rpep
4y ago
I worked in C++ in the UK for a number of years and interviewed for a couple of positions like these. The main reason I didn't want to work for a financial company is that they insist on high number of working hours and being located i
More ›