skysight-inc/HackerNews huggingface dataset:
I did something along the lines of his suggestion using OpenGL sparse textures (D3D would call them tiled resources) and persistently/coherently mapped buffers with disk i/o being done with memory mapped files. It's a rather crude proof of concept for on-demand loading of large textures (I used a 16k x 8k satellite image). I didn't properly detect "page faults", but I had some of the mechanisms implemented (outputs yellow pixels instead of page faults).

To make it work fully end-to-end, it would look something like this:

1. Shader samples from a sparse texture, and detects that the requested page is non-resident.
1b. Fall back to lower mip map level.
2. Shader uses atomic-or to write to a "page fault" bitmap (one bit per page)
3. The bitmap is transferred to the CPU
4. For each set bit, start async copy from disk to DMA buffer (ie. pixel buffer object in GL)
5. When disk i/o is complete, start texture upload from buffer to a "page pool" texture
6. When texture upload is complete, re-map the texture page from "page pool" to the actual texture

Now this approach works alright, but there are a number of issues that make it impractical for the time being. Off the top of my head:

1. Sparse textures are only supported on Nvidia and AMD hardware. Not Intel, ARM or IMG.
2. Requires Vulkan or D3D12 for step #6 (the demo doesn't do this, so there may be pipeline stalls)
3. One or two frames of latency that can only be avoided if this was done in the kernel mode driver.
4. Poor fit for existing KMD architecture (which has its own concept of residency)
5. Detecting page faults is easy. Detecting which pages can be dropped is hard.

Here's the source code of my demo. It's not pretty because it was a one off demo project for very specific hardware (Android + OpenGL 4.5, which means Nvidia Shield hardware with Maxwell GPUs). The technique is portable, though.

https://github.com/rikusalminen/sparsedemo/blob/master/jni/g...

(In the code above, all the interesting bits are the functions named xfer_*)

Based on the experience from writing this demo, I have to agree with Carmack here. File-backed textures would make a lot of sense for a lot of use cases.
Flatland is satire: https://en.wikipedia.org/wiki/Flatland#As_a_social_satire
> Black and white decisions are a luxury that not all people are afforded.

Specially if you are in a hurry for dinner with your pals and you need to press that "yes, do drone strike" button in your mobile phone while you are getting dressed, even though you never heard about this "Abdulah" guy whose photograph you are seeing in the screen right now, but he is unshaven and looks dirty, and is not looking friendly to the camera, so yes, please just strike, and could I have fries with that, please?

> innocent lives of your clan are lost

No, there are right things, and wrong things, no matter what members of what clan they affect. Repeat with me: all human lives have exactly the same value.
I suspect we'll see more of this as 16+GB of RAM becomes more standard, at least for gamers. In the past it just wasn't a case that was worth optimizing for.
See this is where you're wrong I'm no worried. You need to see it from my point of view as an outside observer.

They only thing determining the side I choose being my sense of morality no self interest involved at all.
There is some evidence that large deep nets evolve using convergent strategies and solutions across modalities - at least for words and pictures.

Low level specific edge & feature detectors combine into parts of things, these then combine into thing detectors and ultimately vectors representing objects and encoding their relationships. The final layer classification ( the training objective ) is a low dimensional slice of a rich conceptually navigable semantic vector space.

That these top layer 'thought vectors' occur even for limited classification objectives implies the structure comes from the datas contextual relationships and the net learns how things relate to better classify what things are.
I've never seen one that doesn't charge anyone at all in the US.

Credit unions have alliances that they can join to use each others ATMs fee free, same with banks. That doesn't change the fact it's often inconvenient to go to an ATM you don't have to pay for and you need to pay sometimes.
> I would, uh, rather not be put in a situation where I have to send documentation to an approval body, and have the documentation mention -- as the only static analysis tool that was used -- a community project that's at version 0.0.75.

Heh. Yeah, clippy has a lot more to do, and it's not a product with official support, but so far it's been pretty useful :) The version number is just because I want to have an rfc about it before I release a 1.0.

But yeah, it's nowhere near the level of lint tooling C++ has. For most people, I believe it might be sufficient, but for mission-critical stuff I'm not so sure -- you're probably right. Though Rust's type system also might help in creating safety guarantees (non memory safety) for mission critical things.

> only lint-level static analysis

what do you mean? Clippy calls itself a linter because it uses the lint API, but it does all kinds of static analysis. The meaning of "lint" in the Rust community is slightly overloaded.

> if you look at the numbers, it turns out that programmers have been able to get C and C++ to perform reliably for quite some time now.

Of course :)
Would you get anywhere with using those Scaleway ARM BareMetal servers? They're insanely cheap if you can run on ARM.
Spark fragmentation undermines community
Maintaining the Master of Disguise – PHP Conferences – Depression and Anxiety
I would say strlen3 is easiest to read (assuming we're in a codebase that makes widespread use of find_first, ptr_distance and is_null), then strlen1, then strlen2. I think thinking in terms of ptr distances is still needlessly confusing. It's hard to express what we need directly in C (even the Rust version is using nonlocal return which is not the best thing for readability - we could emulate it with goto but that has its own issues) where we don't have generics, anonymous functions, multiple return or tail call elimination. I mean what I'd write in my head (or another language) translates into C as something like:

typedef struct {
boolean continue;
size_t value;
} result_size_t;

int indexed_cata_size_t(
const char *s, void (*operate)(const char, size_t, result_size_t*)) {
const char *it = s;
size_t idx = 0;
// May get initialization syntax slightly wrong but you get the idea
result_size_t result;
result.continue = true;
while(result.continue)
operate(it++, idx++, &result);
return result -> value;
}

void index_of_first_null_u(const char c, size_t idx, result_size_t *result) {
if(c == '\0') {
result -> value = idx;
result -> continue = false;
}
}

size_t strlen4(const char *s) {
return indexed_cata_size_t(s, index_of_first_null_u);
}

but I'm not sure that ends up any clearer.
> Saying that the US is at war with various groups of people in the country side of Pakistan is a rather generous definition of the concept of war, isn't it?

Nobody's saying that though.
Depends on how much you value living in New York City.
ASP.NET Core 1.0 Schedule
OK, so come up with a more precise definition than "execution without a trial".
Useful product, consider adding skills/technology used as a filter.
Let's be honest though, did anyone actually like megatextures?

From the consumer's point of view, all they ever did was have bad AMD compatibility and streaming issues on every platform.
1.0.0 (Tools Preview 2) should be out the week of the 27th of June (in a fortnight's time).
Isn't that exactly how it's done right now?
I pay 1100 used (750 pounds) for a small 1bed flat in city centre Edinburgh and paid significantly more when I lived in Dublin. Whereabouts are you based?

Prices are much higher in cities even in the uk.
In my experience the gains made from a quick setup are quickly offset by the amount of time wasted by not having any data validation, and the resulting bad data that gets into the system.
This [1] is a recent album produced entirely using a (physical) Synthi A - shows what can be done with one.

[1] http://www.fsoldigital.com/product/synthi-a-ignition-of-the-...
New York still has plenty of underdeveloped areas, ever in and really close to the centre of town. (Rent control is partially to blame here, I think. Zoning, too. But locals might be able to tell you more.)

Overall, even with all of the city centre built up to 40 stories, you'll still see relatively high rent---the location is just too good to do business in; so people will bid it up.

The Economist had a whole section about cities a while ago. It was in the issue that also had http://www.economist.com/blogs/freeexchange/2015/04/land-val...
Nicely done!

Minor nitpick: your wait-for-dynamic-content spinner (https://remotebase.io/images/logo.png) exhibits eccentric rotation, which might make some people a bit seasick :-)
one of the issues the article brings up, but does nothing (that i saw) to debate it is in regards to 'mental health'. At what point is someone deemed 'unfit' to own a weapon? schizophrenia? depression? anyone on 'medication'? and WHO gets to make that determination? a politician more concerned about their next election than about the population as a whole.

There are people in prison and on trial who are 'forced' to take medication to make them well enough to stand trial. Also, the number of 'depressed' police officers and those currently in military service who are fighting depression is staggering.

The problem is, once you draw 'a' line, it will always slide. Hence, you see people up in arms (get it?) over their rights. Far too many people are worried about the immediate dangers than about the bigger picture as a whole. They're too worried about their own lives to see what is affecting the whole community, state, region, or country.

also - unsurprisingly, the article mentions nothing of the events that happen daily that guns are used to protect people - which put together, would equal the prevention of mass shooting, weekly, if not daily. Being the NYT, it doesn't fit their narrative.

First they came for the AR's. and I said nothing because I didn't own an AR.... where does that 'line' start, worse, where does it end?
Hacker puts 51M file sharing accounts for sale on dark web
Question: if the point of an "Agile" standup is to share status and keep abreast of what is going on, why does it have to be done synchronously, at some always inconvenient time?

Could everybody just send a chain email with their "this is what I did, this is what I'm doing, here's my roadblocks" rote answers. Takes two minutes to type up, thirty seconds to read, instead of having to go stand around and listen to people ramble on for half an hour, with yet another meeting slicing your time into ribbons.
A Plan for a Long-Term Stock Exchange
like this? https://en.wikipedia.org/wiki/Tesseract
>and by implication suggesting that the current targets are not really something to worry about

I didn't downvote you, but this is your extrapolation and doesn't necessarily imply what you suggest it does. And I am guessing that some people downvoted you because they dislike the idea that you have to add disclaimers to every statement in order not to expose yourself to judgements like yours.
The cat purr recording is too close, it sounds more like an helicopter
Tom Perkins: a mercurial man
This also adds support for ChaCha20/Poly1305 cipher suites. Chrome has supported this for a while and it performs better on some mobile devices.

You can go to https://privacyinternational.org to test this. Then click the lock and go to more info to see the tech details.
shouldn't this be what do we eat vs. what we need to eat?
They are happy to use weasel words, this is a declaration of war:

https://www.govtrack.us/congress/votes/107-2002/h455
Cellphones are functionally equivalent to laptops and desktops-- they're computers.

Now, independent of that, if the regulations and law do not treat them equally, they are not legally equal.
My experience with "ack" was that it seemed great for a few days and then I realized it was silently skipping searching certain files, causing hits to be suppressed, so I stopped trusting it. :-/
New? I remember 300 square foot places for absurd money back in the 90s. How small/expensive are they getting exactly?
I typed "Translate how much does that cost to French", which was one of the examples it showed me on the front page (under "Intent Parser", exactly as shown, no quotes), and it still gave me tv_onoff.

And "Turn on the TV please" is interpreted as "Turn the TV on to channel 'please'".

And don't invite any physicists round, because "Set the temperature to 293 K in my bedroom" results in a "temperature" value of 293000.

Still, the docs do indeed say you can train it (for sentiment and yes/no queries, at least, and hopefully other things too).
That's actually a system wide cast. When you do this it works great but the downside is that you are basically recording your screen and then sending it to Chromecast. Netflix, Plex, and other Chromecast apps do the proper route though and send meta information and sometimes authentication information to the Chromecast and then the Chromecast itself gets the raw compressed data stream and decodes it. Night and day difference if you have a 1080p mp4 video that you are casting via VLC with the built in option versus Plex/Netflix's native Chromecast solution.
And one of the most erotic too.

=====================

Elegy XIX: To His Mistress Going to Bed

...

Thou shalt upon another forest set,

Where some do shipwreck, and no further get.

When thou art there, consider what this chase

Misspent by thy beginning at the face.

=====================

The last four lines quoted as I have done here are almost incomprehensible and yet in context it is really rather racy even today.
It was a cool movie. But the direction and acting were both pretty terrible. You could tell that the humans were standing in front of green screens. It really failed at immersion.
Although this particular site works for me, I find this happening more frequently to me. Some bells and whistles and basic functionality breaks down.
> Black and white decisions are a luxury...

Yes and no. In this case a lot of the 'grey' in these decisions is caused directly by wilful and callous foriegn policy, in which Clinton has played her part.

You don't see the Prime Minister of Sweden executing foreigners on his Apple Watch
This is sort of a byproduct I developed while prototyping a feed reader. I wanted nice icons for sources and instead of googling, serving them I can now throw domains at the API and get icons through a CDN. As long as they're in the repo. Not sure if this usecase is relevant to non-designers.
I work in Newcastle - 2 minutes of looking at properties show this:
http://www.rightmove.co.uk/property-to-rent/property-4209148...

750 pounds for a 3 bedroom detached house. We pay 600/month but the house is slightly less fancy.
A small tldr about what does a company do would be helpful. At least a filter which sector they operate in. Most of the names do not ring any bells for me, but usually I have a some ideas about what I do/not want to do.
Not working on android chrome. Shows spinning disc but not responding to input.
The article mentions government grants, does anyone know of a small software shop that has been able to get one? We looked into it at one point and its next to impossible. Our advisor told us we had to modify the product in weird ways to maybe get a grant some years later. In other words getting a grant was nice for the media outlets to report but in reality impossible for a small startup...
Sorry I was trying to give attribution to the quote. The quote comes from the linked page.
Basic Income: A Sellout of the American Dream
My favorite is Tip #36: Integer numbers less than ten should be written in long-form unless they are measurements with associated units or are within a range (e.g. 2-5). For example, you shouldn’t write, "There were 4 cats that scratched the researchers more than all others." For those of us that are old enough to recall life before we started publicly broadcasting 144-character reports on the nuances of our breakfasts (Forget my diet; I'm having 2 bowls of cornflakes this morning!), these low-integer numerals are particularly grating.
Which Labor Market Data Should You Believe?
The sad part is, it took me until your fourth sentence to realize it was a parody, not an actual TOS quote.
Believe it or not, some under 18s actually have their own money and can buy their own tickets.
The GPU => CPU memory bus is a major bottleneck for NVIDIA's growing Deep Neural Net driven adoption.

GPUs churn through data once it is across the bus.

A heirarchy of GPUs, outputs wired to inputs, mirroring the heirarchy of deep nets would be useful for real time robots & cars, NVIDIA's other big market.
3/10 of the worlds largest employers are now replacing their workers with robots
w > t / p .... works fine. as long as nothing ever goes wrong ;) Then you have a rabbit queue that has hundreds of rescheds piled up and I have to manually unclog the queue.

Also increasing workers isn't so simple. There is only so much memory on a machine, and I don't need or want to add machines. A more efficient loop was the better solution. The machine is now full of work all the time and stable in memory, CPU usage and db access.

This is no longer a problem now that I don't use periodic tasks. "periodic" doesn't describe the nature of the work to be done.

In any case the main problem I needed to solve is that I don't have single tasks that need to happen every p seconds. I have 40 tasks that have different min-max-acceptable-backlog-queue-length, different min-max time periods that they could run in. Different day and night cycle ranges. Some really need to go every 2 minutes, but only if there are emails to send. Some are things to do whenever there is spare time. Some image processing queues need to be done very quickly, for others it can chew on it all night when there are spare cycles.
"If groovy millennials are all about cooking and Instagramming the vegan cheesecakes they are making,” she said later, "how do you live that life with a two-burner stove?"

I take it this person doesn't cook. My first apartment (which was quite a bit smaller than this apparent) came with a two burner stove and no oven. With those two burners, a rice cooker and the small toaster style oven I bought, I quite comfortable cooked just about anything you'd care mention.
Small Sized TypeScript 2.0 Pre Boilerplate. Tests in Mocha and Chai
Another way of memorizing the day of the week is the doomsday Algorithm : http://www.timeanddate.com/date/doomsday-weekday.html ( yes, you can do it to :p )
Question is are you in a state of war? Are these considered casualties of war? If yes, then execution without trial is a given.
I think for Rage it was an idea ahead of its time, but they're still used in the new Doom which doesn't seem to have the same issues and has been praised for good optmisation.
This was a well known comparison/argument at the time :)
Am I the only person here who loves the iOS app? Agreed, on desktop Worms Armageddon is the top, but the iPad is just the perfect device for Worms in 2016.
Included them because they tend to shut down free services. Google shuts down nearly every service companies they buy offer. They are known for doing so on their very own projects as well. Oh and Apple does this as well, for example when they bought Beats, they shut down the Beats API.
Last I looked the US weren't at war with Pakistan.
Worms is obviously in the same genre but it does change quite a bit - most obviously the focus on moving your team members (SE is mostly about weapon selection and aiming, in worms each turn also includes a movement phase which is just as important as the other 2 elements).

This changes the gameplay quite a bit, especially in multiplayer (it become a lot less "chess-like" and more action-y, despite being a turn based game).
It would also be useful to see real past remote position descriptions - with dates that position was actively being recruited for.
Coboat – Coworking on a beautiful catamaran sailing the seven seas
Showing concern for one group of people does not imply a lack of concern for another group. You're drawing conclusions that are not supported by the original comment and being needlessly antagonistic. That's why you're getting downvoted.
Seems strange that HN doesn't just add a job board.
Most of the deaths in drone strikes have been civilian.

We're talking like 70%+ of the casualties being 'incidental'.

That should warrant a description of 'excessive' I think.
> Just for the sake of argument, suppose some 10MLOC (which comprise a minuscule, nearly negligible, portion of all legacy C code) contain, say, 500 serious, dangerous bugs, 450 of them could be fixed in a Rust rewrite that would cost $10M, while, say, 400 of them could be fixed using C tools for the cost of, say $1M. Wouldn't it make much more sense not to do the rewrite for 10x the cost and 12% of added utility?

I don't think 12% is the right way to think about it. The difference between 100 bugs and 50 bugs is at least as big as the difference between 200 bugs and 100 bugs, probably bigger - at least in terms of how much it costs. Suppose you go for the C approach, but turns out you really do need to get down to 50 outstanding bugs - at that point how much is it going to cost to do that in C? Suppose a year later you need to get down to 25? I think it's very easy to end up in a sunk costs situation where at each step improving the existing codebase is cheaper than rewriting, but overall you end up spending far more.

Maybe we need to focus on migration paths. Maybe strategies like targeted rewrites of critical pieces can offer the same level of incrementalism as improving existing C code, but greater overall efficiency. Or maybe there's just no affordable way to salvage existing legacy codebases. IMO in the coming decades we're going to see attackers reach a level of sophistication where any bug in network-facing code is exploited; at that point more-or-less the only useful code will be (provably) bug-free code. I think the path from legacy C code to bug-free code that goes via rewrite-in-Rust-today is ultimately cheaper than the one that goes via use-tooling-to-improve-the-C-today.

> Is manual translation into another language the best bang-for-the-buck approach you know for finding bugs?

For finding a single bug, no. For finding bugs in bulk, yes (or rather, for reducing the bug rate below a certain threshold, if that required threshold is low enough). I honestly think the costs of translating between languages are very much overestimated - it's much more similar to refactoring code for clarity than it is to writing a program from scratch.

(It doesn't have to be manual - there's no reason you can't do a semi-automated translation in the same way you'd do a semi-automated correctness proof.)
He is technically wondering how long until the first strike hits the US. He is highlighting the risk that the use of drones can get out of control.

Sorry, but he is implying that the fact that currently so many innocent civilians are being killed is not as worrisome. That's what I read: "look what horrible things could happen in the future".

It could be that he is not really implying that, but this is what I read, and I think that this is an extremely widespread opinion, specially among american citizens.

If he is not implying that, sorry but I need a disclaimer. That's what disclaimers are for: to clarify formulations which are not obvious.
I think one of the main advantages was to get onto the latest (or newer..) ARM instruction set, which I recall did increase performance Vs 32bit chips/instruction.

I'm definitely no expert though, any inside knowledge on this?