HNHacker News
TopNewBestAskShowJobs

afshin

688 karma · joined September 1, 2009

submissionscomments
afshin··on Jupyter Notebook 7
Yes. Jupyter kernels all talk over zeromq channels, irrespective of the front-end user interface.
afshin··on Jupyter Notebook 7
There is a little bug icon in the toolbar of your open notebook in both user interfaces. The bug only appears if you have a kernel that supports debugging (e.g., ipykernel). So if you see the little bug on the right-hand side of the toolbar for your notebook, when you enable it, you should start seeing the variables in your memory state and you should have the ability to click in the gutter to add breakpoints.
afshin··on Upward Farms throws in towel ten years after founding vertical-farming business
A self-contained solar powered cargo-container-sized box that can create calories with minimal top-ups of material might make some marginal areas habitable.
afshin··on CIA black site detainee served as training prop to teach torture techniques
The answer to this is related to the answer of: "would you prefer to be in the lower class of Norwegian society or the lower class of nearby Belarussian society?"
afshin··on Simulation of a 2B-atom cell that metabolizes and grows like a living cell
This idea has been formalized: https://www.simulation-argument.com/
afshin··on Facebook harms its users because that’s where its profits are
You take two leaps here that don't follow:

OP proposed that advertising is psychologically manipulating people into believing their lives are incomplete and asked whether that is a harm. You conflated this manipulation with built-in desires; it is not that.

By analogy, it is as though OP argued that deliberately withholding food from prisoners to cause them distress from hunger is a harm and you are countering that OP may as well describe hunger itself as harmful.

> Most people don’t subscribe to the Buddhist point of view, though.

Buddhism does not consider desires an inherently harmful. Being captured by desires and constantly craving can be, but that's not the same as the mere existence of desires that can arise.

afshin··on Hungarian journalists and critics of Orbán were targeted with Pegasus
> The main defense against this situation is that it does not work to improve citizens lives. It only benefits a small part of society and it will make the rest suffer.

This pattern is attenuated when there's a reliable external source of energy. Hungary is not a closed system that will decay into entropy. It has regular funding from the EU which allows the disequilibrium to continue.

afshin··on Open Software Packaging for Science
mamba feels so much faster than conda, it is awesome.
afshin··on Bye, Amazon
Would publicizing such a donation help him or would you then want to know why he published the details of his donation?

Your question is one where both possible outcomes result in attacking the messenger instead of considering his message.

afshin··on Bye, Amazon
A basic income that truly covers the basic needs of modern life (food, shelter, electricity, running water, heat, healthcare, broadband, education, etc.) would give the lowest paid workers bargaining power.

A basic income that doesn't cover those things might instead just make it easier to pay workers even less.

Think of what some restaurants do when their employees get tips: they pay less than the legal minimum wage because they expect tips to "top off" worker earnings until they meet minimum wage requirements, so they explicitly pass that tip from customers into the business's revenue stream, skipping the intended tip recipient altogether. If we don't protect recipients of UBI, their employers can do the same thing.

afshin··on Theia: Cloud and Desktop IDE
Theia runs inside a web browser. VS Code doesn't.
afshin··on A Visual Debugger for Jupyter
There are a few efforts on this front. Here are two that I know of for JupyterLab:

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

https://github.com/elyra-ai/elyra#notebook-versioning-based-...

afshin··on Prettier 2.0 – Opinionated JavaScript formatter
Part of the calculus for the cost is losing the immediate utility of git blame once every file has been reformatted.
afshin··on Into the Personal-Website-Verse (2019)
I only recently switched to HTTPs. https://darian.af/
afshin··on A Sad Day for Rust
HN has not entered its Eternal September quite yet.

Perhaps you'll be better received in another forum, but this is unwelcome here.

afshin··on Chrome OS has stalled out
It isn't the same challenge because Apple doesn't sell Macs at a loss.
afshin··on The StingRay Is Why the 4th Amendment Was Written (2017)
Encryption does not fix this completely even if you assume all texts and voice calls are encrypted. The metadata is equally important:

- your location in time and space

- the numbers you contacted

- the duration of contact

afshin··on Terror management theory
I agree with you. The only universal thing that could be said of any conscious entity is that it is capable of experience. No other aspect of consciousness (e.g. fear of ceasing to exist) could be claimed to be a universal.
afshin··on Trump Accuses Google of Burying Conservative News in Search Results
The first ten inventors I see when I search for "US inventors" are:

Thomas Edison, Alexander Graham Bell, Samuel Morse, Eli Whitney, Nikola Tesla, George Washington Carver, Charles Goodyear, Lewis Howard Latimer, Henry Ford, George Eastman

... which does corroborate OP's "American inventors" hypothesis.

afshin··on JupyterLab is ready for users
If you have a notebook open in JupyterLab with a running kernel, you can go to the menu and open File > New > Console.

It will prompt you for what sort of kernel to use, including the ability to use any currently running session.

afshin··on JupyterLab is ready for users
The closest thing to what you're asking for is the first image in the post, which is a screenshot that has this caption:

> JupyterLab is an interactive development environment for working with notebooks, code, and data.

afshin··on JupyterLab is ready for users
In JupyterLab, under the `Settings` menu, there is a setting you can toggle (Autosave Documents) if you prefer to turn off this behavior.
afshin··on Ask HN: What is your password management solution?
Gotcha. I think that the manual effort of that was what put me off managing passwords myself.
afshin··on Ask HN: What is your password management solution?
One problem I had when using a similar technique is how to change passwords. Some services require regular password changes, security breaches require it, etc.

So I needed some additional piece of information, namely how many times I've had to change passwords, so a new function argument.

Eventually I gave up and started using a password manager.

afshin··on Show HN: sleuth, an autodiscovery and communication library for Go HTTP services
I wrote an introduction and tutorial post, but linking the actual repo is more appropriate for this audience. Here's the post about it as well: http://darian.af/post/master-less-peer-to-peer-micro-service...
afshin··on Saudi Arabia Warns of Economic Fallout If Congress Passes 9/11 Bill
When social and political phenomena are examined more closely, they need classification and designation. Disliking a new term for an old or previously unexamined phenomenon seems curmudgeonly.
afshin··on Tell HN: AngelList told my employer that I'd updated my profile
I quit using AngelList when a recruiter confirmed that he'd seen that my profile was actively browsing the site. The old adage about who is the customer and who is the product rang so true with AngelList. I hadn't realized that it was even possible to build a scammier version of LinkedIn until that point.
afshin··on If a thing is worth doing, it is worth doing badly
Prosecutors and defense attorneys also don't "do anything" except just "make comments". For that matter, neither do presidents or professors.
afshin··on Yoda Is Dead but Star Wars’ Dubious Lessons Live On
Star Trek, on the other hand, consistently presents an optimistic view of our capacity for civilization. I love science-fiction, even when it's dystopian. But why does so much of it have to be dystopian?
afshin··on You are not what you read: librarians purge user data to protect privacy
The ethics of data retention haven't been fully fleshed out, but it seems pretty obvious that the industry has to start deleting data at some point because user that lives forever is guaranteed to one day be compromised or exploited.

It also seems obvious that voluntarily deleting data is unlikely because data is an asset. Regulation seems unlikely to be forthcoming because governments want their own access to corporate data to persist.

What's not obvious is how to approach the issue.

Page 1 of 5Next →