HN user

anh79

20 karma
Posts9
Comments38
View on HN

When I prepared my master thesis some years ago, I needed to extract parts of the main materials to build another small book that contained only the main ideas, theorems and proof highlights. \LaTeX and it's programming interface really helped as I could define a new environment for example

\begin{shipboth} contents for both thesis and the small book \end{shipboth}

This is an example of making things DRY. How can I do the same with Markdown (and their tools)?

(Well I rarely use \LaTex today; my R\'esum\'e was typeset in \LaTeX and it helped me to get a good job but when it has so many things I just write them in a .odt file)

It's even hard on Linux machine. How do you know all whois servers for different top level domains? for .info, for .social, for .in, bla bla. In 2016 it's so painful to set up correct whois monitoring at my company . (May be it's a lot better now.)

Can you give some example? I have tried some registrars and if you don't provide some NS information, the default NS information is used.

I have a tool in the past https://gist.github.com/icy/b30893cecc8ec657317ba93831b0fd4a... it works fine as I experience. The tool has option `--all` to check by using both google/open dns. E.g,

  $ whoisvn google-is-good.com --all
      opendns.org:   google-is-good.com   available
        googledns:   google-is-good.com   available
  
  $ whoisvn google-is-bad.com --all
      opendns.org:    google-is-bad.com   available
        googledns:    google-is-bad.com   available

hi Kalmar,

Is it possible to query information directly from a state file? Some interpolation would help. I ask this because I often refer to resource information from another project, and I don't see that modules are helpful.

I posted my work-around here [1] some days ago . The real code was not there because I haven't had permission for my company, but it's very short and easy to write by anyone.

Thanks for your reading.

[1] https://github.com/icy/oops/blob/master/terraform/problem_1_...

Wordpress ecosystem has many security issues. So upgrading doesn't mean it's secure. So I run my wordpress on laptop, compile all things to static contents thanks to httrack , and publish those static contents. No more nightmare, and the speed is amazing.

Of course, there is no more comments and dynamic contents. But I don't care ;)

The perfect thing of Wordpress is that it really helps to upgrade from (very) older version to the new one.

Yah, some months ago I upgraded a wordpress 2.3.3 (released in 2008, http://codex.wordpress.org/Version_2.3.3) to version 4.1 :) I only needed to fix some minor problems!

I will wait 5 years from now to see if I can move from this 4.1 to another one. Sorry Wordpress 4.3 ;)

Stronger Shell 11 years ago

(Talking about interactive "fish" shell; but that's the point: I need to be familiar with its interative mode first.)

Stronger Shell 11 years ago

I agree. But "fish" is quite strange to me, especially its way to recall history. In "Bash", I can type "^ R" and browser the history very fast. In "fish", I have to type and select with up/down array; it's not easy to browser the history randomly (FIXME).

My #Bash" history has > 96k entries (woh, believe it or not; because of this too big number, "xterm" + "screen" always stuck when exitting; but "urxvt" + "tmux" work perfectly thanks to "urxvt" daemon mode.)

Porting this huge history database from my daily "bash" to "fish" is just a nightmare ... :D

Docker 1.8 released 11 years ago

Hi @cpuguy83,

Thanks for your feedback. I couldn't gather enough information for bug reporting (But I had few rich logs that told "docker" has invalid memory access.)

As a work-around, I use a special patch of docker-compose that helps the containers to restart automatically when "docker" daemon restarts :)

There's also been a known issue around creating lots of `docker exec` instances and those references not being released (so you can query for status later), this is also resolved.

Woh, this seems my case, though I am not sure about "releasing" (We run "exec" and "exit"; we don't hold any "exec" for longer than 2 seconds.) I haven't seen this mentioned in changelog (FIXME). Let me try again in ticket system!

I'm thinking of putting S3 behind a Cloudflare set up, and use "Always online" feature of Cloudflare.

Sound goods? (Woh, as long as Cloudflare doesn't have any SSL issue :D)

Docker 1.8 released 11 years ago

Congratulations!

It seems the memory issue with "docker" daemon hasn't been admitted/resolved. (See https://github.com/docker/docker/releases/tag/v1.8.0)

In all of my deployments, "docker" daemon memory keeps increasing. The worst case is 37% in a 512MB instance in Digital Ocean. Then docker daemon crashes...

That's to say, congratulate but I don't really want to upgrade ... :(

Stronger Shell 11 years ago

Bash is good as a system shell. For interactive shell, zsh/fish/... wins.

That's why I only learn Bash. One lesson for everything for both purposes ;)

Mine "go" experience comes with the latest docker 1.7. Ok okay. it comsumes 37% of 512 MB memory. That's fine. I will shutdown all of my apps for you. :P

Yesterday Cloudflare had critical DNS/SSL issue in their Asia and LA regions. The SSL issue was admitted at the very end.

I was testing Cloudflare feature (with a free plan). My QA was working on the new configuration. (Un)Fortunately, the issue happened at the same time, and we had to switch to our custom proxies.

A guy reported the problem happened for their paid plan (https://twitter.com/ashleykaryl/status/626411486420836353)

I intended to use Cloudflare because it has fancy management console, fast purging cache, and clean API. But after this incident (and seeing how Cloudflare reported their issue), I have to think twice.

Any ideas?

Hello from Saigon,

It's sad to see you go. But it's very true that the air is critically polluted, esp. in the central area. I moved from DaNang city (You would try!) to Saigon to seek for a job; except for the money and the high tech air, Saigon isn't worth living.

The most critical thing is that people seem not to believe in others any anymore, and/or to believe in the future. (The author said people only thought of today, that's a reason.) Living fast, living short. And killing the future. :(

How about ==== and ===== and ======?

For security reason, I suggest PHP to implement such operators... :D Example:

"abc" === 'abc'; # ==> true

"abc" ==== 'abc'; # ==> false, single-quote vs double-quote

"abc" ===== 'abc'; # ==> true, this is how it works

j.k :D

Is email broken? 11 years ago

Thanks for that, rakoo.

Do you know any XMPP client that supports threading? I am using Pidgin (for irc, facebook, yahoo), skype and viber. None of them has the feature.

1Password on Linux 11 years ago

Very good tool. I will take a look. (I have used my script for years, it's worth switching to a better thing.)