skysight-inc/HackerNews huggingface dataset:
Carnagie Mellon has some open too
http://www.cs.cmu.edu/~213/schedule.html (Lectures)
https://scs.hosted.panopto.com/Panopto/Pages/Sessions/List.a...

That book you can get the global 3rd version from Abe Books for $20something since you aren't in Can/USA

There's other courses in there, like this awesome math/compsci course https://scs.hosted.panopto.com/Panopto/Pages/Sessions/List.a... (click on the RSS(Subscribe) logo in the upper right, can download them). They also have some fully open courses like this db course with lectures on youtube http://15721.courses.cs.cmu.edu/spring2016/
Another one: https://goo.gl/tFZexM
The fact that you got output from `report_error()`
A switch statement is just a bunch of gotos who have hurriedly put on an ill-fitting suit and tie to look respectable.

Any context where you would want "if x == this, goto here; if x == that, goto there" is a potential place to use the switch statement. Duff's device is a good example, but there are many things that can be built this way.
A stack that you can understand from top to bottom.

Love it
Spoken like an intellectual (not an insult - an observation).

Could John Carmack explain binary space partitioning in an interesting way that made Joe Average feel like he got it? Most likely yes.

But would Joe Average really "get it"? Could he make a meaningful judgement as to whether some other piece of software implementing BSP was more or less a copy of some other piece? (just using BSP as an example - not a good one)

I sincerely doubt it. As the saying goes, a little knowledge is dangerous.

Look at the number of people who claim that global warming is a myth because they saw a snowstorm last week.

Its fashionable, and feels liberal, to claim that we're all much the same, but we're not. John Carmack is what many would call a genius, who can conceive of things that are simply beyond the ken of the bulk of society.

Sure those people have other skills and virtues - but epecting them to make rational decisions about complex technical matters while two opposing sets of attorneys bark at them is...ridiculous.
If they have federal funding they do. (Amongst a lot of other things that they're required to enforce)
One Silicon Valley entrepreneur’s quest to cultivate employee activism
I'm as big an opponent of the militarization of police in the US as anyone, but I'm not sure consolidating police powers into one organization is going to immi the situation.
So you've already been banned once?
Can a HN mod comment on why this was flagged? I'd be interested to know why.
Configuring a headless Raspberry Pi
If you want to protect against an adversarial Google, you shouldn't be using Gmail at all.

If you want to protect against an adversarial nation-state, well, power to you, but it's an uphill battle. Use PGP, not S/MIME, and pray that everyone else knows how to use it perfectly, making no mistakes at any point ever.
The users may perceive operation satisfying, yet it may not be so, eg. because of security issues, which on the other hand pose dangers to other users as well, so the it doesn't matter to me attitude doesn't stand.

Given that the upgrade was free just as in the case of a linux upgrade the good enough point should consider these factors as well.
I guess the reminder that C's switch syntax is bizarre and flexible is amusing, but this is still really wrong-headed. Friends don't let friends write code like this!

We're told we have "process_command_msg" and "process_status_msg" functions. Each of those functions is already doing a switch or if/else to determine the exact message type. If you care about the cost of those lookups, the correct thing to do is have a single switch statement that handles all the messages at once.

If you don't care enough about the cost of lookups to split up those functions, you should stick with the obvious if/else test.

Another thing you could do to improve the design is to have a "get_message_type" function returning a "COMMAND_TYPE" or "STATUS_TYPE" enum, then switch on that. That can be made efficient if you really care about execution cost (for example, check a single bit, and inline it so the switch can be optimized).

Abusing the switch statement not only gives you unreadable and bug-prone code, it simply isn't any better than a sensible approach.
It isn't that hard to analyze ecology in economic terms. "Money" doesn't particularly exist due to (almost!) none of the participants being cognitively capable of processing it, but you do have some barter, and a whole lot of supply/demand curves based on differential valuations, as well as a lot of things that can be or are even best analyzed as cost/benefits analyses. Predation, for instance, has a big cost/benefit analysis on the cost of the energy input plus the risk of being injured vs. what the predation may produce. It isn't the same as a human economic analysis but it's another useful lens to look at the natural world.
My first gut feeling was that the average age of developers has to be lower. My reasoning was that since the number of computer science degrees is increasing and the average age of graduates is low there should be a lower average age of developers.

But this data suggests otherwise https://datausa.io/profile/cip/110701/#workforce_age

And this as well https://nces.ed.gov/programs/digest/d12/tables/dt12_349.asp
Assuming that the average age is 25 for Bachelor's, 27 for Master's and 32 for a PhD I get an average age of 47.

Am I missing something?

https://docs.google.com/spreadsheets/d/1walTvrZrdTELPjrI9HmQ...
BSD gets refugees from Linux because messing up with systemd.
I'm implying it's not as simple as you are making it out to be. Does Google fall under your definition? They must, or it wouldn't seem fair to be upset at them. What counts as a "program"?

If your complaint is mainly about quotas, I don't have as much to say about those. My intuition is that strict quotas are overly heavy handed and also treating the symptom not the cause. I would guess that programs that seek to help certain groups closer to the source (e.g. in the education and training phase) are more effective.
I agree with you, but looking at the problem from Microsoft's perspective, they have to sell you something, whether you 'need' it or not. It's interesting that Microsoft is the only company still selling a consumer OS, everything else comes free with the device, including updates. This problem might be part of the reason for that.
I once got in trouble in high school for encouraging a classmate who'd misread an assignment to do `#define int double` to fix it.
Horses are immigrants too.
He does at public universities.
You're missing the point though. They're protesting him because one of his Twitter followers called Leslie Jones an ape.

And yet they weren't throwing rocks at Bernie because his followers referred to black people as low-information voters. Nor were they protesting Hillary because her followers referred to Obama as a boy.

Do you really not see the double standard?
In France we count all ballots by hand.

As every ballot station count only his ballots, it's quick.

For a presidential election, maybe 30 minutes.

The counting is done by the citizens, so no (easy) frauds are possible.

All ballots are visible, the process is transparent, no suspicion.

I personally think that a 30min delay to get the election results is worth the wait.
This was my thoughts exactly. If what the OP was proposing was not legitimate myself and countless others would be in legal jeopardy. I have written code that does the same thing at numerous employers because I am hired to solve the same problem. This doesn't mean I've copied anything, it just means I know what the hell I am doing.

If this was not legal, we would all be bound to the same employer for life. This could be extrapolated to virtually any employee. Have you assembled burgers for McDonald's before? If so, you can't work at Burger King, because they also make burgers and you have proprietary knowledge of McDonald's burgers.

I have spoken with numerous individuals who added support for specification X to one vendor's product, then did the same at the next job, so on and so forth. One individual had implemented the same specification for 3 different companies, all competitors, in just a few years. When you consider the breadth and depth of some specifications, the code doubtlessly is similar in form and obviously identical in function.
At least 3 years ago.
They're definetely counting 8.1. While it wasn't as a jump as 7->8 or 9.1->10, I'd consider it major enough to be counted as it's own release.
Let's suppose you want someone to just watch a parking lot which takes zero skills and I advertise for minimum wage and don't find anyone. Then you show up and say I need an H-1B, yes it's the night shift, but as unskilled labor that's a minim wage job...

That's the point of around a six figure wage floor. It prevents people from understating the requirements then bringing in a H-1B. I could just Advertise for a secretarial job, then only accept people that happen to speak Farsi.
White Coat Investor: book review
How was measure calories is terrible. Carbs should be measured different from calories. If you cut out bread, pasta, soda and other major sources of starches and sugars (you can keep fiber and sugar alcohols), weight loss and overall health greatly improve.

Exercising is good and healthy for you. You should do it. But you won't loose weight by it. Your diet is way more important.
No, one protestor mistook the "anti-fascist" tattoo on another protestor as implying support for fascism, and so shot him.

The violence was all carried out by those trying to shut down the free speech of a gay Jew who only dates black men.
They did rewrite both compilers, it's called Roslyn.

And in Roslyn, C# and VB share some code, but a lot of the code is still separate even in the rewritten compilers.
States move to protect their immigration data from the Trump administration
>supervisor's research projects (lots of grunt coding)

Hobby projects that A) have no users so stability and usability is unimportant, B) have no one review code, or the results so correctness is unimportant, C) have no requirements to support it after the paper is written, so maintainability is unimportant all add up to shit general skills.

If a PhD has specific expertise you need then great, otherwise expect a mediocre entry level dev with a chip on their shoulder.
I'm not sure I understand how static types and existing Erlang OTP patterns are supposed to work together.

What is the type of a gen_server? It can literally become anything.

What is is the type of become messages?
http://joearms.github.io/2013/11/21/My-favorite-erlang-progr...
I'm not taking sides but might be best to try to understand why sixty three million of your fellow citizens voted for your unimaginable or possibly only for 'a-complete-change- because-previous-administrations-had-done-nothing-to-sort- out-the-dreadful-state-America-is-in' and Hillary appeared to them to be the last person likely to alter that.

'Dreadful'? If you're baffled by this, check the stats on US child mortality, median wage, educational attainment for starters. And maybe this guy has something - http://blogs.spectator.co.uk/2017/01/trump-how-did-this-happ....
Free speech doesn't mean guerrilla warfare either. The radical chics should learn that losing is a fact of life.
We wouldn't have to work as much if automation is done right. However it sure looks like we are going to use automation to further concerntrate wealth.
> Otherwise it's not reasonable to have these guys wait on you to come to to door. Sure it's only 30 seconds, but that's 30 seconds multiplied by 200 each day

The only place I've had packages left outside is in the US. In every other country, every package that doesn't fit in the mailbox requires you to come to the door (or in many cases, it will require you to pick it up at a local postal pickup point, usually a nearby supermarket/convenience store/gas station)
Hate speech is not protected by the first amendment.
Nice! For even more magic, type that same equation into WolframAlpha:

http://www.wolframalpha.com/input/?i=z%3Dy%5E3%2F(x%5E2%2By%...
Interesting ideas, but this bothers me: "Then refactored to:"

Refactored implies performance improvement to me, and inlining is almost always faster than the more modular representation that the author ended up with after "refactoring" (putting the comparisons in functions).
The Privilege Grant
You complain about London---and I just moved from Sydney to London and enjoy the relative pedestrian-friendliness here compared to that car-centric hellhole down-under.
You can say the same thing about Calculus. "Why does nearly every single High School in the US teach Calculus in some form or another? Why do they push it on every child? Including in College for weeder courses?" Because it's critical, important and integral to our society. Now that programming has invaded nearly every aspect of our lives, wouldn't it be nice if we all taught everyone how to be programming literate? It would be like learning a language. Or learning Calculus.
The thing about local and personal is that the strategies tend to be pretty specific to your particular situation. But there are some general things that will help.

1. Listen first. And don't just passively listen actively listen. Ask questions which leads into the second thing.

2. Try to genuinely understand why someone believes as they do. What is motivating their actions and reactions.

3. Once you are able to empathize with someone that should inform the tactics and strategies you use.
for

int m[2][3] = { {1, 2, 3}, {4, 5,6}};
int *n[2];

n[0] = &m[0][0]; //equivalent to n[0] = m[0]
n[1] = &m[1][0]; //equivalent to n[1] = m[1]

it lists that

What is n[1][1]? //2
What is m[1][1]? //same as n[1][1]

but it's actually 5. (n[0][1] would be 2)
No, the receipt of federal funding does not require that the receiver grant a platform to all comers. That would be absurd.
In this case, and others like it, a clean room is challenging because a principal (in this case Carmack) left one company and joined another. So the 'taint' if you will is in his head.
The remaining 1% is a big comment reading "/* FALL THROUGH */" instead of a break. Once you know what break does, you should know what happens when you leave it out (and why you might want to).

The remaining 0% is stuff like Duff's Device.
Regarding hard drive encryption backed by TPM, a) this has been a thing since Win7, and b) google tells me it only works OOTB on Win10 if you sign into Windows with your Microsoft account; how many people do that?

If that's the secret sauce that makes Win10 so much better, color me unimpressed. And neither of those features offer additional protection against zero-days (neither does VSM), which are what the TFA discusses.
Thank you! I did not have the citation for the actual number of drinkers and non-drinkers, so I just included the info as I found it. Interpreting the data, we can see that those that drank did so heavily, though other commenters indicate that it may be similar to current alcohol abuse patterns as I elude to in my last sentence.
Correct! Compare it to a group that care about their PC, i.e. gamers, 50% of Steam users run Windows 10.

https://www.pcgamesn.com/steam-hardware-survey-windows-10-ad...
It wasn't one of Milo's supporters, it was another (violent) protestor.
[Edit] Seems I have been misinformed.
Queues are seriously backing up. Sorry about this!
Has anyone found something similar to this that supports RF/Microwave circuits. This could do wonders to teaching the smith chart, matching impedance and so on.

Or what's the probability this site will add RF in the future?
Exactly this. You would be surprised how petty and subjective academics are in practice. There is a reason why everything is done through committees in academia.
Slugulus Eructo!
I rather like the clean aesthetic of Windows 10, and am now using it as my main OS. Sure, it's by no means perfect, and there is still work to be done. But by and large I am happier with Windows 10 than with MacOS, Ubuntu, GNOME, and so on.

Oh, and the whole "spyware" trope is becoming overworn. User analytics is here to stay, and practically every website and browser does it anyway. At least you can disable it in Win 10 if you are so inclined. Me - I would gladly give Microsoft my data to they can prioritize features for windows 10.
No, he doesn't. Universities are free to choose who they will invite to speak. He is using campus facilities - specifically, lecture halls for his rally. They have the right to refuse.

If he held his rally on the lawn, that would be a different story.
Luckily for me, you, and the internet at large, Google lets you look up information on large government programs. Not sure what is "bizarre" about me "shying away" from duplicating publicly available information.

"The H-1B program applies to employers seeking to hire nonimmigrant aliens as workers in specialty occupations or as fashion models of distinguished merit and ability. A specialty occupation is one that requires the application of a body of highly specialized knowledge and the attainment of at least a bachelor’s degree or its equivalent. The intent of the H-1B provisions is to help employers who cannot otherwise obtain needed business skills and abilities from the U.S. workforce by authorizing the temporary employment of qualified individuals who are not otherwise authorized to work in the United States."

https://www.dol.gov/whd/immigration/h1b.htm

You will note that the word "salary" does not appear in that description.
What's your point? The shooter claims self defense, willingly turned himself in, and the victim doesn't want to file charges.

I watched some of the live streaming of the protests and it was pretty insane - not just "breaking windows" but pepper spraying the opposition, lighting property on fire, throwing molotov cocktails and fireworks, and one instance of beating a guy unconscious and kicking him on the ground.

It wasn't just "breaking windows" and whether you're left, right, or north - you should be vehemently disapproving it.
I don't need to watch a propaganda film to remember how it was. I was there. How old are you?
What's the benefit to me as a user to installing it via snap, instead of via the traditional methods of apt-get/the Ubuntu software app?
Seems to be from 2012: https://search.googleblog.com/2012/03/graphing-on-googlecom-...
In tech you don't have to be the first to market, you only have to have a market that's ready for you.

Xiaomi, tencent, alibaba. Not fist to market. All doing well. All done with a very predominant domestic labor force.

My point, is it's not do much the foreigner, or even the local, but the opportunities made available by your domestic economy.
Haha, same!
https://www.wilmott.com/
In London riding to the front is actually encouraged, if I understand local traffic mores right. (And it seems like the sensible thing in any case.)
Do you have a citation for that since it goes against every report I've seen.
Fake news. Antifa thug was shot by a man whose identity or political affiliation hasn't been disclosed, in self defense. How do we know it was in self defense? UW police said so, after releasing him.
It's not just typical, it's required. If you add a default match when you've already specified all the possible cases, the compiler gives you an error. Here's an example (https://is.gd/KjSc8B):

enum Foo {
Bar(i32),
Baz(i32),
}

fn matchfoo(f: Foo) -> i32 {
match f {
Foo::Bar(x) => x,
Foo::Baz(x) => x,
_ => 42
}
}

gives "unreachable pattern", a hard error, for the "_" case.
No, you are wrong. He's simply choosing to not reveal it.
Not on mobile it doesn't...
Umm, who is drinking 2+ pints for lunch every single day of the year and then some more in the evenings? I'm pretty sure that is a lot to drink.
You mean replaced as a language, or just replaced in a new version of the book?

Either way, :(.
English has 3,000 words for being drunk
"but rather small group(s) of violent people" called Black Blocks and payed by a certain infamous oligarch...

do you see the pattern? this is another arab spring ( or color revolution if you prefer ) but this time in the US

seriously, when will the people understand what is really happening?

the aristocracies are trying to reassert their "divine" rights upon the ignorant masses
> They're protesting him because one of his Twitter followers called Leslie Jones an ape.

There's a million reasons to protest this guy. You're missing the forest through the trees, by focusing on only one (That you consider absurd or hypocritical).

Bernie Sanders also didn't speak out in support of a muslim ban, or building a wall, or deporting millions of people... But Milo sure did.
I wouldn't say it has anything like proper support for RF, but our sim does have some transmission line examples which illusrate some of the principles. See for example:
http://lushprojects.com/circuitjs/circuitjs.html?cct=$+1+5e-...

(More under Circuits->Transmission lines)
Elixir, LFE and a lot of other languages past and present that share the BEAM use this approach. As far as I understand it, the BEAM byte code isn't documented all that well and emitting Erlang terms is more straight forward.

This approach also makes keeping your language up to date with the BEAM easier. If you implement against the byte code directly and the byte code changes then you have to make big changes in your compiler. By emitting Erlang terms you can make direct usage of the Erlang compiler (which should be more stable) in a later compilation stage. It's a similar situation for the LLVM and why they suggest you output LLVM IR and not bitcode.
You are looking at this the wrong way. This vote wasn't supposed to represent the exact percentage of the referendum, just wether or not they want to overule the referendum, which 70% did not want to do, even though many of those MPs did not support the Brexit.
I think you're using a wrong definition of average there. Yes, if you aggregated every quality of the populace, then you would be correct. But talking of age, for instance, wouldn't be the case. I'm quite sure there are plenty of people older than me (45) who could run rings round many of Google's employees, but wouldn't get the chance to do so (or maybe want to be there given the culture).

Google may have been 'mind blowing' but there is a bucket-load of things they simply seem unable to do (such as have a clear overall strategy, leading to the mess that is their approach to messaging), and in addition while they have clearly been hugely profitable, they may not give the best experience for some of their users (I've heard the phrase 'regularly cut off [their] own limbs' used). Whether this would be changed if their workforce was more diverse in terms of age (and therefore more experienced) we will never know, but I have my suspicions.
Also in the case of TurnItIn, you can just pay them before you submit your academic work. They show you how to avoid getting flagged by their system by indicating what needs to be changed.

It's a really great scam they've got going. Kenneth Lay would be very proud if he were still around.
Full Stack Web Application Developer

Location: San Francisco

Remote: Currently, and Yes

Willing to relocate: No, thank you.

Technologies: Javascript, CSS, HTML, Angular, React

Résumé/CV: http://eschie.info

Email: austin.eschenbach@gmail.com

Full-stack javascript developer with a focus on front-end. Looking for awesome projects in education, emerging tech, or non-profit.
> Second, with all due respect to the original author zx2c4 (who is currently working on the very promising WireGuard project)

Indeed I am working on WireGuard. But I haven't forgotten pass. We're currently working on a new release.

> the project proved to be a wild bunch of hotwired bash scripts that mostly looked like they were written as a one-off job

I very much disagree with this silliness.