skysight-inc/HackerNews huggingface dataset:
I have some thoughts:

- Doing better than atomic inc/dec for those reference counts is going to be hard. All of those techniques are still in an "unconfirmed myth" state AFAICT: someone published a paper but nobody has confirmed that the result holds on a broader set of machines, workloads, baselines, etc.

- Great call on userspace locking. Note that you can do this portably. You don't need special OS support. See https://webkit.org/blog/6161/locking-in-webkit/

- Seems like lots of the locking use cases can indeed be made lock-free if you are willing to roll up your sleeves and get dirty. That's what I would do.

- I still bet that the dominant cost is lock contention and he is not analyzing his data correctly. He appears to claim that it can't be locks because the total CPU time is greater than the total length of critical sections and that some analysis tools tell him that there is massive cache trashing. But that's exactly what happens if you contend on locks too often. Lock contention causes context switches and thread migrations. Both of those things require cache flushes. So the code that runs under contention will report massive cache thrashing because it will have a high probability of being on a cold cache. Programs indeed will run slower under contention than without it, and while his slow-down is extreme, I've seen worse and fixed it by removing some contention. He should find every contended lock and kill it with fire.

- The dip at 4 cores doesn't surprise me. Computers are strange and most "scalability" charts (X axis is CPUs, Y axis is some measure of perf) I've made had weirdly reproducible dips and jerks.
Bad Ice Cream 3 Gameplay [WALKTHROUGH]
Sunday is a slow day buddy
That is true. You slowly add more black typescript to a white js project as you go along and decide the shade of grey you want.
Right before they went under Enron was doing the same thing: they felt having three teams compete for fastest to market was a competitive advantage and worth the wasted resources sunk into the two losing teams.
Sure it does. I don't think the bar can be "prefer not to see", since most people prefer not to see things that they disagree with. But if a comment is substanceless enough to be an outright national slur, we'd react the same way (and have indeed done so).
Thanks, that was a very interesting read given the context I'm in. My situation is nowhere near as bad as the experiences described, but it helps me in understanding what I'm doing and why.
> 2) All that locking and unlocking absolutely thrashes the cache with Larry's current prototype implementation. I was surprised at how little time was spent doing the actual locking/unlocking itself. I was blown away by the performance impact of maintaining cache coherent locks (at least in Larry's current implementation). And for reference, I was a logic designer on mainframes in the 1980's where we paid attention to making locks perform well across independent caches, so I'm no newb around this issue, but it was still striking to me.

Sadly I'm not optimistic about the approach. Fine grained locking most times has a cost people don't think about. Using reference counting converts every read into two writes (to update ref counts). Then we get into second order effects where unrelated data structures share a cache line with the lock & reference counts. You're just fighting the machine architecture.

Even with additional optimizations, I just can't getting acceptable results with the approach as taken. With the constraints put in place by Guido around GIL elimination it looks like python on multicore is going to be what we have today.
rabbi survivalist: me too! From a ruthlessly pragmatic and scientific standpoint I suspect to maximize the chance of that it might help to visit Israel. :-)

I realized after I posted my question it was almost certainly you. You were very generous to respond... thank you.
I really don't understand why SpaceX doesn't do the Moon. A Moon base relay is FAR more meaningful to our established presence in space, and a fallback location for global conflict.
To be slightly more clear, it looks like they're saying that there are two _types_ of neurons, not two physical neuronal cells.

From the article's introduction:

"We demonstrate that the core decision-making system
consists of just two neuron types—a phasically firing
command-like excitatory neuron, encoding the presence of
food, and a tonically firing modulatory neuron, acting as a gain controller for the animal’s motivational state—and we
characterize these two pathways and their interactions at the
point that a decision is made."
Fair point. Proofs are hard, but on a mass-market device, considerable secondary storage would be fairly evident in a teardown.

Microcurrent devices fed by a small cap or disguised secondary battery might function. But you'd have very limited capabilities.

You might well ask how sure you are that there's not a secondary microphone on the device, to which I can only suggest you cannot be too paranoid.
This is pretty cool. I've been skeptical of a lot of Windows registry tools for fixing Windows 10, or Windows 10 upgrades or whatever, because there hasn't been any real trustworthiness in where they came from. But a tool from Spybot is likely worth a try.
Manny Pacquiao Invests in Singapore's Gtoken
This reminds me of http://nand2tetris.org/ (and the accompanying Coursera course). It's a fantastic course to learn about computing from first principles.

The course starts off with just a few logic gates and how you can combine these to make more complicated circuits. These are in turn combined to reach higher levels of abstraction, until you finally have a 16bit computer, with 16K of ram.
It's a really cool course that helped me flesh out my understanding of what's going in my computer.
I guess I should have specified that I'm thinking of 3+ bedroom homes. Here's what Zillow looks like for a wide drawing of north-side Chicago SFHs under $250k.

http://www.zillow.com/homes/for_sale/house_type/3-_beds/0-25...

This is dominated by auctions and homes in very rough west-side neighborhoods. Yes, there are a small handful of exceptions which are typically very old homes that have not been updated in decades, but to act like above $250k is "weird" or out of the norm is just not in line with reality.
There is simplifying the tax code, and there is eliminating progressive taxation/introducing regressive taxation (like your Herman Cain sales tax there). The former is generally agreeable, the latter implies a set of beliefs about how government ought to work which I believe need to be fought tooth and nail.

This rhetoric is disingenuous, because flattening taxation isn't really about simplifying it, it's about shifting the burden further towards the poor.
Show HN: How Ant Saved Dove - An Experimental Book
The way I think about this is types is like writing tests for your code. Typescript will fail if the contracts don't match.
Swiss say 'no thanks' to basic income for all
There's a classic paper on this: "Go ahead, make my day: Robot conflict resolution by aggressive competition"[1] The idea is that robots should use "aggressive signaling" to get other robots and humans out of the way.

Some mobile robots used in hospitals have been programmed to be slightly pushy in their movements when obstructed. Otherwise, they stall out whenever they encounter a corridor blocked by two people standing and talking.

[1] http://robotics.usc.edu/publications/downloads/pub/127/
I'm always curious where that came from. TypeScript does not emit good JS. It's pretty garbage and not reasonably usable by humans. TS supports ES6 target, where it more or less just strips TS-specific features, but that's only useful if you target a very small subset of browsers and limit what you use.

Even "6to5" (previous name for Babel), which originally had as a design goal that it would emit good JS (and back then, it did!) quickly lost that when they tried to aim for spec correctness.

TypeScript actually punts on the standard in some cases (eg: TypeScript classes are not ES6 compliant) to generate more readable code, but it's still not "good" code and I certainly would never consider working with that.
My point is that, to me, you would still wind up the cons, the only difference being they would be governed by different incentives. A man with a gun is still a man with a gun, and a jail is still a jail.
It's no different.

People are up in arms over this.
Mods have been some of the most successful types of games, which seems like a pretty persuasive reason they should count. Some of the biggest names in the history of gaming started out as mods: Counterstrike, Team Fortress, etc. Valve's success is arguably because they find user-made mods and make them triple-A.

Also, the advent of engines like Unity and UE blur what "modding" means. The WC3 engine was flexible enough to be made into Dota, which was then implemented on the Source Engine as Dota 2. But why was the original Dota a mod, whereas Dota 2 isn't? It's hard to come up with a definitive answer to that.
A balanced approach to a child's learning includes reading, writing, listening and telling.

This experimental book includes activities across all four domains. Children are encouraged to learn new words, practice their writing, listen to the story, answer questions, make drawings and perform story plays. These activities can be recorded in the book using the camera and scratch pad.

Note: All content generated by the children is stored on the local device. No content ever leaves the device. To permanently delete all user content, delete the browser's data/cache.
You could have separate categories for non profit and academic positions.

But for positions in private industry, I don't care. If you really, really need a foreign employee over a domestic one, you will need to pay the H1B premium, competing with everyone else.

It's more fair than a system based on luck, or arbitrary criteria of review board or something guaranteed to be games and manipulated.
The Wikipedia page doesn't do the best job at conveying the idea of the experiment, in my opinion.

We've long been searching and wondering about the origin of life (aka abiogenesis). The famous Miller-Urey experiment (https://en.wikipedia.org/wiki/Miller%E2%80%93Urey_experiment) demonstrated that conditions similar to early Earth (plus lightning) spontaneously creates important organic compounds that are necessary for the life we see on Earth (caveat: Miller and Urey may have been wrong about early Earth conditions).

Spiegelman tried to create something closer to what we'd consider living. His "monster" was bootstrapped with an enzyme and some RNA (a simpler version of DNA). The enzyme replicated the RNA many times over. After a "generation" of replication, he'd move a sample of the RNA over to a new test tube. This would be the father of a new generation. And so on, he repeated this process almost 100 times.

The interesting thing is that this extremely simple "monster" ended up evolving in a way. By the end of a few generations, the RNA had adapted to its environment and become much more efficient at replication. Other attempts at the experiment have produced similar results. In effect, Spiegelman created a barebones pseudo-living machine, and demonstrated it undergoing evolution in the process.
A place to live where you can grow food without someone taking it away eliminates the homeless situation.

There is no other investment offering that security. Ask Etrade if you can have a place to live and food to eat if all your trades go wrong :)
>* peak stuff ( we don't need to consume as much any more ) why would companies invest in new jobs and infrastructure when they are not going to recoup the cost through growing sales ?

We currently have a glut of consumer goods, but they're mostly consumer goods with low marginal desirability, and we actually have a shortage of physical capital, collective infrastructure, and equipment for personal empowerment.

To wit: it's better to have affordable, high-quality education and public transit, at the margins, than the N+1st craft brewery.
While Swanton's work is great in revealing how difficult it is to contain a tumor and how evolution allows escape from therapy and in exposing genetic diversity in tumors, the idea that you can "chop at the root of the tree" is (in my opinion) bunkum. First of all, even if you target trunk mutations you can evolve resistance. Second, you can't just keep loading up drugs into patients; they can often barely tolerate one of these therapies (which have off-target effects on normal cells), combination therapies compound the problem.
TL;DR - the web is just easier because it's so highly abstracted, and thus attracts a larger audience of new developers - and materials aimed at them. Educational material for desktop developers is plentiful but often at an advanced level only, because...

I think part of it is that the barrier to entry on the web is much lower. I've developed in objective-c forever, along with any number of other languages and platforms, and there more power available to you, the more you need to understand the underlying architecture.

The web is about as abstracted from the machine as it gets. Add to that that web rendering engines and HTML, CSS, and even JavaScript are very, very forgiving, so it's just easier for someone new to get started.

I was actually excited about the first couple iPhones in terms of resource scarcity to programmers. Tons of people jumped into iOS programming and for the first time in a while (or for many, the first time ever) were forced to consider what a lack of RAM and an underpowered CPU meant, and I helped coach many people through the finer points of memory management, allocations, (even with ARC) and Big O algorithm considerations.

Finally, native desktop software is just more powerful, and their is so much more you can do with it (and so, much larger standard libraries, SDKs, etc.) File IO isn't something you consider much in JavaScript on the web. Neither are parallelism, race conditions, IPC, networking, OS resource allocation, long running processes, native drawing and rendering, and so on.

Desktop programmers need to consider all of this a lot, and so generally tend to have some experience before getting into it (or work with a mentor/co-worker with a high degree of knowledge at first, as happened with me even post-CS degree). So materials written for desktop development tend to assume a certain pre-existing level of software development experience, and aren't aimed at new developers.

Edit: as someone else said, Big Nerd Ranch stuff is pretty good.
I'd love to know what you love about coffee? Is it the syntax? I am working on extending the Typescript parser to support coffee like syntax.
Have you noticed that our society holds actors in the highest esteem above all categories of occupation?
Is there a shortage of botanists or harpsichord teachers if they are paid less than software developers? This is not obvious to me.

I know plenty of people who went from biology (I know it is not botany exactly) to tech because there are /too many/ biologists.
Does anyone have specifics (code) for this just-in-time loading of images in AMP?

I see something related to this here https://www.ampproject.org/docs/get_started/technical_overvi... but do not know enough about AMP. Is an AMP an app? A js thin? An android specific js thing or what? A mobile chrome only extension?

Whatever it is, I'd be curious to see the image loading code if it is open source somewhere.
That is why random generator has seed, which sometimes considers non-deterministic factors such as hardware noise and environment noise.
why the pseudo? it seems living rather than pseudo-living. it needs a particular environment, but that's true of a lot of living things.
While there is tons of corruption in India; this isn't an example of it. It's just another example of a policy that doesn't gel well with the western business models. This isn't something that you can brush aside with a bribe, it's a policy created for a reason. Not to extract bribe money.
I think what he means is, startups can't deal with the uncertainty and lead times the current H-1B system imposes.

Large companies just project how many openings they would have in October next year, hire appropriately, and park them in offshore offices if they didn't make the lottery. And they can afford the application fee too
> Really? I was able to call the intrinsic I sloppy patched into the auto generated files fine via extern platform.

Err... yes, that is exactly my point. You needed an `extern` block to call the functions. It is much nicer if the `extern` block is written down once (just like the _mmintrn.h files for gcc/clang) so that there's no risk of mistakes or mismatches. The JSON files make this easy: both the compiler internals and the external `extern` block are guaranteed to match. Note that this is particularly important on a platform like AArch64, where there are hundreds of intrinsics: hand-transcribing them twice (once for the compiler, once for the libraries) is time consuming and error-prone.

> Because it's a systems programming language?

This is meaningless: being a systems language doesn't mean having intrinsics for every possible operation, it just means being able to do everything; these are not the same. The remainder of the paragraph you quoted explained how the functionality already exists. The only benefit of having an intrinsic function to call is that there is a function instead of built-in syntax, it doesn't add any new power: Rust is just as systems-y with or without the intrinsic.
Free Download PPSSPP Gold – PSP Emulator v1.2.2.0 APK 2016
What’s Needed in the Head of a HTML Document?
I trained a machine to distinguish b/w Trump vs. Clinton. Here's what it learned
> and a fallback location for global conflict.

Or something else to fight over
An Gentle Introduction to the Basics of Machine Learning
A one-way robotic mission to the moon is reasonable enough.

It's been 50 years since the first one. The USSR's Luna I landed on the moon on February 3, 1966. The US's Surveyor I landed on the moon on June 2, 1966.
>People always believe their form of extremism is justified.

Of course, people always believe other people's moderate proposals are dangerous extremism.

For instance, the FBI considered Martin Luther King Jr a dangerous extreme leftist to be spied-upon for the sake of national security, and of course, part of the reason MLKJr was actually a socialist was precisely because mid-century America's idea of "moderate" and "normal" was that prosperity for the white working-class could and should be purchased with the tortuous exploitation of the black and immigrant working classes, and that anyone who would run a Poor People's Campaign for all colors together was a dangerous extremist who had to die.
Notes on an Epistemology for Living Things [pdf]
Even if you didn't ignore it, it sounds like the well was already poisoned for you. I think you've made the right decision to leave this group, sad though the situation is.
Show me a breakdown of total US wealth by asset class.

I suspect much of that's going to be in intermediate or structured classes, to wit: corporate structures. Not merely land / building / plant / stock, but corporate entities themselves.

But seeing that spelled out might suggest the feasibility of your suggestion. It is interesting.
I am in the same boat (bachelors + masters from US universities and on H-1B).

I've been in the US for almost 10 years now since undergrad and have put down roots (friends, acquaintances, credit history, etc). It is very unfair for us to be put into the same bucket as body shop labor from India. I personally know several people who were forced to leave the US because they didn't get chosen in the H-1B lottery.

There needs to be a new visa that caters specifically to those in our situation. USCIS needs to let the consultancy companies and body shops compete among themselves for H-1B and stop screwing law-abiding international students who have devoted 4-6 (or more) years of their lives to living in the US, who suddenly might lose everything they've worked for because of the H-1B lottery.
State-centered command economies have indeed been tried, and have indeed shown a very mixed record. Of course, only some of those have been called Communist. The rest were called Capitalist, and are just as mixed.

The 20th century's distinction between "capitalist" and "communist", "free" and "not free", doesn't seem to have actually captured genuinely relevant dimensions of variation very well.
Ask HN: Which graduate schools in SF has instructional/educational degree?
Which one(s)? Im discussing quite a few. Some have minimal penalties and protection. Some more. Some compatible with UNIX or whatever. Some more clean-slate.
What makes you say that? Some people certainly hold 'certain' actors to high esteem, but those are usually ones with admirable characters.

People love celebrities, but I'm not sure if 'high esteem' is apt description.
> When looking at games developed for one platform versus
games developed for multiple platforms, we found a few advantages and disadvantages to choosing one over the other.
First, 46% of developers that used multiple platforms listed
art as something that went right, while only 33% of developers that used a single platform listed this. Additionally, 15% of the developers that used a single platform listed this as something that went wrong, while only 17% of developers that used multiple platforms listed art as having gone wrong. Therefore, the evidence shows us that games developed for multiple platforms may be more likely to have better game art.

I didn't quite understand the correlation between development for multiple platforms and quality of art. May be those who want to release for multiple platforms in general care about quality more?