HNHacker News
TopNewBestAskShowJobs

susi22

1,891 karma · joined March 17, 2013

Email: anonymousmd55 at gmail
submissionscomments
susi22··on GitLab Database Incident – Live Report
I was a Sysadmin for a university for a while. During those years I also messed up once. I learnt one thing: If you run a command that cannot be undone, you pause, take a few seconds and think. Is it the right directory? Is it the right server (yes this has happened to me too). Are those the right parameters? Can I simulate the command beforehand?

I introduced this double check for myself, and it has actually caught a few commands I was about to run.

susi22··on What’s up with Firefox?
In my few CLJS benchmarks that I did because I had to optimize something FF regularly beats Chrome by about a factor of 2.
susi22··on Material Components Preview
The demo is mostly here:

https://getmdl.io/

A complete new implementation has been underway since roughly the beginning of this year. They called it v2.0 of mdl and has been under heavy development. Some of their designs is pretty nice:

https://github.com/material-components/material-components-w...

With the linked announcement they just renamed the mdl project to "material-components-web", nothing more:

https://github.com/google/material-design-lite/issues/4984

https://github.com/material-components/material-components-w...

I just cloned their new repo and started the compiled demos. I see no difference in behavior/design of the new components compared to the old mdl but the architecture is much more modular and can easily be used in any JS framework.

susi22··on Ask HN: What was your best passive income in 2016?
GERMANS: Be aware! Don't buy any US ETFs when you pay taxes in Germany. There is pretty heavy penalty tax on ETFs. Depends on the difference of the price on the first day of trading of the year and on the last. If unlucky you can pay 50% tax on your gains. I did just this year pay 45% and I won't be getting it back. Read thru this first: https://www.justetf.com/de-en/news/etf/steuereinfach-in-etfs...
susi22··on Elm for the Front End, Right Now
In clojurescript we have RUM (another lib on top of react) where you can render your HMTL on the server (without using node, just on the JVM). It's also blazing fast and works very well.
susi22··on React 15.4
I just downloaded both and I get these numbers:

  (sizes react-both)
  => {:br11 [34761 "0.240"], :gz9 [41790 "0.288"]}
It actually got smaller from the 15.3 release.
susi22··on Google's “Director of Engineering” Hiring Test
That's incorrect. The /mathematical/ definition means that it's the upper bound. I.e. yes, the set of all functions of O(N) is a subset of the set of all functions O(N^2). So you could say Quicksort is O(N^100) and still be technically correct.

However, the big-O notation does NOT specify anything about worst/avg/best-case complexity of a given algorithm. That should still be defined in the analysis.

You mixed up those two slightly different concepts.

susi22··on How the Arab World Came Apart
Slightly off topic:

Clicking "Simplify Page" on the google chrome printing dialog makes this a fantastic formatted PDF. I'm impressed (be it Chrome's doing or NYT's).

susi22··on Traefik: Load Balancer for Microservices
Does it do zero copy? Go doesn't support it without a patch/hack.
susi22··on What's new in OpenResty for 2016 [pdf]
Here is the video:

https://www.youtube.com/watch?v=fUGXEkdiqmk

susi22··on Immutability is not enough
I've said this a few years back in some other thread but it's so fitting here I'll say it again:

In a few years down the road I hope that the JS folks take a very very close look at Rule engines. These kind of errors can be easily avoided with them.

There is actually folks in the Clojurescript world using clara-rules for Browser state/rendering and it apparently works very well for them. I really wish some bigger player would push in that direction.

susi22··on English Syntax Highlighting
In German (and other languages) you capitalize every noun. When I was younger I found it confusing that English didn't do that. It seems that this kind of syntax highlighting allows your brain to read text a little bit faster since it instantly knows that this will be a noun. It's also a little annoying if people write German and don't properly capitalize, your brain just doesn't expect the word to be noun if it's not capitalized.

* http://www.ruediger-weingarten.de/Texte/Capitalization.pdf (pg 4ff, last paragraph)

* https://mindmodeling.org/cogsci2013/papers/0462/paper0462.pd...

* http://linguistics.stackexchange.com/questions/699/does-capi...

susi22··on Nxweb – Fast and Lightweight Web Server
If CloudFlare can handle many thousands of sites [1] with nginx+lua then I'm not sure if it's worth it to go the C route.

[1] https://groups.google.com/d/msg/openresty-en/aoBL22H8fP4/bJ3...

susi22··on Nginx module by Google for rewriting web pages to reduce latency and bandwidth
How much do you think of this is nowadays obsolete (or let's say: Less important) with HTTP-2? I'm using pagespeed with Openresty.
susi22··on Please don't use Slack for FOSS projects
Linus Torvalds uses Google+ extensively to communicate.
susi22··on Definitely an OpenResty guide
Openresty is fantastic. On a static website I did last year I implemented some basic login with it and some Elasticsearch full text search. If you just need some very simple REST API and don't want to start with a full blown backend server you can just script some pretty powerful stuff with it.

Since a few weeks ago Openresty also has "..._by_lua_block" directives that allow you to just write some lua straight into the config without having to escape the lua code:

https://github.com/openresty/lua-nginx-module#synopsis

A more comprehensive guide: https://openresty.org/download/agentzh-nginx-tutorials-en.ht...

susi22··on Trying to speed up binary search
It's because the computation complexity increased:

http://cs.stackexchange.com/questions/29755/why-is-binary-se...

susi22··on An Interactive Guide to the Fourier Transform
One thing I found interesting:

You can view the FT as a method that fits exponentials. You can even generalize this idea and then you have the Prony method.

susi22··on Germans Have a Burning Need for More Garbage
Funny, just saw this article today in the local newspaper:

http://www.all-in.de/nachrichten/rundschau/Ofen-platzt-aus-a...

It says that they may reduce ("up to 10%") the garbage fee.

susi22··on We are slashing the C1 price by 70 percent
I didn't check if they do, but they should not charge VAT for customers located in the USA. Which means that the price will actually end up being $2.80 (as of right now 2.99/1.2 EUR to USD).
susi22··on Ask HN: Who is hiring? (September 2015)
You're a recruiter. It specifically states that you should be personally working for the company
susi22··on Show HN: Open-Source Anonymous Encrypted TLS+OTR Messaging Written in Go
I'm still waiting for the day that somebody does a "super simple chat" with NO dependencies. Why do they all need REDIS or some kind of persistence? Why not just hold it in memory?

If you really have a use case where persistence & scaling is an issue you're likely not going to use any of those chat servers anyways.

susi22··on How Shazam works
The keyword here is "Music Information Retrieval". If you're interested in knowing more there is a few high quality tutorials out there. Don't be afraid of "research looking" papers. They're often pretty accessible. For instance:

http://www.cs.uu.nl/groups/AA/multimedia/publications/pdf/is... (A SURVEY OF MUSIC INFORMATION RETRIEVAL SYSTEMS)

Or a longer PDF:

http://www.nowpublishers.com/article/Download/INR-002

susi22··on Clojure 1.7 is now available
If you mean the compilation fsync stuff: Yeah until 1.8
susi22··on Clojure 1.7 is now available
Again, that's not true. Transducers are about reducing things. That's why a transducer first needs a reducing function. But I won't go into details what trasnducers are. There is many good (and long) blog posts about it.
susi22··on Clojure 1.7 is now available
You're mixing up `seq` and `coll` here. Most of the stuff you said is not true.
susi22··on Where can I find examples of complete AngularJS apps?
Kibana is a pretty big one:

https://github.com/elastic/kibana

susi22··on The Trader Who Donates Half His Pay
This article has a few links but REALLY is lacking this one:

http://en.wikipedia.org/wiki/Giving_What_We_Can https://www.givingwhatwecan.org/

And interesting bunch of people where you pledge to donate X% of your pre-tax income to charity for life. The founder, Toby Ord capped his income to 18,000 British Pounds:

http://en.wikipedia.org/wiki/Toby_Ord

susi22··on Exploring the Tesla Model S CAN Bus
They definitely wouldn't put those on CAN bus, way too unreliable. That's what Flexray was invented for.
susi22··on The Log File Navigator
If you only want it for the colors (or maybe you dislike installing software from source):

Check out "ccze".

← PreviousPage 2 of 9Next →