Better HN
topnewbestaskshowjobs
Log inSign up

DSpinellis

446 karma · joined Feb 17, 2010 (16y ago) · 120 submissions

See my home page at http://www.spinellis.gr
Submissions

comment 2w ago · link · parent

GDPR applies to persons and businesses. The fact that you're violating GDPR, because without your knowledge Apple has deployed software on your computer that compiles this knowledge graph makes Apple complicit. Imagine violating a speed limit, because your car's speed indicator has a software flaw that causes it to show a lower speed.

comment 2w ago · link · parent

My understanding is that collecting these data and constructing the knowledge graph violates the European General Data Protection Directive (GDPR). According to the GDPR, personal data (such as an email's sender name and email address) are provided for a specific purpose (in the case of sending an email, for identifying the sender and facilitating email replies). Similarly, a calendar invitation is provided to organize a meeting. Processing that data for a different purpose (as described here, for constructing a knowledge graph) without the subject's explicit consent is unlawful.

comment 1mo ago · link · parent

Same here. I used to hit back LLMs with refactoring ideas and prompts to use better APIs or reduce duplication / increase abstraction. Ever more they're doing such things without being asked.

comment 1mo ago · link · parent

We stopped learning how to calculate the square root with pencil and paper (I learned that; never used it).

comment 1mo ago · link · parent

There has been a dramatic shift in the role of agriculture in the US economy. As a share of it, in 1820 72% of workers were in agriculture, in 2017 this had shrunk to 1.6%. Tractors played a big role in this transition.

6.

Thinking Will Become a Hobby(spinellis.gr ↗)

5 points · by DSpinellis · 1mo ago · 1 comment

7.

Barings, Boeing, and Bots: The Promises and Perils of Delegation(spinellis.gr ↗)

2 points · by DSpinellis · 4mo ago · discuss

8.

Why agentic AI needs better experts(spinellis.gr ↗)

3 points · by DSpinellis · 4mo ago · discuss

comment 6mo ago · link · parent

Given that AI-generated code is not 100% perfect, we need to take into account the time and cost of reviewing when we discuss the productivity boost AI developers receive from code.

10.

Why reviewing AI-generated code is devilishly hard(spinellis.gr ↗)

3 points · by DSpinellis · 6mo ago · 2 comments

11.

Vibe coding toward the incident horizon(spinellis.gr ↗)

3 points · by DSpinellis · 8mo ago · 1 comment

12.

An initial analysis of the discovered Unix V4 tape(spinellis.gr ↗)

98 points · by DSpinellis · 11mo ago · 4 comments

comment 12mo ago · link · parent

I convinced a software company to use a version control system (RCS on shared disk) back in 1993. To make it work we had to setup a network — Ethernet over (thin) coaxial cable at the time. This was so new to us that we didn't know we needed to use terminators on the two cable ends.

comment 12mo ago · link · parent

Indeed! The repo includes some v4 elements: https://github.com/dspinellis/unix-history-repo/tree/Researc...

The provided kernel predates the actual edition by a few months. It is based on https://www.tuhs.org/Archive/Distributions/Research/Dennis_v..., which matches V4 more than V3.

comment 12mo ago · link · parent

I don't think the concept of a rebase existed before Bitbucker and Git.

comment 12mo ago · link · parent

30 years ago (1995) open source offerings: mostly CVS for large projects and RCS for smaller ones. On the proprietary side, the aged SCCS was available and used, while Perforce and Microsoft Visual Source Safe were being launched.

comment 12mo ago · link · parent

I published an updated extension of this post's linked article in Empirical Software Engineering. You can read it without a paywall at https://rdcu.be/b7FzE. You may also be interested to see the actual GitHub repository at https://github.com/dspinellis/unix-history-repo.

comment 1y ago · link · parent

That's the point: non-dependant tasks can run concurrently in Airflow. In sh/BAsh/dgsh dependant tasks can also run concurrently, as in tar cf - . | xz.

comment 1y ago · link · parent

A nicer syntax and a lower probability of deadlocks.

comment 1y ago · link · parent

And, more importantly, assign a name to a process, so that it can appear multiple times in the graph.

comment 1y ago · link · parent

Admiring your multi-tasking!

comment 1y ago · link · parent

I'm curious: what do you mean by "dgsh will use iteration under the hood too"? Dgsh does several things under the hood, but I wouldn't characterize any of them as iteration.

comment 1y ago · link · parent

Manually playing around with fds is definitely unmaintainable. My hope is that a clean syntax can help create maintainable complex pipelines.

comment 1y ago · link · parent

Thank you for the suggestion. This would mean that you'd also then create some mapping from each name (like git_log) to its implementation, right?

comment 1y ago · link · parent

Nice benchmark! This is a (not at all efficient) awk one-liner.

awk -F\; ' $2 > max[$1] { max[$1] = $2 } !($1 in min) || $2 < min[$1] { min[$1] = $2 } { sum[$1] += $2; count[$1]++} END { for (n in sum) printf("%s=%.1f/%.1f/%.1f, ", n, min[n], sum[n] / count[n], max[n])}'

Can't see how dgsh could be applied to it.

comment 1y ago · link · parent

I've found creating pipelines with Python to be messy and intuitive. Other than creating a DSL to express them I can't see how DAGs can be expressed naturally with Python's syntax.

Even creating tools in Python that can be connected together in a Unix shell pipeline isn't trivial. By default if a downstream program stops processing Python's output you get an unsightly broken pipe exception, so you need to execute signal.signal(signal.SIGPIPE, signal.SIG_DFL) to avoid this.

comment 1y ago · link · parent

I went through two iterations before adopting the current syntax. Truth is neither me nor Doug McIlroy, the inventor of Unix pipes, who kindly and generously provided feedback during dgsh's development, had something better to propose.

What syntax would you propose?

comment 1y ago · link · parent

Author of dgsh here. This is definitely not what I had in mind.

comment 1y ago · link · parent

Apache Airflow solves a very different problem. Its DAGs are static dependencies between sequentially executed processing steps, whereas the DAGs of dgsh express live direct data flows.

30.

Choosing Email over Messaging(spinellis.gr ↗)

1 points · by DSpinellis · 1y ago · 1 comment

1234