Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xioxox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
481.
▲
by
xioxox
12y ago
When you talk about what is the rate of a clock, say, near the surface of a black hole, it’s going to be quite different from the rate of a clock here on Earth. So there isn’t even a common time in the entire universe. Well, isn't th
482.
▲
by
xioxox
12y ago
It's things like the square brackets and triangular brackets, e.g. def naive_convolve(np.ndarray[DTYPE_t, ndim=2] f, np.ndarray[DTYPE_t, ndim=2] g) I know what this is for, but I have no idea how this is implemented - is it some sort o
483.
▲
by
xioxox
12y ago
When I've tried to use Cython I've not enjoyed it. I feel like I'm invoking a load of barely comprehensible copy and paste magic if I need to use numpy arrays. I imagine it would be possible to understand this stuff, but I ne
484.
▲
by
xioxox
12y ago
Text is great, but graphs and diagrams are often better for representing certain kinds of information or relationships. When I read a scientific paper, the figures are often what I look at first after the title, sometimes even before the ab
485.
▲
by
xioxox
12y ago
The saner way to implement this bash feature would be to have a single environment variable containing inherited shell functions. A special prefix is an alternative, but a bit harder to filter.
486.
▲
by
xioxox
12y ago
zfs can sort of grow by adding vdevs, as you say, however it's pretty wasteful due to the new parity drives It was much more efficient to expand the mdraid raid 6 and expand the btrfs onto that. The other backup server does use zfs (al
487.
▲
by
xioxox
12y ago
I've setup btrfs on software mdraid (raid 6) as a backup system (not the only backup!). You still get the checksums and snapshotting, but not the flexibility of the btrfs raid system. It has the advantage of being easy to grow, unlike
488.
▲
by
xioxox
12y ago
pdftk was removed from Fedora linux because of itext5 license issues ( https://lists.fedoraproject.org/pipermail/devel/2014-March/1... ).
489.
▲
by
xioxox
12y ago
Isn't that a normal orbit around a common centre of mass? As the objects have a similar size the centre of mass appears to wobble as it moves along. In the frame of the centre of mass, the objects would just go round in standard orbits
490.
▲
by
xioxox
12y ago
Sounds like the neural net tank story: https://neil.fraser.name/writing/tank/
491.
▲
by
xioxox
12y ago
Yes. Personally, I don't like the italic fonts. They remind of those vector fonts which came with Windows 3, which appeared to be drawn using lines. I think the v.15 italic looks better than the v.32 final version.
492.
▲
by
xioxox
12y ago
It's easy to make a USB device to randomly type dangerous things, open URLs and download, then start applications (anything you could do with a keystroke). That sort of thing is achievable with an Atmel chip wired to a USB plug. See h
493.
▲
by
xioxox
12y ago
Unfortunately I have to correct page proofs of papers back from scientific publishers using Adobe Reader. This is going to make things tricky unless I have a WIndows machine.
494.
▲
by
xioxox
12y ago
(/me waves back at jgraham) Absolutely right - ASTRO-H brings new capabilities - high spectral resolution in X-rays which we don't have now. It's pretty exciting. Beyond that, here in Europe, the European Space Agency has now
495.
▲
by
xioxox
12y ago
I've worked quite a bit on this object. The Perseus cluster is one of the most interesting galaxy clusters in the sky and is the X-ray brightest (and so well studied). There's star formation, bubbles of relativistic plasma bubbles
496.
▲
by
xioxox
12y ago
Interestingly, it picked up Welsh English for me, even though I only lived there for about 10 years when I was little. I only know a few Welsh words. I then moved across the border into England.
497.
▲
by
xioxox
12y ago
It's a shame if it has this architecture that you can't access a pipe in the same way as a socket using the traditional C API. There's a whole mess of handles, C files and the really nasty self-incompatible MSVCRT.
498.
▲
by
xioxox
12y ago
There is also numba, http://numba.pydata.org/ , which uses LLVM to compile annotated Python code, although this is more limited of course.
499.
▲
by
xioxox
12y ago
I'm not sure it's the single inheritance people from other languages might understand. Perhaps I'm misunderstanding things as I've hardly used the languages, but there are links like http://thenewphalls.wordpr
500.
▲
by
xioxox
12y ago
I'm no expert, but each user can create an xpra session, which they can connect to remotely by ssh. You just need to install it and provide ssh access. I don't know whether other options might work. x2go might be an alternative, w
501.
▲
by
xioxox
12y ago
I was interested in Julia until I discovered that it doesn't allow useful things like object-oriented inheritance (unless you go down some complex metaprogramming route). Multiple dispatch is indeed cool, but for some types of systems
502.
▲
by
xioxox
12y ago
Well, there is xpra, https://www.xpra.org/ which allows disconnection and reconnection of X apps. It's pretty good when you get it to work.
503.
▲
by
xioxox
12y ago
I was interested until I discovered Julia doesn't have a useful form of OOP inheritance. Ok, you don't always need it, but for some things it's indispensable (e.g. using widget/window systems).
504.
▲
by
xioxox
13y ago
I would never buy a new phone unless it has an SD slot or perhaps 64GB of storage. How useful is the cloud when you're literally above a cloud in a plane? That's mostly when I use my phone for music playback.
505.
▲
by
xioxox
13y ago
I'm not familiar with the bounds checks in rust, so that sounds a bit more reassuring. However, I could imagine logic errors if people assume they have a certain size, but they don't, as I assume you don't trap wrapping and s
506.
▲
by
xioxox
13y ago
I understand that there is probably a performance motivation for having int/uint having machine-dependent sizes. However, it seems to me that having different sizes on different platforms is a potential security hazard if the programme
507.
▲
The Call of Python 2.8
(blog.startifact.com)
6 points
by
xioxox
13y ago
|
0 comments
508.
▲
by
xioxox
13y ago
Unfortunately there's no way in knowing whether a Python 2 string (str, not unicode) originating from the module should be interpreted as a bytes string or text string. Python 2 doesn't have the clean separation between bytes and
509.
▲
by
xioxox
13y ago
Surely if the human body were a simple machine, as some people argue, then you would be running at a deficit? Any excess energy would have to be stored. In reality, however, the body can adjust to a range of energy input and allow you to ru
510.
▲
UCL open letter to Paul Dacre, Editor of the Daily Mail
(ucl.ac.uk)
6 points
by
xioxox
13y ago
|
2 comments
More ›