News for hackers. Stuff that matters.

zytek

elaborate on the home automation pls
Re:Conway's Game of Life, in real life on Thursday March 19, 2026 @06:28AM (#47437157)
lcamtuf is doing that for decades!
Could you elaborate for those with less financial markets experience? Why trading spot is a waste of time?
Re:A Theory of Software Architecture on Wednesday October 28, 2020 @04:51AM (#24916658)
I love his series. Eye opener for beginner coders.
Re:AWS NLBs and the mixed up TCP connections on Thursday October 22, 2020 @07:56AM (#24857058)
Agree. From 6+ years of experience it seems that we got fouled by the multi-az promise of being able to survive datacenter outage.

You can survive datacenter (AZ) outage IF you have separate stacks per AZ and don't mix traffic. If you have Kafka cluster spread out in 3 AZ don't get surprised if you just LOWERED your availability because any issue in one AZ makes your stack unstable. And issues in single AZ are quite common.

VictoriaMetrics eats other TSDBs for breakfast.

PromQL support (with extensions) and clustered / HA mode. Great storage efficiency. Plays well for monitoring multiple k8s clusters, works great with Grafana, pretty easily deployed on k8s.

No affiliation, just a happy user.

Congrats to Grafana Team!

If you're looking at scaling your Prometheus setup - check out also Victoria Metrics.

Operational simplicity and scalability/robustness are what drive me to it.

I used to to send metrics from multiple Kubernetes clusters with Prometheus - each cluster having Prom with remote_write directive to send metrics to central VictoriaMetrics service.

That way my "edge" prometheus installations are practically "stateless", easily set up using prometheus-operator. You don't even need to add persistent storage to them.

Re:Elon Musk: Tons of C++/C engineers needed on Thursday February 06, 2020 @11:24AM (#22257328)
AWS S3, as far as I know
Re:Tricks to start working despite not feeling like it on Tuesday January 21, 2020 @05:36AM (#22105724)
More like cmd+l (address bar), n (autocompletes to news.ycombinator.com), enter.

At least I'm getting efficient at bad habits ;-)

At the time of making this presentation AWS did not have anything in their offer that could match tuned MySQL on i2 instances. Aurora was just getting started.

But nowadays? I'm all in for Aurora.

From experience: after company grew to more than .. 200-300 people and user management/termination became a big burden we hired a person that would write tools to automate user management, and if something wasn't supporting SAML we did manage users via its API. If API was not available then we reverted to "Termination checklist" aka manual work.

Clarification: it wasn't that persons only responsibility, just one of many assignments to help automate Ops in the company.

+1 to that, landing page is beautiful, another +1 for choosing Iceland <3
Re:Ask HN: What's your backup setup? on Tuesday February 21, 2017 @07:11AM (#13694925)
To each of you guys having those extensive backup solutions (like NAS + cloud sync, second nas, etc)...

.. do you actually TEST those backups?

This questions comes from my experience as a system engineeer who found a critical bug in our MySQL backup solution that prevented them from restoring (inconsistent filesystem). Also, a friend of mine learned the hard way that his Backblaze backup was unrestorable.

I have went from 1 pull-up to 10 in a matter of weeks using this schedule: http://www.50pullups.com/ - there's also version for push-ups.
Re:Understanding Git for real by exploring the .git directory on Sunday February 21, 2016 @07:02AM (#11144183)
Been there. You stop doing it when you start collaborating with others. It just doesn't work then. ;-)
Re:Ran: a simple static web server written in Go on Saturday October 03, 2015 @08:07AM (#10323563)
If in need of serving current dir over HTTP I use

    python -m SimpleHTTPServer
works everywhere I need it to work.

Anyway, kudos for making a Go project shipped, which I fail to accomplish for several months now ;-)

Re:Lessons learned writing highly available code on Friday October 02, 2015 @05:58PM (#10321601)
For MySQL, this is one of many things handled by excellent Percona Toolkit: pt-kill
Re:Upcoming AWS Security Maintenance on Friday February 27, 2015 @11:55AM (#9119852)
Been there, done that. AWS re:Boot in September 2014 showed us how good it was to invest in Ansible roles for all parts of our infrastructure. Still, a lot of hassle for Ops Team, especially that it was done during DevOps Days Warsaw ;-) AWS also said '10%' then, but for us it was 81 out of ~300 instances.

What is sad is that we learn about it from Hacker News and not from AWS, even when we have premium support and our own account manager. :/

Let's see how many of us did their homework after previous "xen update", and how much "10%" is now ;-)

Re:Google Earth Pro is now free on Saturday January 31, 2015 @05:35AM (#8976395)
I use MotionX GPS and download data from MotionX Terrain maps (which are OpenCycleMaps), good for getting around where I live. You might check coverage on http://www.opencyclemap.org/
Re:Wit.ai (YC W14) raises $3M seed round from Andreessen Horowitz on Wednesday October 15, 2014 @01:43PM (#8460245)
Fun fact: "Wit.ai" can be pronounced just like "Witaj" in Polish, which means "Welcome/Hello". Dunno if this is intentional or even acknowledged by founders. ;-)
Some of it:

    todo: do not leave 15 year old todo lists in the tree.


    This code is the reason perl has a name as a write only language.


    Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function.

    Do not feed RSA private key information to the random subsystem as entropy.  
    It might be fed to a pluggable random subsystem.... What were they thinking?!

    <RANT> Whoever thought that RAND_screen(), feeding the PRNG with the contents 
    of the local workstation's display, under Win32, was a smart idea, 
    ought to be banned from security programming. </RANT>

Edit: just noticed, there's a BLOG with it.. http://opensslrampage.org/
Notice how the answer starts with "From the <documentation>" ...

It's unfortunate that people no longer dive into original system/program documentation, but google/ask for quick answer. When I started my unix/linux journey some ~14 years ago I always found something more when reading docs and thought of guru's as "these guys that read more docs than I did".

Similarly you may noticed how you can no longer write code comfortably when being offline, because you cannot google "how to make dict() return default value for non existing key" etc.

I am now in the process of killing this bad habit of googling through my "coding" and sysadmin tasks, rather than reading docs and examples available on my system.

PS. sorry for my english

Re:A Guide to Optimized Napping on Saturday January 25, 2014 @03:37PM (#7122283)
25 minutes of laying still in dark and quiet room also gives a lot of benefits. I rarely sleep during my "naps" but still find it very relaxing and refreshing.

So, you might start by doing that.

Older »