Better HN
topnewbestaskshowjobs
Log inSign up

funcDropShadow

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

Submissions

comment 5y ago · link · parent

Seems, like a very interesting idea, but the readme states:

> Currently, the only supported architecture and compiler is x86_64 and GCC, respectively

Let's wait until its architecture-independence has arrived in practice.

comment 5y ago · link · parent

I wonder why people are so focused on intuitiveness, especially in the case of programming languages.

Some new thing is intuitive to a certain person, not everyone, if and only if that person has previously developed some intuition --- tacit experience --- that translates to that new thing. So intuitiveness is more a function of the previous experiences of a person than of a thing itself.

Whereas intuitiveness for an average member of the target population of a product is a useful quality of that product, it is by no means the most important quality of that product. Or else the most "intuitive" products should never introduce any changes, shouldn't they?

comment 5y ago · link · parent

Edge, for example, is a fork maintained by Microsoft. It is a strategic project for a multi-billion company. That is not comparable to a fork of your average open-source project.

comment 5y ago · link · parent

What is more convenient about Uber/Lyft than a traditional taxi? I use my smartphone to get a taxi, even without having to install a specific app or to create more accounts. It is an honest question; for context, I live in Europe in a place where the courts ruled Uber and Lyft are yet another taxi service and therefore should abide the same laws.

comment 5y ago · link · parent

Thanks for the explanation, and thanks.

comment 5y ago · link · parent

Interesting points. Because English is not my mother-tongue, I wasn't aware of perceived quality of that dictionary. I chose Merriam-Webster simply because it was the first hit in my online search. Which English dictionary do you consider better?

But, I still find it important to look at definitions that are actually used out there. Some scientific papers I've read just redefined everything to fit their purpose. There is a fine line between making it practically impossible to communicate ideas based on common understanding of terms, and allowing those terms to evolve. Anyway, I am convinced it is a bad idea to try to "feel" or "impulsively answer" the question is json or yaml code. To answer such a question every intelligent person should, IMHO, remember or lookup the relevant definitions and then try to find a conclusive argument why something answers the question. It might also be important to reflect on the quality of the used definitions. Sometimes, definitions should be changed. But changing a definition should always consider many different use-cases and perspectives, otherwise it becomes a single-use tool. And such a definition is not worth it.

comment 5y ago · link · parent

I know it is unpopular nowadays, but it really helps understanding between people if we stop redefining terms all the time. So, let's have a look at what a dictionary definition (taken from [1]) of code is:

    1. a systematic statement of a body of law
    2. a system of principles or rules moral code
    3. a. a system of signals or symbols for communication
       b. a system of symbols (such as letters or numbers) used to represent assigned and often secret meanings
       c. coded language : a word or phrase chosen in place of another word or phrase in order to communicate an attitude or meaning without stating it explicitly 
    4. genetic code
    5. instructions for a computer
Relevant to the discussion here are points 3 and 5. I would argue json, yaml, and xml, would be called code under points 3 as well as 5.

[1]: https://www.merriam-webster.com/dictionary/code

comment 5y ago · link · parent

The problem with turing-complete config languages, is not that it might take long to evaluate them. The problem is they are hard to modify by programs. A purely data-driven configuration, e.g. an ini-style config file, json, or xml is relatively easy to parse, transform and unparse again. Doing that with a config file written in a Turing-complete language is substantially harder, theoretically even impossible. But in practice most configuration are evaluated from a subset of all programs. A language like Dhall tries to formalize that subset and and thereby enables better processing of such programs.

comment 5y ago · link · parent

> Isn't the fact that people use Uber proof that they provide some value?

Yes, but that value might be, that some people feel better because they think they are doing something for the climate.

comment 5y ago · link · parent

The definition of an ideology is a school of thought that claims to have the answer for everything. What does that tell us about the microservices fan club?

comment 5y ago · link · parent

No.

comment 5y ago · link · parent

Am I right, that functional pipelines substantially decreases the possibilities of the query planner to consider different plans for execution? I am a long-term functional programmer and avid user of advanced PostgreSQL features. But I've always looked at this dichotomy the other way around. How to bring the capability to choose implementations dynamically based on actual statistics to functional programming?

Would you say that the reduced flexibility of the query planner --- if I am right about that --- is not important to the target use cases of Timescale? I guess typical timeseries data models are a well understood subset of all relational data models. Therefore the set of useful plans is smaller than usual, I guess.

comment 5y ago · link · parent

Yes, PostgreSQL seems always to be consistent and very well documented.

comment 5y ago · link · parent

Unfortunately, my colleagues and me had the displeasure to look at that distinction between timestamp and timestamptz in Postgres very deeply. All that is written above is correct from my understanding, but it is not the complete picture. Even in the case of a column of type `TIMESTAMP WITHOUT TIME ZONE`, the Postgresql JDBC driver may convert time to UTC if your session time zone is not UTC. I write "may" because it depends on whether the binary protocol or the text base protocol is used and that depends on whether prepared statements are actually used between the Postgres client library and the server.

We had the requirement to store dates and times coming it without changing them at all cost, but still using the space efficient epoch format. And we didn't know the time zone of the time when we had to store it.

comment 5y ago · link · parent

But the details may differ. If you can generate the synthetic fuel near the energy source, let's say a wind, farm you can shift the cost of transportation from one medium to another. That opens up possibilities to optimize on a network scale. In Germany, there is a pipeline network to transport and store natural gas to many many places. That transport is happening without trucks or ships driving around, I assume there are some pumps involved. But you don't have to move overhead mass.

comment 5y ago · link · parent

So, the argument to deploy a database (e.g. Postgres) via Kubernetes is, that that some of the problems doing so are now solved?

comment 5y ago · link · parent

The point is, that they usually plan one bathroom per floor, not per bedroom. The primary reasons for that are prices and available space. At the moment it is quite hard to buy land on which you can build a large house in Germany. It is not only expensive, but there is often almost nothing available.

comment 5y ago · link · parent

> I'm of the mindset where an organization needs to agree to specific principles that everyone adheres.

Agreed. But GP was talking about context dependency of those best practices. E.g. what might be a good best practice for a large organization inside a FAANG might be very bad for others. Some organization have very immediate feedback cycles. A significant problem in Amazon's online shop will probably show up immediately in sales numbers. A significant problem in the control software of a plane, might kill a few hundred people in a few years before people realize there is a problem. Therefore you cannot a/b test which auto pilot works better in a certain situation. (Although Tesla might disagree about that /s).

The point is every so called "best practice" should state under which precondition it is supposed to be applied. And most blog articles and books ignore that completely.

comment 5y ago · link · parent

> One of our product managers is a grandmother

> However, she has frequently had insights and observations that none of us would have come up with

> So yes, absolutely, unless your company wants to be in a very specific niche, the lack of true diversity in your company is a drag on your success.

The conclusion you are drawing here, does not follow from your two observations above. The fact that your product manager has had insights, that nobody else had in team, does not mean a "lack of true diversity in your company is a drag on your success." Some diversity may help in certain situations and in others not. The above mentioned insights and observations might just be the result of competence and more experience of the product manager or incompetence of the rest of the team. There may be many other reasons. We don't know. We have one observation and should refrain from generalizing. That this is because of more diversity is just a speculation. A speculation that fits an often repeated narrative, but that doesn't make it a logical conclusion.

comment 5y ago · link · parent

Of course, these groups are called personas in software engineering circles. I was answering to people who believe diversity will somehow fix all problems of this world. And they do not talk about personas. They talk about minorities, victims and races.

Before Apple or any other customer company describes personas, there is an explicit or implicit decision of which personas to consider and which not. But most consumer targeted companies hide which personas they consider and which not.

comment 5y ago · link · parent

But Facebook, like most social media platforms, is addictive, so it is not obvious that in the long term a reasonable usage of them will emerge.

comment 5y ago · link · parent

But what do you do when you realize you are neither the target sheep, ehh, customer, of iOS nor Android? But that is just the other side of the coin of what I wrote about the development teams. Sometimes, they just have to accept that diversity is not going to solve all problems.

comment 5y ago · link · parent

To exploit this you only have to infect one of the many dependencies off user installed app. It is not true that the attacker has to forge an identity in the App Store. It is enough to insert your code somewhere along the whole software supply chain. And that can be long, think about ReactNative apps using NPM dependencies.

comment 5y ago · link · parent

So, is this the lack of grandmas working at Apple in software development? This is nothing you can fix by following some diversity ideology. This is a question of respecting different requirements from different user groups. You cannot mirror every user group in the development teams. How do you represent people of old age, with illnesses, or certain disabilities in a development team? How do you represent people living at certain locations in the world in a development team? How do you represent poor people or people of low education? Or how do you represent people which live under oppressive regimes or are the continued victims of criminals?

All these groups have different needs and expectations to the products they buy or lease. And development teams and their business cannot expect to understand that by having a more diverse development team. They have to do better requirements engineering, they have to listen better to their customers and they have to decide and prioritize those needs and expectations. E.g. A/B testing has abysmal consequences for the needs and expectations of minorities.

comment 5y ago · link · parent

Sharing a CPU with no performance loss isn't possible either. The amount of CPU loss varies dramatically by the exact virtualisation stack used and by the application running on top of it, but it is very clearly observable.

comment 5y ago · link · parent

This should reflect in the title that it is about GitHub, not about git.

comment 5y ago · link · parent

That assumes that the word master has a root in slavery. It was certainly used during slavery in the Americas. But it is much older. And changing the label does not change the ingredients. The impression that the word master is strongly associated with slavery is a concept that exist in that form only in the USA. But nevertheless, activists continue to fight dictionary entries instead of the problem they claim to be fighting.

The fight over every day language is a tool of opresive regimes, e.g. Hitler used it, Stalin used it, the DDR used it. I miss evidence that this fight has ever yielded positive outcomes.

comment 5y ago · link · parent

The specific criticism, that even the original author accepted later, was, that the growth of the infections in Israel during the study where focused in cities with lower vaccination rates compared to the whole of Israel. I.e. the effectiveness of the vaccine was underestimated in the study. Additionally, you have to consider that Israel got the vaccine very early, i.e. more people had their shots a longer time ago.

Meanwhile, Biontech (the developer of the Pfizer vaccine) applied in Europe for approval to administer third shots 6 to 8 month after the second shot. It remains to be seen, whether the higher concentrated Moderna shots will need a third one a bit later.

One has to be very careful to properly separate a lot of different aspects for drawing general conclusions, regarding this pandemic.

comment 5y ago · link · parent

It is great that you can switch on any page in the documentation to the documentation of another release of PostgreSQL. That is extremely helpful if you are working with different versions.

comment 5y ago · link · parent

Adding a column can be instant on multi TiB tables, but that depends on the details. If is a non-null column with a non-stable default value, like the current time, it will require a full rewrite of all rows of the table.
1
222324
29