skysight-inc/HackerNews huggingface dataset:
It's not hard to understand why you can't declare this: Functions in C are always 'constant' as far as the compiler is concerned, it doesn't make sense to every[sic] try to change one (at least in this language).

However, the given example with the const after the parameter list is legal for a C++ member function, meaning that it is a function with no side-effects on its object (except possibly the fields declared mutable, but I digress...) --- and upon consideration, might be a useful optimisation hint if it weren't for the fact that compilers now work on dataflow and can figure such things out itself.

There is actually another "secret hidden type" possible, the "volatile function":

typedef volatile int foo(void);
volatile foo a;

but it doesn't seem to make much sense, except perhaps as a "do not ever inline this function" anti-optimisation hint.

That said, the utility of functions returning CV-qualified types (not CV-qualifier pointer types) is also questionable. What does it mean for a function to return a const or volatile int, as opposed to a regular non-CV int? In C, it doesn't make sense to modify the return value of a function or have it be modified.
Read the article[1] linked in yock's comment for the gory details, but to sum up: instead of having to calculate the entire set of possibilities for a given hash, you only have to iterate just enough to get the first byte. Then you can do the same thing again for the next byte, and so on. You can't just fix this with some random timing or additional noise.. it's a very difficult problem to solve.

It's telling that even the very smart person who did such a great write-up made a few mistakes again in initial attempts at demonstrating a corrected algorithm that actually blew the whole thing up again.

Because it's so subtle, the odds are very good that most current systems are fallible to this.

1. https://codahale.com/a-lesson-in-timing-attacks/
I wonder why story quality in movies such a toss-up?

They got screenwriters, producers, and editors, right?

You think movie studios should had managed to figure out 'consistent quality' by now.
As a graduate student at a top research university I have to ask: where do scientists write concisely and accurately? That is the opposite of my experience. Academic writing is very obfuscatory and frequently full of typos, grammatical mistakes, or just straight-up inaccuracies. I blame the conference publication review process.
If you wanna avoid carpel tunnel, window.setInterval(kinetigenClick, 1) :P
Yeah, I don't know. I work on a team where there are 1 or 2 people who can't ever be gotten ahold of because they're never in the office during normal hours. Our stand-up starts at 11:50AM, and they can't get to it on time. We have some people who commute from far away and leave earlier than standard to avoid traffic and be able to spend time with family. There has to be some time where they can find each other and talk. What's the solution? IF we can't all be there for at least 1 hour a day, how can we reasonably interact? I'm all for flexible schedules, but "come in and leave whenever you like" doesn't work in reality. People sometimes need to interact live with each other, even if it's via chat.
Your comment suggests reservations about Joe Rogan content...what are they?
I have hunch anyone that is a big fan of Close Encounters would recognize the hand signals. It happens in a pretty significant part of the movie.
I find point-free style confusing sometimes. This is because I can't tell what is being encoded. Then in the first example I would be like "OK, we encode a row..."
It's fascinating to see how the manufacturers of this car violated just about every rule of usability and user interface design: obscure unmarked controls, being unable to unlock the car if the battery is dead, a trunk cover that covers the hazard flashers when opened, a gas cap that's almost impossible to open, a hood that's bolted shut, etc., etc.
I would say he did...there is no substitute for personal experience but that doesn't mean turning you back on common knowledge (as evidenced by his continued research after making the changes).
>People who don't wipe down the machines

Just wipe it down before you use it.
I am not an insider but wow, this really resonated with me.

> We pursued a potentially great summer movie like Edge of Tomorrow and completely botched its release.

Edge of Tomorrow was a pretty solid movie. I would absolutely have gone to it in the theater, but the marketing just did not connect with me. I've run into this with a number of movies now.
Hmm, there are also some pretty sophisticated fraud detection tools available. Have you explored them at all?
Bulletproof coffee is really the strangest of any strange fad beverage/weight loss ritual I've ever encountered.

But even weirder is that it really doesn't taste bad, and it did didn't do terrible things to my innards.

The sound of it is really counter-intuitive:

oily coffee, black.

But then you realize that these flavors have been mixed together for years, whenever you have buttered toast and coffee. (now, minus the toast)
Don't forget Turntable.fm which was ground zero for much of the original Vaporwave movement. Sadly the site itself is no longer with us.
Edge of Tomorrow was a hollywoodized happy version of the original Japanese novel, which ended on a very bittersweet note.
Slack-pocalypse Now
He was referring to the ecological footprint (or lack thereof) of synthetic diamonds, not conflict-free diamonds.
glucose is the only fuel

Can you expand? Like, you thought that cells only metabolize glucose, and dietary fats & proteins are converted to glucose? Or...?
>Gyms are boring. Cardio in gyms is incredibly boring.
Trying to beat my highscore on Holopoint whilst hologram samurai rush at me and I'm dodging missiles flying from all directions is not boring.

There's a big benefit gap between working up a little sweat playing a video game in your living room versus doing actual weight training at a real gym. They are no substitutes.
>> Wikipedia is a joke in many articles around this hyperlinking irrelevant points.

I think this is subjective. I find that I'm far more often frustrated by a wiki page I'm reading not linking something that I wanted to click on (necessitating search etc), than I am frustrated by overabundance of links. This varies between different wikis, though.

>> We read linearly not in a hash.

But do we do so because of the constraints that the legacy information mediums have imposed on us, or because it's really the only way our brain can process information? Perhaps our brains can, in fact, just as easily adapt to the web model?
I always feel cheat codes don't let me experience the game as its designer intended. But... always tempting. :)
Show HN: ShowList – Share Bands You've Seen Live, Discover New Bands
No, of course that was news to me. But I am not advocating any programming language. This looks like a wart, but a compelling one to commit to, because it's a simple solution.

> It may not seem obvious and it may seem logically inconsistent but, ...

An if an argument is made in defense of inconsistent logic, how could the argument be expected to be logically consistent?

Your argument by authority is not very good. There are involved explanations on stackoverflow.com, but I didn't bother to read, yet. Another solution would be to set the carry flag.
I've found a security bug and mailed malcolm $at@ malcolmocean and you know the rest of the email. Make sure to check it and fix, because it's severe. That aside, cool idea. I really enjoyed.
I've heard that this focuses heavily on what Julia needs, and so the less exercised portions may need a bit of work.

Is there a wider interest in resurrecting this for wider use?

There are a few other languages I would love to be able to use with this.
.NET (99.99%) and some Go.
Would be amazing if anyone could come up with a citation for this.
The Elio three-wheeler is now available for $7,000 pre-order
As far as I can remember you can't submit assignments in Python, can you?

When I took the class earlier this year, the answer was - effectively - "no". I mean, yeah, you could do some trickery with calling Python from Octave using whatever FFI Octave has, or you could possibly reverse engineer the protocol they use to talk from your code to the upstream server... but anybody doing all that would be doing more work that just completing the assignments in Octave to begin with.
Now that I think of it, the closet basically proposed to use its vast database of good fashion (formed from Barbie's timeline) to generate new excellent fashion - a machine learning problem plus capable AI.

I wonder whether someone is working on that, it really sounds like a good and interesting idea. Is there a system to parameterize clothes? Hm..
I would have joined the closet if I was Barbie, despite the relation with the 'evil' switch.
There's very little management to be done. We're on Windows which is pretty hands off. But to answer your question, we don't have (or need) anyone dedicated to it.
There's a great documentary on the history of climbing in Yosemite called Valley Uprising that he is in (albeit towards the end). Truly remarkable what they do.
I used to love using SGI Feality Engines. Both Disney and Nintendo provided me with top end REs when I did projects for them. Amazing hardware and the software was also very good.
Google is secretly creating a new OS that's not based on Linux
Vaporwave is inspired by hollow consumerism and the false promise of technology ("vaporware"). Vaporwave takes it aesthetic from dated software, corporate brochures, etc. of the 80s and early 90s and often takes samples from muzak that would've been heard in a garish shopping mall of that era. The Japanese artist names and song titles originate from, I presume, the tech and manufacturing boom in Japan during the 80s and 90s, a time period when Japanese products constituted a large part of the American consumer experience.
It's never worked for me. It takes me 15 minutes to get into a flow. Then the timer rings in 10 minutes and breaks it. An hour of solid work before a break might make more sense for programming.
When I said I was skeptical, it wasn't about the concept or theses per se. It was that the study would be conducted well and seem solid, versus being attention-grabbing... which sadly all too much "science" lately is.
You're right -- the class is intended to be a primer for your learning or, ideally, something you come into having already read about the material ready to gain insights.
When I read such articles I can't help but feel that Western civilisation is suicidal.

Maybe you don't know in the US but we here in the EU took large numbers of Afghans in and you wouldn't even believe the numbers of women and children these "refugees" have raped in my country.

They literally want us dead and regard us as sub human (or slaves) because we don't follow their religion. And still you want to help them. This is insane!
Isn't that a bit like asking why hasn't microsoft managed to figure out "consistent bug-free software' by now.
A decent article, but the end weakens it bad:

> I love that studio, and you're allowing it to sink. It's not about making movies for 'the fans' and not 'the critics.' It's not even about 'ruining childhoods.' It's about protecting livelihoods.

Companies do not exist to make their employees happy and employed forever. The fact that they do is because it goes with their interest for a given amount of time, but that does not mean it always do. Pretending it's the company goal to "protect livelihoods" is just wrong. Companies are not welfare agents.
It's not $5k vs. $2k + ops time. It's $5k + ops time vs. $2k + ops time. The notion that you don't have to do any maintenance work on a cloud setup is silly, and so too is the notion that a dedicated setup requires full time maintenance.
Beautifully done :)
Why were you paying for a gym membership just to run?
Out of curiosity is there a place to buy a large synthesized Diamond to be used as paperweight? I though that would be cool and since I don't need it to be cut the price should be pretty reasonable.
Aha, yeah, that does look quite nice. I haven't done a wifi project in a while, but the last one I did [1] I nixed using a wifi chip itself since they didn't have enough PWM outputs. It seems like they've gotten better enough that I could just use the one chip to make my wifi lighting projects vastly simpler.

[1] http://www.instructables.com/id/Ultra-bright-LED-Color-Chang... (things have come a long way since 2010!)
That sounds like people are trying to make a new system that does everything. Why is nobody making a system that leaves existing components the same, and just does the syncing? One task at a time, in a way that physically cannot cause you to have more partially-connected databases.
these techniques are generally so much worse than just using ur brain tbh
Sorry that was unclear. 8 oz of meat, fish, poultry, etc (before cooking), not 8 oz of protein itself. It's recommended to not eat more than 200 grams of protein per day on any diet.
This misses the point of the article entirely. The point was that when leadership screws up, the lower level employees suffer. No accountability at the top.
This is awesome. I'd love to see something similar from someone who (intentionally) gained muscle mass. Is it really about high-protein + high-carbs + workout + sleep, or is there a more optimum diet for this.
We also didn't have great search capability yet. A document lived alone unless the author took pains to connect it. A lot of my surfing was done via other people's linkdumps.

This was good in some respects since it encouraged a high degree of cooperation, but it's definitely easier to access most things now.
TechDocs Metrics Case Study: Total Time Reading (TTR)
> Is it just about high protein diet and lifting weights?

Pretty much, yes.

You need to lift heavy things, and eat enough (protein is good, obviously, but you also need other things) to develop muscles.
The top has to have the ability and leeway for things to go wrong so that they can take risks. To make sure they take the right risks they are stakeing a % of their pay if its in options or bonuses as well as in their reputation.
or even less annoying:

var x = 0; while(x < 10000) { x++; kinetigenClick(); kinetigenRelease(); }
F-22 Raptor grounded by 20,000 bees
By consistency, I mean a certain standard of quality, not that it's bug-free.

There's a certain level of quality that firms like Google and Microsoft wouldn't be caught dead writing.

If the same movie studio produce garbages between blockbusters, then I am wondering what's the hell wrong with their quality control process.
Yay! Keep 'em coming.
did you mean the web version of it or the app?
I interpret the issue k-mcgrady brings up as the inconsistency inherent to self-assessing issues like these.

Standardized assessment has its issues (it doesn't replace a professional), but at least it works with a single definition that doesn't rely on calibrating each participant's understanding of depression. People struggling with depression often fail to recognize or be willing to admit it, and the opposite can be true as well.

By testing against participant answers, this study is actually determining if your photos correlate with saying you're depressed, which is a different and less predictable thing.
If a union was not a monopoly, they would lose all the power they have - the power to withhold labor from an employer. How would a non-monopoly union work?
Breakfast: eggs + bacon or sausage or leftover steak

Lunch: salad and leftover protein (with oil, vinegar, and mustard dressing)

Dinner: meat, fish, or poultry (simply prepared) with roasted vegetables and salad

Snacks: coffee with butter and coconut oil, raw veggies, leftover meat
You missed "and why". "Dialect" is a conventionalized translation of the existing term 方言, not the other way around.
Very true. The nice thing about some of this is that it's harmless if wrong. Extra sleep won't hurt me, but it'll make me feel better about sleeping rather than feeling that it's wasted time I could have been spending trying to get healthier or smarter.
Thanks for the comment. You're absolutely right. I stand corrected and updated the README accordingly.
It didn't help that they changed the name to Live Die Repeat for its home release. My wife doesn't like action movies or Tom Cruise but loved Edge of Tomorrow. That movie was definitely a missed opportunity.
Small number of players, and high barriers to entry the diamond market that prevents that number from growing and disrupt the cartel.
Since you linked to the honor code, can you point to anything in these blog posts that qualifies - in the context of completing the class - as "solutions to homework, quizzes, exams, projects, and other assignments"? Could anything I provided be directly used to "cheat" and finish the class without doing the work?

And just as a practical matter, there are dozens of github repos with literal (as in copy, paste, submit, done) solutions to these problems already available.

You're certainly free to disagree, but I do not view this as violating either the spirit or the intent of the honor code. This content has been out for years and is not in any way novel or unique. It's simply another vector through which the material can be learned, possibly opening it up to an even wider audience. Which is, I believe, what Andrew's goal was all along.
Carl Banks, that's the one yes! Thanks for reminding me.
An interesting question is whether this is better than the alternative: methane leaking into the atmosphere for 40 years. Methane is a more potent greenhouse gas than CO2, so unless there was a viable plan to cap the crater, this might have been the lesser of evils.

But maybe not. I don't know what the other options were. Maybe it would have self-extinguished the methane leak if it weren't literally on fire.
Please submit the original source. If a post reports on something found on another site, submit the latter.

https://news.ycombinator.com/newsguidelines.html

This is an article reporting that there is an article on Android Police: http://www.androidpolice.com/2016/08/12/google-developing-ne...

Which in turn cites the Github repo and a HN discussion of it as the source: https://news.ycombinator.com/item?id=12271354
Pretty similar to the plot of A View to a Kill[1] too (an okay Jame Bond movie set in Silicon Valley back when it was aptly named).

[1]: https://en.wikipedia.org/wiki/A_View_to_a_Kill
Yes, first time I heard his original voice I felt utterly betrayed.
On Proof and Progress in Mathematics (1994) [pdf]
You certainly do need this paper because saying "I have a hunch" without supporting it with anything does not further discourse and it definitely is not actionable.
Obvious next step: automatic police notification of potential suicide in progress whenever a depressed photo is posted.
I admit I never fleshed out the idea, but I thought of it as at least a higher bar against a random person on the internet being able to post a review. I could post a review to any restaurant on Yelp right now, but I'd have a much harder time producing a real-looking receipt for a specific restaurant. I guess I assumed when business owners pay for fake reviews they do it through some shady service that farms it out to other people indirectly.
> you thought that cells only metabolize glucose, and dietary fats & proteins are converted to glucose

Pretty much. I don't know where that may have come from, but I suspect I'm not the only one who naively thinks that this is the case. Somehow "ketone bodies" aren't mentioned in dietary conversations nearly as frequently as glucose.
I want this so badly but I feel I'm set up to fail due to how much I hate vegetables. I just can't enjoy salads.

I wonder if the "this tastes awful" response will change as I move away from carbs?
| I've heard that this focuses heavily on what Julia needs, and so the less exercised portions may need a bit of work.

Quite possibly yeah. Jameson had to do quite a bit of work to get the backend to a point where it would reliably work on the IR we generate. Now, julia does have a pretty wide coverage of LLVM IR, so it's probably not terrible, but as always the test cases used in development determine what works and everything else probably requires some work (actually very similar to the regular LLVM backends - whenever we port to a new architecture we first end up having to fix about a dozen bugs to do previously unexercised code paths).

| Is there a wider interest in resurrecting this for wider use?

We don't currently have an active use case. Jameson has been maintaining it on low flame and merging pull requests/doing some cleanup here and there, but since we're not actively using it, there is of course a limit to that. There has been some activity on the repository recently though, so you're not the only one interested.
It really did make me think. Are they planning on rigorously testing different types of content to uncover bias? I'm not sure that publishing the intent beforehand is good, but OTOH Facebook probably isn't paying close attention.

It'd be interesting to see other types of posts be tried across different pages to reveal bias. But it has to be properly done, so FB can't deny it later.
> To make sure they take the right risks they are stakeing a % of their pay if its in options or bonuses as well as in their reputation.

Did you manage to hold a straight face while you wrote that? The people at the top still walk away with millions or more when they screw up. The people at the bottom walk away with very little. Whether the risks are worth taking is a good question, but certainly the people at the top don't feel the bulk of the pain if the risks don't pay off.
I could be wrong, but I don't think projektir means they "feel like shit" even when they exercise. I think they mean they occasionally feel like shit after exercising, which obscures the benefit.

If so, I'm in projektir's camp. I often feel better after exercising, but sometimes I feel worse. Also, I don't necessarily see a clear day-to-day improvement.

There are definite health benefits to exercise for most people [0], but I don't think subjectively feeling better is necessarily as widespread as some exercise proponents think.

[0]: Video summary of the evidence for exercise: https://www.youtube.com/watch?v=SFBBjynBpSw
Hmm. Total piss take and wrong on so many counts. Daft sod didn't even know they announced a new car back in October for their long awaited comeback. Stupid Russian fool who bought them destroyed the company in 2yrs.

All TVRs had battery really low, they weigh just under a ton and put out 300-400bhp, so as much wight as possible is lowered. In my Chimaera battery was in passenger footwell. Tuscan dropped it in wheel arch. There was a page in my Tuscan S handbook telling me how to get into it if battery dead (same way as the Chim). Never once had difficulty opening filler cap either.
Hmmm, I didn't know that. Will have to read. Thanks.
In NH usa there is an Arcade called "fun spot" which got non-profit status to preserve arcade machines. Its not polished but it has games and all are playable. The non-profit status helps. It seems a bit of a struggle to keep some of these running parts being harder to find.

http://www.classicarcademuseum.org/gamelist.htm
I think this is a symptom that the movie industry is on its way out, in much the same way as has happened to music.

They were flush with cash during the early 2000s thanks to TV and DVD. It was like a golden age with lots of studios producing unusual material.

The problem is the internet has damaged their tiered selling technique, yet their projects are still as expensive and risky.
The title is All You Need Is Kill by Hiroshi Sakurazaka for anyone who don't know.