skysight-inc/HackerNews huggingface dataset:
This makes no sense. The courses are up on youtube with closed captioning. https://www.youtube.com/user/UCBerkeley

I hope someone is downloading these all and putting up a torrent.
Tech interview threads appear constantly on HN and Reddit.
Gains are gains. It's not the gains you wish-you-coulda-woulda-shoulda, it's the losses!
Most people won't know what you're referencing.

https://www.channel4.com/news/drugs-life-breast-cancer-nice-...

https://www.nice.org.uk/news/article/kadcyla-too-expensive-f...

NICE (National Institute for Health and Care Excellence) sets the guidance on the QALY (Quality Adjusted Life Year) at between 20000-50000GBP for a year's worth of a single drug treatment.

Of the drugs that they approve for coverage the annual regimen has to be under a threshold of 50000GBP or it may not be covered by the NHS.

But that 20000-50000GBP is per drug per person, someone could be on multiple drugs and treatments simultaneously for much more than that and they'll be covered.
Seems to have been having issues with premature self destruction:

"Discrepancy report DR-00134-2012 was issued after Operations determined that Hive version 2.5 was
self-deleting prematurely. Analysis showed that a calculation involving the current time and the file
modification time used to determine the time since last contact could result in a negative number that
was then cast from an integer to an unsigned long integer. This resulted in a large positive number that
exceeded the delete delay and subsequently caused Hive to self-delete."
How to *never* complete anything
Welcome to the darkside!
fun Microsoft fact - windows firewall is preconfigured with a build-in outbound traffic backdoor. You cant filter localhost, DNSCache listens on localhost and will happily relay everything. You have to manually disable dnscache service and give up caching to plug this hole. You want to be able to ping? cant do that, ICMP traffic originates in System process, so you either let everything send ICMP packets, or filter it all out, there is no middle ground.
NectarJS vs. Node.js Fibonacci Benchmark on Raspberry PI 3
It actually sounds like they're going to chase away good candidates. Regardless of whether I'm a "good" hire for them [think what you like], I would just walk away from a deal like that.

Given that the company down the street is hungry and in competition for engineers, I suspect that this kind of fear-based nonsense is not serving them well.
Because context matters? And people with any level of sophistication in their thinking can understand that.

I don't even know how to respond to some folks here. You really think it's impossible to use facts to construct a narrative that is untrue?

https://hbr.org/2016/10/theres-a-word-for-using-truthful-fac...

Come on now. We're better than this.
That was really well written. As I was reading through the example code in the section about closures

let add_one = |x| x + 1;
let five = add_one(4);

I thought to myself "hmm I wonder what happens if I were to call the code with a float rather than an int?"

Answered my question a few paragraphs down. Kudos.

Is it possible to write a generic closure? i.e something that would add 1 to any numeric type.
does this work with credit cards? i charge everything and then pay off the balance each month.
See also: Canadian Cities American Cities: Our Differences Are the Same

http://www.jtc.sala.ubc.ca/newsroom/patrick_condon_primer.pd...
I'll add my view that I don't see this as being all that surprising. Didn't we all expect that this is the sort of thing that TLA's get up to behind closed doors?

My main complaint is that even though I'm otherwise fairly well aligned to the US (ideals, principles, culture and such), I'm not a US citizen and therefore get treated as an enemy :(
Yes, Toronto, Australia. Obviously.
The CIA is using popular TVs, smartphones and cars to spy on their owners
We've tried it with pseudocode. People wrote Java.
Hey Philip, great post - really informative. Especially happy to see that the nightly releases are coming along considering the pace of improvements by the likes of Vasily and all the rest.

I do have a small question about the Visual F# team at Microsoft. Are there any plans to grow the team at all? It seems that the company deems F# as a second class .Net language, preferring VB.Net/C# when it comes to contributions from employees and IDE features. Given the popularity of F# in surveys such as the recent annual Stack Overflow developers survey, is there any interest at the company to put more manpower to F# development?

P.S. I hope to see you around at the F# Exchange in London next month if I go.
> > > Java

> > Another internal tool to rewrite from scratch, yay.

> If you care about security in the slightest, you should probably already have done that.

What has one to do with the other
Should that not be 346% faster? If A takes 1 second and B takes two seconds, then B is 100% faster than A. So the calculation would be (B/A - 1) * 100. Applying this here gives around 346%.

EDIT: B would, of course, take 100% longer than A, rather than be 100% faster.
"Comments are closed" says everything.

The if ($null -ne $blah) one is STILL RELEVANT. In PowerShell for example it differentiates between an empty array and either retrieving an array's contents, or only the nulls from an array.
The complaint was put forward by two employees of Gallaudet University - not students.

Gallaudet University is a private university for the deaf. I would like to point out that their videos are not friendly to those with visual impairments and they should have their videos removed for the same reason UC Berkeley has to remove theirs. Here are a few such examples:

https://www.youtube.com/watch?v=ffqU3mT4k1o

https://www.youtube.com/watch?v=xWdF7G1SrzA
Seems like the logical (but irrational) consequence of a few different UK broadcasting laws colliding:

http://www.baekdal.com/opinion/bbc-future-is-blockingitself
Very nice, thanks for the recommendation.
One time I was crossing the street, and I almost got hit by some white asshole in his car, going way too fast. Actually, that happens all the time. That's why I always start shooting my machine gun at anything within 50 meters that moves.
It will (it already is), but this commoditization is common. The bleeding edge development is still happening, like people developing squarespace, wordpress, web development tools and frameworks. Look at github. Today more then ever we have a lot of software developers living from their code and giving it back for free. And we still have a lot of work to do, so actually more web development jobs will be created before it start to decrease.
I spend much less time writing novel CSS to accommodate designs, and more time on webapp and "real" software development.

I actually used to make half my wage converting tricky designs to good CSS when £99 3-day cowboys let clients down...

Almost none of that now. I'm designing the UI for the purpose and we let a framework handle the basic styling and circle back around to brand it.

Much healthier model from where I'm sitting but I worry for the graphics teams. It's hard to convince a client to drop £3k on a design process when they already have a functional (and not bad looking) interface.
Yeah, it seems so!

I'm glad you like Scrimba, thanks!
Springer Nature Opens Up All Reference Lists to Advance Data Discovery and Reuse
Appreciate it!

And just because we're working on this idea doesn't mean you can't too. It all comes down to execution. A little competition is healthy for everyone :)
Please add support for non US banks.
the detonation engine, would is sound like a hyperactive V1?
Insane and well executed!
If you like Simple's goals feature and want it as a standalone, I use Qapital for that and love it.
You can add capacity without adding flights by using larger planes. Airlines use the smallest plane they can for a route to minimize cost.
> The other aspect is that banks are really good at physical security, but not so great at data security [..snip...] but at least they're modern technology companies that probably hold themselves to higher data security standards than your bank.

Except this doesn't actually improve your banks' security at all, it's only adding another (attractive and high-value) attack surface in addition to any potential vulnerabilities that your financial providers may have.

Maybe the friction would be too much for most users, but I'd be way more likely to try something like this if there was an option to handle the data myself with an export/import process from my financial providers and not have any account credentials shared at all.
Hilarious! And felt really close to home!
"OK, but if you just asked me what constitutes functional programming, you could avoid me complaining about what constitutes functional programming"
and DNSCache at 53, same DNSCache that listens on localhost and will relay any request from anybody, _non filterable_ localhost
Animation, not video.

Normally I wouldn't nitpick, but on this, it's effectively clickbaity.
My resume states point blank that references will not be provided until after the prospective employer agrees in principle that I meet the technical job requirements. I send out a lot of resumes, and I am more protective of my references time than I am of my own. I don't want people wasting their time with useless phone calls because of me.

Strangely enough, whenever a company gets past that point in the interview process, most of them don't even bother asking.
> But how much do you value being alive?

"the U.S. Office of Management and Budget puts the value of a human life in the range of $7 million to $9 million" [1]

[1] https://www.theglobalist.com/the-cost-of-a-human-life-statis...
It is on everyone who is not in a desperate job seeking situation to push back on any practice you deem wrong. Expect a respectful and fair treatment throughout and when you're being manipulated, take the initiative.

If you can tell the interview isn't going well, why not leave on your terms? "My experience and expertise is in A and B, and it seems the job is more about C and D, maybe this isn't a good fit? Ok thanks, pleasure to meet you, let me know if something comes up related to A and B. Bye".

Only you can keep the other side honest. Do it for your own dignity and for all the others who really need a job and will put up with anything.
I'm sure if they asked the american public, or their students, or youtube, or anyone if they were willing to help transcribe educational videos they would have gotten the help they needed. It sounds more like a petty way for administrators to get back at people who just wanted to be treated equitably.
What if they use it to establish an unsavory browsing history on a target's computer without their knowledge?
Yet there are quite a few programming languages considered functional with substructural type systems.

Being easy or hard is not what defines FP.
I think demand based pricing is the most efficient tool to deal with traffic. That being said, assuming in 3-5 years cars will be self driven, traffic should be a thing of the distant past. Its already started where people no longer own cars and use Uber and the like...now imagine if over 50% of drivers did that? Picture a giant luxury bus with wi-fi and spacious seats driving all around the city using an Uber pool like service. Prices in theory would be vastly cheaper for the rider as a) there is no driver to pay and b) insurance cost for bus would be cheaper. seems like a win win
According to LittleSnitch Omnigaffle 5 doesn't phone home at least when entering license keys. It may do so at some other time though.
"In fact, the Devil's Advocate may be the biggest innovation killer in America today. "[1]

[1] Tom Kelley, co-founder of Ideo as in '10 Faces of Innovation'
Maybe GP is starting to finally see the CIA how the rest of the world has seen them for say, oh the last 60 years or so.
This definition of "tax" is wrong at best, precisely backwards at worst. Most people don't own real estate, yet they still call it "property tax". Most people didn't die this year, yet they still call it "estate tax". Most people don't smoke, yet they still call it "cigarette tax". In every case, the people's representatives have found some group they can shake down on the people's behalf.
This is basically the NRAs strategy as well and it's been incredibly successful. They know that their opponents intend to use compromise as a foothold for total disarmament so they have no choice but to occasionally take extreme or irrational stances. I don't blame them in the slightest.
Your article is inaccessible to me beyond the first 2 paragraphs. Please provide additional quotation. I do see that it is in the opinion category, so perhaps a more reliable source could be provided? Something like a main article of the NYT would probably have less chance to be skewed into a bias, than an opinion piece by the author of "Mass Incarceration in the Age of Colorblindness".

The reason I would like to know more, is because I learned so many years ago of the importance of doubt in criminal cases in the US. As Wikipedia tells it[1]:

>Beyond a reasonable doubt is the highest burden of proof in any court in the United States. Criminal cases must be proven beyond a reasonable doubt.

If it's currently the case where all that's needed for a suspect to be found guilty, is for a police officer to say they are, then the entire justice system needs to be reworked.

[1] https://en.wikipedia.org/wiki/Reasonable_doubt
There are no "proper cybersecurity ethics". Whatever your chosen ethical framework is, it's not absolute and you don't get to impose yours on all other people.
The São Paulo city and state government are doing relatively fine (compared with the rest of the country)
My take: it's because of an unnecessarily cynical worldview coupled with a misunderstanding about the intended audience of the presentation.
What does it mean to be human?
That's the thing, with prototypes you don't use inheritance, which is the good option. Now it's easy to do the wrong thing. Thanks ECMA!
> Either a couple of big players will own the most powerful instrument in the hands of mankind, to use at their (or their highest bidder's) discretion, or mankind will jointly get to ensure the instrument has a safety handle to protect life and all things most important.

Missing, of course, the strongest possibility, which is that said instrument, either covertly or overtly, is the big player which is calling the shots.
Because it's much more important to address the needs of late night partiers than nurses, convenience store clerks, and so forth who have work shifts at odd hours.
Nice and sweet love letter to Greg. Shared with our founders.

We have a slightly alternative model: There hasn't been a consistent Greg 5+ years, but there is always a founder willing to be Greg when the previous Greg needs a break. Especially important once people start having children and go through the various ups and downs of life.
Assuming that Reason.com presented the facts of this case fairly (a rather generous assumption), rather than framing it as the DOJ forcing Berkeley to take the videos down, I think the fairer way is to say that Berkeley is refusing to make the videos accessible to the hearing impaired. Captioning the videos would be hugely beneficial to all users of the videos, not just those with hearing problems. I am skeptical that the DOJ would not accept a good-faith active project to caption the videos to allow them to stay online.

But the facts as presented don't make much sense anyway. I'm not sure I understand how withdrawing access to just Berkeley students and professors changes the ADA implications. Curious if anyone knows something about this.

Edit, here's the actual statement from Berkeley: http://news.berkeley.edu/2017/03/01/course-capture/

we have determined that instead of focusing on
legacy content that is 3-10 years old, much of
which sees very limited use, we will work to
create new public content that includes accessible
features.... moving our content behind
authentication allows us to better protect
instructor intellectual property from “pirates”
who have reused content for personal profit
without consent.

Ah, so this is actually just an opportunity to reset some decisions made 10 years ago about how open they wanted to be with their content.
what have they done. This looks like a party blue.
I needed the applet for the unrestricted filesystem access it offered when the companies key was trusted by the user. Now I could write a swing application that interacts with the server, making it less integrated and convenient to use (and depending on your opinion less pleasent to look at).
Pretty much. Mainframes have been very I/O oriented from the start. Channel I/O (more or less DMA) with dedicated channel programs and processors can be very high-throughput.
If you are thinking of the Iterator class in Java, a rust iterator is more akin to a Java stream.
This is so ridiculous. There are fantastic courses here.
Some of us are not USians. I'd say if your goal is to make people elsewhere in the world love the US, then CIA dirty tricks isn't the way to do it. Dirty tricks by other governments wouldn't do much if the US was a genuinely beneficial influence in the world. At the moment it's not so clear that the US is beneficial, with it doing some things that are useful, but which Trump seems to want to eliminate as soon as possible, and other things that are questionable.
> write only

I doubt it. Coming from neural algorithms, it would seem the current theories point more to extreme compression algorithms. After a point, your brain stops or at least reduces the amount of "new data" and instead starts to represent new experiences as composites of fragments from the existing memory base.

Memory drift or fabrication could be explained as the existing set of fragments becoming altered either by loss or the natural re-weighting of the brain.
Thanks!

To answer your last question, not yet. There was an RFC for this, but it was recently postponed; closures rely heavily on traits and we are in the process of re-doing the internals of the trait system. If I remember the reason correctly.
Agreed, it'd be tough to leave a company where things are going well to become a contractor at a no-name company. I also think I'd be much less willing to make a jump unless I had met a number of the current employees and founders and felt it would be a culture fit.
You are correct, of course; the only API I used this with on JavaScript kept returning the original object (and that was documented behaviour) so it didn't matter.

I most often use this with C++, where it is

{
CanvasObject *o = window.FindCanvasForObject(obj);
o->Color(RED);
o->MoveTo(10,30);
o->LineTo(50,20);
}

Your point about helper functions is spot on. They break the form in C++ (and Python if you don't modify classes), but with this form it is still much better than breaking a fluent style line.
Is F# a good alternative to C# for writing purely object-oriented code? For my current project I have a very low level spec/architecture, that says class Abc does Xyz, classes A1, A2, A3 implement a strategy pattern, etc. It's designed with C#, VB.NET or Java in mind, but the dev team would prefer F# or Scala.

One more question. I work at a place with a very restrictive firewall. F# 3 projects worked fine, but with F# 4 the build fails to download nuget packages. Is there a way to use the latest version without Internet connection? I can download anything from microsoft.com, as that site is whitelisted, but nuget.org is not.
Microsoft emails are absurdly hard to unsubscribe from.

I've had to resort to dropping MS domains at our exchange edge to stop receiving them.

Their Azure sales team are even worse - I've actually had to shout (repeatedly) at them to stop them from calling me, all because I wanted to try Azure AD as a test. They're on my permanent blacklist now, I won't even consider Azure because of the constant harassment over email and phone.
Well, there can be options, like "we're paying you a decent salary, and compensate insurance, but we can stop working with you within one day".
The most important difference here is that company don't risk much. And the candidate don't need to quit his current job: just do some tasks 1-2 hours a day, for example, so it's not just "gradual hiring", but "gradual quit" as well.
L.A needs a lot of people on motorcycles. Not uber but simple Motorbikes and maybe scooters. LA has the perfect weather for that
200+ Blogging Tools and Resources You’ll Ever Need as a Blogger
edits to do list
Stages of Building a New House
Berkeley students have accessibility accomodations for each class.

I do think understand why all of the US should expect such accomodations. That's not a feasible thing for most universities to do (caption historical catalogue of videos).
OK and what do you do with the toll money? Create a world class public transit system? Or do you just dump the money into a general fund and piss it away, as if classism is an ethical way to handle access to public infrastructure?
You can pause and edit the code inline...
This sounds like a big waste of time for all parties. Just have a probation process with real gates. Fail probation if the people don't work.

I've been successful with this process all sorts of environments, even in unionized civil service gigs.
You haven't added the external cost to society -- accidents, pollution, congestion and so on.

A study in Copenhagen found that the total cost (personal + to society) of cycling 1km was 8¢, versus 50¢ for driving, or 89¢ for driving at peak times. (That includes 16¢ given back to society in fuel tax.)

The low cycling figure is mostly due to the positive benefit to society of a healthier population (reduced healthcare costs, offset by slightly increased state pension costs when people live longer).

Unfortunately, the paper is a MS Word document: http://dx.doi.org/10.1016/j.ecolecon.2015.03.006 or https://www.researchgate.net/publication/274097090_Transport...
> While it's may be good politics not to question the $138k a year salary paid to a Facebook employee, I hope that here on HN we can agree that $138k isn't a remarkable salary for highly skilled, critical technology worker in Silicon Valley.

Important to point out that the reported $138k doesn't include (AFAIK) RSUs, stock grants and stock options. That could easily add another $70-100k to the compensation.

If anyone knows otherwise, please feel free to correct me.
Support for that will come, but it might be a pro feature. Any specific use case you were thinking?
I once had to do a take home project... the spec said I could write either a console application or a GUI.

Fast forward to the in person meeting, they go through my solution and nitpick random things like "why use NuGet packages" or "why no test cases" (I had written them but they got mysteriously removed from the solution).

Finally the CTO speaks up and asked why I didn't write a GUI, as many other candidates had (mind you this was an application that accepted inputs and ran a calculation). I responded, "it's less effort to write a console application and the assignment said it was acceptable". CTO then snarkily asks me "do you always do the minimum"? I should have snarkily responded "only when I'm asked to code for free".

Thankfully did not get an offer...
Exactly! People say: "I think Wikileaks is not a neutral party". Dude, NO ONE is a neutral party. This thing doesn't exist! All sources have bias!
But on what object?

The fact that calling .MoveTo(10, 30) would return the same object it has been called on, and not, for example, a handle to created movement animation, is not exactly obvious.

Modern pattern of methods which just return the objects that they've been called on, by default seems to be very trendy, but I fail to see how is it helpful.
Check out: https://chrome.google.com/webstore/detail/backspace-to-go-ba...

I've never had any issues with it.
Why can't we just raise taxes?