skysight-inc/HackerNews huggingface dataset:
> Spitting discrete parts of functionality into separate functions, even if called once makes the code more readable even if they only get called once.

The key point is discrete. If you fail to carve the program at its joints, and no more, you'll only make it worse. I too separate functions even if they're called only once. I just require that the interface of the function be easier to understand than its implementation. That's not always true, especially for short, impure functions.

> You don't clutter the would be calling functions scope with variables only needed within the would be in-lined functions body.

I don't need functions to do that. I'm not writing JavaScript. Here:

{
int foo;
float bar;
baz(foo, bar);
{
int wiz;
float woo;
wak(wiz, woo);
}
klo();
// klonk(wiz); // error: wiz not in scope
}

> When you read the code you the function name and return type can describe what is being done rather than trying to grok the body of the function code itself.

I can still put comments. They notoriously rot, but the same is true of function names. Plus, comments aren't restricted to identifiers, so I can write plain English:

{
// ...
{ // Waks the wiz with the woo
int wiz;
float woo;
wak(wiz, woo);
}
// ...
}
You can read Peter Wegner's Concepts and Paradigms of Object-Oriented Programming (1990), to get a deep discussion of all the concepts he speaks about oop. He is not criticizing oop, but doing an analysis compared to procedural programming. (And defending why OOP can be useful, but with no sensationalism) And he even predicts that paradigms based in concurrency will be the next buzzword after oop.
If you read most of the discussions that happened in those early years of OOP adoption, you'll see a lot of the things he's pointing out has being already argued.
They just were done in texts, not videos, and weren't so incendiary.
This is partially related - support of RGB colors (True Colors, 24bit colors) in various terminals: https://gist.github.com/XVilka/8346728
If you don't allow raw HTML, markdown doesn't support underline. I've run into this more than once with users.
You read about the franchising crap in the other thread, have you forgotten? Their own FAQ states clearly that they would never sell foam arrows to a distributor like the LARPer.
"RandomDNS aims to improve the security, privacy and anonymity of DNSCrypt."

"It can randomize the server choice at runtime and can rotate it frequently."

Re privacy, randomizing the server choice reduces privacy. It means they all end up with your DNS queries instead of just one of them. This is exactly why Tor has entry guards.

I can't see any evidence of this application increasing security or "anonymity" either.
I've had good results from Emin. But it can be a bit temperamental.
I tend to write my DELETE statements by writing a SELECT first then edit that into the delete version
Which is absolutely fine, but competition is never a bad thing.
Build a fully hosted, powerful REST API without code and connect it to any app
I did not have the negative reaction to the same degree when watching, but did find the comment a little strange as well. He does not need to dig that deep.
I would really love to get more detail about how they structured the full backups and transaction log backups for the database. Are the backups dumped to disk before being picked up on tape? Or are the backups streamed directly to the backup system?

I'd also would love to know how large is the database that was deleted. Doing a point in time restore of database that's a couple of hundred gigs should be relatively fast (depending on what hardware you are running on).
Even if you get the right balance of everything else, there is evidence that too much of certain sugars can impede the body's ability to manage this as can the presence of certain common chemicals in the modern diet (caffeine, some sweeteners and other additives).

It isn't just that the modern diet of many people fails to provide what the body is looking for, it also breaks the body's ability to manage things (in some cases due to not processing it properly, in others due simply to hunger signals being present unnecessarily) even if it is provided with what it wants.
No problem. I just get upset that people take a short quote and then decide to force it on everything associated with it.

Due look at the link for ACT Test (For college admission) this kind of shows how to make an average of skills and rank them with a population group. In statistics you can do just about anything and it can be scary but there is always a middle and it just depends on your decision on what is the best tool to use.

Have a great day.
Twitter's 10 Year Struggle with Developer Relations
How do you test for these in an interview ?
Tryb is a new fintech partnership for Southeast Asia
Also the cpluscplus example. It throws structured data in a completely unreadable format and ads paddings to the navigation where they are surely not needed.
BMW, Audi and Toyota cars can be unlocked and started with hacked radios
https://www.gliffy.com/examples/

First graphic on this page includes a bright red box asking: "Is your data safe online?"

Evidently not a rhetorical question.
Once I asked server support guy to move database from production to dev. He did - without any question of doubt - exactly that: copied database to dev environment and deleted it from the production.
(note: in my language word "move" is less unambiguous than in English - it may mean, depending on the context "move" or "copy").
That was a great blog post. Thanks for sharing.
My mentor told me: "get everything wrong, but get the backups right", as he was busy debugging the backup solution he had in place at my college (ZFS + NetApp + rsync + sh + perl + tape).

On my own, I'd put CoW wherever possible. It's so easy to delete something on UNIX that it should also be easy to restore and CoW is without a doubt a no-brainer for this.
>legally granted competitive advantage

I don't understand how it could be called a competitive advantage when you have to run to the law to fend off your competitors.

Actually I don't really understand the whole idea theft scenario, shouldn't it be the patent holder's responsibility to prove others have stolen their idea? Innocent until proven guilty etc. If your product can be 'reverse engineered' just by looking at them, good luck with that, chances it was obvious in the first place.
People want C++ without the overwhelming choice it gives you.
"Hey, Laverne. How'd you get upstairs?"

"Am I upstairs? I got lost."
It is instructive what kind of mental contortions people use when they think they deserve something (including continued labor) for free.
Sadly no mention of SCTP, which, if you don't need to communicate with arbitrary hosts over the Internet, sits in a nice middleground between TCP and UDP.
From the many issues I've seen with Comodo products, either they don't know what they are doing or are doing it on purpose this way (plausible deniability backdoors).
Not until the first sync, that is. Then all your files go poof.
Given their size most like yes. Until you solve the perception that all men who want to work with children are pedophiles this is not going to change.
My personal preference is to either have a "deleted_at" column so deletes never need to happen, or have a "history" table.

When this isn't possible, I do a select for the PK and delete based upon only the PK. This way I can review the rows to be deleted and back them up manually if needed.

All of this is way overkill considering the backups available these days.
I got fired from a (sysadmin) job because a servo in a tape library failed while i was working 14h days on conference that I was told was "my only priority".

We didn't need the backups at all, prod was fine, and I found out 2 business days after the servo failed when the conference was over. apparently 2 days of not having backups due to a mechanical failure out of my control was beyond unacceptable.
What if they said they were measuring how many of test subjects where human and then explicitly say the measure humans as having above 1 meter tail.

Now they can, without being misleading at all, claim there were no humans in the last us census.

Your definition of measurement must be representative of the category you claim to be measuring.

It is misleading to say there are no humans in the American census when your measurement for human is non-representive just like it is misleading to say that hardly any Americans are healthy when you're measurement fails to capture most healthy subjects.
I've done this - ran out of space on /home for the mSQL database (~1996 era), I moved it to /tmp which had plenty free. I suspect most people can now guess which OS this was on and what happened when the machine rebooted some weeks later...

(Hint: Solaris)
Every System admin could have a bad day like this :)
Some years ago I have deleted entire production server just by very simple command "rm -rf /" instead "rm -rf ./" and I had logged in with root account. No words to explain the feeling at that time.
Thanks to backups, without it, I have been killed thousand time by my customers.
I'm pretty sure the ownership he's referring to is the github repo. Since he unpublished from npm, he has no control over those names.
I am not a doctor. Consult your doctor. That said, my non-medical grain-of-salt advice.

Find out the mechanism of action.

1) If the allergy medicine is "anticholinergic" -- same mechanism of action but not the same drug -- then it may or may not have the same side effects.

2) If it is "diphenhydramine" then it likely does have the same side effects (even if different delivery).

3) If it is a different mechanism of action then it likely will not have the same side effect.

If 1 monitor the research, if 3 you probably don't need to worry at all. If 2: talk to your doctor about alternatives. Keep in mind this is just a single study and new evidence may overturn current evidence. But the side significance and magnitude of the effect I would say is cause for concern (again just one study I expect there will be many more).
Our newest SEO tool checks your hreflang meta tags, and verifies if the correct country codes (ISO 3166-2) and language codes (ISO 639-1) are used.

Please let us know if you have any improvements!
If they didn't want money, for better or for worse, they wouldn't ask for it:
https://philanthropy.mayoclinic.org/donatemc

$4.27 billion, pretty good for a non-profit:
http://www.forbes.com/lists/2010/14/charity-10_Mayo-Clinic_C...

I'm not saying they don't use the money to help people. I am saying that, in regard to this article on HN, it's the finding one would expect.
> the use of "unsafe" features for the most basic tasks, such as implementing various collections.

That's pretty much the _only_ place you need when using unsafe, when implementing "basic collections". The point of Rust's unsafe is to be able to use it to design safe abstractions. This is not a con; this is the _point_ of unsafe.

(Also, one can argue that implementing a collection is not a basic task. It's taught very early on in courses as a way of teaching pointers, but collections aren't simple in general and especially when it comes to memory management. See also: http://cglab.ca/~abeinges/blah/too-many-lists/book/)

> it prevents concurrent modification, even when provably safe

Are you talking about non-lexical borrows here (that will be fixed soon), or about Rust's restrictions in threaded scenarios? You can alleviate some of the threaded restrictions via scoped threads. Most of the non-threaded ones can be fixed (without a performance penalty) using Cell (RefCell for non-Copy types, though there's a slight cost there).

I've been programming in Rust for a while now, and this doesn't turn out to be an issue in practice since the regular way of designing code avoids this pretty well. Programming in Rust as if it was C++ leads to these errors a lot more.
Ah, the good old "blameful postmortem." Sounds like a toxic culture...
And the soundtrack!

https://www.youtube.com/watch?v=doP8gF2rais
Yes, but what about if Elon Musk micromanaged you?
It is now under development by Enova. They want to prototype bi-temporal support as an extension. https://hdombrovskaya.wordpress.com/2016/03/15/my-presentati...

While I was listening this presentation I've thought that it's quite weird functionality and intersects a lot with transaction visibility rules that MVCC already has. So it is interesting what is your use case?
"And this is why devs lost prod ddl access"
"Tell me about a time where something didn't go the way you planned it at work."
If they ever want to do business in Germany they really should use a different TLD...
Seems like it could be re-engineered to pretty much any industry. Is it web based? why not sell it Saas for any industry and try to recoup that way.
Doubt any business will go down as a result of a web based diagram tool being unavailable for a few hours.
The version of cat.c here: http://www.scs.stanford.edu/histar/src/pkg/cat/cat.c has 255 lines in the source, and brings in these headers:

#include <sys/param.h>
#include <sys/stat.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

which are needed for things like memory allocation, filesystem access, io, and so on.

One can imagine alternative implementations of cat that are full of #ifdefs to handle all the glorious varieties of unix that have ever been out there.
I'm absolutely aware of enable_if, type traits and SFINAE. But they do not address the concern I raised here. The things you mention come to play on template instantiation, after the concrete (non-generic) types are already known.
The problem I mention is that with templates you cannot type check generic code. I can put whatever nonsense enable_ifs on my template declaration and the compiler does not check if they are satisfied by the implementation.

You can write the following C++ code and C++ allows it:

<template typename T>
void foo(const T& arg) { arg.bar(); }

This is perfectly fine for a macro system. But this is not how truly generic type system would work. If templates were proper generics, the typechecker would immediately refuse this to compile saying something like:
"Error: I can't prove T has the bar() member."

> C++ templates are Turing complete, you can validate whatever you feel like at compile time.

So please write a template metaprogram that validates if a given C++ class (input to the program, given as a template argument) matches a table schema in the database system (the table name and connection string are also given as template arguments). For fetching the schema, you have to connect to the DB, of course at compile time. If the schema does not match, the compilation should fail ;)
Adobe Fireworks CS6 Serial Number Crack Full Download
A friend of mine is a nutrition researcher, and one of the things that he said that resonated with me was "The best diets tell you that you don't need to cut calories, but make you less hungry so you do it anyway".
I'm an Apple-only user at the moment, both mobile and desktop.

When Apple asserts that a desktop computer should be replaced by a locked-down handheld device with very limited capabilities, the odd thing seems to me is they don't realize these devices do very different things and fulfill very different needs.

I don't worry about the demise of the desktop because I'm nostalgic, I worry about the loss of power and productivity incurred by users with desktop-illiteracy. There are many applications for which a handheld device, especially one with the limitations of iOS, is just not suitable - in much the same way a full desktop/laptop computer is not suitable for things mobile devices excel at.

That the hardware is locked down, outdated, and supremely expensive are additional criteria making the disconnect worse, but these are not the crux of the problem in my opinion. I see two outcomes from this, neither one is appealing: either Apple is misjudging the needs of their users, to the point where trendsetters like programmers will be switching away from the platform. Or, they succeed in their vision and breed several generations of technologically illiterate information workers fumbling their way through life with nothing but extremely limited mobile devices as their only productivity tool.
As I understand it, even if a package is unpublished, that does not (normally) free up its name.
It's a shame really. 2.5hrs a week isn't a huge commitment, especially if you're able to work it into your day, e.g. commuting to work.
Yup. Small multiples of price inefficiency mostly don't bear thinking about until they group together in large batches. The time it takes your engineers to work out the difference is rarely worth it.
2) If it is "diphenhydramine" then it likely does have the same side effects (even if different delivery).

Dose dependency was mentioned, and I'm presuming/hoping taking it by inhaler results in a relatively low dose to the brain....
> We will not attempt any interpretation of these figures nor any comparison with other systems, but merely note that we are generally satisfied with the overall performance of the system.

Will write that in one of my upcoming research papers and see how it turns out.
For everybody discussing decentralization of NPM in the comment threads down below, please read the following thread: https://github.com/nodejs/NG/issues/29

Much of the thinking work has already been done.
Some budget hosting providers offer IPv6-only hosting for a lower price, since IPv4 addresses are getting harder to acquire en masse (and thus are more expensive).
> Debian seems to have no problems with that.

Because Debian developers do not package all sort of crap.
This is a lot of manual steps. Why not have migration scripts in your code base. Run them in dev and qa and staging so you know they work. Then you go to prod and are done.

The less manual steps the less mistakes will happen.
And when a lodash (trademark holding) company knock the door and sey "hey, you cant use lodash anymore", what happen then?
Will npm remove it or replace it?
That's how it used to be, more or less. Then they commercialized "to better be able to support the infrastructure".
They seem to afford now to run 4 restores in parallel, using different methods.

If they had done this exercise even once a year, they would have known better what to expect, or how much it would take.
Ok. Mind naming a single problem domain besides one I've mentioned that should be modelled the OOD way? There are none.

And please do not confuse the OOPish language features (which are just poor man modules support in most cases) with OOP-the-design-methodology. The latter is garbage, the former is just an innocent bunch of language features.

Btw., it is funny when OO zealots are calling anything else a "religion". They should look in a mirror first. OO is a religion and nothing but a religion.
The case for super small node modules
This is how I learned about xargs ...

I once typed onto a client's production mail and web server that basically ran the whole business for about 50 staff, as root, from the root directory:

chmod -R 644 /dirname/ *

I seem to recall the reason was that tab completion put a space at the end of the dirname, and I was expecting there to be multiple files with that name ... anyway the upshot was that everything broke and some guy had to spend ages making it right because they didn't have the non-data parts of the file system backed up.

I learned that whenever you do anything you should:

find . -name "*.whatever you want" | more

then make sure you're looking at expected output, then hit the up arrow and pipe it into xargs to do the actual operation.
That case was settled and a decision from a court was never reached. That is pretty far from claiming a Windows trademark is indefensible.
I'm a fan of the "Write as a SELECT first" method for any DELETE or UPDATE queries, but in my busier no-sleep days, I was very fond of mysql's --i-am-a-dummy switch[1] on the CLI client, which will "Permit only those UPDATE and DELETE statements that specify which rows to modify by using key values."

Although, these days, I generally avoid mucking around with production DBs directly. It's all manually scripted migrations, and testing said scripts on a backup or unused slave, which is by far the safest, and also helps to avoid running queries that might adversely affect production's performance.

1: http://dev.mysql.com/doc/refman/5.7/en/mysql-command-options...
How Rapid Web Application Development Can Deliver Enhanced Results?
I agree with you completely and I think this cannot be controversial. If we cannot agree that sort(my_list) is better than its inlined function, our profession truly is at square one.

The interesting part of this is that although you kind of know that positions with as little nuance as Brian's have to be wrong (because the world isn't simple), it's still important to think about why you hold your own positions instead of dismissing any challenge to them outright. I think it's good to think about why we use objects and whether we need to do it as much.

What we especially lack in programming is any evidence for our practices. The best we currently have is opinion and experience. That means a lot, but not as much as empirical evidence, and I think we tend to forget that too often.
> Many primary ingredients are sold in cardboard or plastic packaging.

Ok yes, a rhetorical failure on my part. The distinction was of "meals coming in wrapping" vs. making them out of primary ingredients.

I'm thinking butchered meat and fish from the counter, fresh produce by weight, grains by the weight. But yes, those same things can be sold in boxes and plastic.

But with #3, you don't have to make complicated meals - those indeed are a luxury. My bachelor rule of thumb was 3 "foodthings", 3 minutes, add spice to taste. Or 5 of each, if you splurge. Of course, with higher income, you can buy even higher quality primary ingredients, and the contrast to the cheapest basics are remarkable. But the difference is mostly limited to freshness, texture, taste - at the moment research doesn't suggest they are better from a fundamental nutrititional value standpoint.
Certificate Transparency and the Certificate Authority Death Penalty
> Now people will start wondering if a module with millions of installs in the last month is still going to exist tomorrow.

That's a smart thing for people to wonder when there is a very real possibility that it won't. I'm not going to applaud the author's action here, which I consider reckless, but it did bring attention to how fragile this "essential" infrastructure really is.
Tay – Microsoft's Twitter A.I. account
What about a system that uses a different server for each separate lookup?
No no, The very _worse_ thing is when there is only one answer saying he found a solution but doesn't provide any information.
Yet another example of the JavaScript ecosystem being pretty much garbage.

To be clear, I'm not attacking the author here. He released left-pad at version 0.0.3; no responsible developer should be using that in production code.
It also says the answer is NO if you have "services administered by meat-based lifeforms"
Can you provide a link to a case? The only one I recall is about Lindows and that case settled out of court.
You were also recruiting for a "cool" sector where people would be learning marketable skills. Do you have any evidence that the same technique would work for more "boring" companies? (I ask because I'd like to convince my manager that creating a work-sample test wouldn't be a waste of time)
Justice-as-a-Service: What the DoJ has been falsely claiming to provide since 1870!
No, wayland would be Good and Wrong™. It would be very nice and kind of elegant... And Linux only. Adding support for it upstack (i.e. SDL) was the Bad and Right™ thing to do. And nobody wants another implementation of X.
Boilerplate for creating libraries with Jest, jasmine and rollup