Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
blattimwind
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
242 ms
·
2461.
▲
by
blattimwind
9y ago
> Venezuela? But do they even have electricity for running servers? Venezuela isn't a third world country. Yes, they have electricity (and it is very cheap, hence a lot of BTC mining there).
2462.
▲
by
blattimwind
9y ago
Similarly, in CPython function-local variables are faster to access than class or module attributes (with the usual bunch of exceptions you always have in Python). This probably applies to similar languages (like Ruby) as well.
2463.
▲
by
blattimwind
9y ago
> Cython I wonder why everyone in this thread thinks that Cython works with CPython-incompatible implementations (like MicroPython or Zerynth)?
2464.
▲
by
blattimwind
9y ago
Python has a large performance disadvantage compared to C/C++. However, it is much faster to develop even by less skilled workers, thus quicker time to market and lower cost of development.
2465.
▲
by
blattimwind
9y ago
Cython is not an implementation of Python. Cython is a weird and difficult to use mix of C and Python, where most Pythonic constructs are translated to CPython API calls that are essentially the same API calls that the Python VM would do fo
2466.
▲
by
blattimwind
9y ago
> If you hold a multisig contract that was drained, please be patient. They will be creating another multisig for you that has the same settings as your old multisig but with the vulnerability removed and will return your funds to you th
2467.
▲
by
blattimwind
9y ago
TFA > The closest thing that I care about is the speed at which I can ^C a command when I’ve accidentally output too much to stdout, but as we’ll see when we look at actual measurements, a terminal’s ability to absorb a lot of input to s
2468.
▲
by
blattimwind
9y ago
GPU servers nowadays use proprietary form factors for GPUs anyway (like SXM2).
2469.
▲
by
blattimwind
9y ago
The Python REPL notoriously uses >>>/... like in the screenshot, ẃith the effect that e.g. IPython has a special paste-from-repl magic just to remove these.
2470.
▲
by
blattimwind
9y ago
That point of view seems rather uninformed, because industrial and residential pricing of electricity, gas etc. are virtually unrelated, and the former doesn't include new extra taxes for renewables in any country I know.
2471.
▲
by
blattimwind
9y ago
That's not what I wrote.
2472.
▲
by
blattimwind
9y ago
Sometimes I wonder whether actual optimization (as a craft, if you like) has been poisoned by scripting languages (Python etc.) and frameworks. For one thing they completely changed how the speed of computers is perceived, e.g. it is actua
2473.
▲
by
blattimwind
9y ago
Bloom filters don't seem useful as the primary means of deduplication for an actual data storage system to me. - False positives means marking data as duplicate when it's not. - Bloom filters are not associative. So unless the a
2474.
▲
by
blattimwind
9y ago
There is a funny mode on ARM processors (turned on in some images, by default) which causes unaligned reads to silently return bogus data (just increasing a kernel counter). PowerPC, and really, most non-x86 architectures, do this one way o
2475.
▲
by
blattimwind
9y ago
Kinda. Modern (newer than ~10 years) modern controllers are quite flexible, so you can pretty much populate any number of DIMMs in any slots (apart from wrong ordering, though this is not a IMC restriction, rather firmware, for stability).
2476.
▲
by
blattimwind
9y ago
Standard office computer here is a quad core (AMD APU), and it actually makes quite a bunch of stuff faster (e.g. conversion of scanned documents) compared to the previous-generation dual cores.
2477.
▲
by
blattimwind
9y ago
> Eventually you hit Amdahl's law: Some parts of the build (I'm looking at you, autoconf configure scripts) simply cannot be parallelized and they slow the whole system down. Linking a large C/C++ project can take some (a
2478.
▲
by
blattimwind
9y ago
That bug was acknowledged a while ago.
2479.
▲
by
blattimwind
9y ago
This is a HEDT processor that comes in the package of their server processors (up to four dice and eight memory channels, over 4000 pins total). These are large, because there's a lot in them ;) The desktop series has a more usual size
2480.
▲
by
blattimwind
9y ago
Operating systems were written in high(er) level languages a number of years before C, or UNIX, were invented.
2481.
▲
by
blattimwind
9y ago
These are "just" some free symbols (o, I, L) used with overloaded operators (!, |, --). The rest is pretty formatting with whitespace which isn't relevant to functionality.
2482.
▲
by
blattimwind
9y ago
> Hmm, I for one don't want to tie up ten cores with IO. What else are you going to use the two CPUs in a filer for?