HN user

np422

238 karma
Posts1
Comments90
View on HN

While I agree that DevOps needs to be a mindset/culture to be of any benefit beside ticking buzzwords checkboxes - but I really don't see any harm in giving someone a title containing the word DevOps.

Someone who can do the proselytism, take initiatives to drive the adaption and at the same time be the go to guy for the technical knowledge needed for any new processes/tools.

We all agree that the old waterfall inspired way of working when the developers work on their own, throws a bunch of new code down a hatch for the ops guys to deploy and they both blame the other team when something don't work is less than desirable.

Maybe there are some startups that have the devops mindset already from the beginning and a few old companies that can get there on there own, but I think many need some help to get there. Perhaps they could hire someone to get them started?

Most of us here on hacker news can afford to buy real food such as grass feed beef/lamb, forage egg/chicken, etc

Seems like a more natural evolutionary correct way to get our food rather than some kind of franken-meat grown i lab.

Every autumn I buy a lamb from the farmer living next to my father, I kind of like it when I can watch my food being happy before I eat it.

In some places 8 hour workday was achieved by union organized strikes, in other places by law decree and in other places by non-unionized workers and employers as an agreement.

The 8 hour workday was made possible by increasing productivity, mostly due to accumulated production capital and technological improvements ...

I'm a native Swedish citizen, Sweden is perhaps not a banana republic - but the number of pretty serious oversteps done by the Swedish government due to a mixture of incompetence and the will to please other powerful nations are to many to neglect.

Going on since the forced sterilization, German troop transports, extradition of baltic citizens to the soviet union and seizure of newspapers before publication in the days of the second world war .... continuing to today with the Da Costa case, the Egyptians kidnapped and sent to torture by the CIA with help of the Swedish government, the pediatrician accused of murder, the whole Thomas Quick embarrassment .... the list can be made rather long.

And there is obviously a great deal of pride and prestige put into this case by the attorney, who has not been exactly working their ass off to get the investigation going forward - even bending their own rules quite a bit with the obvious intention to inflict maximum discomfort to Julian Assange - and that makes me distrust their honesty and the entire basis for this case.

Did you measure ketone levels in any way?

Your symptoms is very common during the ketosis adaptation phase which shouldn't last more than two weeks at most.

If they persist any longer than that you are probably not in ketosis.

The best way to measure ketone levels are through blood ketones (beta-hydroxybutyrate) with a blood tester such as the precision extra or similar.

There are some breath analyzers such as the ketonix that measures acetone levels in your breath - and they are alos pretty good.

Urine sticks don't generally don't work very well after the first month.

The mycotoxins stuff is yet to be determined, but from what I seen so far there doesn't seem to be a lot of truth in that part.

The ketosis and positive effects on the brain thereof is backed by a lot of solid science.

Hasselblads cameras was used in the Apollo missions. [1]

Twelve hasselblad cameras were left behind on the moons surface.

It was not that many years ago, around y2k or shortly thereafter if I remember correctly, that hasselblad finally decided that digital photography could match the picture quality their cameras achieved using traditional/analog film and started to manufacture digital options for their cameras.

When I look at the pictures from the moon I start to understand why they held a stiff upper lip for so many years.

[1] https://en.wikipedia.org/wiki/Hasselblad#Hasselblad_cameras_...

According to the statistic available the number of drowning accidents among children and sale of ice-cream is highly correlated, we must take measures to lower sale of ice-cream, please think of the children!

Most of the time a journalist will easily believe a statement like above and rewrite into a newspaper article.

And soon thereafter official recommendations and legislation will follow.

I'm looking forward to http://nusi.org/ publishing some results, they appear to be intellectual honest.

Even if income could explain the whole difference it would still not be a very agreeable explanation.

Even though it's a naive idea, I still think that everyone should be entitled to the same level of legal support in a criminal case regardless of your socio-economic status.

I recall the ted talk http://www.ted.com/talks/bryan_stevenson_we_need_to_talk_abo..., if a black man is found guilty of murdering a white woman in Alabama, he is 400 times more likely to be sentenced to death compared to a white man found guilty of murdering a black woman.

I sometimes think about what the reaction would be if statistics showed that the German courts disproportionately often decided to sentence Jews to death?

Perhaps there are some things that could be improved within the penal system in the United States?

I live in Sweden and right now we are automating the service industry as well.

You order fast food from a touch screen, you buy your train tickets from a machine and the supermarket cashier is being replaced with a self-checkout.

Meanwhile I still have about 50+ working hours every week. I pay about 65% of the money I make in tax so the people that were laid off through service automation can receive unemployment benefits.

I think there is room for improvement within this economic system.

I used to ran a production database on top of drdb without any problem, active-passive fail-over HA-setup.

The major advantage is that no other specialized components (NAS/SAN/etc) is needed and you'll still have decent shared storage between the nodes.

Three nodes in such a cluster is highly recommended resolve/avoid any insane-in-the-split-brain scenarios, drdb-storage needs to be protected from split and can not help you to resolve it in the same way as a traditional NAS/SAN-lun.

We had to do some tuning to get the performance we needed, but this was a few years ago and the situation has probably improved since. Databases usually likes vm-dirty-* to be very low or 0.

As I recall, you numbers are correct, I was also invited to the IPO, but since I'm not an US citizen - the SEC made me jump through many hoops before I was allowed to buy something. I've never been much of an administrative minded person so I got bored halfway and never got around to buy any. I actually went through all of the doc-com bubble and y2k-mania without any substantial personal financial gain.

A few of my classmates from my university registered a funny domain name and made something that could be mistaken for a website, consisting mostly of static html-pages and sold that to some venture capitalists and they are still living of the capital from that sale.

So unlike you, I'm still kind of bitter about my missed VA-linux IPO....

Agree!

You don't need to bother with old-school stuff like grsec, iptables, IDS, chrooted applications or any stack-protection technologies.

Get a WAF, audit your web-app source-code and use a pen-test tool regularly instead.

SQL-injections walk right in, through the front door. They stuff their pockets full of data and then leave the same way they came, unnoticed most of the time.

We are all nothing but data-points on a distribution curve.

If you end up just a little bit outside of the very narrow band where the majority of people can be found, welcome to the land of the lost and ignored.

If you are lucky medical science has put a name on that part of the distribution curve and maybe they can help to move you closer to the peak of the distribution curve.

Myself and rest of mankind, please take a note.

Room for improvement: how we treat and interact with other people that didn't have the same luck in the big lottery of life..

Orionblaster, I want you to have better times ahead in your life than what you've seen so far. At least I can offer you my best wishes over the internet.

That would be because sendgrid is lame.

I've recently tried to use their service to send emails, club member newsletters. I've never thought much about bulk e-mails before and I thought it was a "solved problem" by now. Sendgrid are well known so they were my first choice.

During initial testing I found both bugs in the API and missing functionality. I've worked over 20 years with IT and yet sendgrid support is easily on the top-3 list of my worst support experiences, a total waste of time.

We ended up using mailgun instead and so far it looks much better.

Correct, but if I write the upsert in that way - I actually understand what I'm doing... :)

If this is standard upsert query in your app, you should turn it into a procedure and parameterize, catch exceptions anyway.

Or you could mess around with transaction isolation.

I prefer to use CTE in postgres to do upserts, this is a non complete example, but you get the general idea:

  WITH upsert AS (
    UPDATE some_table 
    SET attrib = 'foo'
    WHERE id = 123
    RETURNING *
  ) INSERT INTO some_table ( id , attrib )
    SELECT 123 as id, 'foo' as attrib
    WHERE 123 NOT IN (SELECT id FROM upsert );

I've helped a few clients to migrate from oracle to postgres or edb.

The most common reason would be license costs, at least officially, but in some cases clients have been so feed up with the oracle way of doing business that didn't really care about cost as long as they got rid of oracle.

The Magic of strace 12 years ago

Strace is easy to use, commonly available, and very useful in many situations.

More modern tools such as dtrace for the solaris and systemtap for linux addresses similar problems but with a broader coverage.

Since they are using postgresql, it might be relevant to know that count distinct have for a very long time been a weak spot for pg.

Since release 9.3 index-only scans have been implemented and performance of count distinct queries improved significantly - no more full table scans.

Wiki page: https://wiki.postgresql.org/wiki/Slow_Counting

It would be fun to have access to the same dataset or a more detailed description of the tables involved for further tinkering ....

We use computers to help us solve so many more problems today then we ever have before and we have much higher expectations of IT-system today. So, the metal scraps used for this keeps piling up in data centres all over the world.

Anecdotal observation: Many of my clients avoids using cloud services often cited reasons: cost and worries over ownership of data.

Based on the my observations my prediction is that traditional server vendors will keep on growing their business for many years to come but it's very likely that cloud services such as PaS/IaS will grow at faster pace ...

I think you forgot to finish that sentence with "currently in any wider use".

The current system has become a few spots, take a look at the debate about cherry-picking clinical trials to get new drugs approved, requirements for pre-registration and the non-functional oversight of the same ...

Perhaps trying new ways to fund drug research can be a part of revitalizing the system?

One of my old colleagues had the bright idea to log onto one of our production systems to "re-index some of the database tables" after coming home one Easter eve.

And yes, he wasn't directly sober at the time.

I was moderately amused when I got woken up about 3 AM and got to spend a few hours trying to revert the "re-indexing" ...

I think integration with ssh-key management to prevent people logging onto production systems when drunk would be a good idea for this project, don't be surprised if there is a pull request from me in the future ...