HNHacker News
TopNewBestAskShowJobs

mpcjanssen

52 karma · joined February 12, 2015

submissionscomments
mpcjanssen··on Go Browser Package
It seems to recompile every regex on every matching operation. This is really slow. The compiled regexes should be cached in the different matchers.
mpcjanssen··on How SSH port became 22 (2017)
Add the lowercase -r for recursive scp and you have two screens with man pages open.
mpcjanssen··on Compare Webb's Images to Hubble
Redshift is indeed a matter of speed. But due to the expansion of the universe, relative speed and distance are directly related (Hubble's law).

So farther away means faster relative speed and thus more redshifted (Doppler effect) Farther away also means older light (due to the finite speed of light).

Putting that all together means that to observe old light from the start of the universe we have to look in the IR spectrum.

mpcjanssen··on Many Small Queries Are Efficient in SQLite
In the article it describes the N+1 problem with an example of the fossil timeline. In a system using Postgres, you would select all the timeline entries and then generate one big query to get the details of all the timeline items in one sql request. With sqlite you can just iterate over the items and do the queries separately. This makes handling this scenario much simpler.
mpcjanssen··on Google Groups has banned comp.lang.tcl
The computer says no. Probably some automated Google process. Curious what voting to undo it will accomplish.
mpcjanssen··on Undefined behavior in C is a reading error
There are plenty of examples in this thread alone.

In my opinion hinting won't help. Everyone who cares about the performance gain will enable the hint (which I expect will be almost everyone) so you have won nothing but added noise with the hint.

mpcjanssen··on We Don’t Use Docker
Cmd-Up brings you to the parent folder.
mpcjanssen··on Ask HN: Google Drive/Office 365 alternatives
Gsheet is just a link to the online copy. It's useless as a backup.
mpcjanssen··on Do we really travel through time with the speed of light?
Faster than light in a medium. The last part matters. There is currently no reason to doubt relativity.
mpcjanssen··on Do we really travel through time with the speed of light?
There is indeed also a relation between momentum and (rest) energy describing the conservation of energy, In the rest frame this relation reduces to the famous E=mc^2.
mpcjanssen··on Advent of Code 2019
Because advent is a common term for the 4 weeks before Christmas even in non religious contexts. And that is how it's used in this non religious project.
mpcjanssen··on Storing 50M events per second in Elasticsearch
Or you could use the FTS extension of SQLite. https://sqlite.org/fts3.html
mpcjanssen··on Todo.txt: Future-proof task tracking in a file you control
I would be very interested to know what your additional wishes are. Could you raise some feature requests at github [1]?

[1]: https://github.com/mpcjanssen/simpletask-android

mpcjanssen··on Python Is Eating the World
You are describing static typing. There is a well defined difference between strongly typed and statically typed.
mpcjanssen··on The Pike Programming Language
The cli hello world exits with the main return value.
mpcjanssen··on Implement with Types, Not Your Brain
This could equally well be a function which takes a string and a seed and returns the hash.

The more concrete the type signatures become the less they become documenting.

A signature of a -> a defines the id function because the type is so generic. A function of String->String can do pretty much anything.

mpcjanssen··on Chicken Scheme 5.1
Not everyone uses semantic versioning. In chicken, point releases can deprecate or remove functionallity. See http://wiki.call-cc.org/development-process for details.
mpcjanssen··on Google relents slightly on blocking ad-blockers for enterprise Chrome users
"they have a 66% market share", in that world. A 100% market share is not needed to have monopoly power.
mpcjanssen··on Boeing CEO Dennis Muilenburg Addresses the Ethiopian Airlines Flight 302 Report
Not quite, without MCAS the flight behavior is quite predictable, it just doesn't match the existing type certification and it falls outside of the allowed parameters for this class of planes.
mpcjanssen··on Taskwarrior, where have you been all my life?
One big area where taskwarrior shines compared to solutions like todo.txt or org mode is synchronizing between devices using taskd. Although it is a bit involved to set-up, once it works, it works very well.

I am slowly trying to add task identities to Simpletask to get closer to this ideal (at the cost of 'ugly' meta data in the Todo file)

mpcjanssen··on Mermaid: Markdown-like generation of diagrams and flowcharts from text
It is supported by asciidoctor-diagram.
mpcjanssen··on Dropbox V1 API endpoints disabled today
Dropbox has not only deprecated their V1 API endpoints, they are now also disabled. This means that any application which has not been updated to the V2 API will now fail. Expect a lot of unsupported apps to break for no good reason.
mpcjanssen··on I'm thinking of going full code-hipster and learning Tcl
I just created a tool to walk a wsdl definition to create a single contained xsd file for distribution to users of the wsdl. With Tcl the tool was done in a couple of hours.

Edit: Also http://caiusproject.com/ looks very interesting.