skysight-inc/HackerNews huggingface dataset:
If you do that, as a public company, don't investors come along and say "hey, you really need to spin that off"? I mean, I see there are quite a few companies that just seem to have a grab-bag of random stuff they make, as though they were a mutual fund of different tangentially related businesses. And it certainly occurs that people decide they are more valuable broken up.

From the larger perspective of society in general, why should a company be eternal; why does it need to always have a way to pivot?
I've been a developer at Amazon for about 3 years, and I've stayed for the following reasons:

- Reasonable work-life balance. In my 3 years here, there have only been a few "crunch times" the whole team has had to work weekends. We viewed it as a failure in planning and conducted a post-mortem to understand what went wrong.

- Nice people. Honestly, I've never experienced poor treatment like that which was highlighted in this article and the NYT exposé. I'm not saying it doesn't exist, but in my experience, Amazon has no singular culture. It's more like a federation of start-ups with distinct cultures; if one team isn't a good fit for you, it's pretty easy to switch.

- Competitive pay. This is partly due to timing (the coincidental soaring of the stock price when I joined), but in general, my experience has been that Amazon offers strong stock compensation.

- Fascinating, hard problems. Pick _any_ specialty within software engineering or data science, and there's a team within Amazon at the forefront. I'm always learning, and I never feel like the smartest guy in a room. I get to work on "moonshot" projects that few other companies would have the resources to finance or the risk tolerance to stomach.

I'm not writing this comment to brag or imply my experience is representative of everyone at Amazon. This is just one perspective to even out the chorus of voicing saying it's a terrible place to work. In my experience, it's the polar opposite.
Reminds me a bit of a process I've been wrestling with to redeem a "rebate" (gift card to a chosen retailer from a list) on an online textbook, negotiated between the professor and the textbook company after the semester start. The stakes are a little lower ($15 rather than a car) but the hoops they make you jump through, and the personal information they want, for what is ostensibly your money definitely make it feel just as scammy.
You need some kind of katamari damacy style ball of Lego that rolls around collecting pieces and getting bigger
I think it's great that machine learning is exciting enough that people want to learn the math behind it.
Most of these points are covered by the other comments. As a C programmer professionally, I'll go into a little more depth, and offer an alternative implementation for comparison.

The function in question:

char *combine(s, t)
char *s, *t;
{
int x, y;
char r[100];

strcpy(r, s);
y = strlen(r);
for (x = y; *t != '\0'; ++x)
r[x] = *t++;
r[x] = '\0';
return(r);
}

1. The array 'r' is allocated on the stack, and returned from the function. This is bad because 'r' goes out of scope as soon as the function is returned. This function returns a pointer to memory with essentially unknown contents.

2. The array 'r' is allocated at a fixed size. This is okay if you know ahead of time that you know this size, however for this function we don't know the lengths of s and t, so the odds that we are allocating the right amount of memory is slim.

3. As a result of points 1 and 2, the strcpy and loop may cause a buffer overflow. This is a class of bug where it is possible to overwrite memory that should be unavailable to us. In this case, if the combined lengths of s and t happen to be equal or greater than 100 characters, we will be overwriting memory that does not belong to r, corrupting it, and potentially crashing the program. This may additionally be as security risk, as buffer overflows can be exploited to execute malicious code.

4. There are no checks to see whether s and t are valid pointers. If they are NULL then the function would generate a segmentation fault. This is a check that is often ignored in cases where it is deemed to potentially hinder performance if the function is used frequently.

saulrh also mentions the case where s or t are not NUL-terminated. This is often considered to be a pre-condition of the function in C, suggesting that providing the function strings that aren't NUL terminated is an issue for the user.

For some comparison the following would be my first cut at the same function. Note I the comments are only for illustrative purposes. I'd omit them in actual code.

char* combine(const char *s, const char *t)
{
size_t slen, tlen;
char *str;

// optional checks for validity (point 4)
if (NULL == s || NULL == t)
{
return NULL;
}

// get lengths of s and t, to calculate allocation size
// also save them to use with memcpy later
slen = strlen(s);
tlen = strlen(t);

// allocate to heap (point 1)
// allocate correct size (point 2)
str = malloc(slen + tlen + 1);
if (NULL == str)
{
return NULL;
}

// use memcpy since we already know the size
memcpy(str, s, slen);
memcpy(str + slen, t, tlen);
str[slen + tlen] = '\0';

return str;
}
Sure, but it is still a valid 'char *' :)
The problem with STARTTLS is a mitm downgrade attack. Self-signed certs are exposed to the same kind of mitm attack.

Mail is very sensitive communication. It is reasonable for the EFF to worry the risk of evedropping. Some websites are still sending passwords by email!
Government bonds generally have a fixed term, so unless I'm mistaken, repayment can't be demanded all at once. What they can do, though, is stop rolling over the debt into new bonds, which, given the deficits the US government is running, doesn't seem like a great scenario for the US, as I believe that would force bond yields to rise to entice enough buyers, which would eventually cause the cost of servicing the debt to rise.
> Inconsistent Variable declaration

How so?

> I would have used strcpy 2 times

You can't do this, because strcpy doesn't give you the length of the string you copied, which is necessary to put the trailing null byte.
Thank you for your comment, but as the recipient of the two comments, I did not take them as name-calling but as an indication that my comments may have been less than succinct or logical and needed clarification, which I hope I have achieved in my response.
> Can someone please elaborate why it is bad? Are their any good resources to fill gaps in my knowledge?

If you're actually learning C and writing programs in it then the two best things to do would be turn compiler warnings up to 11 and run valgrind often. So you want -Wall and -Wpedantic when you compile and if possible run with valgrind as part of your build script or run it with your tests, just run it often (the longer between runs the harder it is to track back to which change you made).
The Boston suburbs are what my ideal neighbourhood looks like.

Extremely close to the city and well connected through transit.
Safe, with great schools and communities.
All this while downtown is never more than 30 minutes by transit and the neighbourhood is still extremely walkable.

Parking is still an issue, and the NE weather can be terrible at times. But that apart, I really like those areas.
There are definitely similarities between brutalist architecture and brutalist web design, but it's more of a comparison rather than an over-arching design principal.

Brutalist architecture was largely driven by enabling concrete technology. Concrete was previously used as a purely structural element, but as it advanced, architects realized it could be used as an aesthetic. IMHO, I believe that when these architects built these buildings, they were aiming for something more human, like shaped clay, but their efforts simply failed, and they created something entirely different. In fact, there was never any coherent brutalist architecture "movement", most brutalist buildings were deemed so long after they were built, largely because they appeared foreboding, intense, and used large quantities of concrete. (yes, there are plenty of "brutalist" buildings that don't heavily rely on concrete, but there's no question that many of the most famous buildings do so).

So I don't think brutalist architectural design necessarily means exposing the "base structure". I would not consider the pompidou center as brutalist.

Brutalist web design is also foreboding and intense, but that is really the end of their similarities. Many brutalist web designs intentionally create a disjointed feeling, overlapping text, mismatched fonts, large variations in color and font-size, are intentionally used to create a particular feeling of haphazardness and authenticity. I don't think brutalist architectural design carried that same intent.
The latest versions of 1Password (I’m on 7) have great HIBP integration. Really pleased with it so far.
Adding Voice Calls to Intercom Messenger
If Karl Marx (democracy absolutist) could have you take one thing from his work, it would be your observation. Of course, before the US decided it were the home of democracy, Europe actually was. Marx devoted his life to understanding the challenge of crossing the threshold of the workplace. For everyone interested, I recommend Capital: Volume I.
Returning out of bounds pointers will do that. Was more impressed by the range of errors in his 4 line examples - the sort of thing you'd expect from a struggling student not a tutor or author. :)
QuickBooks CRM Integration: The New Way to Manage Your Finances
A few years ago, I saw a classroom video (I would guess ~8-10 year olds, in the American public school system) as a demonstration of a teacher's technique called "my favourite wrong answer". She would have them solve a problem (a math problem, in this particular case), collect the answers, show the distribution of the answers, and then pick out one answer (possibly with the student's name redacted) as her "favourite wrong answer". And then she would work through why she liked it so much with the students. In the examples, it was cases where the person was on the right track, but then made an incorrect, but justifiable by _some_ standard, step in solving it.

It seemed like a good way to really try to understand where someone's comprehension broke down. It felt like it added some legitimacy to the students who got the answer wrong, if others could look at it and go "oh, I see why you thought that!" instead of just "wow try to get it right next time". I believe it's part of what good teachers (not limited to school educators, mind you) are doing all the time: looking for the student's gaps and trying to correct those, instead of just repeating the lesson that has already failed to stick.

I guess this just makes me think of that teacher, trying to work out what her pupils were misunderstanding, by looking at their answers.
> As soon as one is shown, the network's value will be destroyed.

I don't believe this to be accurate statement. Looking at two other cryptocurrencies -- Verge and Bitcoin Gold -- which have undergone 51% attacks, neither of them have experienced a collapse in value as a result.
I'll tell you the problem. The problem is the government. You can't and shouldn't trust the government, but nevertheless the government is forcing everyone to use their government-issued currency.

Yes, I know US Gov is not like Venezuela, they are not printing money like there's no tomorrow, but they still do stupid shit and try to control the economy. Crypto at least gives you money that is not issued by the government. Of course, governments can try to control it, like they do with everything else, at least through taxes etc.
Provide a definition of "complete chaos".
Of course not. I don't think OP was suggesting it was the same pint either.
What service do you use if I may ask?
On /r/consulting people talk about PIPs fairly often so look there if you want a variety of situations and answers. The general thought there is if you are being put on a PIP look for another job as the company will have a reason to instantly fire you and it will hang over your head forever.

I was on one where I passed. I thought it was quite demeaning how my manager, the GM and HR waved their finger at me out of the blue as if they were angry parents who felt they needed to scorn someone. I didn't truly understand what I was in trouble for ESPECIALLY how much they emphasized "don't try to rope others into this." I didn't say anything in the meeting other than I apologize for this performance and I agree to the PIP ... In the next meeting my manager said my silence was noted by HR as a lack of empathy and they were close to escalating to instant firing at that stage. I wasn't exactly sure what I was expected to do but I attended all necessary meetings and improved my performance and was taken off the PIP. At this stage I'd gone through the recruitment process with other roles and resigned shortly after.

EDIT: As OP is a manager they might want to know how they can manage poor performance better. The worst manager's I've had have skipped weekly/monthly meetings with me then after three months exploded about certain work which was mentioned in a passing conversation not being completed. If you are considering escalating performance issues to HR I think it is good practice to ensure the staff member is notified after the meeting in email that you've talked to them about performance.
How China Got Sri Lanka to Cough Up a Port
You have to trust someone, at some point. HTTPS/SSL relies on a distributed trust system. Even with crypto, you have to trust the developers that created the protocol and the consortium of groups that operate it.
Agree and I am not saying it’s good. Just saying that you pulled the MX domain you are connecting to from an unsecure DNS entry so if DNS is mitm-ed, the attacker might as well make you submit the email to its own server then deliver it to the recipient.

[edit] actually looking at the RFC it relies on a TXT record before the https policy is even fetched.
tried calibre (foss ebook management software with kobo support) and the pocket plugin? I believe it converts them to epub rather than using the built in Kobo pocket app.
Looking beyond, if we find a model+learner which can discover a low dimensional latent space (through certain indirectly specified biases) then that low dimensional formulation of the domain can guide us towards interesting questions worth asking. To have a factorized low-dimensional formulation is roughly what it means to "understand" a subject, so such a toolkit would be enormously useful.

In my experience, at least, the value in this kind of activity is relatively low. Sometimes you find something, usually you just find a low-rank version of nothing in particular. Unless some significant developments appear in this space (and they very well might), the best low-dimensional approximations will be the means, variances, and correlations computed by business analysts, which are tremendously valuable quantities to keep in mind at all times.
MVVM with Kotlin – Android Architecture Components, Dagger, Retrofit, RxAndroid
Waiters in SF get paid minimum wage in addition to tips.
The derivative is a linear operator, but it's not a bounded operator. That is, for example, the vector norm of f(x) = k·sin(x/k) → 0 when k→0, but the norm of d/dx f(x) does not. This also means that it's not continuous.

Of the mappings between vector spaces, the most well behaving are the bounded linear operators, and the derivative doesn't belong to these. But yes, it's linear.

Edit: Originally wrote f(x) = k·sin(k·x), but meant f(x) = k·sin(x/k).
Running graphics-accelerated GUI apps in LXD containers on a Ubuntu desktop
Integrals and Fourier Transforms are also linear...
How Spiders Fly
NYC Criminal Lawyer and Law Firm
Well I would be for penalizing such businesses. Isn't this just bait and switch? Such businesses should have their licenses revoked, as they damage relations for everyone else who wants to use prize incentives. These cheaty businesses also call into question the common person's ability to negotiate with fine print -- it's just too much.
a wealthy entity could simply "lock down" large swaths of land, causing centralization
Controlling robots with brainwaves and hand gestures
"It is home to the decommissioned Moffett Field Naval Air Station, where the defense industry took an early foothold in the region"

There wasn't defense industry work done there, to speak of. It was primarily a flying base for P-3 Orion surveillance aircraft. Lockheed was on the same side of 101 in Sunnyvale, but that was unrelated to goings-on at Moffett NAS.
Yes. It always bothers me when people claim you can't get insight out of a nonlinear black-box model, because you absolutely can. It's just not right in front of you, and it's not always as clear-cut as what you might find in a linear regression model. But even a linear regression model with quadratic interactions is already pushing the limits of interpretability, so it's not a problem that's unique to neural networks. It is, however, limited by computational ability.

Partial dependence plots: https://journal.r-project.org/archive/2017/RJ-2017-016/RJ-20...

Locally-interpretable model-agnostic explanations (LIME): https://www.oreilly.com/learning/introduction-to-local-inter...
Something like this happened in 1944: crew bailed out from Dornier 217 over London, plane carried on north, landing by itself in the Milton Road allotments in Cambridge: https://www.asisbiz.com/il2/Do-217/Do-217-KG2.2-(U5+DK)/page...
Why there were never these articles for pizza drivers and other deliveries before?
Not sure why you're being downvoted. That's all pretty standard.

Method 1 is a contract you often make as part of defining the interface. For an example, such things are out of scope so this is a perfectly reasonable point.

Method 2 is common. Most of the strn*() and snprintf() etc, do this. This is the preferred method for some of my colleagues.

Method 3 is used in the standard library, though as mentioned is usually avoided.
certbot?

You can edit the cron job for certbot and add a script that should be called when certificates were renewed.
I saw that very car at that very mall, and the screens were all surrounded by people eagerly entering their info. Don't people get enough spam calls and emails to realize why?
I didn't say the government couldn't seize bitcoin or cryptocurrencies, only that it is a lot less likely if you get pulled over for a traffic stop. If law enforcement conducts a raid or can otherwise prove someone has been using cryptocurrencies for illicit purposes they have every right to seize it.
Thank you, Commander Data.
The “unique capability” of nakamoto consensus is the exact opposite of trust between parties — it’s that it operates without trust.
465 used to be deprecated since 1998 when STARTTLS was created, and it was only kept in use since older Microsoft applications (including Entourage v10.0 and its successor, Outlook for Mac 2011) did not support STARTTLS.

However in January this year, the proposed RFC 8314 reinstate the registration of port 465 for implicitly encrypted mail submission. I think it is a bit early to close down port 25, but a great idea to make sure 465 is correctly configured if it isn't already.
That's something C's type system doesn't check for. If you want protection for this case, use C++ or any other higher-level language instead.
On the contrary - ML is a great motivator to finally grapple the "prerequisites".

During school I never understood what the math was for, so my unconscious brain never saw the necessity to actually learn it. Now I want to learn - with hugely better results.

This mechanism should be utilized much more often instead of shoving seemingly unrelated knowledge into peoples ears without letting them feel the need for it first.
Data Security Incident – Haiku, Inc
Scale  API (YC S16) is hiring engineers to build human perception as a service
This also has anonymized email lookup (using the same model as passwords) that is new.
CGI vs real but heavily photoshopped influencers...
In theory, if all members of the cartel were to follow the rules, then yes.

However, Bitcoin mining suffers from the same problem that Californian farmers face when there's a drought -- the tragedy of the commons [1].

In both scenarios, there is an individual incentive to deviate from the rules set: with Bitcoin, it would be with people secretly mining; with farmers, it would be with people secretly taking more water than their allotment.

[1] https://en.wikipedia.org/wiki/Tragedy_of_the_commons
There's a remarkable short film from 1909 about this: http://www.youtube.com/watch?v=vKPbxcK58aI.

Found via https://news.ycombinator.com/item?id=6427339.
He was a user, though! And presumably became a dealer as a result (although this is not clear):

Mr. Timbs’s habit started with an opioid addiction and progressed to heroin. He used his Land Rover to get drugs and, on at least two occasions, to sell them. The buyers were undercover police officers.
One more spam e-mail won't bother them too much when they think they can win a car for it.
Something that actually learns on its own and is not completely stumped when it encounters something new but actually learns. When it recognizes failure it should go and start learning by itself, i.e. try to get more data and analyze that and do its own trial and error - so that it actually grows in capabilities (on its own).
Global AI Governance Group: ‘AI Decisions Must Track Back to Someone’
> 5. 'strcpy' should usually be replaced by 'strncpy'... That prevents a class of exploitable errors known as "buffer overruns".

To be honest, strncpy is barely better in this respect (as a security improvement) - truncating against arbitrary size limit in this day and age of text-only protocols... I wonder if outright crashing at the testing stage would be preferable rather than subtle misbehavior creeping into the release.

Both are bad IMO, the actual required buffer size should be known in advance.
Or -fsanitize=address, if your OS does not support Valgrind.
Imagine that in the modern civilization, we still throw bombs at civilian and children or sentence people to death
Fast Web Scraping with ReactPHP. Part 3: Using Proxy
I'd suggest not insulting the people reading your comment if you want some points back…