skysight-inc/HackerNews huggingface dataset:
The granularity is literally the name of the lock. It's not attached to anything else in the DB. You get to define what the lock means in your code. If you use Django/Python + Postgres, here's an example of a nice abstraction on top of it: https://pypi.python.org/pypi/django-pglocks/1.0.1

Think of these locks as mutexes in threaded code: they don't mean anything on their own, but they simply guard against the rest of your code. Contrived semi-pseudocode example:

def add_item_to_cart(order, item):
try:
lock = acquire_named_lock('order-{}'.format(order.id), timeout=10)
order.add_item(item)
order.recalculate_total()
order.save()
lock.release()
except LockTimeoutError:
raise OrderUpdateError('Timed out trying to add item to order.')

def checkout(order):
try:
lock = acquire_named_lock('order-{}'.format(order.id), timeout=10)
order.pay()
order.generate_and_email_invoice()
order.print_shipping_label()
order.save()
lock.release()
except LockTimeoutError:
raise OrderUpdateError('Timed out trying to check out.')

Note that the two functions will never step on each others' toes because the first thing they do is acquire a lock.
Freelancing is the way...!

Elaboration:

I worked for a few companies remote, most I met via angellist.

Sooner or later they wanted me to move to their place.

When I started freelancing, nobody cared anymore.
how is the price established?
Please compare it with how expensive energy storage is.
The delay in mining was required to trigger drastic difficulty reduction (20%). More details at https://www.reddit.com/r/btc/comments/6r33fz/difficulty_adju...
Less than 12 hours.
How to Manage Software Development at a Fast Growing Startup
Block monitors for BitcoinCash	https://cash.coin.dance/	https://blockchair.com/bitcoin-cash/blocks http://blockdozer.com/insight/
Most of it is fluff anyway. You could conveniently remember your own history in a different way if it helped to gain an "entrepreneur" label. No one's going to bother calling them out on it even if it weren't true.
answered my own question:

https://coinmarketcap.com/currencies/bitcoin-cash/#markets

some exchanges support it.
For me, the idea of a wearable computer just seems like a waste. And I think much of that comes from the fact that I've done most of work analytical work with pencil/pen and paper. So for me technology is the thing I use to do work I could never do on a notepad or in my own head. It took me years to finally accept the idea of a password manager so I would stop reusing the same set of passwords all over the web whenever I created an account. Heck, I didn't even have a smart phone until 2014 since I still prefer the flip phone form factor. And I'm only 37 so I do think technically minded people tend to like using their own mind to do the work much like an athlete or a farm worker likes to use their own body to do physically taxing work. It's just a natural fit in that regard. For everyone else, convenience trumps practicality.
You forgot the link
Backing up a few PB of data is costly and bulky, since you really must use hard disks. I've been waiting for this tech for years.
The longest answer there is from 2013. What is the status of the same comparison (Direct3D vs OpenGL) right now? For a feature game with high-end graphics and 60 fps performance on high resolution, which one is more feature rich right now? Are there things one can do and the other cannot? For the things they can both do, are there any catches?
I'd read the subtext as "there are only a handful of filesystem developers in the world and the 10 of them are already settled in a good big company".
IQ qualification for the privilege to vote.
Al-Jazeera reports that the "widow says Bassel Khartabil (...) was killed by the Syrian government".

http://www.aljazeera.com/news/2017/08/bassel-khartabil-missi...
You're right. But they're the public face of whoever actually makes decisions about what is covered, how much it's covered, and how it's framed. Look at the front page of Fox or CNN: there is no real distinction between "opinion" and "news". The "news" coverage inevitably has the same framing that the commentators then run with and make explicit.

Someone should be held accountable in the court of public discourse, as we have come to expect of politicians. It seems like the commentators are the ones who, at least in the presentation of the papers and networks, most "own" the coverage, and who can be the subject of public backlash.
I think it would be tough to get people to move to South America or Mexico for a job like that because of the uncertainty around the position. If I move to NY for a job and the company folds or I get fired, I can crash on someone's couch for a couple weeks while I get a new job. I can't do that in Argentina, and I have no idea if I could get another job there in the first place.
Free and beautiful Vue 2 admin dashboard template
Best Photo Editing Apps for iPhone with Lots of Features
Ubuntu iz down
How Unicorns Trick You into Thinking They're Real
API access to social media have ruined them.
Hi everyone!

If you have any questions - I will be happy to answer :)
How to use IP law effectively to protect your startup and maximize value
It won't happen unless Google decides to abandon Chrome.

Mozilla really needs to outdo themselves just to regain the market share they lost to Chrome. Compared to IE, Firefox was clearly the better browser, but it took many years just to become significant.
AI cooks malware that AV software cannot spot
This is a false dilemma. We must urgently take the victims of domestic violence --- of all sorts --- seriously.
Anyone knows why the ClojureScript code has the same macros (repeat and all) in seperate files? Why can't everything be in the core.cljc file?

https://github.com/google/clojure-turtle/blob/master/src/clj...

https://github.com/google/clojure-turtle/blob/master/src/clj...
Dumb luck and sheer stupidity, I joined because the idea was cool, the founders were friends and I wasn't aware at that time how much big companies pay. It was my first startup experience, was working in a slow enterprise environment before and it seemed like a fresh breath of air.

I would never, ever, do it again unless I was a cofounder, in which case the stake would make it more worthwhile. I would have looked at Google to begin with.

But now that I got "lucky" (and I put it in quote because it's all on paper, all it takes is a little bump in the road and my equity gets washed away by unfavorable dilution terms, especially if I leave), I am in this conundrum of leaving vs staying.
With PayPal and Skype Integration ––– You Can Send Money from PayPal via Skype
Oh, I see. We all just assumed you didn't know what dividends were.
Do some Designers want to learn the bare minimum?
Ora.pm – new task management, just got better
Ora.pm gets a huge update! - https://ora.pm/
- Task Relationships

- Recurring tasks

- Full Keyboard Support

- Move Cards to other projects

- GitHub Issues Import

- Set/remove attached image as cover

- Star public projects
Show HN: Minimal flight search engine in Python
I am currently learning to code with Python.

As part practice, part to fulfill a personal need, I have created a no-frills, minimal flight search engine that can be run locally, using the QPX Express API. https://developers.google.com/qpx-express/

The script might be useful for those who - like me - basically procrastinate by searching for flights on a daily basis, but who don't necessarily need to book a flight instantly. Unlike any other web search engine for flights that I know of, my script shows the fare class for each result right away - which can come handy for those who like to optimize for mileage earning.

You find a Readme with instructions, the script and a screenshot here: https://github.com/martinweigert/minimal_flight_search
Probably caused by the exponential costs of the IoT branch. It have become too difficult to properly run a web proxy. ‍️:-/
Present Like Steve Jobs – The Art of Persuasive Presentations
Fellow Chicagoan here. I agree. Used to be that cabs were the most annoying, unpredictable cars on the road. Now it's the Ubers and Lyfts.
FitMango | Software Engineer | Baltimore, MD | ONSITE | fitmango.com

FitMango is transforming the fitness industry by making it easier and cheaper for gyms to offer excellent personal training for their clients.

Our SaaS platform tracks detailed client data (think EHR for fitness), replaces a trainer's notebook and stopwatch with an easy-to-use mobile app, and allows a gym to write workout templates that get customized to each client's specific and evolving needs.

One of our cofounders, Ben, runs a successful boutique gym specializing in small group personal training (1 trainer : 4 clients) that doesn't compromise on customization.
(https://www.yelp.com/biz/activate-body-baltimore)
By automating away the paperwork and context-switching inherent in this model, we're making it possible for larger gyms to offer drastically cheaper personal training, with a view toward bringing about large-scale improvements in public health.

Our investors own various gyms in Maryland and beyond, including more than 50 Planet Fitness franchises, and we have great relationships within the industry. We're looking for fantastic developers to help us scale our SaaS process, take ownership of features for new clients, and use the data we generate to help our gyms provide more effective training.

Our front end is React and React Native; we are transitioning from Meteor/Mongo to AWS Lambda and Dynamo on the back end. We're looking to hire two engineers with complementary skill sets, so whatever you're good at, send us an email at hiring@fitmango.com with a link to a project you're proud of. As employee #5 (or 6), you'll make a huge impact on our company, enjoy unlimited free personal training with a competitive salary and equity package, and help set the tone for what's shaping up to be a revolution in personal fitness.
> They also know the movies are kept on CDs/DVDs

I think this is the first time in my children's lifetimes (roughly five years for the oldest) that I've considered the fact that their understanding of where movies are kept is different from most people due to our goals of going mostly streaming when it comes to media.
It seems to me like he argues that scaling nuclear is mostly known (but expensive) problem.

And that scaling renewables is largely unexplored, and very likely similarly expensive problem.
I was once got a chance to describe to a class of kids in Marin County what programming is. They were maybe 10 years old. I used the analogy of a robot that does exactly what you tell it to do. A little girl raised her hand as asked, "Like my maid?"
> While I understand the intent of your comment, it's bothersome to think that we can't have a discussion about something purely because some murderer said it once.

No, the article is specifically a letter written by a mass-murderer. The objection is not that the ideas are the same, it's that this is literally what the killer wrote.
I'm not smart enough to dismiss cautions that AGI will lead to human extinction, but many of the arguments I have seen, including Bostrom's, don't adequately explain that AIs are not life, and therefore do not compete for resource the way life does. That is, an AGI will not be alive, but neither can it die. It doesn't have genes, and it will not have evolved to propagate genes competitively.

So, while it's possible that AGI will be as bad or worse than competing with a more powerful and intelligent species of animal, they're not animals, and probably won't behave like animals. Increasing chimp intelligence, on the other hand, is probably not a good idea. Bonobos, maybe. Not chimps.

Also missing from the discussion is that intelligence isn't the only danger from competitors for resources. Insects collectively weigh a multiple of the total human biomass and many of them would eat us all, given half a chance. Microbes could evolve to kill us all, directly, or by modifying the ecosystem.
How Flexport Halved Testing Costs with an Auto-Scaling CI/CD Cluster
MiniTool Partition Wizard Pro 10.2.2 Crack Full Version
This.

People learned the phone company would refund any Denied All Knowledge of a long distance call. Call up, get a credit.

Then phone company said you cant DAK calls 2 months in a row: so customers called in every other month.

Then, they eliminated operator handled calls for small bills. Call in, get an IVR, get a credit.

Phone company caught on and limited credits to $7 per month, every other month.

Customers started crediting <$7...

And on and in...cat and mouse.

Then, few realized you only had to pay 91% of the past due balance to not get shut off..

Others finally realized that if your account gets associated with a elected federal official or a PUC complaint you account will never get treated for collections.

---
Another simple one: having to press "0" 3 times to get to an agent on some IVRs..
Ora.pm - https://ora.pm/

Update Blog Post - https://ora.pm/blog/august-update-2017
> Coinbase has clearly stated the company is not taking customers' Bitcoin Cash for themselves

So effectively, it's as if they just burned all of the Bitcoin Cash they were holding?
More info on cost of living in Zurich from me: https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t...
related (via /r/Clojure): https://docs.racket-lang.org/turtles/Value_Turtles.html
I'm not a game developer, but I think one of the reasons is Visual C++ (Visual Studio), which is still the best C++ IDE around.
They had the opportunity to move their funds and plenty of notice.
Is vulkan going to take over? It would be nice to have a common low-level API across all platforms (mobile,console,pc). I just wish Apple would support it and deprecate metal (with continued support for next 5 years).
> The tapes are too expensive compared to hard drives.

That's not at all my experience, at least when it comes to LTO. Sure, TS and T10k are expensive, but they're the 'enterprise solutions'. Modern LTO tapes can be bought for ~$100 if you shop around. Less if you buy in bulk.
Literally I laughed at this. Developers aren't really respected or have much power in organisations.
I've done this before and it's a valid technique. It still has some edge cases that can bite you. First, you still have to make sure that you do all your reads and updates in a consistent order because otherwise you will deadlock. Second, and more important, you must use repeatable reads for this technique. Otherwise given my example of orders and order items, you can get really funny behavior. Say you have a function on class Order that recalculates totals with tax, shipping, etc. It's going to be based on the rows in the order items table. So you do your read of order row with FOR UPDATE, then read a list of items and do some calculations and update things. Then in the same transaction you read the order items again, except the user has now added another item to the cart. If adding items to the cart didn't lock the order with FOR UPDATE, that read would have gone through.

Also, locks using FOR UPDATE don't have explicit lock mechanics. You can't check if that row is locked. You can't easily control the timeout. I consider it a bandaid technique. Bandaids are great for small boo boos, but they don't work if you already have a codebase that is complex and does things in an inconsistent order.
Hell, probably less than your cell bill per year.
> will probably be available by the end of next year.

I'd be surprised if it took that long.
It may be time to retire the idea of 'regression' in autism
The popular press are crypto-illiterate.
I've always worked remotely. You're not really competing with the entire global talent pool if you're applying for an American company.

First, most companies will have a time zone limit.

2. Companies will require that you can communicate in English extremely well.

3. You need access to a reliable electric grid and reliable fast internet (the firewall rules out mainland China completely--1/5 of the world).

4. Many companies don't want to hire someone from a country without a strong legal framework accessible to foreigners--they want to be able to enforce NDAs etc... And some companies don't want to risk dealing with any foreign legal system at all, even a good one.

5. Travel time (and expense/visas) to the office in case you need to visit.

6. You need to pass the "culture fit" interview.

7. Very likely to run into someone involved in hiring who has a bad impression of programmers from certain countries after working with terrible offshore teams. Overcoming this sterotype won't be easy. Related to 6.

Already being in America gives you several huge advantages.
Pro Tip : If the first person from the company that you talk to is from HR, you're doing it wrong.

I wrote up my process in an article on Medium "How to Get a Remote Job, Even When Remote Isn’t Advertised"

https://medium.com/@aantix/how-to-get-a-remote-job-even-when...
Define "low cost".

You won't get away with spending less than $1,500 or so on a recent generation tape drive. Don't forget you need a SCSI card. This is the point at which most enthusiasts just turn around, walk home, and order a big stack of hard disks. Sure, you get to save a bunch of money on media. An LTO-6 cartridge costs $25, and that's 2.5TB. But tape is a pain in the ass, and since it has separate capex for throughput and capacity, you need to do the calculations for both. Then you only have one drive, so if it breaks you are sitting without it for X weeks until repairs go through. You could save money by buying older generations like LTO-5 (now two generations old), maybe $500 for a used drive on eBay and now you have to buy almost twice as many tapes which is a pain.

By comparison, with HDD you can pay $100 for a 4TB drive, grab 13 of those and you have your 50TB, all for the $1300 which is less than you'd have paid just for a bare tape drive. When hard drives break you swap them out and keep operating at reduced capacity. (I mean, I've done that with tape drives, but back then I had lots of tape drives.)

"Conventional disks are just too expensive." For small amounts of data, like 50TB, tape could quite easily be more expensive due to the fixed costs of the drive. Add the fact that you have to babysit the tape drive and swap in a new tape every so often unless you get a robot to do it for you.

"Conventional disks are too error prone." Not sure what that's about, when you have 50TB of data you're going to need to add error correction no matter whether you write it to tape or write it to HDD. In reality, you're going to have to deal with a loss of a full tape or full drive either way, plus some read errors on the available media.

I don't have exact TCO figures for you, but despite the low cost of media, tape TCO isn't that much lower than HDD, and for small amounts of data, HDD is cheaper.

Maybe, maybe you could make this work. With old refurbished drives and media, and an endless appetite for swapping out tapes, and the right software to index and manage it all, maybe you could achieve your dream while spending less money. But a couple grand will get you the HDD you need.
I'm surprised to see them framing a liquidation preference as an unusual provision. Don't almost all venture deals include a 1x liquidation preference? Seems like a reasonable protection for an investor putting money into a company with no revenue or assets.
I'm thinking about this. However, how unreasonable it really is to stay at a tech company for less than 8+ years? All my acquaintances in Silicon Valley, especially the most talented ones, never had a gig that lasted more than 2-3 years. Things always "happened" to them. Putting all my eggs in this basket for such a long time makes me a bit uncomfortable. By moving to Google-like, I would shake things a little bit more for my career and possibly chase some luck.
Breeder reactors are as noted by acidburnNSA extremely safe.

And yes they're a weapons grade problem, thats the point, if we want to store nuclear "waste", which to be honest is just unused nuclear fuel. The way to do that is to make it more radioactive so that its half life is lower.

It is a tradeoff, if we wish to complain about storing unspent nuclear fuel for 10 000 years, we have to accept that we are willingly ignoring other options that can solve that problem of long term storage.

> Are you planning to build one in Libya anytime soon?

Is there a specific insinuation here? Why do you consider this a constructive way of arguing your point whatever it may be?
Vancouver has pretty nice, mild weather. Summers in the 70s, winters in the 40s and 50s. Great for outdoors stuff that is nearby. It does drizzle quite a bit, but then so does Seattle, which attracts tech companies & workers just fine.
people already use ml for these kinds of things server side for sure, there are also virusses which use ml for things like stealth by learning their environment and beng able to decide what is the best approach each time to execute and maintain/spread itself. I dont think most people realise how active virus writers have been persuing A.I. techniques within their processes for a long time now already. for them it's not some hip buzzword but an ultimate goal.
There are remote jobs that only hire local, with a few exceptions for workers a time zone or two away.

I've worked at two such companies, but this kind of work appears to be a kind of dark matter never discussed here.
I'm going to stay on the self-promotion train for one more stop, because I actually just a little while back started writing a long piece on a subject very much adjacent to what you're describing: https://aaron-m.com/2017/08/01/on-the-theodicy-of-system-sho...

Part 2, although I know where I intend to take it, is very inchoate at this point for a reason that I mention in a postscript to part 1. I'd love to have any feedback anyone would care to provide! It'll be of great use in improving the back half of the essay.
I find your post to be cynical.

The article you attribute to Adafruit is not written by them, they just linked to it from their blog, ostensibly as food for thought and discussion.

A couple of years ago I had the opportunity to interact with Limor and PT over email after they reached out to me in response to a project I'd posted on a forum. I found them to be gracious, supportive, and genuine, and based on the conversations we had I find your claim that they don't care about open-source hardware to be dubious.
Thanks for bringing the numbers to this.

NPM is such a massive package repository, it's sort of a testament to the community that these sorts of things don't happen more often.
I wonder what they are running on their backend?
And also the worst, from my experience. The good autocompletion isn't made up by the incredible slowness and latency as you type.
Flutter: cross platform API for mobile apps
Agreed. I imagine that (like many things) if you were immersed in their UX most everyday EVENTUALLY it would become second nature, but it is often so very unintuitive. I cringe when I have to go into the whatever-its-called console to change something for my AppEngine site http://HockeyBias.com because I know it is likely to be time-consuming and painful.
Correct, it's a react wrapper that implements the Material UI guidelines.
>Every brand that has a large enough following will run into pitchforks for large redesigns - a lot of people are fans for something.

That is false, "running into a pitchfork" is the better, and least likely outcome.

Very often things develop like this: user logs in, can't find the usual button, and abandons the website - a la Mozilla forefox redesign fiasco that halved their userbase in a single month.

Another famous case is Akamai - at around 2013 they had a relatively insignifican't redesign, yet a single button was moved. They did not realize that they quietly bled users for over a year until they got serious and researched the matter. They failed to understand that a double digit portion of their users were non-tech staff like marketing boys who were taught to work in a manner like "move mouse over red rectangle, and push the button"