News for hackers. Stuff that matters.

anh79

Ask HN: Why have I received a lot of Privacy Policy updates

Recently I have received a lot of Privacy Policy updates from cloud services: twitter, google, gitlab, github, slack, etc. Very noisy IMHO.I don't really know if I should spend time to learn new updates. Should the service provide some `diff`? Is my account closed if I don't read/learn new policy? Is new update compatible with old ones? bla bla whatever, the question is why these services are...

( Read More... | 2 comments | on HN )
Re:Reach for Markdown, not LaTeX on Sunday February 18, 2018 @01:54AM (#16404848)
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)

Re:Domain-cli: Search domain availability from terminal on Saturday December 23, 2017 @03:24AM (#15993415)
Very good example. Thanks a lot.
Re:Domain-cli: Search domain availability from terminal on Saturday December 23, 2017 @03:23AM (#15993407)
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.)
Re:Domain-cli: Search domain availability from terminal on Friday December 22, 2017 @02:32AM (#15985842)
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
Re:Domain-cli: Search domain availability from terminal on Friday December 22, 2017 @02:25AM (#15985824)
whois may not work if you don't have correct configuration (e.g, whois server for some special domains .info, .social, ...)
Re:Terraform Gotchas and How We Work Around Them on Tuesday June 13, 2017 @11:08AM (#14545310)
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_...

Re:WordPress 4.3, “Billie”, released on Wednesday August 19, 2015 @02:39AM (#10083985)
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 ;)

Re:WordPress 4.3, “Billie”, released on Tuesday August 18, 2015 @06:35PM (#10082663)
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 ;)

Re:Docker 1.8 released on Wednesday August 12, 2015 @10:31PM (#10051974)
Thanks a lot. I wonder why this is not mentioned in the changelog :)

Regarding the `docker-compose` issue, it's described here https://github.com/docker/compose/pull/1723 . Aanand Prasad has a better PR in https://github.com/docker/compose/pull/1754 (merged).

Re:Stronger Shell on Wednesday August 12, 2015 @06:24PM (#10051143)
(Talking about interactive "fish" shell; but that's the point: I need to be familiar with its interative mode first.)
Re:Stronger Shell on Wednesday August 12, 2015 @06:20PM (#10051122)
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

Re:Docker 1.8 released on Wednesday August 12, 2015 @06:16PM (#10051092)
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!

Re:S3 and High Availability on Wednesday August 12, 2015 @11:04AM (#10048067)
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)

Re:Docker 1.8 released on Wednesday August 12, 2015 @10:53AM (#10047995)
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 ... :(

Re:Stronger Shell on Wednesday August 12, 2015 @10:47AM (#10047971)
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 ;)

Re:Stronger Shell on Wednesday August 12, 2015 @10:40AM (#10047924)
Re:Go 1.5 Release Notes on Tuesday August 04, 2015 @11:56AM (#10004233)
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
Re:Cloudflare DNS/SSL issue lasts 15 hours on Wednesday July 29, 2015 @11:42PM (#9973064)
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?

Thanks Android. You make life much easierr :)
Re:Capitalist Soul Rises as Ho Chi Minh City Sheds Its Past on Wednesday July 22, 2015 @12:13AM (#9927695)
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. :(

When I first saw the HN title, I was so stunning. Weird, it's not my tool https://github.com/icy/bocker ;)

The author of "bocker" (not my bocker) has a great idea. I would learn from the script. Docker is not magic anymore.!!

Re:PHP: md5('240610708') == md5('QNKCDZO') on Monday May 04, 2015 @09:27PM (#9490395)
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

Older »