HNHacker News
TopNewBestAskShowJobs

yurymik

190 karma · joined April 28, 2014

submissionscomments
yurymik··on You weren't born to just write code and die
I think codekeyboards.com will work better
yurymik··on You Can Do Any Kind of Atomic Read-Modify-Write Operation
Here's just to back up atomic_cheese's answer with some references:

Atomically, compares the contents of the memory pointed to by object or by this for equality with that in expected, and if true, replaces the contents of the memory pointed to by object or by this with that in desired, and if false, updates the contents of the memory in expected with the contents of the memory pointed to by object or by this.

http://open-std.org/JTC1/SC22/WG21/docs/papers/2011/n3242.pd...

Atomically compares the object representation of this with the object representation of expected, as if by std::memcmp, and if those are bitwise-equal, replaces the former with desired (performs read-modify-write operation). Otherwise, loads the actual value stored in this into expected (performs load operation). Copying is performed as if by std::memcpy.

http://en.cppreference.com/w/cpp/atomic/atomic/compare_excha...

yurymik··on Show HN: Happy Scale – Use moving averages for accurate weight loss predictions
Import function seems to be broken on iOS 9.0 beta 13A4325c:

http://imgur.com/cHs5G1t

yurymik··on Coloring books are suddenly catching on with adults
Just googled this book. Turns out Amazon also offers a Kindle version :)
yurymik··on Steam store rendered in Servo
Web browser written in Rust
yurymik··on Tiny Docker Operating Systems
The very first link in the article leads to the previous post [1] that does mention CoreOS.

[1] http://blog.docker.com/2015/02/the-new-minimalist-operating-...

yurymik··on What happens to your brain when you stop eating sugar
Too bad... For me it was. First couple of weeks were challenging (with free pizza at work, donuts at coffee shops), but around week 3 I completely lost all cravings of sugar or starch.

Fun fact: one of the strongest withdrawals I have experienced was sugary drinks. To make matter worse it was just the middle of summer and drink of cold coke seemed to be a blessing. So I went to the store, bought a 6-pack of sugar-free semi-keto-friendly Coke, put it in the fridge and never took it back. Just the fact that I could get it whenever I want seemed to help :)

yurymik··on What happens to your brain when you stop eating sugar
If you ever decide to try again, try replacing sugary snacks with meaty ones. Want a cookie? Eat a pepperoni stick. Want a slice of cake? Have some cheese. Fatty foods keep you satiated so the whole idea of sugar seem repulsive.
yurymik··on Why Software Maker Fog Creek Is Helping Its Competitors Hire Women
Here's my favorite quote by @bmdhacks that reflects my experience dealing with such people:

How to be a 10x engineer: Incur technical debt fast enough to appear 10x as productive as the ten engineers tasked with cleaning it up.

https://twitter.com/bmdhacks/status/560949130999365633

yurymik··on The Death and Life of Great American GeoCities
That's an awful move by itself, but what I personally cannot get over is their decision to rick-roll every user who clicks on the outdated link. That simply insulting.

Here's a random example: www.geocities.com/scythemantis

yurymik··on Why GM Hired 8,000 Programmers
It does. Try https://www.google.ca/?#q=http:%2F%2Fwww.wsj.com%2Farticles%... -- click on the first link under "In the news" headline.

Just make sure that request header has proper referer: "Referer:https://www.google.ca/"

yurymik··on Netflix's Viewing Data: How We Know Where You Are in House of Cards
Just go to https://www.netflix.com/MoviesYouveSeen and remove said show from your history. I do this every time our guests with small children watch cartoons, but fail to switch into "kids mode".
yurymik··on Running GUI apps with Docker
There are a couple reasons I can think of:

* You can run different versions of program side-by-side: FF 32 in one window, and FF 31 in another to test compatibility and regression.

* You can install programs without polluting your base system. I don't want to have Java installed, but sometimes I just need to run an applet.

All of that can be achieved with traditional VM, but with the performance penalty. As Docker runs on top of the native kernel, speed should be comparable to the application running directly on host.

yurymik··on Ask HN: What clothing do you wear to a tech interview?
You do realize that odds would be exactly the same if you do the opposite? :)
yurymik··on The shock of playing the Ouya, one year later
That only works with a paid PS+ subscription.
yurymik··on The Workplace Flexibility Experiment
Sad anecdote from my experience: in my current company we have "core hours" from 10 to 5. Yep, that's right: you can come in early or stay longer in the evening - no one would object...
yurymik··on IPhone 5 Sleep/Wake Button Replacement Program
It literally is. I had volume button broken two weeks after the purchase. Went to the Apple store, 15 minutes later came out with a new phone.
← PreviousPage 3 of 3