skysight-inc/HackerNews huggingface dataset:
Interesting! On the other side of the world, those are precisely the main two restrictions we follow in JavaScript in our React projects right now in order to make our components more functional and predictable. It's amazing how much maintainability mileage you can get out of a few simple rules.
An untold story
NET Core and ASP.NET global.json
Pull out well-defined sections of inline code that can be executed independently for testing? Sure, that's breaking it down into functions.
Welcome to the world of "at will" mercenaries.

I was once offered a job with a start date two weeks in the future, and then I got a call the day before I was set to start which told me I ought not bother showing up the next day, because the position had been cancelled. The job was with American Family Insurance, and instead of starting that new job, I instead called my agent to cancel all my policies with them.

So now, I have no reservations whatsoever about accepting a [non-contract] offer and making an appointment to show up for a new job, then continuing to interview right up to my new start date, or even a little while after. If I cancel the day before, the company should simply be glad that I didn't work one day then quit, because then they would have to process payroll and tax forms for the whole year.

Scheduling the first day costs me nothing. That's just a deadline for the company to put their written promise of payment for my labor into my hands. If it doesn't show up, neither do I. The company would then receive a call, and I would say that I was unable to start work because I didn't have a signed offer letter. If I get a better offer in the interim, I might accept it, and let the first company know they were outbid.

So far, I have only ever skipped a "start work" appointment with Deluxe, and I decided not to show up for work because their recruiter lied to me multiple times, and processed me in to a job description radically different from the one I had been seeking.

If you want assurance that I will show up after accepting an offer, give me an actual contract. An "at will" offer letter just says that if I work for you, you will pay me $X, N times per year.

Do not fear interviewing while employed. Do not fear it if you are "at will". Do not fear it if you are under contract. The company is not going to sacrifice a single penny of its profits for your personal welfare, so you have to see to your own financial security. You always have to assume that the contract will not be renewed or extended, or that the next all hands meeting will be to fire everyone. Therefore, you owe it to yourself to seek alternate employment at any time, and accept or reject offers in the spirit in which they were given. An "at will" offer could be for any number of days from zero until your retirement target, and that level of uncertain commitment from your employer is not sufficient by itself to generate any level of certain commitment from you.

You don't have to put bait on your hook, but your line should always be in the water. And if you catch a fish, you can always throw it back rather than eat it.
It's a famous photo: https://en.wikipedia.org/wiki/USS_Enterprise_(CVN-65)#/media...
NATS Streaming Open Source
APIs for French governement services
What is a JAR loaded at runtime in Java code supposed to do ?
Even relatively old generally and lldb show location information correctly for lambdas.

Templates are usually more of a pain to debug.
Which is understandable, considering they grew up in the highest oil per capita use period in human history.

It's easy to buy into the "unlimited resources and growth" hype when you're at the peak. Sort of like the bullish delusions of 2007 stock market.
How to Build a Minimum Viable Product for iOS and Android
Cool.

This is a "Lorem Ipsum" for avatars, article bylines, etc.

Maybe it also could be useful if the images could have a random name or username.

So, in the same manner as with the avatars, using the same id, the same name/username would be returned each time.
Robotwar (a programming game in which you program robots in a vaguely BASIC-like language and then let them fight in an arena) had a copy-protection scheme that could be defeated by, as I vaguely recall, breaking into a DOS prompt and saving files to cassette, then transferring them to a normal DOS disk.
Volkswagen Is Accused of Emissions Fraud as New York and Massachusetts Sue
Hi, I'm the product manager on Postmark, and wanted to chime in with a bit more of our rationale for mostly using shared IPs. With our exclusive focus on transactional email and high deliverability, an existing reputation is extremely important. By using shared IPs customers can leverage our reputation, which we police and protect heavily. And since transactional email has better engagement overall, it increases our deliverability even more. Most senders don't need dedicated IPs since an IP with no reputation is worse, so we believe it's better for the majority of our customers and their deliverability to use shared IPs.

That said, there is a case to be made for very large senders to have their own IPs. We agree with that. Our point is mainly that the vast majority of senders don't need it, and should rather use the stellar reputation of our shared IPs to ensure good deliverability.

If anyone would like to chat more, I'm happy to jump on a call - https://calendly.com/rianvdm/postmark-customer-calls/
Link to the file page, for those who can't stand Media Viewer.

https://en.wikipedia.org/wiki/File:9_dotted_line.png
> and all branches of an if statement must return a value.

Is indeed a bit strange. I guess I can see the reasoning, though.

"const by default" doesn't seem all that unreasonable to me - isn't that one of the major driving forces we're seeing in "new" languages - that based on years of experience, "accidental" mutability should be avoided -- mutability should not be the default?

How does this subsetting of C affect the error messages the students are (most) likely to see? Does -Wall typically catch treating a const as mutable? (I assume so, I'm just curious about this, as I'll soon be teaching a beginning programming course - and a sub-set of C might be an interesting option).
The Theranos Effect
Project home page: https://react-tiles.firebaseapp.com
This is still a suggestion https://msdn.microsoft.com/en-us/library/bw1hbe6y.aspx
Ask HN: Anyone moving their company out of the UK following Brexit?
Between Brexit, the Snooper's Charter and the fact that we are 2 EU migrants we are thinking of moving our company out of the UK.

I've seen a few places that look interesting and would fit our requirements (basically being able to do everything in english and not having to live there):

- Ireland

- Estonia (saw http://howtostayin.eu/ this morning)

- Singapore (https://blog.ghost.org/moving-to-singapore/ for an example)

Any other place in the EU with a good track record on surveillance laws would be good as well.

Is anyone in the same situation or has done this kind of move?
I wrote a book (https://www.manning.com/books/relevant-search). Considerations: are you willing to write the book assuming that you will effectively make nothing in direct proceeds from the book? (Close to true.) The upside from a book is in monetizing on it indirectly. For instance, as a "though leader" you'll be able to garner a higher salary at your next job or you'll be able to ask for higher rates for consulting. But the catch here is that you've got to be willing to put yourself out there, otherwise it's a nice bullet point on your resume.

Oh yeah - and don't underestimate the time and effort involved. (I know you mentioned it in your post, but still.) A due date, even if fairly far off, looms ominous. For a year you'll have trouble relaxing and having fun because you know you should be getting work done on the book. You won't have weekend back for quite some time.

Would I do it again? Yep.
Will I do it again? Nope. (At least not likely :D )

Good luck!
You may find the Nim language to be interesting. The entire language is processed as an AST, so you can do a lot of magic stuff like write normal functions, functions with forced inlining, and AST-transforming macros all in the same syntax and all processed in one pass at compile time.

http://nim-lang.org
I find that the people who are the most obsessed about unit testing generally aren't good programmers to begin with.

To me, keeping code simple and easy to reason about is what yields reliable software. If you can't wrap your head around something in the first place then tests are only going to give you the illusion of reliability.

Its as Rich Hickey put it: "What does every bug have in common? They all passed the type checker and the tests!"
Wavelength shifting should make the detector more effective. Most photodiodes prefer longer-wavelength photos.

In addition, their goal with this project is to make it omni-directional, so capturing and coupling the incoming photons directly would be a challenge.

There may also be a little bit of wavelength-dependent trickery, where green photons are better at staying coupled, but I'd have to dig more to decide.
Just because of this I knew the whole show was BS.
That is awesome! I did a 1 bit core memory to demonstrate the principle but this is a much better example.
You hopefully know that a lot of things that are sold as in the interest of the US are not really in the interest of it but only in the interest of some politicians or other players.
At the time of this writing, there are 14 comments nested beneath the parent.

Two are mildly sarcastic ("probably something you might want to check", "welcome to mobile first").

A handful that simply state "the site's broken".

The Internet can be a harsh place sometimes, but you should consider the possibility that you're being hyper-sensitive. There's really nothing here.
You should not use time travel when thinking about international relations, either. The question is about what the US chose in 1971. The Soviets weren't in Afghanistan until 1979.
> You need to identify exactly what you have in common with the Texan vs the Chinese man.

Worker class vs capitalist class. Under the current system, the classes are incentive-incompatible and human beings are surprisingly receptive to incentives on an intuitive level.
Deploy a MongoDB Replica Set with Docker and Supergiant
> If anything, I see accurate statistical profiling being helpful to black folks.

But that's the thing... These statistical models aren't accurate, and we know that they aren't. The algorithms used for sentencing or predictive policing are just reflections of the creators, or more likely, the current legal system.
> Shouldn't the ATA Secure Erase command take care of properly blanking an SSD? (Assuming that its firmware can be trusted, of course.)

It does that -- by clobbering the hw encryption key.
Why Should You Work with a Recruiter?
This is how dinosaurs are born.

"No experience in and no answers for" implies a gap in your knowledge, not a bad question.
It's not that I am super smart, it is the price that is bothering me.

There are probably free courses on these features on YouTube.
I've delved into this some. I wrote a chapter in a multi-author tech book, and got a decent way through writing an entire book, until the project fell apart because the co-author they paired me with turned out to be completely useless. I would definitely not recommend it, but I'm not sure if my bad experience was worse than usual, or if I just have a lower tolerance for bullshit.

Don't even think about the money. Assuming you're working as a programmer or similar job now, the money you'll get from the book will be an absolute pittance. Your income divided by your labor will come out to well under minimum wage.

Fun? Maybe. But you'll be dealing with people at the publisher who aren't out to have fun. Expect poor communication, horrendously unrealistic deadlines that only exist to make you work faster, ridiculous feedback on your writing, and a general attitude that you need to answer them ASAP, but your requests to them can be safely ignored.

Find out what format they need you to use. In my case they required MS Word. They said it would be fine. It was not fine.

Feather in your cap? Yes, for sure. But there are other ways to do that too.

My advice would be to think about what you really want out of this, and how much of that you could get from, say, starting a blog, or writing more for your blog if you already have one. The money won't be as good, but the money sucks anyway. You won't have professionals helping you, but you also won't have professionals screwing with you. You can easily get more exposure, since tech people tend to read stuff online more than in books these days.

If you really really really want your name in print, consider self-publishing. There's a lot less stigma in it these days. You'll probably sell many fewer copies, but you'll get much more of the proceeds and you'll have all of the control. It's easy to get your book into online stores like Amazon and iBooks.
After reading the article..

It is naive to think a cop will polity call you during a traffic stop.
For example, they won't even knock before throwing a grenade into your house:
https://news.vice.com/article/toddler-maimed-by-swat-flash-g...
Teaching is difficult, I imagine.
How far in the past are we talking? In the embedded devices I've worked on, Windows was never a consideration because trimming it down enough was a major concern, and as were licensing costs. Drivers, on the other hand, rarely came up as an objection to Linux - it doesn't take much volume before writing Linux drivers was the cheaper option, and if you have control of the hardware platform in the first place, picking options that worked well with Linux was easy enough.

That said, it's 16-17 years since I did much embedded work.
I'd google it but I've already lost interest.
What Science Says to Do If Your Loved One Has an Opioid Addiction
Lenovo's Thinkpads, especially the T and X series. Look around the web for Lenovo employee discount program codes to help bring costs down significantly (sometimes 30% off)
Also, take a look at his writing ability. He makes a couple of long posts further down the thread where he describes how the thing works. It's really quite good writing by any standards, which tends to be quite important for (and, I suspect, highly valued by) colleges. I know my own writing ability was nowhere near that level when I was his age.
Perf uses hardware performance counters to interrupt on some instructions and records their program counter: http://stackoverflow.com/questions/28661430/how-does-a-syste.... It uses symbol lists from ELF files to find functions for every recorded program counter (http://www.brendangregg.com/perf.html#Symbols), like nm (https://sourceware.org/binutils/docs/binutils/nm.html), and can also use debugging information to get source file names and lines like addr2line (https://sourceware.org/binutils/docs/binutils/addr2line.html).
Hopefully, competition will drive prices down. We will see.
An excellent two sentence summary of the Kashmir conflicts:

"Pakistan and India almost immediately went to war over Kashmir, a Muslim-majority state whose Hindu ruler elected to join India in exchange for assistance putting down a local revolt. The incident escalated to a full-scale confrontation which simmers to this day."

A very nice article, one thing that can be added is that Indira Gandhi was in favor of entering the war far earlier but was dissuaded by army staff who waited for the monsoons. The monsoons would make China's entry into the war impossible. So it was not just chance that China did not enter. From Wikipedia:

"Towards the end of April 1971, Indira Gandhi, who was Prime Minister of India at that time, asked Manekshaw if he was ready to go to war with Pakistan. Manekshaw refused, saying that his single armoured division and two infantry divisions were deployed elsewhere, that only 13 of his 189 tanks were fit to fight, and that they would be competing for rail carriage with the grain harvest at that point of time. He also pointed out that the Himalayan passes would soon open up, with the forthcoming monsoon in East Pakistan, which would result in heavy flooding. When Indira Gandhi asked the cabinet to leave the room and the chief to stay, he offered to resign. She declined to accept it, but sought his advice. He then said he could guarantee victory if she would allow him to prepare for the conflict on his terms, and set a date for it. These were acceded to by the Prime Minister."
Modern JavaScript Development – Part 1
> Oh, it's incrementally advanced in a lot of ways but a 2016 laptop, for example, would be clearly recognizable as such to someone in 1995. A smartphone less so but it would have existing analogs in devices like the Palm Pilot.

That's kind of backwards for 1995. Palm Pilots weren't around until 1996, but the first PDA+Phone combo -- a smartphone, except the name wasn't applied to that combination until much later -- was the IBM Simon in 1994 (though the first really popular PDA+Phone was the Nokia 9000 in 1996.) (Obviously, non-Palm PDAs were available and popular before 1995; the Psion Organizer had been around since 1984, and the Psion Series 3 in 1991 was a turning point for the category.)
From a regional point of view could it be seen as a positive to see a tech company from outside of London thrive and be acquired?
I'll I'm surprised "those who can't stand media viewer" isn't everyone. Thankfully, Wikipedia falls back really gracefully without JS, and if you block JS you don't get MediaViewer or modal dialog during the pledge drive, even when logged out (almost cancelled my recurring donation over the modal dialog).
When I learned OOP it was all about inheritance. Only later I realized that aggregation is much easier to handle and that functions that take well defined input and return a value without side effects are easier to maintain.
Or the question is "can we solve this better with the actor model", which is what I asked my team last week.

None of us has any experience with the actor model, but rather than dismissing the question, we're investigating.

If the senior people have never had to solve the problem before, how can they know if it's a valid problem?
It's an active choice of the language to not allow many syntactic sugars that make the code have a much higher learning curve.

https://www.youtube.com/watch?v=rFejpH_tAHM is a good overview.
I wonder what's wrong with people today. Just use spaces, any descent text editor inserts 4 or 2 spaces on pressing tab, and nobody has any problem.
I completely disagree. It's much less useful for "CRUD apps" because "CRUD apps" are an obvious and known commodity. New and novel concepts are much less broadly intuitive, and are precisely the kinds of things that demand extra rigor even if you're going to end up throwing it all away. None of it is wasted effort when you're considering, and admitting, that a big chunk of the work is exploration.

Keeping documented feature branches of all those versions you tried before landing on one is an absolutely critical result of any exploration process, as well as some aggregation of information and context in a central place that points to and describes those various versions and your final outcome. This helps you keep from repeating mistakes, it provides context to you and others in the future for why things are the way they are, and it provides an archive of workable variations that you can quickly migrate to in the event your "final answer" turns out to be wrong.

I haven't written a "CRUD app" since 2008, and since 2010 nearly all my work and the work of my teams has been in greenfield development (in some cases literally inventing new never before seen things). I see it time and time again. We move much, much slower as individuals and as a group when we take shortcuts under the auspices of time-pressure and don't take the time to be thorough even in prototyping.

So we spend the same 100 hours hacking away to create a dumpster filled with spaghetti as fast as possible or we spend 100 hours designing, building, implementing with intention, and every. single. time.... the latter process actually gets us further toward prototype, product, and/or market validation goals. The former process ensures that we have 0% of anything that is useful no matter what the results of the exercise are. The latter process ensures that we can legitimately iterate on what we've done based on the results of the exercise.

Iterating on a trash heap is extremely expensive, not a way to run faster.
-269 and -196 C understate the achievement.

4K and 77K are the same temperatures in absolute units.

The warmer experiment is twenty times hotter than the colder one.

For comparison in human terms, 20x hotter than room temperature is ~5700 C.

Edit: Mmm. Morning math mistakes. Thanks!
Two questions:
First - are the armies of the countries bordering south china sea able to win armed conflict with China?

Second - is the US willing to risk war with nuclear armed China over that?

If the both answers are No - then this is neither self evident or absurdity.

Might makes right. And China probably has enough of it.
Inside Donald Trump’s 3,000 Bizarre Domains
FB's Community Standards Approves This Violent Video
https://www.facebook.com/osvaldo.torres.5496/videos/10207663038320408/?pnref=story

"Thank you for taking the time to report something that you feel may violate our Community Standards. Reports like yours are an important part of making Facebook a safe and welcoming environment. We reviewed the video you reported for promoting graphic violence and found it doesn't violate our Community Standards."
Practical Cryptography with Apache CXF JOSE
My theory is that this is what separates the good from the great. You can't improve unless you're continually considering what you might be doing wrong, or what you could have done better.
Not in many cases. Things like Bluetooth and WiFi chips have a simple CPU and then lot of custom digital logical and fancy RF components on the die. The CPU is only a small part of the design, both physically in the amount of area it takes up and also of the amount of engineering effort that goes into it. Correspondingly, it represents a small part of the value to the customer. Obviously the customer wanted a good CPU, but there are lots of relatively cheap ways to obtain a good enough small CPU.

When I worked at Cambridge Silicon Radio, we'd license in various bits of IP like the USB. We might pay more for that than a small ARM core would cost.
So based on one project's misuse of a technique (OO in C) you dismissed it as "bad" idea, "stay away from this", it's "attempting to be clever", and the rest?

I think that's why I'm not following you. You've dismissed OO in C in its entirety, and advised others to do the same, based on your experience in one project which misused/overused the feature.
Yikes. What a load of vague, nationalist bullshit. By apparently justifying ANY given action if it favors your country or your concept of your country, are you proud of the historical company you keep?
http://investmentxyz.blogspot.ch/2006/05/cubans-collar-anato...
Expense reports, I am guessing. The charges made plus mileage on the car.
Meal Planning Doesn't Have to Suck Dick
This sounds more like advice on not picking the right technologies but know how to optimize the ones you already use.