Better HN
topnewbestaskshowjobs
Log inSign up

afshin

688 karma · joined Sep 1, 2009 (17y ago) · 132 submissions

Submissions

comment 3y ago · link · parent

Yes. Jupyter kernels all talk over zeromq channels, irrespective of the front-end user interface.

comment 3y ago · link · parent

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.

3.

Jupyter Notebook 7(blog.jupyter.org ↗)

220 points · by afshin · 3y ago · 114 comments

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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?"

comment 4y ago · link · parent

This idea has been formalized: https://www.simulation-argument.com/

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

> 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.

comment 6y ago · link · parent

mamba feels so much faster than conda, it is awesome.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Theia runs inside a web browser. VS Code doesn't.

comment 6y ago · link · parent

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-...

comment 6y ago · link · parent

Part of the calculus for the cost is losing the immediate utility of git blame once every file has been reformatted.

comment 6y ago · link · parent

I only recently switched to HTTPs. https://darian.af/

comment 6y ago · link · parent

HN has not entered its Eternal September quite yet.

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

comment 6y ago · link · parent

It isn't the same challenge because Apple doesn't sell Macs at a loss.

comment 6y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

In JupyterLab, under the `Settings` menu, there is a setting you can toggle (Autosave Documents) if you prefer to turn off this behavior.

comment 9y ago · link · parent

Gotcha. I think that the manual effort of that was what put me off managing passwords myself.

comment 9y ago · link · parent

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.

26.

Show HN: Sleuth v1.0 – a Go library for p2p autodiscovery for HTTP microservices(ursiform.github.io ↗)

3 points · by afshin · 10y ago · discuss

27.

Simple Go HTTP Service Auto-Discovery and RPC with Sleuth and ØMQ(darian.af ↗)

1 points · by afshin · 10y ago · discuss

comment 10y ago · link · parent

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...

29.

Show HN: sleuth, an autodiscovery and communication library for Go HTTP services(github.com ↗)

2 points · by afshin · 10y ago · 1 comment

comment 10y ago · link · parent

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.
12345