skysight-inc/HackerNews huggingface dataset:
Safari has actually changed behaviour so alert/prompt/confirm dialogs are not modal outside of the tab - you can switch to other tabs and I believe even close the window/tab.

They've also been restyled to make it obvious they're a prompt from the website not from safari itself.

Also, there are legitimate uses for this functionality, so as with many things I think the solution is not to remove the functionality, just improve the implementation.
The contract puts him in front of shareholders when it comes to the assets. Whatever the contract is worth, that value is his more than it is the company's.
why do americans use credit cards so much? why not just use money you have? (genuinely curious)
What I don't get is why nearly all resources on 3D graphics assume the reader is familiar with matrices and linear algebra. For those who don't speak that language, what you're doing is plotting numbers into a magic box, doing a magic multiply, and hey presto, we got 3D! Magic.

Meanwhile a teenager could easily get an intuitive grasp of 3D graphics if you just explained how translation is nothing besides addition, and that to rotate, you just use good old trig functions to generate rotated basis vectors along which to plot your vertices (really easy to show with images and animations too). And that magic perspective, to make things get smaller as they get further from the camera, is just one divide by the depth away... yes, all very basic arithmetic. And no need for magic such as homogeneous coordinates. They're just a convenience for when you do things a certain way.

You don't need to go to college or even high school for 3D rasterization. But most if not all texts pretty much want to assume such a background?

Actually, I'm quite tempted to try write such a tutorial for the 12-year-old me. Too bad I can't travel back in time to see if I'd actually understand it (but I have a strong feeling I could come up with something good enough). Yeah, the lack of approachable material was very frustrating for me back then. In the end I wrote a very primitive renderer (with plenty of trigonometry per vertex) which was way too slow and complicated to be useful. Because I didn't realize how simple the problem actually is.
It's really a nice product, was waiting for this kind of app.
Thanks Magic cleaner !!
Yes, that's the scope I was talking about, intuitively. I don't understand grandparent's agitation, but yes, sure, local rules should be constrained to their scope.
By a strange coincidence I just happened to be reading http://www.vpri.org/pdf/sci_amer_article.pdf when I spotted this thread on another tab. I found it after reading this quote from "A small matter of programming":

Kay's colleagues have created a simulation construction kit for children so they can build their own simulations. The construction kit lets children write simple scripts that model animal behavior. Using the kit they can change parameters to see how changing conditions affect the animal. With the kit, the children have tools that give them tremendous scope for intellectual exploration and personal empowerment. Kay reported that the children have, with much enthusiasm, simulated an unusual animal, the clown fish, "producing simulations that reflect how the fish acts when it gets hungry, seeks food, acclimates to an anemone, and escapes from predators."

http://www.amazon.com/Small-Matter-Programming-Perspectives-...
Navigation Timing API https://developer.mozilla.org/en-US/docs/Web/API/Navigation_...

I have a feeling there is something else but I have trouble remembering it, too, and I bet I have it bookmarked to study when I have the need to use it.
The "Eat. Sleep. Code. Repeat." mentality, if understood in the context of workplace environments where for all practical purposes this is the expected modus operandi, should give any person who thinks the unexamined life is not worth living reason to pause.

This story helps illustrate the mindset from a particular angle.
http://www.hobodrifter.com/the-fisherman/
tl;dr An explanation of the (reverse engineered) blender file format. The poster offers a visualization/refactoring product for Blender scenes. He doesn't link to the product (maybe it wasn't ready back then), but it's probably http://www.atmind.nl/?p=47
That's totally a question I'd ask, and I don't understand why you don't like it. The reason I'd ask it is not because it's a simple task, it's because it's not a simple task: what I'm looking for is that you aren't going to over-confident-ly throw naive solutions at hard problems. That will cause bugs and have to be cleaned up.

I think if you showed me an implementation that hinted at some of the complexity lurking in the task, that would be a big point in your favor.
Neural Turing Machines (2014)
I've had a lot of fun working on technology projects with my kids. I'd say these projects are too numerous to mention but as an example, my daughter and I wrote a program (well ... I wrote it and she specified and QA'd it) that finds CRISPR sites in a mouse genome for her lab project at Johns Hopkins (she's a doctoral candidate in molecular genetics).

So share your passion for technology with your child(ren) ... it's really never too early to let them touch it if you're careful. My daughter once deleted C:\Windows because she never "played that game" and wanted to install another game before I got home (her mom told her to wait). That OS never booted again ... we switched from Win98 to WinXP that night so that I could have a bit more control.

In general, I think it's good to let your children fail at things they want to try themselves - my job as a parent is to keep them from failing at things that are fatal, or have long-term consequences. And you'll find that they're fearless around your computer. They'll just click until it works if they have to. It's a funny contrast to teaching computers to senior citizens, who are afraid any wrong keystroke or errant mouse-click will permanently break something.

Of course, if they're not interested, you can't effectively force your love of technology on them. But I'll bet you can find something that they ARE passionate about that you find interesting too. And isn't that a better way to spend time together than sitting in front of a TV?
>Imagine if you had to do company-approved products in your spare time

What company does that? That's thee worst company ever (and if they don't compensate you for your 'spare' time, then there's probably a lawsuit there)
Good? I don't wish anyone working hardships, but being "Showered with cash" has created plenty of problems, and there is nothing at all wrong with working for it.
NASA did just that. They flew Cassini through the geyser plumes at Enceladus to sample the presumed ocean beneath the ice on that world. At least twice. Once at an altitude of 30 miles.[1][2]

[1] http://www.nasa.gov/multimedia/imagegallery/image_feature_15...

[2] http://www.jpl.nasa.gov/news/news.php?feature=4759
Anyone know who's behind the site? I looked around, but all I found was a FAQ on the older version of the site that asks the question and doesn't answer, aside from "VFX professionals".
I am exactly old enough to be jealous of your COSMAC ELF. It's an artifact of a time when hobby computing was much more like trailblazing in an unknown land.
Rubygems: Simplifying Our Stack
Ask HN: How reliable is statista.com?
Hi all,

I've seen a similar question on Quora but I would also like to hear your opinion.

Thanks!
Monstache: realtime MongoDB to ElasticSearch replication
The dark side of oxytocin, the brain's 'moral' molecule
This where you learn to hire a CEO and let them run the business while you turn put the value. Team effort
Yes. I was able to make a Quake-like clone when I was 17 with no knowledge of how matrices worked or linear algebra. This was before Unity et al, so I had to build it from scratch. You can get surprisingly far by stringing magical utility functions together.

The reason I know those things now is because I wasn't forced to learn them then. Detail comes after engagement.
I had a couple of Hazeltine RS-232 terminals I wish I hadn't sent to the recyclers. On the other hand, I might have some spare parts for a COSMAC ELF in my shop (which my wife calls Dexter's Laboratory - No you youngin's, it's not that Dexter). If you're really interested, you can still find everything you need I think I still have a full tube of the RCA 1802 processors (10 per tube for a 40-pin DIP). My email address is in my profile if you have any questions or want a "retro-computing companion".
For long time Windows developers like myself, the underlying model of WinRT is what the original .NET was supposed to be.

It was called Ext-OS and based on an improved COM API, called COM+ Runtime.

https://blogs.msdn.microsoft.com/dsyme/2012/07/05/more-c-net...

So with C++/CX and .NET Native built on top of WinRT, Microsoft has gone full circle back to the original idea.

Personally I enjoy developing UWP (started right away with the old Windows 8 model), because it offers me a modern OO API to Windows, similar to the OS APIs from Xerox PARC and ETHZ OSes.

Also, sadly Microsoft torpedoed the whole WP eco-system, but the tooling is so much pleasant to use than Android's.

I also welcome the container model to put some control into the mess that is installing Windows applications.
One hard issue I've been coping with is the fact that coding was my hobby before it was my profession. I think that's a fairly normal thing for developers. I mean, who wouldn't take a job doing what they were already doing for enjoyment.

It's not that I want an unbalanced life, but when your hobby merges into your career it becomes hard to diversify. I'm fortunate that I have a wife and kids to help balance me out; without them I'm sure I'd be coding for most of my free time.
Locutus – Assimilating all other languages’ standard libraries (to JavaScript)
No, most pranks only work on some people, so I think the idea is to prank racists, rather than that everyone is racist.
Mezzanine is what you were looking for, by the way.
Thanks for pointing this out. Should be fixed soon: crbug.com/613201.
I admit I haven't looked at it that way, that's a valid point.
Won't you then have the issue of your ironman making ultron?
Thank God for teenagers then, little jerks will do whatever the 'wrong' thing is just to piss you off and for no other reason.
> The controllers, acting against established tradition and procedures of their office,

Similar to Chernobyl
It has to be the chain method and it has to act in such a way that you pass a function that returns an object of the same type.

For array chain takes a function that returns an array.
For promises, chain takes a function that returns a promise object.
For Reader, chain takes a function that returns another reader object.

Here is a complete class Reader:

class Reader {
constructor(computation) {
this.computation = computation;
}
runWith(data) {
return this.computation(data)
}
chain(readerReturningFn) {
return new Reader(data => readerReturningFn(this.computation(data))
.runWith(data))
}
static of(val) {
return new Reader(data => val)
}
static getState() {
return new Reader(data => data)
}
}

Here is how you can use it:

var r = Reader.of(5).chain(x => Reader.getState().chain(y => Reader.of(x + y)))
r.runWith(2)
> 7

For it to be useful, you want ReaderT, a monad transformer which takes another monad (such as Future) and creates a new monad that provides functionality from both. This gets fairly complicated fairly quickly :D But the result is also a monad, which means it will have the same familiar `chain` based API.

And yes, monads in programming are this simple. Mathematical monads are a wider generalisation of computing monads (just like Iterable would be something more general in the real world, not "things with a next() method that acts like this"), but in terms of programming its a shared API (chain) that acts in a certain way (chains to another object of the same type and flattens one level, whatever that means for the concrete implementation)
I don't quite agree, there doesn't have to be a compelling reason to write and store your code in the open. I put all my 'weekend stuff' under MIT license on github by default, unless there's a really good reason to keep it closed. I really don't care about the cultural or political aspect of Open Source, and in the end I don't care if the code is used by others or not, even if it feels good if the code is useful to others. I accept, reject or ignore pull requests without feeling good or bad. The chances that any of my code becomes successful and a burden are very slim.

The thing is simply: it is easier, cheaper and less risky to make the code open than keeping it closed on my home machine or in paid private repositories.
Well I'm sorry but I'm not going to care about what you like to maintain when I'm making things.

Especially when people are paying me to make those things, you are literally the last person I care about, right below those "hype-followers".
Not really, they've done that a few times with Cassini. See for instance: http://www.nature.com/nature/journal/v460/n7254/abs/nature08... (you can get a copy of this with a title search in Google), studying the fragmentation results with its mass spectrometer while passing through the jet plumes. Another flagship Saturn mission with upgraded instruments would be very helpful.
What do you feel is limiting you from getting there?

I can tell you one thing that will get you close to a 10x developer almost immediately: when you're at work, turn off your phone, and never open distracting websites (like news.ycombinator). Most programmers are so severely distracted, you can level up several times above the average just by focusing.

Another trick is to slow down somewhat, think more, and write fewer bugs (and less repetitious code). Because fixing a bug after it hits QA (or a customer) takes longer than testing it quick while you are writing it.
I have to disagree as well. Years ago I open-sourced a little utility on GitHub and stuck the GPL on it. I had to stop working on it and soon forgot all about it. I checked on it recently and discovered that it was forked by PhoneGap and is now a critical dependency of their product. I don't recall doing anything to promote it.
Deep eye roll on this.

Experts are chiming to show that with a few tweaks the output could be better for their respective lib, as they should. I really don't like comparisons like this. Not helpful.
Personally, I like to focus on one thing for a long time, and then focus on another.

Unfortunately, it is very hard to do so in a society that tries to level everyone in the same way.

The best possible situation to me would be working nonstopping for months, then do something else for months and so on.
Go to war. You will have lot of experience and memories. It is easiest way to escape the cycle.
Ротфронт, indeed.
It's probably beside the point, you could double the number of pixels and foremost make them square if you used fore- and background color for U+2584 or go even further with U+2596 to U+259F.
This is a great resource! For those interested in a very quick and direct intro to writing code for ray tracing, something I think supplements Scratchapixel nicely, you might want to also check out "Ray Tracing in One Weekend". http://in1weekend.blogspot.com/2016/01/ray-tracing-in-one-we.... It's a $3 ebook on Amazon, but the blog post has lots of free resources including the complete code for the small ray tracer developed in the book. Written Peter Shirley, by a graphics prof. friend of mine, well known in graphics / ray tracing / global illumination circles.
I'm not sure the article ever suggested this was unethical. I think the biggest claim it made on this front was the following, focusing not on potentially inappropriate access to data, but rather inappropriate use of that data:

"At its worst, social media monitoring could create classes of 'pre-criminals' apprehended before they commit crimes if police and prosecutors are able to argue that social media postings forecast intent. This is the predictive business model to which Geofeedia CEO Phil Harris aspires."

And I think it's a decent concern. If somebody tries to build a profile of you out of your social media presence, they're most likely getting a pretty inaccurate (or biased) picture of you, which is especially concerning if they aren't aware of the limitations of these profiles - and judging by the history of things like polygraphs, this is likely the case. This potentially has consequences for your employment/background checks, or any time your character is called into question, in general.
> there are always people better than you, but they bought this with their lifetime

This is so true. Unless you spend your life doing something you will never be as good as them. You gotta choose what you want, but being the best at something is a heavy life decision.
And a little OT, but Jupiter's wife, Juno, is due to arrive in orbit this coming July 4th. [1] Juno was no shrinking violet [2]. Should make for an interesting telemetry stream...

[1] https://www.missionjuno.swri.edu/#/mission

[2] https://en.wikipedia.org/wiki/Juno_(mythology)
99% of the new companies I see on HN and elsewhere have either no business plan or a company that will most likely fail. Randomly investing in these companies without any actual effort to mitigate risk, will result in throwing most of your money away.

For employees, it's the same thing. It's all about risk and determining if the employee can do the job and be a good fit for the company.

"We know that stock picking isn't any more effictive than random chance (that's the theory behind index funds)"

If this were the case, why aren't index funds comprised of startups and penny stocks? Index funds are usually comprised of stable companies that have an excellent track record. This means it's not random.

"Maybe the same is true for investing in startups and hiring employees."

It's not the same for stocks and it's not the same for startups or employees. You need a way to filter.

Did you read the article?

This is at the bottom:

"They'd hold a massive nationwide contest. They'd give out piles of cash like nobody else had before. And Lariat was in."

It appears they have a contest, which means it isn't random. It's a process to mitigate risk.
Moveless Chess
so try https://github.com/yaronn/wopr
I'd make a stronger assertion: top developers do have a life outside coding.

My experience is that people who stay until 9 writing code because they're "passionate" write a lot of code and implement a lot of features for a while, but the quality of the code is low because they're always tired when writing it. And after a year or so, a combination of burnout and the unmaintainability of their code forces them to quit, leaving the next group of programmers with something truly horrible.

If that's your definition of "top developer" you can have all of them.

IMHO, a top developer is someone who can produce a quality product from inception to completion, which requires being well-rested, taking care of their own needs, and having enough social life to be able to make their code decisions in their social context (because every program runs in a social context).
‘Brexit,’ a Feel-Good Vote That Could Sink Britain’s Economy
well, if you keep adding characters it won't be worth the effort, just sending pixels (or pixel groups) would be cheaper.
You see ".com" and think of one guy? :)
I objected to the children thing as well, but for slightly different reasons.

He says find meaning in some other way. But what's wrong with finding meaning through children? Is it any worse than finding meaning through frugality?

To take it to an extreme, if none of us had children, then everything else would have no meaning because we'd all be gone in about 75 years.

Children give everything else meaning.
If that was easy for you, you may be unusually talented.
Because we don't have money, it all goes to paying our credit cards.
If I throw a banana peel on the ground like the prankster I am, my expectation isn't that everyone is going to slip on it. Most people won't, but I might prank someone if I'm lucky.

Spare us next time, please.
Show HN: Bugrex – The best way to fix your bugs is to talk to someone
I don't think it extends to distribution. That's a corporate thing for publicly-traded companies. The personal relationships I describe are local. The people on the set or in the meetings all know each other and work for each other. Distribution is handled by thousands of people spread around the world who never meet the people in production. Streaming is just another form of distribution. I doesn't touch the personal relationships that underpin production.

As for agents, sometimes they are just a tax dodge. The ultra-rich are always worried about moving money between generations without taxation. Calling your kid, your nephew, your agent allows you to move a chunk of money to the next gen without worry of estate taxes. It's part of estate planning. A similar tactic works with jobs such as personal assistants, trainers or "producers" whereby a slightly lesser rate is paid to a celeb in exchange for a child being hired on. That money comes into the 'family' at a lower tax rate and avoids estate tax.
On data analytics for finance. Interview with Jason S.Cornez
Erm, you need to see how UDP works again, because you can pertain to be whomever
> I'm quite tempted to try write such a tutorial

You should do it! I agree and think that making 3D approachable is possible, and that most tutorials fail to make it easier than already available materials. I'm not sure it's easy to do, but if you succeed then people will benefit and if it turns out to be hard, you'll have developed a stronger appreciation for the problem and/or the motivation to solve it.
Here's an example. Imagine you have two cards, an ace and a king. You shuffle them, and without looking, you deal one card to yourself and one card to me. Then, you hop aboard a spaceship and fly many lightyears away, leaving me behind on Earth. You wonder to yourself which card was left behind on Earth. Even though we're lightyears apart, there is a way to measure my card instantly: you can simply look at your card and infer that I have the other. Upon seeing that it is a king, you can instantly conclude that my card is an ace. That 'conclusion' was able to travel faster than the speed of the light because it was based on correlation, but not causation. Your card was correlated with mine (knowledge of yours gave you knowledge about mine) but your card did not affect mine (e.g., erasing it and drawing an A on the corners would not turn mine into a king).

(This example, I hope, illustrates the difference between spooky correlation and causation. However, it is misleading about what really goes on in quantum mechanics. In quantum mechanics, the identity of our cards is not fixed after the deal, but remains in limbo until it is actually measured. And this limbo-like superposition state can be measured in different non-independent ways and these probabilities interact with each other and other probabilities. Nonetheless, even with all that added machinery, the general principle of correlation vs causation is the same as the two card example.)
But did it come back? That sort of thing would require a much larger craft and/or one moving at a much faster relative velocity (free return). A rock that once passed through those geysers might be passing earth right now.
That would definitely be another interesting read! I'm not a networking guy, but I definitely want to know if it is possible to stop the packets from going to their final IP? Can they be intercepted and replaced with other data?

This feels as exciting as what they do with video feeds in Hollywood movies, i.e. where the hacker puts in her own camera loops replacing live feed.
The author complains that the chain would tangle with swords. In my mind, that would be exactly the point. I know it's not a historically accurate film, but The Messenger shows how a soldier could use one flail to snare his opponent's weapon and another to kill the opponent with a strike to the head.
Generator-like Patterns in Perl 6