HNHacker News
TopNewBestAskShowJobs

bsdz

754 karma · joined April 1, 2019

submissionscomments
bsdz··on Scientists may have the key to treating tinnitus: Retrain the brain
I had the most curious experience when reading this article, or I should say listening to the embedded media. I have had tinnitus for a long time. I was unable to hear the tinnitus sample in this article even if I put the volume up on my phone (through my phone's main speaker). My partner was surprised I couldn't hear it as they sat right next to me. If I put the phone right up to my ear I was able to hear a high pitched tone with the same pitch as my normal tinnitus. However, after listening to the lenire sample 2 or 3 times then I was able to hear that tinnitus sample. Although, soon after, the tinnitus sample seemed to fade away in volume again.
bsdz··on Advanced future military laser achieves UK first
> Firing it for 10 seconds is the cost equivalent of using a regular heater for just an hour. Therefore, it has the potential to be a long-term low-cost alternative to certain tasks missiles currently carry out. The cost of operating the laser is typically less than £10 per shot.

I wonder how much damage one shot could do. Sounds like a good price point at £10. Also curious what kind of batteries they have behind these things.

bsdz··on Show HN: Marimo – an open-source reactive notebook for Python
This is a great idea. I'd been planning to create something similar where cells are topologically ordered based on their dependency structure; although I was thinking perhaps to integrate with Jupyter more, eg use their existing kernel web sockets infrastructure. In my mind, one would be able to zoom out and see a graph view where hovering over a node would show its corresponding cell with content / output. Each node might be coloured according to execution status. That said, I'm not a UI expert and I never got around to it. So thanks for your efforts, I'll definitely give it a spin.
bsdz··on Inattentive Behavior in Boys with ADHD During Classroom Instruction [pdf]
I think research shows the most important genes are involved in producing dopamine. Two of the genes that have been found to be implicated most commonly are DAT1 and DRD4, although others are being discovered all the time.

This means that brain signals are not carried correctly, and the signals may be carried to the wrong part of the brain. This, in part, leads to the well known symptoms of ADHD afaik.

So memory definitely a secondary issue.

bsdz··on Booking.com users angry at firm's response to hacks
Apparently, from a related article, the hotels do have 2FA.

https://www.theguardian.com/money/2023/oct/23/bookingcom-cus...

bsdz··on Cython 3.0 Released
If you're happy to add some types you might also get some speed ups using mypyc. Another option might be to switch your dicts to pandas series; you might be iterating over several lookups in python and with pandas you might be able to switch those into functions written and compiled in C.
bsdz··on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython
It's worth highlighting that the GIL will still be available even when compiled with --disable-gil.

> The --disable-gil builds of CPython will still support optionally running with the GIL enabled at runtime (see PYTHONGIL Environment Variable and Py_mod_gil Slot).

bsdz··on Google Cloud Europe service disruption
I'm not sure if it's a separate issue but I've had trouble creating new VM instances in Google Cloud Console or listing GPU types using their CLI and I'm in europe-west-2. The ticket I was following originally got merged with the Paris flood ticket (by Google). It was working until midnight (London) last night but went down before 8am before recovering about 1h ago for me. Not sure why an outage at one regional data centre can affect services elsewhere in the zone. Perhaps it's when pooling together meta data from different data centers for listing options?
bsdz··on Pandas 2.0 and the Arrow revolution
Looks like they're recommending using ".to_numpy()" instead of ".values" in dev (2.*) docs:

https://pandas.pydata.org/docs/dev/reference/api/pandas.Data...

bsdz··on A Neural Compiler (1995)
Oh that's a shame. Even just skimming through the pdf's diagrams you'll get some interesting insights. Like their cellular code and how certain programs compile down to neural networks visually. There are diagrams for merge / bubble sort and even Fibonacci sequences.
bsdz··on Jupyterlab Desktop
For me, I find I need both JupyterLab and the VSCode Jupyter extension. The vscode extension is superior for step-by-step debugging especially with integrated REPL console. However, I notice running cells in vscode is several magnitudes slower than executing the same cells in a JupyterLab session. Also I use several JupyterLab extensions such as citation manager, mathjax 3, etc and custom kernels utilising docker/GPUs etc. I'm not sure how to use these in vscode and also I'm not a fan of vscode's use of Katex over mathjax 3.
bsdz··on The digital pound: A new form of money for households and businesses?
In the UK, there's the National Savings & Investment bank which is fully backed by the government. Any savings there aren't capped at 100k EUR (GBP equivalent) like other banks. This digital pound sounds a little bit like an extension of this imho.
bsdz··on The digital pound: A new form of money for households and businesses?
> Next, the bank starts applying negative interest rates when they need to "stimulate" asset prices and keep the stock market from crashing. No longer worried that people will pull cash out of their account to stuff under a mattress, your bank account starts dropping by 5% or 10% per year...

Can't they do this already by increasing money supply or QE? Central bank's can already create inflation which isn't dissimilar to negative interest rates.

bsdz··on Some insects I found inside dried Turkish figs from Trader Joe’s
I wouldn't refer to a Jain as vegan. Sure there's some overlap.
bsdz··on Coins Stolen from Wallet
For me, I'm happy for my money to be stored in a bank. The bank keeps multiple back-ups of their books and is heavily regulated by our national government. If someone attempts to steal from me or commits fraud there's some recourse by notifying the bank and potentially having those criminal/fraudulent transactions reversed. No electronic inertia (i.e via crypto blockchain) for my bank to approach another and reverse a transaction.

There are also several security features to extracting money from my account: there's an account number, name, physical access to debit card, ccv, account password, OTP, pin numbers. All of which are missing in the typical crypto ccy net.

Furthermore, banks are forced to record identity information from their customers making it difficult for a nefarious actor to conceal their identity.

One advantage for crypo ccy is potentially making anonymous transactions. I don't really have anything to hide in that regard. The mundane shop at the supermarket, ebay or even buying drinks at the pub.. nothing very revealing.

If your life savings are at risk from losing a secret key or simply by someone nicking your secret key then I'd call this a "bug".

bsdz··on Coins Stolen from Wallet
Indeed it is. I suspect the person asking for the reversal didn't understand the risks involved by participating in this (and similar) networks.
bsdz··on Coins Stolen from Wallet
Indeed it is how blockchain works within crypto currencies. I find it interesting that many participators (i.e. OP) don't understand how unsafe their coins are and this has to be explained as such by the commentator. Admittedly, perhaps not everyone finds interest in the same things as me.
bsdz··on Coins Stolen from Wallet
This is nothing new. Most are aware of the general issues with crypto currency security. Interesting comment from network code maintainer..

We maintain the blockchain, which facilitates the transactions, nothing more... If we had to revert your funds, we would have to convince the entire ecosystem to roll back the blockchain, to prior the block that moved your funds, and every transaction made since along with it... Not only that, it would then be a matter of fight between you and the thief of who got the first transaction out of your wallet...

bsdz··on Boring Python: Code quality
IIRC, Black also checks byte code before and after formatting to ensure source code functionality is unaffected.
bsdz··on Lab-Grown Meat Is Safe to Eat, FDA Says
In terms of veganism. Some will, some won't. It depends. Some vegans will be against any suffering and might consider the harvesting of cells from the progenitor animal. Others may be against this due to a lack of consent (from the animal). Others might consider the initial harvesting as harmless, e.g. the cells/DNA might have naturally shed. There's quite a spectrum of vegans out there.
bsdz··on Lab-Grown Meat Is Safe to Eat, FDA Says
I'm not sure I buy your argument. For example, pigs have an average lifespan of 15-20 years but in a farm setting are slaughtered at 6 months old. Also I suspect a pig is more adapted to its natural environment than living in a confined shelter (often less than a square metre). In fact, in the UK, less than 1 in 20 pigs are allowed to go outside - hardly a good life! This is just pigs.
bsdz··on Google Trends for Zig array, Nim array, dart array, rust array, Past 12 months
Jai looks interesting although it seems most information seems to be within several YouTube videos.
bsdz··on Google Trends for Zig array, Nim array, dart array, rust array, Past 12 months
That's better than adding my extraneous terms. How did you add the programming language filter? I've now also noticed there's a "programming" category which perhaps is similar but looks different to your link (https://trends.google.com/trends/explore?cat=31&q=nim,zig#TI...)
bsdz··on Google Trends for Zig array, Nim array, dart array, rust array, Past 12 months
Of course, if you delete the Rust and Dart terms you'll see there's still no trend winner between Zig or Nim.
bsdz··on Google Trends for Zig array, Nim array, dart array, rust array, Past 12 months
This was my very non-scientific way of trying to decide between Nim & Zig as a new systems language to experiment with. The plan was to choose the one trending the most.

I added Rust and Dart as established comparisons. I also added the keyword "array" to filter out and non programming language searches. I tried the alternative filter word "string" and obtained similar results.

Extending the time window to 5 years still didn't show either one to be trending over the other.

Curiously, I did try Stack Overflow's trend page but zig and nim tags were missing.

There's no obvious winner (IMHO).

bsdz··on Considering C99 for Curl
> I think there are still much better things to do and much more worthwhile efforts to spend our energy on that could actually improve the project and bring it forward.

> Like improving the test suite, increasing test coverage, making sure more code is exercised by the fuzzers.

I wonder if using a more recent version of C might draw in more developers willing to contribute (in a similar vein to Linux kernel introducing Rust).

bsdz··on Prevent DoS by large int-str conversions
I was more expecting '1111' / 4 = '1'. This would be the inverse operation. However, it opens up even more questions like what to do if your string has mixed values etc
bsdz··on The Jupyter+Git problem is now solved
I use this plugin for my jupyter notebook git integration. It has a git diff option that's useful but gets very slow for complex documents. Perhaps under the hood it's using one of the other tools mentioned in the postscript.

https://github.com/jupyterlab/jupyterlab-git

Edit: Looking at the source, it does appear to use nbdime under the hood.

bsdz··on Google refuses to reinstate account after man took medical images of son’s groin
Of course you can't compare apples with bananas - I'm not daft. I was simply looking for percentage similarity in controlling something (i.e. ~50% of world trade, ~50% of world internet search).

It amusing on how having a little fun with a comment on dystopian cyberpunk can ruffle so many feathers :-p

bsdz··on Google refuses to reinstate account after man took medical images of son’s groin
I can't quite see what you disagree about but yes all your other points are true - that's correct. Perhaps you missed the bit where I said I was squinting :-)
← PreviousPage 2 of 5Next →