Better HN
topnewbestaskshowjobs
Log inSign up

funcDropShadow

1,291 karma · joined Mar 27, 2019 (7y ago) · 868 submissions

Submissions

comment 4y ago · link · parent

At first, your color palette made a very good first impression to me.

> I’m claiming it is an improvement in terms of usability, simply because Solarised wasn’t designed with these properties in mind.

Are you sure about that? On [1] and [2] the creator of Solarized describes why he choose low contrast and specific hue differences, representable in CIELAB. That sounds rather similar to your first three points in [3].

Even if the approaches have some similarities, it does doesn't denigrate your work. Thanks for continuing this line of work. And I am looking forward to test Penumbra in comparison to Solarized.

[1]: https://ethanschoonover.com/solarized/#features

[2]: https://ethanschoonover.com/solarized/

[3]: https://github.com/nealmckee/penumbra#Features

comment 4y ago · link · parent

That is too simplified. At least the part about the right to delete the data. In my understanding it is not legal to keep all data because a user paid for a service. In German law you are required to keep the data for the invoice. But I am not a lawyer.

comment 4y ago · link · parent

How do you come to that conclusion? The field of politics has to find answers for many different question: e.g. fiscal conservatism vs. more debt-based spending, gay-marriage vs. no gay-marriage. Why do you consider it insane to agree with one party on one topic and with another party on another topic? Requiring full commitment to one true party line seems to be the insane position to me.

comment 4y ago · link · parent

> Because the definition of the word conservatism is "commitment to traditional values and ideas with opposition to change".

The word conservatism is a descendant from the latin root conservare which means to preserve. What should be preserved is not necessarily defined. And preserving the functioning of a society or the value of truth[1] is something everybody interested in a modern and essentially free livestyle should be interested in. Conservatism as a word does not imply opposition to every kind of change, but that is often claimed, as my the previous poster did. Although for some self-proclaimed conservatives, that is certainly true.

A progressive movement that is in favor of race-based, age-based, sex-based or ideology-based hiring instead of merit-based hiring is repeating some of the errors of early communist countries. And they too will learn, like so many generations before, that it is far simpler to destroy a society than to create a better one.

On the other hand to preserve the western achievements, the western societies have to change, e.g. because of the climate or because of growing dangers from the outside. And they have to change because younger generations want to change some things. That is nothing new. New, is only the magnitude of the loudness of the wish for change.

[1]: And the importance of truth and honesty is under attack from the political left as much as from the political right.

comment 4y ago · link · parent

Because Atlassian is the new Cisco

comment 4y ago · link · parent

Yes, but the solution of the original post does not need additional tools. I.e. it works in- and outside of emacs.

comment 4y ago · link · parent

And they can be generalized to work on any kind of trees instead of just lists.

comment 4y ago · link · parent

That is the best workaround for a software problem, I've ever heard.

comment 4y ago · link · parent

> If you only ever look at the front page of Reddit, you're going to be fed memes and outrage. If you go and subscribe to a few small, focused subreddits, you're going to see things that are relevant to you.

So it is still impossible to decide today that I want to see good reviews of some technology category, whereas I am usually interested in something completely different.

Google, and I assume Youtube as well, tries really hard to connect all my different accounts and identities on different devices, browsers. That closes the escape hatch that I could have one browser identity focused on topic A and another on topic B. All in all we have to be honest here. Youtube only interest is to serve us content that will make us watch more content. They have absolutely no incentive to show me content, that is relevant to me.

comment 4y ago · link · parent

Animal meat can also contain vitamin C. There isn't much in the muscles, but other organs contain more of it. When considering whether paleolithic humans could survive with small amounts of fruits and vegetables only, we have to consider that they probably ate almost all of the animals they hunted. I.e. including organs, skin, and other less appealing parts. Nowadays, we mostly eat muscles. Thereby, we don't get the same composition of nutrients from meat than we used to.

comment 4y ago · link · parent

> Contracts? how they're different or less verbose than plain asserts? what they do better?

The difference to asserts is that they express a property over to points in the execution of a program, whereas an assert only states a property of one point in the execution in the program. Practically, that means that you can refer to the state before some code in addition to the state after in the post-condition of that code.

comment 4y ago · link · parent

This list of wanted language features is quite interesting.

> A serious take on a contract-based language

As the article itself notes Clojure does support contracts in the language and with libraries. But there has been a ton of research about that, e.g. JML [1].

> A language with semantic relations

They can be expressed in contracts (e.g. Clojure) or with property-based test frameworks (e.g. Haskell, Clojure, and many others nowayday).

> Everything is a Graph

See graph rewriting, e.g. [2]. That was just my first google hit with the proper search term.

> A better calculator language

That idea looks to me like automatic transformation from offline to online algorithms [3]. I am not aware of any compilers being able to do that. But dataflow graphs can be used to design such systems. A list of such languages or libraries (e.g. for Clojure) can be found in this Stackoverflow article [4]

> A really dynamically-typed language

As some other answers here already mentioned modern static type systems are able to express, new types at runtime, e.g. with Scala's path dependent types. Again Clojure has an interesting entry here: clojure.spec [5], a runtime represented specification language, which can be used together with contracts or to formulate proeprty-based tests, or anything else you would like to do with it.

Btw, I've only toyed with Clojure so far and I used to be an avid proponent of Haskell/ML-style static type systems.

[1]: https://www.cs.ucf.edu/~leavens/JML/index.shtml

[2]: https://link.springer.com/chapter/10.1007/978-3-642-32211-2_...

[3]: https://en.wikipedia.org/wiki/Online_algorithm

[4]: https://stackoverflow.com/questions/461796/dataflow-programm...

[5]: https://clojure.org/guides/spec

comment 4y ago · link · parent

Or you could just use a lisp. Someone had to say it.

comment 4y ago · link · parent

I am not sure I would call NixOs a rolling release distribution. It has releases every 6 month like Ubuntu, but it does not have LTS releases. And due to the relatively small community only the latest release is supported. I am doing software development on a desktop workstation, that followed all releases since the start of 2018. And overall it has been rock solid. If an update, either a new release or a config change of mine, breaks something important, I reboot with the previous setup, and I can continue to work until I have time to investigate what is going on. I've used that perhaps 5 times since 2018. But when I used it, it was absolutely critical.

But expect a steep learning curve.

comment 4y ago · link · parent

Around 10 years ago there was quite a lot of fuzz about geothermal heating for newly built houses in southern Germany. That slowed down after some towns experienced movement below the settlement because formerly water-proof sediments had been breached. Ground water was able to move in places it could not move before and that lead to movement of the ground below the settlement. And most houses are not build to move around.

comment 4y ago · link · parent

Why not? Depending on the venue this is even the expected behavior. At a scientific conference I would expect all attending scientist with views that differ from the talk just given to speak up. That should be done politely and to the point and rambling on, but it is in my opinion not a bad style to argue against the speaker of a talk, it it is in the interest of deepening the common understanding of the topic.

A conference talk at which you are not allowed to voice criticism is not a scientific event, but a sermon.

comment 4y ago · link · parent

> All of them still need plugins.

No. Thunderbird has it built in. mu4e has it built in.

comment 4y ago · link · parent

But betting everything on one horse, company, or intervention is rarely a good strategy. I think Nicolas Nassim Taleb makes compelling arguments in his books, starting from the Black Swan.

comment 4y ago · link · parent

> The CO2 is the problem, not the temperature.

So all the experts who talk about the 2 degree celsius goal did set the goal on the wrong measure? Please be more convincing than just restating your previous hypothesis.

As far as I understand the situation, the increased average temperature is the problem. Not because every day would be exactly n degrees warmer/hotter, but because it leads to way more variance in the atmosphere, i.e. storms, hot and cold extreme wheather etc. The CO2 itself might also induce problems. But they do not dominate the situation.

comment 4y ago · link · parent

There is a plugin for Apple Mail called MailTags [1], which allows the recipient (and sender) to attach the tags he or she wants to attach to an email. Other MUAs (mail user agents, i.e. mail programs) have supported tagging for decades. Just look at Thunderbird, or some of the Emacs-based mail programs. I am sure there is a way to tag mails in mutt as well. And all that works without requiring coordination between sender and recipient. These tags are not part of the body of an Email and can therefore be used in specialised searches without risking accidental matches.

[1]: https://smallcubed.com/support/mt/manual

comment 4y ago · link · parent

That's really interesting. What happened to 8pen, the domain is not used anymore. Are there still some implementations around?

comment 4y ago · link · parent

Going that route has some promising aspects if you look at a larger picture. If you can get clean methan via hydrogen powered by solar, wind, or water you don't have to replace huge amounts of machinery right now. Replacing millions and millions of natural gas heaters all over Europe will also emit huge amounts CO₂ in the atmosphere. If we could continue to use them until their normal end of life with CO₂ neutral fuel, that could be a real benefit. And the life span of heating units is often measured in decades.

Your rant also neglected that storing electricity directly is hardly a solved problem at scale. Whereas transporting and storing methan has a huge existing infrastructure.

comment 4y ago · link · parent

Being able to join forces with more co-developers can be an incentive ... and a burden, to be honest. But for some it situations it could be an incentive.

comment 4y ago · link · parent

You say it is a problem with FOSS projects. Isn't it more a problem with hobby projects? Some FOSS projects are hobby projects others not. As show cased by the fact that Firefox itself is a FOSS project.

Timely maintenance is also problematic with hobby closed-source projects or hobby apps on closed platforms, like iOS and Android.

comment 4y ago · link · parent

> I can't comment on your own experience obviously, but I've been using mongo since 2011 in high throughput distributed systems and it's been mostly great (one of my current systems averages ~38 million docs per minute, operating currently at 5 9s of uptime).

> Definitely some pain points initially in the transition to WiredTiger, but that largely was a positive move for the stack as a whole. Durability fires have not plagued my experience thus far, not to say they won't in the future of course.

Good to read that some are actually using MongoDB to their benefit. Indeed I have encountered problems with durability in the wild. Nothing, that I would like to repeat. But as always for a specific use case the answer is: it depends. For a general advice with what to start a new project I would select PostgreSQL in 10 out of 10 cases, if a database server is actually required.

comment 4y ago · link · parent

> so older databases like PostgreSQL will be using B+trees for the indefinite future even if suboptimal.

PostgreSQL 14 comes with 6 builtin index types[1]: B-tree, Gist, SP-Gist, Gin, Brin, and Hash. More can be plugged in as extensions.

[1]: Chapters 63-69 of https://www.postgresql.org/docs/14/internals.html

Edited: Fixed the link to version 14.

comment 4y ago · link · parent

I don't understand why this comment is down voted. I've been part of a project that uses a dozen different PostgreSQL databases from different services, one of those databases is multi TB with an OLAP usage patterns. And it beats performance-wise all the previous attempts to solve that specific problem.

comment 4y ago · link · parent

What is the point of using MongoDB with multi-document ACID transactions? Enabling durability in MongoDB is usually costly enough that you can't find a performance benefit compared to Postgres. With JSONB support in PostgreSQL, I dare say, it can express anything that MongoDB can express with its data model and query language. That leaves scalability as the only possible advantage of MongoDB compared to PostgreSQL. And the scalability of MongoDB is rather restrictive, compared to e.g. Cassandra.

And I would never trust a database that has such a bad track record, regarding durability as MongoDB, although I admit that PostgreSQL had theoretical problems there as well in the past.

comment 4y ago · link · parent

Admittedly, my experience with MongoDB and Cassandra has gained some rust over the last decade, but what makes you say such nosql databases have expressive APIs? Compared to PostgreSQL they have miniscule query languages and it is very hard, if at all possible, to express constraints. And constraints, sometimes self-imposed sometimes not, are what makes projects successful, even startups. Many startups try to find this one little niche they can dominate. That is a self-imposed constraint. People tend to think freedom makes them creative, productive, and inventive, while in fact the opposite is the truth. With opposite of freedom I mean carefully selected constraints not oppression.

comment 4y ago · link · parent

In the case of SQL/NoSQL I think it is the other way around. In order to use a NoSQL database to its strength, you have to know all access path up front [1]. Because you are designing your table structure with all the queries in mind. In SQL on the other hand, you can always go for a normalized structure and you are pretty safe to be prepared for most requirements that are coming in the future.

Additionally, I think drafting a DDL schema is a great way to learn about a new application domain. It forces me to ask hard questions. And that improves my understanding of the domain. I guess that is similar to some people who like to prototype using Haskell type signatures.

[1] Unless you mean specifically a document store without schemas.

1
171819
29