skysight-inc/HackerNews huggingface dataset:
>Also, I feel sorry for anyone who only views education as a way to get a job. They've missed out on a lot of beauty in the world.

One famous result from psychology is that having people focus on an extrinsic reward for doing something tends to completely overshadow the intrinsic reward involved in performance.

Contrast this with the cost of tuition and the dots naturally connect. (Of course, the opportunity cost of spending four years of your life doing something shouldn't be understated either.)
That'd still be defined though. It'd just be defined to set the first sizeof(int) bytes of `* p` to 1. ;) void * and (char * ) can alias to anything and the compiler has to make it work.

Of course if you pass a pointer to a type smaller than sizeof(int)-1 bytes then it accesses uninitialized memory which is UB, but that's a different issue.

EDIT: Aaaand I wasn't thinking.

̶E̶D̶I̶T̶ ̶E̶D̶I̶T̶:̶ ̶N̶o̶t̶ ̶o̶n̶l̶y̶ ̶d̶i̶d̶ ̶I̶ ̶m̶i̶s̶-̶r̶e̶a̶d̶,̶ ̶b̶u̶t̶ ̶v̶o̶i̶d̶ ̶p̶o̶i̶n̶t̶e̶r̶ ̶c̶a̶n̶'̶t̶ ̶a̶l̶i̶a̶s̶ ̶a̶n̶y̶t̶h̶i̶n̶g̶ ̶i̶n̶ ̶s̶t̶a̶n̶d̶a̶r̶d̶ ̶C̶ ̶a̶n̶y̶w̶a̶y̶ ̶(̶t̶h̶o̶u̶g̶h̶ ̶I̶I̶R̶C̶ ̶G̶C̶C̶ ̶t̶r̶e̶a̶t̶s̶ ̶i̶t̶ ̶l̶i̶k̶e̶ ̶c̶h̶a̶r̶ ̶p̶o̶i̶n̶t̶e̶r̶ ̶w̶r̶t̶ ̶a̶l̶i̶a̶s̶i̶n̶g̶)̶.

EDIT EDIT EDIT: Actually maybe it can and I shouldn't be reading technical docs at 2am.
That is not correct. The type used to write to the memory is int, not void or char. If the object, whose address is passed to the function is not compatible with int, the behavior is undefined.

You should read about strict aliasing, you will be surprised.
The idea he proposes sounds very similar to the University Technical Colleges in the UK. Taking students at 14, they try to have a very work like atmosphere, with 9-5 workdays, no homework, and a curriculum with a large project based component run in conjunction with business so that students are solving actual problems seen in real business.
Increase your company's safety record whilst reducing your costs
You can't. You can increase the efficiency that way, but you can't use it to produce limitless energy. We wouldn't be burning fossil fuels if that was an option.
Within 100–500 meters of the wire anyone who was not able to officially explain their presence was summarily executed. The youngest person to be executed was a four year old.
Actually

yesterday was 2²/2³/2⁴ and today is 2²/3²/4²
It wouldn't just be interesting - it would literally tell you the mathematically most important nodes in the network. No need for long-form think pieces that circumnavigate known solutions. Just run PR, give us the results, and move on.
This reads like a witch hunt.

If the article's facts are correct, someone cheated, got caught and punished/banned.
The article doesn't have much more (hand waiving, ends in "no clue what she did").

This sentence reads like harassment to me: "In several email exchanges, on the telephone, and in a brief conversation at the front door of her house in Squamish, Miller declined to be interviewed for this article"
And learning to read is to brainwash you. sigh...
You're right, I misread and misinterpreted that! Thanks.

Somehow I wasn't thinking and didn't realize that `t` aliases whatever was passed as `p`, and dereferencing a non int or char pointer would be undefined there.
> Mostly because there's no real alternative to carrying smartphone yet.

And yet somehow, I manage
Seeing Seafood as Animals
I used to do triathlons pretty hard-core with a top tri club in NYC. The amount of athletes I trained with who took illegal performance enhancing drugs was surprisingly high. They would see sketchy anti-aging out-of-pocket concierge docs for 5-10k a month who would prescribe them whatever they wanted/needed.

It's a very ego-driven sport. You get a lot of rich mid-life crisis types, generally uber Type-A Captains of Industry who achieve professional success and then are like "now what, what is my next feather in my cap?" ... the answer is Ironman/Kona. These dudes would drop 15k on a tri bike, swag it out 3 different sets of race wheels, rollers, power meter, carbon everything, $600 a month for the coach, $250 a month for the gym, $300 for pool fees and swim stroke clinics, $350 for yoga classes, $500 a month for massages, 20k per season for race entry fees and travel to races, training camps, etc etc etc.

I always advise to single women who want to meet rich dudes to join a tri club. My tri club alone had like 5 marriages in the time I trained there.

Anyway, fun sport, but I couldn't take the egos. I've found ultrarunning to have a much more down to earth and friendly crowd.
There is also a comprehensive mathematical library for JS called math.js [1]. It has no dependencies, supports powerful symbolic computation, as well as many mathematical functions. It implements a useful subset of what one expects a CAS to be able to do.

[1] http://mathjs.org/
Indian Railways: Always Having the Best Stories to Tell
It really hits home how much effort and ingenuity can go into a terrible thing.
Yesterday was 4th August and today is 4th September?

Wow! Pretty surreal!
Not programming related, but a great one: https://i.imgur.com/JRzMTR7.jpg
The one thing a lot of people don't consider is that placing an entire site on https/ssl/tls ruins the traditional approach to caching. It used to be very simple to add a full-page caching layer in front of your unencrypted application.
TLS completely destroys this. You can no longer simply plop a proxy cache in front of your application.

There are numerous approaches to make tls-for-all work, but they take more engineering effort. And some introduce security problems, like people who use CloudFlare which decrypts your traffic and then (optionally!!!) re-encrypts it between their servers and yours. Even taking the best encryption scheme with a CDN like CloudFlare still means that the CDN has full access to unencrypted payloads. That is an insane amount of trust to give away to a 3rd party company.

There is also an impact for large organizations that run everything through a local cache (like Squid). You can't share a cache between multiple clients when TLS is used. This push to encrypt everything means we're at the end of the era where such caches are useful. Does BuzzFeed really need to be encrypted?

One of the largest gaps in encryption in general is still performance. You hear all the time how TLS adds almost zero overhead anymore. This is simply false for most of us. Not everyone is Google who has their own custom low-level encryption implementation. Those of us using off-the-shelf software continue to pay the price of CPU overhead.
> Entering into a contract in bad faith or breaching a contract is both a legal and moral issue.

I believe it is a moral issue, but depending on whether it's a legal contract, or observed legally, I'm not sure it's a legal issue (not sure as in don't know the specifics of contract law and what is considered a contract).

> When the terms of a contract are repulsive to me, I have no moral problem breaking them or lying about my intentions.

I have no problem breaking a contract where it's been misrepresented to me. But when the terms are up-front and clear, but I don't believe they are fair, I don't believe I have a right to enter into that contract with the intention of breaking it. What's worse, trying to get someone to sign a contract with (up-front but) unfair terms, or lying about your intention to fulfill your side? Does it matter which is worse, if they are both bad?

> The second thing is ownership of the property that's used to view the content. The argument here is that since it's my computer, I can control what my computer displays to me. I know that you have the copyright on the content and the ads, but copyright doesn't stop me from doing what I want with my own private copy so long as I don't distribute it.

I'm not trying to make a case about having to display content, I'm trying to make a case about obligation to display content when you want to display other content. The medium is irrelevant. I would make the same case with paper. Having an assistant cut out the ads from a magazine (or removing and reprinting without them) before presenting it to you is equivalent in my eyes, and the same problem. The magazine is clearly offered with the advertisements as part of the package, to offset what would be the true consumer cost. That you are capable of having someone take scissors to it is not the issue; whether that breaks an implicit or explicit agreement based on the purchase of the magazine would be (and in this specific case the magazine would have a foreword saying it should not be altered from the form it was presented in, as that was part of the purchase price).

> So in the end, if you distribute content to me without verifying that I've viewed the ads first, you're putting yourself at risk for breach of contract on my part, and since I find ads repulsive it's a really high risk because it's my computer and I'm going to program it the way I want.

Every contract entered requiring something from both parties puts at least one party at risk the other will breach, and sometimes both are at risk. The other party putting themself at risk is not a justification for breaching the contract in itself, otherwise libraries would have a very hard time functioning.

Again, this line of reasoning only even makes sense if you believe there is a contract. If you do, then you either accept it or you don't, and you either fulfill your side or you don't. I know what I believe are the right choices of those available (where "right" means society perpetuating, not society breaking, when extended to all people).
Staying in that definition: My comment was that the "deliberate exaggeration" would be an exaggeration of the original, not of something else. For example, these meme generator images using movie pictures with Brad Pitt are also not parodies of Brad Pitt.

But yeah, I know that it is hair splitting. ;)
AIUI this bill doesn't allow for that possibility; it says that companies must always provide the data, which implies that companies can never put the data in a situation where they can't access it in the future.
Positive feelings don't always maximize profits.
You're thinking of interviews as standardized tests (exam). To some extent, they are, but overall they are closer to a date, than to an exam.

In other words, it's not sufficient that you be good at algorithms. You also need to get a panel of interviewers with whom you gel well. What interviewers you get at a company, is not in your hands.

You can try a few things:

1. Do mock interviews with experienced interviewers.

Get used to being judged. Repeatedly.

2. Don't interview with the agony of getting a job. Just go to solve the problems.

Listen to this: https://www.youtube.com/watch?v=v1WiCGq-PcY

3. Interview at companies that bias towards take-home tests.

If you haven't already, then try triplebyte.com. They can help you find such companies.

--

I make these observations based on my experience running a successful bootcamp for interview prep (http://interviewkickstart.com) and also being an early engineer and a hiring manager (Director of engineering) at Box prior to that.
Laws don't matter so much because it's mostly a technical matter.

1. Surveillance tech advancement will guarantee that in the future there will be even more of it, cheaper and more accessible through search and machine learning analysis; even if you don't use the internet, your face is still recorded on surveillance cameras, your financial transactions reported, and so on. Even if your state does not do internal surveillance, various companies and foreign states will.

2. The nature of social networks makes it very very expensive to maintain communication private, and in some cases impossible. Even if you use Tor, you still can't post on your regular FB page, or connect to any of your online accounts without disclosing your identity

3. They still can't stop people from communicating in secret, especially with a combination of steganography and cryptography, but that will be increasingly more difficult

4. People will increasingly self censure, with devastating effects on the balance between political class and the rest of society

So it's a defiant march of technology, nothing can stop it at this point. Privacy is dead, it died around year 2000 with the apparition of digital cameras, mobile phones and huge data centers.

I think part of the solution will require that we create new social standards around privacy and tolerance for various indiscretions we will do inevitably. Otherwise, it will be worse than the inquisition. Everyone watching you, all your actions judged by the mob or the powerful, blackmail material for everyone.
The tactics might've gotten a bit sneakier, but the idea is over 100 years old. Too bad she couldn't just've gotten a lift, like this guy :D

https://en.wikipedia.org/wiki/Frederick_Lorz
With a monthly subscription model most of that failures wouldn't have happened because they wouldn't be using windows anymore..
Nope, you're right - I meant to dereference the pointer, rather than just access it. D'oh!
Very dependent on who you work with.

Of course the people exist (and that's why there's contracts to begin with... though it's also to clarify what's being agreed upon), but a lot of society is predicated on 99% of people not being jerks.
Gmail Customer Service Phone Number for Live Solutions
are you Looking Live solutions of your Gmail account there is website http://www.emailsupporthelpline.com of Gmail Customer service which has solutions of your problems. such as instant password recovery, instant create gmail id many more
John Carmack BAFTA Fellowship Speech: I am just getting started
Cheating at the Olympics, 1904 Edition
That map is a funny curiosity, but it doesn't really show the territories that the Brits invaded, it actually shows the countries with whom the Brits have been at war with at some point in time. Just take the huge territory of Russia; when did the Brits "invade" Russia? Is all that pink justified by the Crimean War? ;)
Hell yeah you can. I'm the first to recognize that tech (and especially tech in Seattle) is a small town. But, really, who is going to remember the one person who quit on their first day because of a bullshit exploding offer? The hiring manager, recruiter, and probably no one else. As an everyday grunt, this stuff wouldn't even be brought up to me.

Having a 2 people added to a blacklist is fine. I've done far worse things to my career.
ELK Stack and Kafka, AWS, Rsyslog
Does pr_debug count as a print statement? Cause I use that every day.
Explain like I'm five: The Panama Papers
What specifically do you have over ArchiveOfOurOwn?
> The OS without kernel is called "GNU"

But that's the thing, nobody other that the GNU people called that an OS worth of a name. I suspect what people call an OS is an standalone set of conventions and packaging that can actually be used to interface between the hardware and the user [0]; so I think Debian is more worth of being called an OS on its own than "GNU userspace - kernel". Same with any other Linux distribution, *BSD variant, Windows and OSX. It was the linux project that made those OSes viable as standalone things (to be fair, the GNU userspace made them viable as usable working platforms for early adopters - but nowadays the role of GNU software in the OS is less central), and people place more weight to that.

[0]: I pretty much agree with Ted Nelson about the distinction between "technology" and "packaging". (https://youtu.be/KdnGPQaICjk?t=1m47s)
The remarkable accuracy of the Trinity College clock
> * foragers are fiercely egalitarian*

[citation needed] because human nature is egalitarian isn't it.

> Most nations today would be richer if they had long ago just submitted wholesale to a rich nation

What you mean is, British colonialism is the only way to run a country. That sort of thinking lead to wholesale massacres, and the British loosing 4 consecutive wars in Afghanistan.

This is the sort of thinking that died out in the 1930s when the indian servants poisoned their british master's tea.

Of course you don't suggest that spain should have submitted to the moors, who were demonstrably more advanced in financial, artistic and technological means.

Progress doesn't happen because the populous reject change, its because progress only happens through chance. The industrial revolution was sustained in england because, despite massive political change, england didn't completely purge/remodel the upper-classes. There was the same level of suffering and servitude.

> Forager children aren’t told what to do; they just wander around and do what they like

[citation needed]

Have you ever fucking seen how foraging works? The child follows the parent and actively learns, or they die when they get lost. Do you think that the knowledge that some red berries are bad is instinctive?

> While human foragers are especially averse to even a hint of domination, they are also especially eager to take “orders”

Logic isn't your strong suit is it? Basically your article could be summed up as:

Humans don't like being bullied or enslaved. If you change the practices of leaders, the plebs will follow.
Even then, you'll run into firewalls and whitelists. Like I said, paranoid.
> Randomness hardware? There are already perfectly good PRNG routines available as used by currently available strong encryption.

Yeah. How do you seed those with a good source of entropy? That's what RDRAND etc are for.
At work, two of our users have Asus notebooks (I forgot the model, though) where the "On/Off"-switch for the camera just moves a piece of plastic in front of the lense. Maybe it also turns of the camera, but once the lense is covered it doesn't really matter any more. I like the idea, and since it must be rather cheap, too, I wonder why not more companies do this.
We detached this subthread from https://news.ycombinator.com/item?id=11458754 and marked it off-topic.
I went back and watched his whole talk. His entire appeal is that everybody arguing against him is stuck on emotion and won't let go of their incorrect notions. He characterizes all those arguing against him as lashing out that gubment shouldn't be poking into their tweets and instagrams, and that they are being irrational and need to open up their minds. He believes that all the people at technical companies are falling back to this emotional trap and won't actually address the greater issue of balancing privacy and law enforcement.

He really doesn't understand the actual underlying argument, which is the technical and mathematical fact that a system will either be unreadable by global 3rd parties, or will be readable by global 3rd parties.* It truly is either fully secure from both criminals and government, or it is open for criminals and government to have unchecked free access to our data.

The guy studied chemistry. It's not a "conversation" whether or not particular chemical reactions occur under particular conditions, but fact. Similarly, this is not a "conversation", but fact:

The reality we are faced with is that this easily accessed global communication network carries and connects to basically everything private and public, and all our knowledge of encryption leaves us without a viable "government only" access tool to data.

Any conversation needs to start from the recognition of that technical reality, not before. Comey is tossing this impossible request over the wall to tech companies, completely acknowledging he has no idea how any of that works but that they'll "figure it out", and views that as the way forward.

[* = This is considering that breaches of a mandated government-only back-door to encryption will inevitably happen, be it a leak of keys, attacks on the algorithms, or international information politics weakening the system as a whole. The precedents for these scenarios are plenty.]
Also, it don't mention ability of mirroring the dependencies infrastructure, it's openness and the integrated tests workflow that could exist.
To those that aren't aware, Elon is part of this weird futurist SV clique along with Pete Theil, Ray Kurzweil, Eliezer Yudkowsky etc. They're trying to create a utopian libertarian society and aren't too concerned about the details. It's pretty cool and definitely pretty crazy/idealistic

I can already see the future - being a remote web dev on Mars! If you don't work hard enough they might cut off your oxygen. What a motivator! Ayn Rand would be proud

Or maybe they'll be all applying for research grants (wouldn't THAT be ironic)
Amazing stuff! BTW, can we buy those "Occupy Mars" T-shirts somewhere? :-)
The sun will not explode tomorrow, but it will eventually. You gotta start to move sometime if you don't want humanity die out.
me too,
there is so much uninhabited space on earth that Musk can improve upon...
Interviewing for internship at Red Hat Toronto, I was given just under a week to respond to an offer. With limited spots and a tight schedule, they sort of needed to be able to give the offer to new candidates quickly, without leading anyone on.
It's the amps that kill.
My mother used to be a police officer, and she once came back from a visit to the department of the interior in our federal state (of Germany) and told me about a room they had there (maybe several) for meeting where sensitive issues are discussed. What sets them apart - among other things, I guess - is that there are no phone lines, no network, and for meetings people are not allowed to bring telephones/smartphones, tablets, or computers of any kind.

So, yes, the audio thing is something to worry about.
Exactly. Most are just a new shiny way to be back in the business of holding data hostage, rediscovered by another generation of naïve app developers who probably don't fully know what business they're in. The new version of Day One (Mac/iOS) just did this and it infuriates me to no end.
Pirates Frustrated After TV Release Groups Swap .MP4 for .MKV
No, it depends on the institutions setup by the invaders. In the US, the British never managed to setup an exploitative set of systems, designed to funnel money to corrupt individuals.

In the third world, they did. Those systems are what drive poverty.

Quite a few places would have been better off without the fucking over by the Europeans, and infinitely better off if given a large capital infusion without conditions (see the Marshall plan and the reconstruction of Japan).

The wholesale destruction of life and property in Europe in WW1 and WW2 had huge benefits to people living there now (due to the wholesale rebuilding of social infrastructure).
I always have at least one side project going, but I have zero ability at discovering profitable business ideas so they're always just for fun. Therefore learning/technology is the most important thing - so for example even if the project uses Django (my daily driver) I'll throw in a new JS framework on the front end.
An API key is a password. That said, I fully agree that you shouldn't use your main password, but of an account with reduced permissions.
Sampling bias.

If you're searching (and targeting for search) a specific set of criteria, then that set of criteria will be what indicate high probability.

As a friend pointed out long ago, it's why you don't ask a group at a scheduled meeting what their preferred meeting time is. You're already selecting for those preferring the current time, and excluding those who find it unappealing.