skysight-inc/HackerNews huggingface dataset:
Electret microphone capsule with couple of transistors preamp can give very good results, but requires some electronics skills I guess...
Author here.

- The article uses systemd for process monitoring rather than PM2 since it's built into the OS.

- The article uses HAProxy as a load balancer.

- Ansible playbooks, Dockerfiles, and the AWS API are all mentioned in the opening section of the article. Serverless sounds fine too. Personally I use http://mikemaccana.com/images/work/screenshots/firework-0.pn... which I made using the AWS API. Either way, you will need some logic to capture inside these tools. Rather than write an article on Dockerfiles, Ansible playbooks, or the AWS or DO APIs, the article covers the devops basics one needs to know before using these tools.

'Use ${TOOL}' doesn't help you create or understand the contents of ${TOOL}s Dockerfile.
The SDS library (http://github.com/antirez/sds) is the middle ground between the two approaches. SDS strings are apparently C null-terminated strings, but before the pointer that you pass around there is metadata with the length. This makes SDS strings compatible with everything there is in the C standard, but has allows to easily manipulate the string without managing the allocation manually. Also sdslen() is O(1) and binary safe.

The main drawback is that most functions have to reassign the pointer back, like in:

sds foo = sdsnew("foo"); // Creates an SDS string
printf("%s\n", foo); // You can print it with printf()
foo = sdscatlen(foo,buffer,10); // Append 10 bytes.

Failing to reassign sdscatlen() return value back to "foo" creates a bug. SDS originated with Redis but is now a standalone library. Recently version 2.0 was released that makes it synchronized with the version we have inside Redis.
Take a look at bstring[0] and you'll see how to circumvent C's null-terminated string in a clean and light way.

[0] http://bstring.sourceforge.net/
It would be nice - not a solution, but an improvement nevertheless - if there was something like a "firewall" for phones, that allowed you to block calls based on the caller.

I have never been harassed like that, but I have often wished for a feature like that.
Sure, but you never know what (non-public) conditions are attached to the money...
I have yet to encounter any problem that would be better served with an imperative for loop or nested for loop than an immutable list comprehension in Clojure, for instance.
HTTP keepalives and Web Performance (2014)
Except in swift, a truly value-oriented thought process is hampered by its copy-on-write semantics, which are a far cry from immutable structures found in functional languages.
Another nice feature of C strings is that a substring spanning to the end is essentially p + something. You can also insert temporary null-chars in the middle and have copy-free substrings.

Most other high-level languages would let you copy the substring even if you don't intend to modify it.
JSVerbalExpressions – JavaScript Regular Expressions Made Easy
The way I understood it: transaction costs matter much more than most people think they do.

City is efficient because transaction costs (transport and communication distance for workers and suppliers) are low. However, that's a function of technology. The cost of communication is getting more and more independent of distance; with full vr, it's going to be zero. Price of transport as function of distance would get to zero with teleportation technology.

Unless I missed something, it seems weird that several books were written on such a simple observation.
I've done a bit of xml encoding myself, more custom schemas than TEI but I've dabbled in TEI a little too.
I think xml is wonderful as an encoding language for text, and can't see anything else replacing it in the near future - unless someone comes up with a really extensible, and easy to use wysiwyg editor.
I think the lack of available open source processors is a pain. I remember doing a college assignment and getting really frustrated because my xslt wouldn't produce what I expected - it turns out the Home Edition of Saxon didn't implement this.
I wonder Saxon's better implementations being closed source hurt the spread of XSLT and Xquery at a crucial time?
"Goldman Sachs and Macquarie Capital were joint lead managers, joint bookrunners and underwriters to the Offer. Aquasia advised the Board in relation to the Offer and Minter Ellison was Dick Smith’s legal adviser." [1]

So, the usual suspects...

[1] http://dicksmithholdings.com.au/events/dick-smith-lists-on-a...
or PureData/SuperCollider (:
I assumed that when I buy something on a card, it's more or less private. The transaction should be known only to: me, the merchant, our respective banks, Visa, and I guess the IRS if they come and ask for it.

If I understand correctly, youre saying my entire purchase history is shared with random third party marketing companies. Full transaction data, PII included, no anonymization.

How is that even remotely OK?
No, but it is the only answer to how much those services cost, which is a necessary question to answer if you intend to apply accounting to resource allocation and consumption.
Is Linux ready for desktop? tl;dr – NO
Thanks for the reply. I'm glad I have more arguments against Monstanto now.

Reading the Monsanto vs Schmeiser case, however, it seems pretty clear that Schmeiser infringed the patent (he intentionally used it without having the legal right to do so); we can argue (and probably agree) whether patenting of genes should be allowed or not, but assuming the patent is valid, Monstanto had morally won the case.
I don't think it's possible to effectively address the bad consequences without limiting inequality. It certainly doesn't seem possible right now, in the U.S. (do you expect to see publicly financed political campaigns any time soon?) If pg wants to be taken seriously he needs to make a serious proposal about how we can have tons of economic inequality without the seemingly inevitable bad consequences of it. And I note that some of the proposals you mention (e.g. lots of public funding for education) are merely redistribution in disguise and do in effect take money from the rich and give it to the poor. Truthfully, pg doesn't care about the consequences of inequality because they don't affect him or his buddies, so he likes to pretend that some pie-in-the-sky scheme can magically make everything ok without actually changing the status quo.
Elecraft website now accessable through FiOS in NY
How about we try to figure out what things you could possible use this info for.

Maybe these are BS or strawmen, I'm just making them up to see if they stick. Please feel free to tell me they don't hold up to scrutiny.

If I was the RIAA I might want to know if you use VLC more than someone else. Then I can target your known IP addresses to see if can catch you downloading something you shouldn't

If I wanted to hack you email and I could find out which email client you're using I could target known exploits at you.

If I saw you used a Tor browser the DEA or NSA or FBI might be more interested in you. If your usage correlated with events in the real world I might want to investigate of there's a connection

If I saw you using Tinder and I know you're married I might try to out you or if you're using Ashley Madison I could try to blackmail you.

If I saw you were using some financial app a lot I might assume you've got more money than someone who's not, on average. You're better to rob or better to sell to or better to hit up for donations.

If I see you're using the RedFin app I can start serving ads for housing loans.

If I see you're using the linkedin app app your employer might be interested to see if that means you're considering leaving.

I don't know which of those are more of a problem on the phone than on the web in general. Seems to me if I access those services from a website I can try to be anonymous. Use different email addys, maybe use a VPN. But my phone is almost guaranteed to be tied directly to me.

Just thinking out loud. Feel free to tell me I'm missing something.
Omni TT is hiring a Front end Developer (m/f) in Berlin [pdf]
In the UK, DSE became famous for selling dirt cheap consumer electronics on garage forecourts. But I'm not aware of any actual stores (I may be wrong).
Nice. There are already a couple of programs that do this I think, but maybe use AWS CLI to write a plugin for monitoring ec2 instances' status.
Seems like you could avoid that potential for error by making functions that modify an SDS take &foo rather than just foo, and modify it in place.

As a stopgap, though, SDS could use GCC's attribute "warn_unused_result" on all of those return values.
I hope we don't get someone in a few years "uncovering secret information that OpenSSL is funded by a foreign government".
I learned all the way up to the 12 times tables here in England, I was born in 1965. My kids only seem to have learned up to their ten times table however.

Personally I strongly believe that this is so important that it should be enforced by rote memorisation very early on (as in my case).

For some reason far too many people see no problem with insisting children learn their alphabet to ensure literacy but suddenly lose interest when it is times tables in order to ensure numeracy.

Fortunately we have just had a (wrongly much derided) Education Secretary in Government called Michael Gove who has done an excellent job at demanding that these basics are covered and as a result is now widely (and wrongly) hated.

He has also insisted that school IT courses should involve teaching programming. Up to now, they have just been about to create a Microsoft Powerpoint presentation, or how to use Microsoft Word. Yes, seriously. That bad. They squandered the early lead the UK had with IT by dumbing down everything to such an extent that no bright kid would want anything to do with computers.
I agree that shorter hours are likely to be beneficial, but why are people trying to achieve this by passing a law?

I think that this can be achieved with a softer approach. Imagine that when you sign up for a job, you select how many days per week do you want to work, from 3 to 6, with proportionate wage scale. That you can select what hours do you want to work. That it's easy to change this arrangement while you're already working.

Now, why is this fantasy not a reality? Not because of laws; laws allow this. But:

1) These creative arrangements require non-standard agreements, and a lot of additional bureaucracy, because in a lot of countries, all the bureaucracy machinery allows it, but is really not optimized for use-cases like that.

This can be solved through careful policy work, removing necessary paperwork, streamlining processes, etc.

2) Economies of scale. Having a full-time 40h/week employee that gets X money as salary is cheaper than having 2 half-time 20h/week employees that get X/2 money because of management overhead, cost of their office spaces and other stuff like that.

This would be solved if 20h/week employees would understand this and get X/2-Y money. Also, a lot of these scale issues are being solved by modern world anyway, because we're learning to telecommute, work together in more effective ways, automate management tasks, etc.

3) Culture.

And I think this is the most important one. It's not in the laws, it's in the people's heads. We need to convince people that one person wants to dedicate work 60 hours per week, spend free time that's left on professional education and succeed in his career, and another is quite OK to work for 20 hours per week, get less promotions, learn less new stuff and earn less money, and spend all his free time with his kids. We need to stop labeling the first of these persons as "successful" and second one as a "failure": it's OK to be both of them. And they need to be able to work in the same office, on the same project, fully understanding difference in each other's views and being mutually acceptful.

I don't know how to do that, but it seems that this cultural change is already slowly happening. Still, advancing it would bring the real change much faster and more effectively than writing new laws.
Perhaps in the future there will be a time where an 'old-fashioned' server-side app is a bad idea, but right now I think it's still a perfectly valid approach, and even preferable in some cases.

Consider whether your app will actually benefit from being an SPA. Does it negatively impact the user experience to have page refreshes? Or does it provide significant benefits to do things client side? If the answer is 'no', you might as well take what is currently still easier and more standardized, and go for server-side.

But the next step is to ask these questions about parts of your app. In those cases using React or Vue or something similar for just those parts might be a good idea. And if you've already separated front- and back-end, it shouldn't be too difficult to realize (and it's a good reason to use React server-side even if that's all you use it for initially!).
Ironic, then, conventional wisdom is a useful heuristic because of all these unconventional ideas individuals do attempt, and so the answer to keep moving humanity forward is, yes, go ahead and try that unconventional idea, or you will contribute to systemic bias.

I would expect the "wisdom of the crowds" to have a different result if, when asking for each person how many peas are in a bottle, each person is first told of the current running average or median. I think it would achieve a better result if everyone made their own guess independent of the "crowd". Otherwise, the random bias that occurred from the first 20 people's guesses is going to percolate because everyone who is guessing after will have their guess anchored when they're told of the group opinion.
bstring relies on undefined behaviour for security. Do not use it.

>Bstrlib is, by design, impervious to memory size overflow attacks. The reason is it is resiliant to length overflows is that bstring lengths are bounded above by INT_MAX, instead of ~(size_t)0. So length addition overflows cause a wrap around of the integer value making them negative causing balloc() to fail before an erroneous operation can occurr. Attempted conversions of char * strings which may have lengths greater than INT_MAX are detected and the conversion is aborted.

>It is unknown if this property holds on machines that don't represent integers as 2s complement. It is recommended that Bstrlib be carefully auditted by anyone using a system which is not 2s complement based.
Not my comment but I think of it in exactly the same terms. You abstract the details of the company away and reduce it to some key numbers, the company viewed at a high level of abstraction.

The company gets to abstract away information that might cast them in a bad light, like bad working conditions, environmental impact, bad financials, etc., and maybe lets them screw over investors. But what makes it really "evil" (thought I don't think evil is a helpful concept to invoke) is that it can also help investors by giving them plausible deniability, they can invest without being bothered by unpalatable "implementation details". It can be used to make it easier to externalize the cost of doing business for both company and investors, to the detriment of the public.

Not necessarily what the original comment meant but it's why I think of it in those terms.
I would say, that being a DSL is a benefit by itself. This is how the above example would look in Python:

[character['name'] for book in library for character in book['mainCharacters']]

(Python also has maps and stuff, but it's considered non-idiomatic, plus flatten would be more awkward.)

First of all, syntax is quite different from what you use (Scala, I suppose?), when were we using JSONPath we could just copy 1 line from one project to another and that would be fine.

Moreover, both our implementations have the same problems: we assume every book has mainCharacters and every character has name. Would it be JSONPath — it doesn't matter, no 'mainCharacters' means path doesn't match the pattern, just skip it. In our cases this means exceptions.

And what if we want to get all 'name' fields from whatever object at whatever depth? Or 'name' of every object where 'color' is 'yellow'?

Now, if you consider dictionary structure much more nested (say, some AST) — processing that without errors would be quite painful. And you also would end up writing your own XPath (JSONPath), even with all your map's and reduce's.

Of course, should it get complicated enough we would end up needing to write something custom anyway, but stuff like JSONPath just helps to keep things simple when possible. That's it.
Totally agree. I don't see how people can be productive working >60h/week and doing mental job. I find 30h/week to be perfect as I can't keep concentrated more than 3-5 hours straight, so that makes two streaks (2-3h) and a coffee break working day Monday till Friday. If I'm forced to work longer hours, I find my mind wandering around, rewritting the same code over and over or reading HN. Of course, there might be some short-term mission critical periods when I can honestly put ~10h/day, but it's an exception that must be justified, not a rule.
Gove did a fantastic job as Education Secretary and that is why he is now hated by a teaching profession being forced to do their job.

I am not and never have been a Tory, but he is the one Tory minister I can respect. (The rest are dreadful).
I don't think you give people enough credit.

Sure, it might not be as explicit as "here is a spreadsheet, with quantitative values assigned to each pro/con".

However, there is certainly intuition and a decision making process involved - it may just not be the same way you or I might have done it.

At the end of the day - if a person notices negative impacts from using a product, then they will stop using that product.

There are tech companies that have lost trust - and they lose users as a result. Sony of course is a classic example - and they've had to work pretty hard to regain that trust. Another example - Samsung has a poor reputation for software quality and lots of jank - sure, a non-technical person may not be able to verbalise it in those terms, but they may simply describe the iPhone as "smoother". This was reflected in their numbers - they were bleeding money for a while, and still are.

It's like people complaining about the walled garden that is Apple - I loathe Apple, and the walled garden approach, but I can't argue that it's not popular. For many people, they can deal with all the cons, because of the product/services that Apple provides.

I might not choose to use an iOS device - and I will actively steer my family away from it (just converted my father to a Nexus 5X), but I'm not going to automatically assume that people who use iOS devices are ignorant - they may just have different costs/benefits analyses to me. Until you can provide a reason that actually affects them (which is why I have asked for numerous times what the actual concrete issues are), they will continue to use those products, in order to garner the benefits.
Can't disagree with anything here really.

I think one of the problems is that some people in powerful positions in companies want to do long hours themselves, so expect those under them to do the same. They see someone putting in long hours as hard-working and diligent, even though in reality they are probably being very inefficient and producing shoddy work.
let's start by just cutting aka not doing ALL THE BULLSHIT that is being done. all the needless crap. ding 50% time saved.

"what" you ask? take a serious look at your inbox.
Yes, absolutely! It looks like there are lots of nice features.

But it's not a new programming language, and shouldn't be advertised as such.

(In fact, I now notice that their website doesn't claim it is. Where did the HN post title come from? Because it's just wrong. I can't update my original post any more.)
Book value, their assessment of what they could get from liquidating the stock and the costs involved might have made it not worth it.
Viper: Binary Analysis Framework for Malware
Last time I tried it, that GCC attribute was only implemented for C, not C++. It seems like a good idea anyway.
Saw, clicked, read, ordered.

Why did I never think of this before, it's so obvious, but I never considered this to be an option, and yet I actually have to deal with street noise I find distracting.

Thank you ;)
That's not what he is saying. He is saying that there is an overhead in term of string length.

Example: a string with 0 character has a length of 1 (it contains NULL), a 100% overhead. A string with 1 character has a length of 2, a 50% overhead. It gets better with larger strings.
I used react-redux combo. Thats it. They both themselves are good enough for my project to get started.
This press release(http://dicksmithholdings.com.au/wp-content/uploads/2016/01/P...) from today says it all:

Dick Smith Holdings Ltd, (‘DSH’) one of Australia’s largest electrical retailers, was placed in
receivership today following the appointment of Voluntary Administrators.

Receiver Mr James Stewart said it was too early to clearly identify the primary causes of the
company’s current financial position and the reasons for its decline other than saying the
business had become cash constrained in recent times.
Show HN: 5,111 commits and counting. Star if you like. Need that encouragement
This is a really really cool idea. Two things:

1. I don't use Facebook. I want to, but I can't interact!! :(

2. I'm not sure if's still the case but I heard Japan has a culture around stories spread very similarly to this. If that sort of thing is still happening, it might be an interesting idea to localize this to Japanese.
> Most other high-level languages would let you copy the substring even if you don't intend to modify it.

C++, std::string yes. But for example Java, C# and Go (slices) substring doesn't copy data.
If you choose to use a webapp - e.g. Dropbox, Gmail, Instagram, Flickr - you are already trusting those services to store your data.

There is an implicit trust there.

I would have thought them already having all your emails, files, documents etc. is a far greater trust than whether they know how often you open up their app....

The topic of this discussion is around Amazon Underground collecting telemetry data on app usage. This is clearly stated in their TOS, and they explain that it's for re-compensating app authors.

Can you explain how this is a breach of privacy, as opposed to simply being the deal you strike, when they give you paid apps free?
> the vote actually happened a month or so ago.

Yup, I posted the result on HN but nobody cared at that point. I guess it wasn't quite concrete enough because the money would go to "undetermined open source projects that have to do with encryption, such as polarssl and openssl".
I think after a while they will. Wifi chips supporting both current frequency bands cost pennies at the moment, if this standard gets some foothold it won't be too long before it's added in to generic chips.
NVIDIA DRIVE PX 2 Deep learning enables cars to navigate autonomously
Growth hacking has two phases – and using the wrong one will sink you