skysight-inc/HackerNews huggingface dataset:
This. But keep in mind that books generate consulting gigs. My first book probably earned $4,000 in royalties over the last six years. But I got a $10K speaking gig in Columbia almost immediately and a three year engagement in Australia at $24K/year not to mention business class seats to Sydney once a year.
Do you know any MERN app in production ?

I am looking forward building with MERN, but still looking for insights
Because books and poetry aren't supported by package managers. They're self-contained, so you can ignore them and no one cares.

They also don't purport to solve a specific problem. (Like left-pad.)

And they're not boosted by a FOSS ideology which their existence a political choice and not just a practical issue.

So basically interdependence. You need at least some external code to finish most projects, and the chances are good it will be somewhere between overcomplicated, unreliable, poorly documented, poorly maintained, and unnecessary.

Maybe package managers need active best-of-breed curation and industry-wide coding and documentation standards. But professional standards are anathema to the move-fast-and-break-things crowd, so I doubt that will ever happen.
I feel like WASM could be a first step in that, a binary AST/graph-like format with a preferred textual representation. It even has a bidirectional codec.
At moment it's not possible and it does not make any sense to use a setInterval with a promise in return. But I will think about a simple solution to clear the timer functions
Why you need a mutex to protect an int
And the worst bit of that, that is pretty much the direction (finance) I nearly went when I reassessed my options....

"Funny cause' it's true" springs to mind.
Treatment of Severe Obstructive Sleep Apnea Syndrome with a Chinstrap (2007)
My own impression is that for a modern developed economy looking healthy is far more key than being healthy.
So if you exercise an option to buy a stock for $1, you have to pay taxes on the stock's current value, but if you had bought the stock outright at $1, you don't have to pay capital gains until you sell? That's absurd
I take the mechanistic approach to my personal finances, and treat them like business finances basically. It's a resource to be used, not a status symbol to be hoarded. Life has been wonderful as a result!

I do keep a budget and keep track of things.
I would say that it pretty clear the iPod completely turned Apple around, but importantly it was the excellent execution in the social space, on the software front and follow through with the iPhone (new hardware), this is a rare event and is what differentiates the Apple of that time from other companies which have had a breakthrough product.
Am I missing something here?
Succinct: enabling queries on compressed data
Except that we won't be released in the main from EU regulations, because unless we want to cut ~40% of our trade at a stroke we'll still need to abide by them to sell into the EU. And for most companies designing and producing two products (one meeting EU regs, one for ROW) is more cumbersome and costly.
You know perfectly well "encouraging comments" aren't the problem. A post like that is practically fishing for "nice job" and "awesome work" comments. Those are fine and pretty much expected.
I know a number of counterexamples.
Ask HN: Cool YouTube channels to follow?
Hey HN,

What are you guys watching on Youtube?
I figure there have to be some gems amongst all the try-on videos.
Thanks a ton!
The "tabify" and "untabify" commands do this in Emacs, and many languages have linters which can flag either (which you can then run, e.g. as a git pre-commit hook).

If spaces/tabs were just about nesting code blocks then this would all be a no-brainer, but vertical alignment can convey much more information than that (for example, splitting statements into semantically equivalent columns).
I don't understand what you mean in this context. Elaborate please?
Hashnode uses MERN stack. Also, we are preparing a list of people using MERN in production and will add it to the repository soon.
5 Things to Add in Your Wedding to – Do List
It's sometimes okay to use inexact or uninformative terminology, but it becomes a problem when words are used to mean their exact opposite. So if you are going to talk about serverful programs - those which depend on servers and can't operate without them – that's fine, but please use some term other than 'serverless'.
Brands are everything. You want to get into people's heads, not into their cellphones :)
laptops overheat :(
When you are making videogames, a (video) frame of latency is a big deal.

When I worked on Guitar Hero and Rock Band, we worried about sub-frame latency (timing is more important when you're hitting a drum than when you're firing a gun).
It is Mongo.
I like the idea :-)

The GNU coding standards request form-feed (\f or ^L) to separate code into logical pages.

https://www.gnu.org/prep/standards/standards.html#index-cont...
tl;dr
if an attacker can flip certain bits in one of the last phases of a SHA3 execution (e.g. through power glitching on a device) and can compare the result with that of a correct execution, the internal state of the function can be fully recovered. With short inputs, the whole input can be recovered. This may pose a risk for MAC protocols where the attacker might be able to reveal the secret.

Nothing to worry about outside of the hardware world.
Just to make the comparison more obvious, ARM is being sold for £24 billion (GBP) which is about $31.5 billion (USD).
I can't agree. I recently started to properly learn double-entry book keeping and in fact I tried to make as much as I could and let me tell you, I never knew how much I had - at least truly knew it. I only had an inkling how much I had spent, and I often got it wrong. This stressed the living day lights out of me, especially with a large mortgage.

So... This month - being the start of the financial new year, I started collecting all my receipts. Then I installed GnuCash and setup their basic chart of accounts. Everything started at a zero balance.

So then I started to really get how double entry book keeping. I suddenly realised the balancing equation made sense:

Assets = Liabilities + Equity

So this is what I did to set it up:

1. I worked out all my current assets' balances. This included cash accounts, bank savings accounts and cheque accounts. I took the closing balances from 30 June and debited them to each of the accounts. To balance out the equation I credited the equity account called "Opening balances".

2. I then looked at all my fixed assets - cars, house, etc. - and debited the purchased amount of the asset to the relevant fixed asset accounts, then for each transaction I credited the opening balance equity accounts to balance the transactions.

So now my assets side of the equation equalled my equity side of the equation.

3. Then I took all my liabilities and did similar transactions, only in reverse. So I took my home loan and credited the balance from 30 June, then debited the same amount to the opening balance equity account.

So now my assets value is the same as my liabilities plus my equity.

4. So then I took all my reciepts and debited the appropriate accounts, and credited the appropriate current asset account or debited the appropriate current liability account (e.g. Credit card).

5. I take my income and then credit it to my income accounts, and debit the corresponding current asset accounts.

6. I take any loan repayments and credit the current asset accounts, and debit the loan accounts (liabilities) by equal amounts.

So now the equation is:

Assets = Liabilities + Equity + Income - Expenses

At this point I realised: double entry book keeping is really just recording the flow of money through a system. Income flows into the system, increases the assets or decreases the liabilities, and then flows out of the system when expenses are incurred. The equity or capital is just the assets less your liabilities. You really want to avoid negative equity, but at least you can track income and expenses effectively.
Not sure about that. i just need to twist a know in my kitchen and i get easy controllable heat. I can go down to the supermarket and buy a steak rather than having to go out and hunt and butcher it.
A reputable publisher -- O'Reilly, certainly -- will ask you to find appropriate technical reviewers. The reviewers will get paid a very modest amount. Remember to include them in the acknowledgments.

(Source: me, technical reviewer on 2 O'Reilly books.)
100 to 300 tends to be reasonable
Blog series on Angular 2 change detection: Change detection overview (part 1)
Blog series on Angular 2 change detection: Angular 2 change detection (part 2)
What I’ve learned from arranging my first Meetup
Yes it does, but the toolchain support is not yet available for all operating systems.

go build -buildmode=c-shared
I haven't downvoted him, but I can't see how he gets a better idea of his finances from a non-balancing financial system.
If you care about it, keep your own backups. This applies to all cloud services at all times.

The fact that you ask yourself this question now implies that you should really start preparing.
APDU-level attacks on crypto tokens and smartcards
Plus the way that districts for the house of commons operate... leading to a less than representative commons.
US Army to reportedly ditch 'glitchy' Android in favour of iOS
> What Go does not allow, is putting Go code into dynamic library and then calling that from another go application - i.e. native go plugins for go apps.

Yes it does, since version 1.5, but the toolchain doesn't support it yet across all supported targets.
what trouble? you can make your own app "insult a mexican" or something along those lines.
Facebook to Pay Internet Stars for Live Video
It is beautifully cross platform. A claim that Java made but never lived up to.
It is not a Go limitation, rather a toolchain one.

Dynamic linking support was introduced in version 1.5, but it only works in GNU/Linux currently.

I expect it to eventually be available in all target OSes.
Valid.ly – Never send another OOPS message
You're right. I'm completely liable here if it does go.
Cosmetics much older than advertising.
I particularly liked the analogy with hardware where you do an operation unconditionally and eventually inhibit the result. Thinking about this, I would compare software written in that fashion with a well-oiled, smooth engine.
Hacker news readers often live in a bubble that is well insulated from the outside world. A world where everyone is very smart and money and opportunities are a dime a dozen.

Overspending is very easy for the average person. I know someone making 80,000/yr who has basically no assets and are living paycheck to paycheck and always complaining how poor she is. If you are living paycheck to paycheck on $50k you tend to live paycheck to paycheck on $100k. Adding additional income does not help these people - also see The Two Income Trap.

Finding out where your money is going is good for everyone. Budgeting (even if informality) is good for everyone. Finding out where your money really goes is really eye opening for many. Realizing that a reduction in income probably requires a reduction in spending/lifestyle. Realizing you aren't "entitled" to the things you want by virtue of birth, you have to have the money to afford them. This may seem obvious to some but in the world of advertising and media it isn't to many.

The criticism of personal finance or "frugality" here and in general comes in where people become obsessed with not spending money in the long term+. When every choice is optimized for spending less and one cannot enjoy anything with becoming guilty they are spending money. They put too much effort into pinching every penny and lose sight of the bigger picture. It's easy to hate on these people. This group is the loudest, unfortunately.

Personal finance should be all about optimizing money for maximum enjoyment and financial stability. Realizing money is a scarce resource and optimizing it, which can include working on obtaining more depending on your situation. Budgeting in for the things you enjoy, within your means, and saying "no" to more things that won't bring you long term happiness. Realizing the difference between needs and wants. It's trivial to do this for many, and it is natural, but difficult for many as well. I think personal finance is just as much psychology as it is math.

+ Being obsessed with not spending money (OK, not obsessed but making it a priority) can be good in the short term for several month in some cases. Examples are taking a break from consumption or working to pay off high interest debt. Of course one should consider all their options in this situation - including, say, adding additional income short term if possible.
Yet Another URL Shortener Written in Common Lisp
> Take a look at the following code and tell me which method looks better:

That seems like a strawman to me. I would go with something like:

function() {
nested_code() {
some_very_long_function_call(
long_argument_one, long_argument_two,
long_argument_three, long_argument_four,
);
}
}
S3cmd to s3-cli: Halving our deployment time
>What difference does it make, given that the whole operation is already distributed over the globe?

It limits your potential job offers after your career as a politician.
eh, not so accurate.

it's true that you can't have int i; and write i++.

but neither do you need a mutex. for instance, you may just need std::atomic<int>, which (except on a very unusual system) is not going to be implemented with a mutex. On x86 linux, it's the "lock incl" instruction (vs an "incl" instruction which has the problems the author outlines)
I was initially hoping this would be about the book "Functional C" (Hartl & Muller, 1997). https://www.amazon.com/dp/0201419505/
Convicting people for criminal behaviour based on a subjective definition of it, is what we already do wrong. Way too many innocent people end up being punished or killed, which I expect to be (objectively) a criminal act in itself. So, I thought we better first have a tool that solves that, instead of a tool that amplifies it.
The foundation isn't the issue. You can write an intuitive interface around a double-entry accounting system, but you must keep to the fundamentals of money flowing through the system.
Trial and error. I literally memorized the correct answers as a 2nd grader. It's not like there was anything else to do but be bored, hehe
Show HN: Home Dial
In my opinion, the way Manning does this is pretty close to ideal. If you buy a physical copy of, say The Art of Unit Testing[1], or C# in Depth[2], either directly from them, Amazon, a bookstore, whatever, you get a code to download the ebook as well. Especially because it is usually only about $10 more expensive to buy the physical book + ebook combo, rather than just the ebook from them.

[1] http://amzn.to/29Rchjc

[2] http://amzn.to/29LASq7
Roads roads roads. It's always roads that people bring up when defending socialism. Look up how much our roads cost to maintain and compare it to our entitlements spending and you'll get a better understanding of what socialism looks like. There's not a capitalist alive who isn't comfortable paying taxes for roads.
Great thank you !

Is MERN deploy ready already ?
I've just spent 18 months working on a title for Manning which is due for publication soon: https://www.manning.com/books/cross-platform-desktop-applica...

- Writing a book is a huge undertaking - make sure that you have the time to do it.

- Find a good environment to write the book in - if you have kids/pets/others that will interrupt you, try to find somewhere else to do the writing - Marcus Hammerberg (the co-author of Kanban in Action) wrote his in coffee shops, with the side effect that he gained 10lbs, so factor that in.

- Try to pause on blockers if you can - time spent on coding/writing does not always result in the equivalent amount of book being produced.

- Check what the tech landscape for your book's subject is like - if it's very fluid then plan around it - since I started my book, Node.js was forked to create IO.js, Node Webkit was renamed to NW.js, IO.js merged back into Node.js, and then Electron emerged on the scene and now overshadows NW.js (which is ironic given that they have something of a shared history).

- Keep your editor informed - I've had quite an eventful 18 months and it helps to let them know what's going on in your life.

- Writing a book is a great feeling when you see your name as a published author.

I think the one takeaway is that it is like doing a dissertation whilst also doing a job - ask yourself if you can commit to that. If you can, great. And find the right motivation too, because you are putting at least a year of your life into this project.
Nutanix buying PernixData
I know things can go downhill quickly when I read things like this:

>There is one irritating thing about C as a viable programming language.

Given its history, I don't see where this guy comes from that he can declare whether C is a viable programming language or not. Especially when his real complaint is not about C at all.

>Microsoft’s compiler support is not good.

While some may complain that I'm making a minor quibble, my point is, when you make statements like this, your credibility falls a notch or twelve and I have to look at the rest of the article with suspicion.
Warajevo: a Spectrum emulator written to the sound of grenades
I wrote "Using Docker" for O'Reilly recently. My thoughts:

- I wouldn't bother with the advance. It was a pitiful amount of money and was paid in instalments that I constantly had to chase. Instead see if you can negotiate a better royalty rate (as your first book, I don't know if this will happen). Supposedly I was lucky to get advance at all, not sure how true that is.

- Another commentor mentioned the free books they give you; I think this is an area you can likely easily negotiate up a bit.

- As I wrote on a popular topic, I did make some money, but nowhere near what I would have made consulting. However, it has opened a lot of doors for me. I have given a lot of talks in a lot of countries and people come to me for advice, which is a nice place to be. In terms of my career, it's certainly been a big help.

- I wouldn't write for one of the publishers that push out lots of low quality titles. It demeans your work and you'd probably be far better off self-publishing.

- O'Reilly have a reasonably good infra set-up; I wrote the book in asciidoc using Vim and pushed to a git repo. There was an on-line app that would then build PDF/ebook versions of the book on demand.

Good luck!
This.

Plus, using a mutex requires that you obtain all your locks in a consistent order, etc. which opens up a whole can of concurrency worms. All you need is some intern who didn't properly read the documentation writing code that could deadlock. Atomic access is usually what you want.
So because you are smart enough to do this in your head you think people who do the exact same thing as you just writing it down instead of doing it in their head are wasting their time? That's pretty silly.
Well, that's because it IS the right tool for the job. C was built for systems programming: kernels, filesystems, and the like. It really wasn't built for applications space programming.
Because then you also need to host a feed, and keep it updated when new releases become available, and keep it updated when new plugin releases become available, and ensure the feed stays up, and maintain patches, and maintain required dependencies. All the things that package maintainers (thank you!) do for the ecosystem. Unless there's substantial gain why not just stick with Nginx?

For what it's worth though FPM is awesome, and has made my life better a number of times. If you have to have software that isn't packaged and you aren't familiar with packaging, look into FPM.

https://github.com/jordansissel/fpm
How SmartNews Built a Lambda Architecture on AWS
Have you read the article - John Carmack suggest FP and writing pure functions is better.
This one always gets me ready for the day

https://www.youtube.com/watch?v=dQw4w9WgXcQ
World's fastest and most advanced password recovery utility
Where is "commando" in there?
I think this is a great example of something that is different for an exceptional developer as opposed to an average one.

A developer like Carmack and likely the teams he works with are able to keep a much larger system in their head at one time than an average developer.

And this is typically why they can write larger functions like that and get away with it.

A less talented developer will be much more likely to introduce bugs near the top of that function over time as they struggle to maintain the entire function in there head.

Sometimes choosing the correct tool has more to do with the craftsman than the craft.
> "It's a plutocracy. Has been for hundreds of years.

> "The UK has an unlected upper House of Lords."

The balance of power has shifted in those 'hundreds of years'. The House of Lords no longer has the same level of power it did 200 years ago. The Parliament Acts of 1911 and 1949 shifted the bulk of the power for law making to the House of Commons. If you're not familiar with these bills, I recommend taking a look...

https://en.wikipedia.org/wiki/Parliament_Act_1911

https://en.wikipedia.org/wiki/Parliament_Act_1949

> "It has a monarch that technically still has a lot of power, even if it isn't excercised."

The moment the Monarch tries to exercise that power is the moment the Monarch seals their fate, as dissolution of the monarchy would almost inevitably follow soon after. I'd hardly call that 'power'.

> "London is the primary focus of the country's expenditure and may as well be a city state."

I agree that spending in London is disproportionately high compared to the rest of the country.

However, it's worth remembering how big a part of the UK that London is. The population of Greater London is roughly 9.8 million. The population of the UK as a whole is roughly 64.1 million. Therefore, approximately 15% of everyone in the UK lives in London/Greater London. To put that in perspective, that's more people than live in the next 6 largest urban areas combined (Greater Manchester, West Midlands, West Yorkshire, Greater Glasgow, Liverpool, South Hampshire).

https://en.wikipedia.org/wiki/List_of_urban_areas_in_the_Uni...

There are signs that UK public spending outside London will be improving. At the moment public spending in the UK is guided by the Barnett formula, which even the author himself admits was a 'terrible mistake'...

https://en.wikipedia.org/wiki/Barnett_formula

> "The City of London, an entity unto itself is rife with fraud and corruption on a global scale, and essentially owns our politicians, much like Goldman Sachs basically owns the US government."

The City of London is rife with fraud and corruption, but that's no argument for the EU, which is equally in bed with big business. The lobbying industry for the EU is massive, second only to the US.

https://www.theguardian.com/world/2014/may/08/lobbyists-euro...