skysight-inc/HackerNews huggingface dataset:
There has to be a line somewhere. Otherwise you endorse rampant silliness like "oh, I didn't like the artistic decisions involved in the end of Mass Effect 3 after I played thirty hours of it, I want my money back."

Two hours of play is already a longer return period than most physical game retailers have offered.
All the malfunctioning OpenCL code I've ever seen is because they were former CUDA users and simply didn't know how to properly use OpenCL (a common example, they use a workgroup size of less than 64 (aka a warp or a wavefront), which is also unoptimized on modern Nvidia hardware too).

And as I said above, there is no performance difference between OpenCL and CUDA on Nvidia hardware; although, I should probably amend that with "as long as both versions of the code are sane."
History of the Church–Turing thesis
What about hosting them on gitlab.com?
The Xbox One (and the PS4 I think, although I don't own one so I'm not sure) doesn't let you play a game off its disc - you have to install it. The only functional differences between disc games and downloads is that you can sell/loan/trade/gift disc games via the physical media, and consequently the disc has to be inserted while playing as proof of continued ownership.
Interesting. What do you like about code review things? I personally found it to be lacking. It's hard to dig up comments on branches that have been merged into a master branch and I'd also like to have notes/comments on the HEAD of a project. Right now, they just get perpetually buried. That's where a lot of project decisions end up getting made in my team.

Perhaps we should be using a wiki or some other system, but I'd really love for some more enhancements to code review.
You can run the first stage longer without any extra second stage fuel. Adding performance to either one (within limits) increases the performance of the system. Using the landing fuel for a launch would allow for a heavier payload without changing the second stage. The first stage would do more of the total work.
If you're the final user of an API, then yeah, go for gold and change whatever you want.

But if you're working in a team (or contributing a patch to a Github project), and you override something crutial like String.subtring(), then things could get out of hand.
My favorite way to describe orbits is 'constantly throwing yourself at the ground but moving so fast that you just keep missing', hence the constant free-fall/zero-g.
I really hope digital downloads will take over. It will reduce the influence of retail distributors who like to set skewed regional pricing that in result affects even prices in digital stores. It is often simply a rip off (ask Australians what they think about it).

Surprisingly, that didn't quite happen yet. Some games like the Witcher 3 reported[1] a major percentage to be retail sales (almost 75%). I expected it to be way lower already.

[1]. http://www.dsogaming.com/news/the-witcher-3-wild-hunt-30-of-...
"Criminals" don't even need to write their own, just use some pre-existing encryption tool (e.g. PGP/GPG) with their own pre-shared private keys. By separating the transport service from the encryption tool, you eliminate the most direct route for an NSA backdoor, and change their problem from one of pressuring communication providers for keys to one of obtaining access to an individual's private keys or breaking the encryption algo. At least that should be marginally more difficult for the NSA to achieve, given that pressuring most companies to install backdoors seems to require approximately zero effort.

(Yes, this requires some level of sophistication among criminals, but many criminals are part of a larger, somewhat sophisticated organization.)
My experiences mirror the OP, in fact I even had a prospect tell me recently they were thrilled I didn't jump right into pricing/licenses.

Most are not calling to get a price, they're calling to learn more about the software to make sure it's a fit.
> ... I was fortunate enough to have health issues and not have a job at the time so I could pour countless hours into this on the faith that I would reach consistency. ...

That was so jarring to read. Mostly because it's so common in my country (USA). Health problems should be nothing but unfortunate. If they're fortunate, it's because the system is broken.

I find the high level pieces of GTD to be done, but the formality and rigidity were not freeing to me as they were described. I've got a system that works amazingly well for me, and I'm happy. I definitely learned from GTD, which I'm so thankful. I'm sure I'm still using parts of it as a system, but it was more stuff that I found out didn't work for me, which definitely valuable.
According to http://aviationweek.com/blog/nasa-cnes-warn-spacex-challenge... every 10lbs of recovery hardware loses you 1lb of payload, approximately.
And not just the original Myst, the elegance and engineering plausibility of the puzzles were also beautifully achieved in other parts of the series. Very similar to this, for sure. The difficulty has tended to decrease slightly, but damn, Riven was hard.

I'm sure many puzzles in the series could be used as templates for very entertaining real-world puzzles. Just imagine an escape room based on Exile's Amateria:

http://www.gamasutra.com/view/news/113350/Analysis_Puzzle_De... (some spoilers in that article)
To answer my own question, here's a quote from the LuaJIT website:

> Note: the JIT compiler is disabled for iOS, because regular iOS Apps are not allowed to generate code at runtime. You'll only get the performance of the LuaJIT interpreter on iOS. This is still faster than plain Lua, but much slower than the JIT compiler. Please complain to Apple, not me. Or use Android. :-p
...are there non-free Slack communities?
I think you're making a mistake in assuming that tech workers will drive up rents more than anyone else would. Tech people aren't known for lusting over expensive real estate. If there was an influx of plumbers wanting to life in SF we'd be in the same situation.
> Napping, long a leisure activity, is fast becoming a luxury necessity for Manhattan trendsetters and Silicon Valley disruptors.

luxury necessity? no necessary naps for the plebs, eh?
Sorry for off-topic here, but this made me smile and reminded me of something from a long time ago. The League of American Orchestras used to be called the American Symphony Society.
This argument seems based much more in Article 1, Section 9, Clause 3 of the original text of the constitution. Quoth: "No bill of attainder or ex post facto Law shall be passed."
What's your goto example of good C++ code?
I recall 1989 incident as Pons and Fleischmann appearing in the news saying they'd discovered cold fusion and then becoming a bit of a laughing stock when it turned out to be rubbish. I don't get how that shows that Big Science is corrupt or not. It seems a bit unrelated.
"The knack of flying is learning how to throw yourself at the ground and miss." ~ Douglas Adams
So could OpenAddresses be merged into OSM at some point? Would that make sense?
How do digital downloads solve regional pricing?
I just don't understand comments like these. Providing a blanket statement that doesn't provide any reasons whatsoever. It doesn't really help contribute to the post, and it just angers people. I hate the term troll, but that's what this feels like. If you actually feel this way then I feel bad that you restrict yourself to only one type of tool. Also I find it confusing when functional evangelicals talk bad about OO and mutable languages when a lot of the languages compilers are built on languages like C. They wouldn't even have functional languages without C.
Blue Origin is cool but it's certainly not astonishing to me that a billionaire is able to send a rocket on a suborbital trajectory and recover it. It's certainly more than I've ever done by a long shot, but it's not a very interesting achievement unless you're interested in five-minute space tourism. I don't think BO's achievement here has many implications for space travel.
Maybe they're being generous. Or it is supposed to be 32oz and they are skimping on their portions, like cans that contain 7.5oz instead of a round 8.
With no exhaust, where does it dispose of the heat it is supposedly removing?
Apple's engineers are right on this one. From a performance point of view, the only way Java (and dynamic languages like JavaScript) get away with having almost everything be virtual is that they can JIT under a whole-program analysis, add final automatically in the absence of subclassing, and deoptimize in the presence of classloaders. In other words, Java optimistically compiles under the assumption that classes that aren't initially subclassed won't be, and if that assumption later turns out to be invalid it deletes the now-incorrect JIT code and recompiles. This isn't an option for Swift, which is ahead-of-time compiled and can't recompile on the fly.

If you don't allow an ahead of time compiler to devirtualize anything, you're going to have worse method call performance than JavaScript.
Disclosure: I work at GitLab. Have you looked at using our free hosted SaaS GitLab.com with unlimited repos and collaborators? Thanks for using CE!
Yep, that's the origin of the quote. Thanks.
Because of the prime numbers! I always thought of them as ugly but they are actually the _complete_ numbers, which have to be represented in those beautiful circles :)
I find this slow march in "modern" language design toward completely static compilation models troublesome to the extreme. It feels like a significant historical regression; they speak as if Smalltalk and the Metaobject Protocol are things to revile and shun, not elegant programming models that we as programmers should aspire to understand and use in our own programs.

To elide these features as a matter of principle implies that you believe your compilation model is perfect, and is able to deduce all information necessary for optimal compilation of your program statically, perhaps augmented with profiling information you have obtained from earlier runs. It also makes upgrading programs for users more difficult since patches must be applied in a non-portable manner across programs. I shan't mention the fact that they make iterative, interactive development an ordeal. The Swift REPL is progress (although REPLs for static languages are nothing new), but it still pales in comparison to the development and debugging experience in any Smalltalk or Lisp system.

There is no reason why the typing disciplines Swift is designed to support should demand the eradication of all dynamism in the runtime and object model.

If you have never heard of the Metaobject Protocol or similar concepts before, here is the standard reference: https://mitpress.mit.edu/books/art-metaobject-protocol

This discussion also reminds me of this essay by Richard P. Gabriel: https://www.dreamsongs.com/SeatBelts.html
What's a blackberry again?
Jack Dorsey Wakes Up Every Morning at 5:00 AM
Late reply, but yes, it's hospital software.
3.50? But then you'll get ancient cryptids asking you for rocket fare.
The Huawei Watch almost made me a believer in smartwatches
I'd love to do this for my next startup (in Seattle and/or Berlin; maybe an Asia location too). It's the most efficient way to work. I've done it with Sealand/HavenCo and in war zones, but not recently elsewhere.

It's unsustainable when startup isn't the primary (or, basically only) thing in your life, but there are a few potential solutions:

0) Be flexible. The biggest bar to this is probably people with families/kids (which I personally hope to never have, but I respect that some people, including great employees/founders/etc., do and deeply value having family interactions) -- do whatever is possible to address this. It's probably not a one size fits all solution. "Live on site 2-3 days/week, wfh otherwise" might actually be preferable to a lot of people with families than spending 1-2h/day commuting and 8-12h/day working 5 days/week.

1) Duration limited (say, a startup from 0 to 10-15 employees and $20mm/yr revenue -- could be 1-3y). Even if the duration is long (3y), having a specific time where it will change as the default helps.

2) People who are inherently suited to this (which probably works well for, say, early career security people; not as well for civil engineers.)

3) Intermittent -- work/live like this for months at a time, then go back "home".

4) High budget: live/work like this AND have enough money to have a "regular" house/apartment elsewhere, or at least go on great vacations.

5) Deep mission at the startup: "save the world from spy agencies", yes. "Build a more efficient billing system for other startups", probably not.

6) Strongly prioritize "no assholes rule" in hiring. (The worst thing about having one coddled asshole is then everyone else feels the need to equivalently act like an asshole to be taken seriously; it's self perpetuating)

7) Have an obvious physical reason for being in the same place -- easier to co-live in a remote location building a dam, than it is to co-live in an office park in Kentucky to build billing software.
Wow, did you really? Or is this a sarcastic comment? If serious, that's pretty amazing.
Skewed regional pricing is caused by retail distributors having too much influence. Most often they print physical media and distribute it in their region. And if percentage of such sales is high, they can dictate pricing to game studios. And often they set those prices high, and also require to sign a contract, that same game distributed anywhere digitally should have same regional uneven pricing.

Pure digital distribution takes retailers out of the equation (or even if majority of sales are digital, retailers don't have strong influence anymore), and developers can easily set prices any way they want - for instance one flat price everywhere if they wish.
Thank you! Somehow I completely overlooked that page.

Can you elaborate on the monthly uptime in reference to the quote on the GitLab.com page?

> Right now GitLab.com is really slow and frequently down.
Yes, there definitely are. There is a Slack community for digital nomads that is charging $65 (on time). This group is similar, just free :)
> Does this suffice?

The example is broken in Chrome 47 on Android 6.0.1: Once I touch the menu putton, the sidebar immediately extends fully. Then i need to swipe right-to-left multiple times to retract it again.
Crooks will look at it to see what they can get out of it. Passwords, email, blackmail material. If nobody benevolent looks at it would we ever know what was actually leaked?

After previous leaks, the data has been looked over to produce lists of compromised accounts which at least one website lets you search to know if your account was in the leak (Kotaku/Gawker leaked my shit years ago). The data can be used to provide stats on the most common passwords.
OK, but Swift is an ahead of time compiled language, unlike Lisp or Smalltalk. That makes the tradeoffs completely different.
Have you considered that your customer might have just been telling you what you wanted to hear in the hopes of getting a discount?
> If the typing's in your head, then why not write it down for the benefit of others?

Because then it would be dumb typing with explicit declarations, not state-of-the-art inferred typing.

Also, you shouldn't write down or say everything that pops into your head. Doing so can have inconvenient consequences.
What about a Costanza desk? Have a wide desk enclosed on three sides, with fold-down cot underneath attached to the backing.
Sunsetting SHA-1
Ok! This should be easy.

"Linear function": f(x) = mx+b, or y=mx+b. You know, from 8th-grade algebra.

"Baseline and per-unit cost". So your "baseline" cost is how much you have to pay before you get the first unit of your item. Like, if your buying, say, chocolates, the "baseline" is the cost of the box, with no chocolates in it, or of shipping-and-handling. Then the per-unit costs is just how much you pay for each chocolate.

We then map those onto the math:

"Baseline" -- that's the y-intercept, or "b".

"Per-unit cost" -- that's the multiplier for the number of units, or "m".

And voila, we've got y=mx+b: a simple formula for how much your Christmas chocolates are going to cost you.
There's a substantial difference between sleeping at work because you work 17-hour days, and taking a quick nap in the middle of an otherwise normal work day as a simple way to 'reset' between morning and afternoon.
Where is part 9: Principal of health?
Well, no, we wouldn't, because you can set prices as high as you want, but they won't stay that high if nobody can pay them.

The reason SF landlords are getting away with the absurd rent they're charging is because there is a very low vacancy rate AND there are enough people willing to pay 50% or more of their $6-$7k take-home pay just to live in a cool neighborhood.

I don't know how much the average plumber makes, but I don't think it would skew the market in the same way.
Good point! however, in the case of Swift, it's just so closely related to UIKit and/or Cocoa.
Yep, exactly what johnyd said.
Error 451: An HTTP Status Code to Report Legal Obstacles
You don't need any special support on the gitlab side for hg-git, since that's all client side.

It would be awesome if they had hg support, but I assume it would require too much. Kallithea is supposed to be the one with hg support, but hmmmmm.... maybe it wouldn't be so much work to put hg support into gitlab instead. I'll have a look sometime.
So, let me get this straight: this comment is actually not about this topic, but about another topic with some black guy from twitter, and you're using this situation to look back at that previous post from before from another angle?

It's an honest question, because I tried to understand what point are you trying to make in context of this post, and failed.
Sausage UX
But that's a Pascal's Mugging, isn't it? How unlikely does a claim of LENR have to be, exactly, before we can dismiss it out of hand?
You can't use SETI@home for proof of work. The work target has to somehow involve a fully random process.

Lots of very smart people have tried this and failed. The best effort so far has been to find prime numbers, and even that turned out to not be a robust proof of work.
An Easy Way to Secure Java Applications
Have you seen that other video I was talking about? It was even more impressive, but easily understandable as well.
Couldn't agree more, just logged in to write the same comment. An all picture menu typically indicates the restaurant doesn't change its menu frequently. To me this calls into question the creativity of the chefs and/or their willingness to adapt the menu at short notice in response to the availability of unusual ingredients. In contrast, a hand written chalkboard menu is usually a good indicator. Although I suppose in many cases a handwritten specials board is a good halfway house.
The quick reflex is an optimization, if it is true the proof will surface on its own strength, until then you can safely ignore it. After all, unless he's actually discovered something you're wasting your time.

The burden of proof is rightly on the one making outrageous claims, there is no burden of sufferance because the positive benefits are so high. They'll be there regardless of whether one believes, after all, it works or it does not.

See also: ubeam, theranos, moller and so on.
Are you kidding me? Exploiting the native warp-width is a 50-100% performance improvement when appropriate. Not querying the warp-width OTOH is amateur hour coding.
>If "MVC is just exactly the same as separation of concerns", then, again, we don't need "MVC" as a concept. We already have "separation of concerns".

MVC is an example of separation of concerns, specifically applied to separating the computation of data from the input and output of that data. I don't see how this is such a difficult thing to understand.

(Edit: Heck, even Wikipedia calls it "a software architectural pattern mostly for implementing user interfaces (but not only for user interfaces). It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user." Emphasis mine.)

>Again, this is why I find the term loathsome as it is actually used.

From this and sibling post I seem to detect some hostility against the term due to there being articles about "you're doing MVC wrong." You can find those a dime a dozen on any topic. Don't misdirect your anger.

>Anyone who actually tries to nail down "what exactly is MVC" will find themselves coming up empty.

See above, as well as my previous posts in this thread.

>You've progressively shrunk the goalposts in every post in this series until you can't help but hit MVC. That's not useful.

On the contrary, I've been consistent from the very first post what MVC is and how it applies to software. You're the one here insisting that it's something magic that needs to be different from what I've been saying it is.
No, passing SIZE_MAX does not violate any precondition of strncat(), because preconditions are fixed properties chosen in advance, not something you add retrospectively when you feel like it.

The C standard does not place any upper bound on the value of strncat()'s size argument, so an strncat implementation has to work as described for all large values of the argument. It's a bug of the implementation if it doesn't, not a violated precondition.

(Reasoning about C programs has been my day job for several years. Contrary to what many think, it is possible, it only needs that the rules be set in advance and respected.)
> you change the declaration then fix any compile errors.

In all 3123 places in the code base; good luck.

This sounds like ... an assertion from someone who doesn't do actual software engineering.

Back at you!

> you don't really know what might be broken

Because you don't have a regression test suite, a test plan, and four developers to one QA person.

> Therefore programmers avoid this.

Programmers bravely avoid nothing. Historically, programmers have gotten themselves into every imaginable mess with every type of language.
> ""cold fusion", "infinite energy machines""

I don't think it's fair to lump those two together. I think we all accept the energy potential in fusion is there, and it also seems possible that the most efficient way to tap that energy is one we have yet to fully understand. The most efficient method could be found under the 'cold fusion' umbrella, and even if these methods turn out to be a different process than fusion, we still may end up learning something new anyway. For example, sonoluminescence has been linked to fusion before, but even if the processes involved end up being different to fusion, it's still an interesting process:

https://www.youtube.com/watch?v=GJolILUbdNw

https://en.wikipedia.org/wiki/Sonoluminescence

The point is, it doesn't serve us to dismiss fields of scientific research that have some chance of bringing us a new understanding of the science involved, even if we end up scrambling around in the dark for a long time.
The article claims Rossi was given a US patent. A patent is supposed to allow a person of ordinary skill in the art to make and use the claimed invention, so in principle it should be easy to test his claims.

Of course, if it works the tester will have to pay royalties.
Anyone got any games written using LÖVE to show HN?
They really need to pivot, and I'm not seeing them do it. To me the answer is obvious:

Blockbuster :: Netflix :: actual movie theatre

Old Gamestop :: Steam :: new gamestop with all but the rarest used games hauled away, & using the space for pod enclosures that create individual and co-op immersive experiences, rentable by the hour while parents shop at surrounding stores, run errands, etc.

Studios get immersive demos, suburban gamers have a new social activity, and gamestop continues to have a reason to exist.
Good post oxydepth
I have encountered some who do so unironically.