Better HN
topnewbestaskshowjobs
Log inSign up

funcDropShadow

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

Submissions

comment 5y ago · link · parent

I assume you are referring to pgAdmin, which isn't even a part of PostgreSQL. I work usually with a well configured psql cli tool, or IntelliJ IDEAs database console. They even turned it into its own product. But conflating a database UI/console with the database is big misunderstanding. Nobody pays for Oracle DB because of SQL Developer. The strength of PostgreSQL is in the flexibility and maturity of the features of the database core and its extensibility. At least those are the reason, why I have recommended PostgreSQL in the past.

comment 5y ago · link · parent

And is thinking about building another one in Europe.

comment 5y ago · link · parent

Or we could use a different architecture for our applications that isn't so easily taken down. You know like locally installed apps, that can do something without the cloud overlord pushing new code with every pixel or character that is transmitted.

comment 5y ago · link · parent

Never ever listen to people claiming to have the right answers for every possible situation.

comment 5y ago · link · parent

Such a map could and should be used to inform the building of new houses and zones for houses in the long term. I am living just 100 km away from that area and the risk of flooding was one factor I considered when buying my current house. (Spoiler it is near the top of small hill with a slow rising slope)

comment 5y ago · link · parent

GPs logic in his post seems sound to me, he said "you get a probability" he didn't say you have to be 100% sure before you can draw any conclusion. I think it is important that we are precise in our language, because any impression can be exploited as a way to undermine the overwhelming evidence, that man-made climate change is real.

Btw, that was part of the my school curriculum in the 90s in Germany, so I can't fathom why there are still so many people in the USA who deny it.

What I am missing is the move to start mitigating climate change as well as trying to prevent its progress. City planning, infrastructure planning, home building has to change in order to prepare for more extreme waether conditions. Even app development should really start to consider whether an always connected cloud is really necessary. Almost, everything our societies rely on has to become more decentralized. Of course we can't simply go back to the state before centralization/globalization because it provided tremendous improvements in efficiency.

comment 5y ago · link · parent

This use of a church encoding to generalize over strict and lazy iterations of almost arbitrary data structures and streams has been constructed and described by Oleg Kiselyov [1] long before transducers and many Haskell implementations . This page is a treasure trove of computer science theory and their applications in functional programming.

[1]: http://okmij.org/ftp/tagless-final/course/Boehm-Berarducci.h... and http://okmij.org/ftp/Streams.html

comment 5y ago · link · parent

It is not necessarily a cost-saving measure, but it can be in some cases. In a project I was involved with, we came to the conclusion that we would pay AWS every three month the cost of the hardware that we would by ourselfs. I am aware that AWS includes hosting and services. Nevertheless that is a very big difference.

comment 5y ago · link · parent

Unless there is a leap second scheduled on short notice or you install the updated tz database rather late. For astronomical events or long term measurements (think CERN) there is astronomical time, which does not add leap seconds.

But if you want to have precise date time far in the future you must not use UTC based milliseconds representations unless you want to check for necessary database migrations every time the time zone definitions change.

comment 5y ago · link · parent

I wholeheartedly agree, that I spend to much time of my live with GNU autoconf and make. But docker is on completely other level. After spending years and years of working with and around docker and speaking with others that do the same, I came to the conclusion that I will recommend docker only for one use-case in the future: Making easy examples to startup a system in one line.

comment 5y ago · link · parent

Do you know anotherland than Iceland, which does not consist of such land if you look carefully enough?

comment 5y ago · link · parent

It is a fallacy to think it is enough to know how to research stuff. In order to ask helpful questions --- in order to think --- you need facts that you know already. Additionally, you have to train your brain, similar to a muscle in order to use it effectively. E.g. a novice in chess would represent some of the figure on the field in his head at one point in time. Every figure would fill one "slot" of his working memory, whereas a more advanced player might represent certain configurations of figures and their positions in one slot. Even more advanced players might hold trees of possible futures of the current field in one slot. In order to acquire that ability, you have to train your brain and fill it with some knowledge, be it personal experience or theoretical knowledge. Being allowed to Google during a Chess championship won't cut it.

comment 5y ago · link · parent

I'd say it shows the weakness of the teaching system, if you can pass by just memorizing. I guess standardized tests are to be blamed for that. In a decent foreign language class, treating it as a memorization excercize should let you fail. And in my experience it did.

comment 5y ago · link · parent

I did not attend a high school, because I went to school in Germany. But in Gymnasium, a rough equivalent to the American high school, we had two compulsory foreign languages. The first one was English, the second one was chosen by you. It was a rare exception that we focused on learning vocabulary. In my first ever English lesson, the teacher entered the room and said "Good morning, my name is Mr. Fleischer." in English. We were shocked, since neither of us did understand a single word. For the first month I wasn't even sure he could speak German at all. Until my graduation, everything, even administrative stuff, jokes, or complaints about homework had to be said in English in English class. It was similar in French class. That is far from "just memorizing lists of data that they forget a month later". Perhaps, the quality of teaching should be improved.

Btw, one of my English teachers, taught us also in Chemistry and did that in English for a year. That was 25 years ago.

comment 5y ago · link · parent

> Whether software is developed by a single entity or multiple developers has no relation to how complex the end user system will be.

The first part of this sentence is probably true, as far as I see, but the complexity of a system perceived by the user depends primarily on the "surface" of the system. That surface includes the UI, the documentation and important concepts you have to understand for effective usage of the system. And in that regard, ZFS wins hands down against LUKS + LVM + SnapRaid + your FS of choice. Some questions a user of that LVM stack has to answer, aren't even asked of a ZFS user. E.g. the question how to split the space between volumes or how to change the size of volumes.

comment 5y ago · link · parent

> The past wasn't a better place, it just was a place where you didn't talk about being abused, no matter what.

I guess that is true, but an interesting question is: Did the past prepare kids better to become responsible and capable adults?

comment 5y ago · link · parent

Because, sometimes it is said that fully homomorphic encryption means that you don't have to trust the server anymore. And as you pointed out, that is not true. You have to trust a server less.

comment 5y ago · link · parent

And WebKit was a more or less friendly fork of KHTML/Konqueror.

comment 5y ago · link · parent

Of course can good abstractions and tools help to make software possible that were practically impossible before. But there is also a tendency to add abstraction layers of questionable value. An Electron-based UI to copy a disk image to an usb stick comes to my mind, e.g. Certainly it is possible to create a GUI for a file to disk copy operation without two JavaScript engines, an html/css renderer, lot's of network code, etc. This is just a silly example, I know. But this happens all the time. That phenomenon isn't even new. Anybody, remember when the first end-user internet providers would all distribute their own software to dial in? In my experience, most problems with the internet access at that time could be fixed by getting rid of that software and entering the phone number and dial-in credentials in their corresponding Windows dialog windows.

comment 5y ago · link · parent

And they contain a compiler and almost an operating system ;-)

comment 5y ago · link · parent

German is my mother tongue and I live in Germany. I can confirm that my first association with MethOps was the drug and nothing related to methods. I assume this would be true for most Germans. Perhaps with the exception of older people, let's say retired ones.

comment 5y ago · link · parent

This short note seems to be based on the nowadays common misunderstanding that REST means doing RPC over HTTP with Json payloads. At least, according to the work that coined and defined the term REST -- REpresentational State Transfer --, it described an architectural style or pattern to overcome the inherent limitations of RPC. E.g. have a look at Chapter 6.5.2 of Roy Fielding, "Architectural Styles and the Design of Network-based Software Architectures" [1] to see that why it should not be an RPC mechanism:

  6.5.2 HTTP is not RPC

  People often mistakenly refer to HTTP as a remote procedure call (RPC) [23] mechanism simply 
  because it involves requests and responses. What distinguishes RPC from other forms of 
  network-based application communication is the notion of invoking a procedure on the remote machine,
  wherein the protocol identifies the procedure and passes it a fixed set of parameters, and then waits 
  for the answer to be supplied within a return message using the same interface. Remote method 
  invocation (RMI) is similar, except that the procedure is identified as an {object, method} tuple
  rather than a service procedure. Brokered RMI adds name service indirection and a few other tricks,
  but the interface is basically the same.

  What distinguishes HTTP from RPC isn't the syntax. It isn't even the different characteristics gained
  from using a stream as a parameter, though that helps to explain why existing RPC mechanisms were not
  usable for the Web. What makes HTTP significantly different from RPC is that the requests are directed
  to resources using a generic interface with standard semantics that can be interpreted by intermediaries 
  almost as well as by the machines that originate services. The result is an application that allows
  for layers of transformation and indirection that are independent of the information origin, which is
  very useful for an Internet-scale, multi-organization, anarchically scalable information system. RPC 
  mechanisms, in contrast, are defined in terms of language APIs, not network-based applications.
Nevertheless, many resources on the web use REST to denote a HTTP-based interface which only uses a modicum of the ideas of Representational State Transfer. But the above post goes even further from the original meaning by claiming:

  The thing with REST, is that at its core, it's basically a RPC (Remote Procedure Call) that we've been
  trying to cram in the HTTP protocol.
  
[1]: https://www.ics.uci.edu/~fielding/pubs/dissertation/evaluati...

comment 5y ago · link · parent

Whether dead-code elimination would remove whole functions depends on some basic assumption of the tool doing it --- usually a compiler. Some languages are considered closed worlds whereas others are usually considered as open worlds, e.g. Smalltalk, Java and Lisp. Under an open world assumption, everything that could be called by some code added later has to be retained. Some tools nevertheless apply a closed-world assumption to an "open world language" and take additionaly arguments what to consider entry points that should be retained. An example for such a tool is Proguard in the Java world.

comment 5y ago · link · parent

Even if reading about new topics is harder than watching videos about new topics, it says nothing about the relative efficiency of learning from text or video.

comment 5y ago · link · parent

Why?

comment 5y ago · link · parent

In the floss world that competition could come from more active social media presence, which is marketing - nothing else.

comment 5y ago · link · parent

Nix has been at the forefront of the reproducible build movement from the start. Large parts of nixpkgs build reproducible, due to the insane amount of isolation the builds are run in. Nevertheless, some build systems and compilers are still nondeterministic and therefore no package management system can make software builds reproducible with those tools.

comment 5y ago · link · parent

> ... that are focused on user privacy. ... Currently it only supports Chrome or Chromium

To me, that is an obvious contradiction.

comment 5y ago · link · parent

Perhaps it is just a symptom of most ad systems being fraud in general.

comment 5y ago · link · parent

You make valid points. I believe the contradiction here lies in the exact context. The individual shop employee might be "unable" to issue a refund, due to the policy set in place by the managers of the shop. The shop as a whole is certainly able to change the policy and provide refund (unless it is out of money, of course). The individual --- phrasing the message --- might be accurate. But the customer is not interested whether the person in front of him is able to issue the refund. He is usually interested in getting the refund from the shop as a whole.

Similar arguments apply to the Google store the person or more likely the software system that composed that email might be unable to reinstate the account, but Google most definitely is. But Google is merely unwilling to do so.

1
232425
29