A little quirk in #Python that I can't wrap my head around. Rounding seems to round up or down depending on whether or not the int() value is odd or even. Anyone know why?
>>> [{n+.5: round(n+.5) for n in range(0,10)}]
[{0.5: 0, 1.5: 2, 2.5: 2, 3.5: 4, 4.5: 4, 5.5: 6, 6.5: 6, 7.5: 8, 8.5: 8, 9.5: 10}]
Whenever I post about #microservices, I get detractors pointing out problems with them, or I get people cheering them on.
I decided to write a full article explaining many of the pros and cons you should consider if you're thinking about microservices. It's a bit of a longer read, but it's an important topic that a small toot won't cover.
Ever struggle with #database design? Do you just not get it?
I have a talk, "how to fake a database design", that will explain the basics to you. You can't learn all of it in an hour, but if you watch it a few times and let it sink in, it will help you tremendously.
This talk was in Bulgaria, but it I gave the same talk at OSCON and got 5/5 stars for it.
Though #microservices have their downsides (robustness is achieved via greater complexity), perhaps their single greatest benefit is simple. When designed well, they send and receive data. No shared memory.
That's an entire class of bugs wiped out (except inside the service, of course).
Updated my #Macbook Pro and it again replaced my backticks with the useless § symbol. I've also lost my tilde. Really, really ticked off that #Apple keeps doing this.
Doesn't help that I'm using a French keyboard remapped to a US one and system settings doesn't seem to let me actually set the damned things.
@ovid Mine seems to be in some sort of "split brain" mode where on the external keyboard, the backtick symbol is on the key left of "1" (above tab), but the built-in keyboard has it on the lower left, between left shift and "z".
Anyone in the UK know how to look up court records? Are they public?
I worked with this man briefly, before he was accused of industrial espionage. One day he just stopped showing up to work. I can't find anything else on the web about it.
Out of curiosity, I tried a service which scans your CV and makes recommendations for tailoring it. Those recommendations are based on popular CV scanning tools used by recruiters/HR.
I was kind of impressed with the quality of results. I was less impressed that the results it presented to me were for someone else's CV. I then found them on LinkedIn.
I'll be contacting the company to let them know about the security issue, so I'm not naming them here.
If #Erlang wasn't dying out, I'd want to learn more and seek work. The world's largest telephony over ATM network ran on Erlang and had 9 nines (!) of availability. That's 31 milliseconds of downtime per year.
Part of why it was so reliable is that it's a language which basically makes you write #microservices for all functionality, but with much of the infrastructure support built in. What an amazing technology.
@ovid Erlang is amazing. I remember it from way back in the day when I was still doing language panels and stuff -- they made some fundamentally different choices that lead to building a lot more reliable systems.
I also remember at the time thinking the choices they made doomed the language for general use, because the choices that lead to reliability are almost universally loathed by programmers because they required you to do things properly and people hate that.