skysight-inc/HackerNews huggingface dataset:
To expand on this a tad, here's the intro code for glium, getting a triangle on the screen is just one page of text:

https://github.com/tomaka/glium/blob/master/examples/tutoria...

That includes: Window creation and event handling, fragment shader, vertex shader, varying declaration and binding. Uniforms are pretty trivial on top of this(also done via macros so there's no raw strings).

The whole tutorial is really solid: http://tomaka.github.io/glium/book/tuto-01-getting-started.h...

Next time I'm starting up a GL project it's going to be hard for me to argue C/C++ given how nice some of the semantics around Rust's OpenGL libraries are.
The most famous photoshopped images of all time
A conviction is in itself substantial punishment most places.
You can technically make shader binaries with OpenGL, the problem is Khronos never standardized a bytecode for it so you are basically shipping three binaries, one for each GPU vendors own intermediary (if they even have one, I only know AMD does):

https://www.opengl.org/sdk/docs/man/html/glShaderBinary.xhtm...
But why employ that many people to do something we don't need, when you could also employ them to do something more productive?
Ford's case was somewhat different from that of the other carmakers. They accepted some government loans, but not the cash for equity swap.

http://www.factcheck.org/2011/09/ford-motor-co-does-u-turn-o...
I think that we need an improved C compiler more than we need new languages. You put it quite eloquently:

>Surely it'd be better if these kinds of failures were at least interesting rather than an endless parade of careless mistakes that could literally have been caught by trivial automation in the compiler.

You're right - they CAN be caught by trivial automation in the compiler, so let's add that.
Didn't know Shannon was a figurehead in QM, but then again I hardly know any quantum mechanics - mind summarizing his contributions to the field for a lay person.
You'd think so, but a bunch of users who keep happily using Larder without paying for it say otherwise! It seems like plenty of people don't hit that limit. I probably wouldn't either, actually. It's a tricky balance, because it has to be a high enough limit to still be useful (apparent tick) but low enough to encourage upgrading (uh,not enough data yet). It is a free trial and not a free tier, after all — the idea is that if you find you're using it regularly and hitting the limit, then perhaps you might be interested in paying for it.
Hah! Only if dictatorship could ordain things to be done so correctly. Unfortunately we live in a capitalistic democracy.
Not interoperating with TLS's CBC construction is a feature, not a liability.
There are pros and cons. Personally I find it easier to link an account than to create a new password to store in lastpass. Obviously offering both is the most flexible.
I work in the industry in the industry and I working to change the industry (fixing it from one angle). So I'm going to try to summarize what's going on since Adage manages to be both high level enough but not detail enough at the same time.

Despite all the technology that potentially available to drive marketing / advertising the large agencies have not really changed their own organizations to match this. Sure they've done a bunch of tech acquisitions but you can take a look at how poorly those were done. So today most agencies are still built to handle the model where clients pay fixed percentage on media and then hourly for the people driving it.

Hence agencies were built as a large shops of people, primary fresh out collage grads (lots of jokes about 24 year old media planers) with a few senior people on top.

Clearly technology has changed what's possible esp. in search, programatic (exchange) & automated execution (traditional). This has happen mostly online but the technology has been pushing into meat space where it's possible to do much more specific targeting on cable and folks are working on brining this all to other media. And now technology is making it possible to bring offline conversion datasets to the execution / planning process.

So agencies now need to become less people organizations with lots of people that produce forecast, media plans & reports by hand (happens all the time).

Agencies talk about focusing more on outcomes for the clients. It's a pitch that a lot of folks at the CMO office, obviously it sounds good. But they don't really have means of doing this, and if they do not a scale (automated) as that's not the model they are built for.

Obviously, I'm glossing over lots of details. Think of the money ball analogy... but the agencies in the situation that they right now are full of scouts, and they need to full of quants.

A lot of large clients are waking up to this fact have some of the more forward thinking companies have started taking some pieces in house. In many cases they have their own data about consumers that they can leverage, that already exists in their 4 walls. This leaves a opportunity to a lot of smaller, more specialized shops to come in and offer parts of what the agency offers. One shop can focus on media planing (using market data, real automated analysis) another company can focus on online-offline conversions.

I'm awaiting the day that companies start hiring behavioral economist as their CMO.
Email: how to be polite and efficient
Here is a fairly simple alternative to this or using a password manager:

1. Remember a high-entropy “base” password that is likely to pass complexity and length requirements

2. Invent a weird way to incorporate the name or domain name of the product you’re using into this password to make it unique (e.g. “put the second letter of the domain name as the third-last character of your password”)

Advantages: Memorable but unique password for all or most services, no need for physical books that can be stolen, works on any machine. If one of your passwords is discovered, it's basically useless beyond that service unless the attacker knows your step 2.
> Satoshi combined some existing ideas with an uncommon area of application, currency instead of mere transactions, to create Bitcoin. It's clever and a lot of activity happened but its components aren't original and similar things were promoted before.

That's pretty much how genius works much of the time, seeing possibilities that exist with existing stuff that haven't been done yet.
Trust obviously depends strongly on the task. I trust my dog to fetch the ball but not do my taxes, because he's a lot better at the former.
Well that's just dandy. They are plagiarising.

http://packetlife.net/blog/2016/mar/9/dont-be-discouraged-pl...

All those PDFs that they have taken without permission and stored in their GitHub repository are the giveaway:

https://github.com/overthecs/overthecs.github.io/tree/master...
I'm fascinated by these words that describe pieces of our lived experience in a way that makes us say, "I knew there was a word for this!" They seem similar to the tip-of-the-tongue phenomenon, but in a semantic sense.

A few from English that I like:

curglaff - the shock felt in bathing when one first plunges into the cold water

groak - to silently watch someone while they are eating, hoping to be invited to join them
Technically, default arguments don't <em>quite</em>, <em>purely</em>, desugar exactly into that -- there are some scoping complexities to them as well (possibly only for functions having strict mode code), the details of which I haven't fully internalized. Your observation is otherwise correct with a little bit of handwaving. :-)
Interesting, thanks!

If you dont mind, can you give me a rough estimate for your yearly salary or so? How long have you been programming in C?
printf("bull crap"); short programs can be secure.
We know they exist. Bernstein and Cutler are two probables based on reviews of their code. Thing is, these people are mentally not even human: it's like Human++ in terms of technical proficiency. So, maybe skilled C programmers only exist among the super-humans. ;)
I usually don't have cash, but if someone comes up to me in a parking lot of a store, I offer to take them in and purchase food for them on my credit card. They sometimes accept the offer, but the majority don't.
Satoshi Is Actually Building an Ethereum Company (and Other Developments)
Ask HN: Software industry sector with small amounts of configuration
What are the less configuration industry sectors? I.e. which sectors
tend to be more about writing software using libraries and crafting
one's own source as opposed to configuring tools?

For an example, for distributed systems the following technologies
crop up often enough:

+ Docker

+ CoreOS

+ Vagrant

+ httpd/nginx

+ Openstack

+ Kubernetes

+ AWS

as well as possibly Puppet, Chef, Saltstack or OpenStack.

Using most of the aforementioned technologies is configuring them
in a config file.

Where (within the industry) should those more interested on creating
new solutions by hand look?
"Oil, coal and gas received more than four times the $120 billion paid out in incentives for renewables including wind, solar and biofuels"

source:
http://www.bloomberg.com/news/articles/2014-11-12/fossil-fue...
If that's the case it probably would have been listed as ULPA...
I think this is a major step in the right direction for the Go team. Shipping on time and being ruthless with what gets into a release will only help Go in the long-term.

For what it's worth, I think the entire Go core team has done an awesome job with releases, and pushing forward for improvements.
What to Look for in a Web Developer
Isn't this really a result of TV showing us "what we wish we were" vs "what we are"? I swear part of why they pick to have these well off characters is to give you a sense of "this is what I want for myself."
"I would argue most of the people who reject whiteboard interviews can't actually code"

A comment like this currently on top of this post just shows how broken the whole thing is. Of course the fact that this rejection of whiteboard interviews is coming from people who're doing the hiring (like myself), rather than interviewee's doesn't seem to make a whit of difference to the commenter.
That's a second-order padding attack, in the same sense that an integer overflow most often creates a second-order buffer overflow: a first bug transitions your program to a state where a second bug --- very exploitable, and one the program tried to guard against --- is revealed.

What's interesting about crypto to me is the prospect that every common crypto flaw has second- and third- order variants that we will not find out about for many years, the same way we've barely now got a grip on the interaction between C integers and buffer counting.
You can get complete spatial and temporal safety with Softbound + CETS:

http://www.cs.rutgers.edu/~santosh.nagarakatte/softbound/

They and Cambridge CHERI team have hardware modifications, too, if you want to run C apps on FPGA CPU with inherent safety. Software-only, though, has significant performance penalties.
Drone footage of new Apple campus
I understand what you are saying. There is already a web based CAD system called onShape that I will likely use in my initial phase as the CAD system. They have APIs but I haven't delved too deeply into it. I will be writing most of the software myself and a great deal of it is already done.

If you want to get more into the details of how I make it work, it's mostly in how I store and process the data. Instead of storing files on a server and then calling them down, I store each equation/text block/plot/table/etc as a separate entry in a database. When the user loads a web page I pull down and order all of the items in that document.

This is what lets me connect all of the pieces. A user can pull in one equation from another document into any other document and use it as a variable. When the original variable is changed, I can parse through the database and find files/equations that use that equation and update them accordingly.

The MVP for the documents and for the part tree is already done and there are videos on the website.

I often hear people compare CADWOLF to Jupyter notebook. They are somewhat alike but vastly different in execution. Jupyter lets user create a web page using a programming language. This requires knowledge of programming as well as several other things like installing the software on a server. In CADWOLF, users simply interact with a gui to create a new document and add equations, text, etc. There is no "programming" and all you need to know are the commands for the built in function (sin,cos,FFT, etc).
CUDA sounds like the kind of "heterogeneous" model the author is suggesting. Unfortunately it has it's own set of problems.

I'm not really sure what kind of API the author wants. Sure, it's annoying that data in GPU-land and CPU-land are difficult to get to work together. But that's not the API's fault, it's because they are physically very far removed from each other. They don't share memory (and if they did you'd still have to lock and manage it). You could make an API that made them seem more transparent to the programmer, but then you're back to the GL 1.0 mess where you have zero control and the driver does dumb things at random times because it doesn't know anything about the program that is executing.
I'd love a C compiler that implemented memory-safe C. If one existed today in a readily usable form I'd recommend it in a heartbeat.
This.

The Office went through all of its kooky manager plotlines because Steve Carell's career trajectory outpaced the show's initial popularity. The second he got too big for the show, everyone knew it, and much ink was spilled in the writers' room trying to anticipate and/or compensate for his eventual departure.

Jim was given some upward mobility because he's the protagonist, and the audience was rooting for him (and Pam) in a personal way. Nine seasons of Jim's being stuck in a dead-end paper sales job, with no hope of escape, would have been extremely depressing. I realize that's how the UK version chose to play things, but it would have been too bleak by half for the US market.
Our HR management system at work, that manages all payslips and tax returns only allows passwords between 8 and 9 characters, they have to start with a letter, they have to contain one of the following "@", "_", "-", "$", but no other special characters are allowed. It has to contain one number.

It's the most bizzare password requirement I have ever seen and I am pretty sure it's not secure. Have I mentioned it only works in IE and uses ActiveX controls?
> I think one really learns the value of money after having been in the work force for a while.

Perhaps you should consider using that as your criteria rather than discriminating based on age. I'd still disagree, but that policy would deprive fewer people than your current proposal.
> That you believe this makes it absolutely impossible for me to think you're not in a privileged position.

Believe what you want, but I sure as hell didn't grow up in a privileged position.

> Great when you know where to go, and they work as they should. They are not perfect. And people are not perfect. Especially not when starving.

Churches will give food, its part of many faiths. Stealing is wrong, and brings misery to others. People will help others, but taking is never right because of the chain of pain you unleash in the world. Whose privileged when you can decide to take from others?
Dependencies: Chrome

Come on guys, test your software properly.
HP Unveils Premium Chromebook: 3K Display, Intel Core M, 16 GB of RAM and USB-C
A society that can't survive even the occasional act of kindness to starving people is not worth saving.
Doesn't work in the 'classic' edition either.
True! Though not all schools are like that. My brother's made you do an extra masters thesis on top of the dissertation. Unsurprisingly, most PhDs then just have the doctorate, and not both. I also concur that the drop rates at 2 years are due to failing the quals. The more interesting part is then the 3+ year rates, as those are really the people that dislike research and not just the ones that can hack it.
Thanks for clarifying your reasoning but remember, a 1998 Google would have also fallen under Too Ambitious. At the time, search was one of the toughest markets on both tech and marketing grounds. What they found was that by being significantly better, a lot of those challenges, such as marketing, melted away. We would like to prove that Brodlist is significantly better, and this seed round would let us do that.
For farms that are too hot, a possibility might be that they'd be able to alternate crops with solar panels, and it would shorten the day's sun when the crops are in the shadow of the panels.
...and then he can say to the Australian tax authorities "see I mined these Bitcoins legally, I didn't get them through money laundering". That's a suggestion on a BBC article (http://www.bbc.co.uk/news/technology-36191165). But even then, he could have said "I mined them" without saying "I'm Satoshi".
There is, but whereas a government and its generals could legitimately learn lessons from studying ancient tactics, we don't have that kind of carry-over to the present day, so that kind of knowledge becomes pure academic interest.

Insead, the CIA more or less lead the funded of creation of "mass communications studies" departments across the US in the 50s,60s, and 70s because it was research with applications to improve their abilities to engage in covert warfare.
Can't read. The site is pro-ad.
How does Stack Overflow do pagination?
It will disappear until all of the items are appropriately filled in. There should be a message telling you what needs to be changed. Since this is web based the user name can contain only letters and numbers since it is used in the URL. If there are no errors showing, let me know.
> Of course price/KW will drop massively if the entire thing is being propped up by taxpayer dollars and not the actual need to be profitable.

If saving the world was free, the private sector would have done it already. It's not, so it needs to be subsidized.
What if I don't believe a biological war is likely? Or, what if I would rather just "get it over with" in the event of a biological war?

Can I pay less for a Tesla which _lacks_ this level of filtration?
Man Living in Trailer Saves Enough Money Selling Newspapers to Buy Home
Uber Plans to Kill Surge Pricing, Though Drivers Say It Makes Job Worth It
Really appreciate your perspective. Looking forward to giving it a shot. I've found Pocket to be bloated and getting slower and slower in China, so the speed and minimal UI is really attractive to me.
Rentswatch by Journalism++
That one was probably a bit of an outlier from the others on that user's list.

I would say that I do take it a bit less seriously than other conspiracy shows such as Rubicon.
I don't think its that bad now. We are somewhat limited by SPIR-V, but we now have the capabilities to write our own graphics APIs and shader languages that can compile to Vulkan /OpenCL and SPIR-V and go on from there. It is nothing close to as bad as the goliath of OpenGL hegemony.
Hacker news is not a subscription hub, could you please take 'Wired' news out from here.
Try getting a seat at The Buckhorn for tonight. Good luck
Most the horrible security bugs in Java show up in the sandbox, where attackers can supply arbitrary code for you to run.

In contrast, Java as a server language has an excellent security record IME. The last public patch panic I can remember was in 2011 with the denial of service bug regarding parsing of floating points. There has been other security bugs regarding cryptography etc, I'm sure, but in general you can feel very secure running Java on your servers.

It is a shame that security bugs for both are bundled together, making every sandbox compromise a "Remote exploitable" vulnerability. The "applet" use case should probably just die, there is no indication that Java sandboxing will ever be secure, the design is unsound.
> - spend a few hours working out why your display window just shows black

I hardly ever had this kind of problem… and I'm doing OpenGL programming for almost two decades now. Yes, when implementing a new shader (idea) I often am greeted with a blank window, too. This is where the "stringiness" of OpenGL is actually a huge benefit.

See, you don't have to recompile your program just to change things in the shader. In fact in development builds of my OpenGL programs I regularly place a filesystem monitor on each shader source file, so that the shader gets automatically reload and recompiled whenever the file changes. Combine that with a GLSL compiler error log parser (the GLSL compiler will emit helpful diagnostics) for your favourite editor and you can quickly iterate your development cycles.

Just to give you an idea of how well this works and how quickly you can develop with OpenGL if you know how to do it properly: Past February our company showed our new realtime videorate 4D-OCT system at Photonics West/BiOS expo. The first day of the expo, about 10 minutes before opening my CEO asked me, how difficult it would be to hack a variance visualization into it. Since we had a developer build of the software on the demo system I could make the changes in-situ in the running program. It took me less than 5 minutes to implement that new display mode shader… from scratch. Considering that even the smallest changes in the program C++ files would still require a at least 10s long linking stage and that after each launch of the program it takes about 2 minutes for the program to go through all the required calibration I couldn't have done it that quickly.

----

For those wondering how to effectively debug shaders: First get the vertex shader working, only then start with the fragment shader. Until the vertex shader doesn't work use the following as fragment shader:

out vec4 o_fragcolor;
void main() { o_fragcolor = vec4(1.,0.,0.,1.); }

i.e. a solid red. For debugging the vertex shader you may introduce some varyings that you pass into the fragment color. Once you've got the vertex shader doing what you want it to do you can tackle the fragment shader.

And always remember: Don't link the shader text hard into your program binary. Load them from external files instead and have a way to signal a reload.
Their paywall is already friction. This would be a paywall that could be dismissed with a single click that costs $0.25.
The problem scale of Roseanne is within a believable distance from my own. I have had to dismantle washing machines and clothes dryers to repair them. A show like Seinfeld would make the appliance repairman a character and the repair would be the secondary theme of the episode. A show like Friends would either not acknowledge the existence of laundry machines, or pretend they do not ever break. The only show currently on broadcast television in which I would believe a broken washing machine as a plot element is The Middle.

Here's a potential middle-class The Middle plot line for you: the Glaussners wash the mud off of their off-road 4-wheelers in the street using the Heck household's hose. They do not turn the water off. It runs all week, straight into the gutter, before someone notices and turns it off. The Hecks get an unexpected $300 water bill, which passes unnoticed in their huge monthly stack of bills, as they pay the usual, average monthly amount. Then one day, their water is shut off, and they can't get it turned back on until after Mike's next paycheck.

That's a believable middle class problem. Can you guess why it's believable? Because it's based on a true story.
That is the same problem as the proposed method in the article, as the article admits.
Not sure what 'horrible security bugs' in Java you are referring too.

If those you refer too, and there are many, are exploits in browser plugins, sandboxes or the JVM, these are written in C(++).
His logical construction is solid: If it's okay to steal food when hungry, then it's okay to steal shelter when homeless (right?). The construction demonstrates how such logic, when generalized even a little, reveals its absurdity.