skysight-inc/HackerNews huggingface dataset:
In common implementations the vtable pointer is always the first word inside the object. Given an arbitrary pointer to an object, the offset of this vtable pointer relative to what you're pointing to is always computed statically at compile time. Unless you're using multiple inheritance, this offset is usually zero because derived object pointers in a single-inheritance hierarchy actually always point to their base.

If you're using multiple inheritance then an object can have multiple vtable pointers, but again which one you need to use is known at compile-time based on which class the virtual function you're calling is declared within, and the type of pointer you have.

Once you have the vtable you then have to locate the function pointer for the function you're calling. Again, this is usually a compile-time constant offset from the start of the vtable. This ceases to be true when you have 'virtual inheritance' (not to be confused with virtual functions), when another indirection to find this function pointer is required.

Here are some examples:

https://godbolt.org/g/N2XcV7

You'll notice that the get_square() function, which returns a member function pointer to the virtual square function, doesn't even return any memory addresses, just metadata and an offset
It can't distinguish between English, French, German, Swedish, Norwegian, Spanish, etc. either. And there's no charset that does that. Do you find that a problem? If so, you're very much in the minority; if not, why distinguish between Japanese and Chinese but not English and French?
Not just Gates, but on the off chance Musk actually makes it to a permanent Mars settlement, it will be the best thing that's happened to humans since the printing press, if not fire.
Interesting...I haven't heard that.

Does the "J" have an assigned word? (NINA = No Income J? No Asset)?

Is it a play on words for something Ninja related?
Small nit, but I'm not sure I'd prefer one (or a few) investor(s) over a larger, decentralized group of investors. Those are two very different power dynamics.

A world with a few super-heavy investors may not be as effective as a world with a more distributed (democratic) investor base. Fewer investing eyeballs, more tunnel vision.
Sometimes the exact opposite of a profound error is also a profound error. We certainly have established that socialism can be implemented in a catastrophic fashion; it's harder to prove a negative (that nothing resembling socialism can work.) I share your skepticism, though.
Another way around this is to just request a modern modem. I recognize that modem as an older model and, especially if it is having hardware problems, you can just call up AT&T and ask for their newer model (not sure if it is still the newest) 5268ACFXN.
Greenfield developers look at me funny when I say we should just use Spring or .net for new projects. I actually have to maintain my projects for years, and I've been burnt many times before.
Discussion at the time: https://news.ycombinator.com/item?id=10019149
Seriously cool stuff. I've got relatives in Houston and was frustrated that I couldn't find an easy way to see if they were impacted
If the whole "apocalypse" thing seems alarmist, consider that Japan's birth/death ratio has been <1 for a while, and is now a matter of national concern.[0]

Of course, that's only a real problem if our immigration policies continue deteriorating.

[0]https://en.wikipedia.org/wiki/Demography_of_Japan]
I'm not claiming that we should ignore these aspects and lie to ourselves about reality, in fact I'm acknowledging that these relationships exist. My greater point is that the author is trying to use the meaning of statistical bias to dismiss what journalists/laypersons consider bias without addressing why the latter is concerned with bias in the first place.

My suggestion is that we should be using a better feature set that only looks at aspects that we can reasonably hold an individual responsible for rather than using demographic information which is out of an individual's control. If we have two convicted criminals with similar crimes, behaviors, and histories, but one is white and grew up in a wealthy neighborhood while the other is black and grew up in a poorer town, why should the former be granted a higher probability of parole than the latter? Why should either of them be held responsible for the actions of others? Even if in expectation people from the latter demographic were more likely to reoffend than the former, that is not justice – it undermines liberty.
I wish I came across the so called proof-based math before calculus and trigonometry. It would have grabbed me instantly. High school math (and especially physics) classes would leave me with very uneasy feeling that something crucial is left unmentioned, something important is swept under the rug and something important is hidden for whatever reason. Turns out I was wanting for proofs, but couldn't articulate it - I just sensed that something was off :)
Sure you can ignore 'six pack' but you can't really igore is looming obsolesce in IT once you hit you 40's and 50's, you can't ignore is dwindling (biological) motivation and drive to learn and innovate. Ageism is real.

Thats what really worries me, sure I like coding and learning now but what happens to me in my late 40's and 50's when I have to care for my parents and kids at the same time while tying to not become a IT dinosaur.
Survivor bias in full effect.
> I used to work at Sun, and the Solaris codebase is the most amazing C code I've ever worked with. I'm probably going to be accused of bias, but the Linux code is really messy compared to Solaris.

Its not bias. Im a (mostly) C/C++ dev, and very curious about some open source implementations, and the Solaris C source code is the most beautiful complex C codebase i've know.

Linux is what it is now, because of the amazing amount of man-hours into the codebase, but given the quality of the Solaris code compared to Linux, i bet if we could measure how many hours/enginners/money it would be necessary to make some features in parity for both OS's, not only Solaris would require less people and be implemented in less hours, but it would probably be less buggy.

If Solaris were open sourced in the right time, and not too late as it was, im sure it would probably be the top Unix flavor by now.
I did say this. And I was increasingly disappointed in the Democrats' "weak tea" responses.

It's a good point about "administration", too. I used it as a poor and incorrect stand-in for "majority".

At this point in time, I see some sort of corrective action as more likely from the Democratic side or from those Republicans who do not equate "conservative" with an ideology of personal greed and self-interest. For one point, systemic criminal behavior that also abuses your customer base, does not tend to conserve the institution -- unless it is or is granted quasi-monopoly status where those affected have no means of redress -- nor perhaps meaningful, better alternatives (e.g. an oligarchy of corruption, such as existed in the mortgage and mortgage-backed-securities market leading up to the 2008 crash).

Anyway, yeah, I fear even more our chances in the face of "the majority's" drive to neuter and dismantle existing law and regulation. But I don't believe either side has had too much interest in substantially, not to mention fully, addressing these problems. Not since..... Well, I guess since Carter. And the now seemingly anomalous prosecution of the Savings and Loan scandal in the latter '80's.

Mine's a rather limited perspective. But the string of incidents -- story after story about institutions getting off with fines that pale in comparison to their profits (those at the expense of often massive externalized costs) -- seems pretty apparent.

And actual jail time, as a result of the Savings and Loan malfeasance, did seem to at least produce a "tap on the brakes", for a short time.
The appearance of a limitless supply gives the false confidence that a perfect match will be found. Technology, IMHO, has removed all courtship and romance out of dating. It woukd be interesting to see more of a Tinder of blind dates, no photos, and a requirement that you spend time talking on the phone or texting the perfect before you see their photo.
To add to the point.
I have couple friends, who are in their 40's. They find women on dating sites (anywhere in the US), arrange the "hook-up", buy the ticket, fly-in, have sex and fly-out.
None of them have a stable families. They are highly cynical people. Just fuck and get out.
Don't be like that. You will grow older, lonely, without families. Stable family is what you will keep you sane, once you reach 45. (Unless your Erdős)
36 in NoVa and I agree.
Short sighted. What if it becomes big and you want to ship a new devices with this OS ? It's not reuse or recycle then. Not to mention, both of those words are uninviting to anyone looking to pick this up.
> Nothing forces you to use Composer

And yet nearly everybody does. Is there a compelling upside to justify that tradeoff? I can't think of a worse fate for a language than trying to mimic Java circa 1998, but that's exactly what's happening.
No, it is the way it is set. It is a very long discussion, but the extremely simplified version should be: if there is a cost to run the state, split the cost equally to the voting citizens and ask them to pay. The state is not the owner (full or share) of the citizen to raise a percentage of the income as tax, one vote means one tax (in dollars) - that is equal rights and equal burden. The "rich people can afford to pay" is just the way to communism.
> Swift 4 makes the String type itself a sequence of grapheme clusters, which is usually the correct answer to the question of "what unit do you want to work with?"

In my experience, I have not yet found a case where I ever wanted to use grapheme clusters. Most algorithms want to iterate over Unicode codepoints (e.g., displaying fonts). Even in display cases, grapheme clusters isn't necessarily the right thing to use for the backspace key or left/right motion.
You must save a lot of money by not buying anything, ever.
Bucky Roberts of https://www.youtube.com/user/thenewboston/playlists has tutorials on Javascript, ES6, Bootstrap, Angular 2, jQuery, React JS, Sass & SCSS, Less CSS, Grunt JS, Node.js, AJAX, MySQL, PHP, XHTML and CSS, HTML5, Java, Android dev, Objective C, iOS dev, Ruby, Python 3, Flask, GTK3 with Python3, C Programming, C++, C++ with Qt, C#, Git, and Django. I watched some of the C programming videos. The videos had tiny text in the upper left corner of the screen, with the rest of the screen a blank white background. Also he does have some buggy programs in the videos, but he has corrected source code for the C programs linked at https://thenewboston.com/forum/topic.php?id=1440 Despite these problems, worth watching for the very nice explanations.
> . . . argument parsing . . .
> Node has none.

https://nodejs.org/docs/latest/api/process.html#process_proc...
Your high school didn't teach geometry?
At the same time, after 10 years of no interest in women and vice versa (I'm 30), and watching all my friends and workmates of both sexes go through so much turmoil in their romantic lives, I've become a bitterly cynical fucker. Of course, I haven't ever used any of these apps or websites - maybe I've been left by the wayside because of it. I'm just not interested in finding someone that way - I've no interest in a random hookup or a programmatic finding of a long-term relationship.
The point is that solving "inequality" is easy. Just find all the houses of rich people and burn them all down.

That doesn't mean that this would make the world a better place.

The world should absolutely try and help the poor and solve their problems, but this has nothing at all to do with inequality".
Ask HN: Vulnerability, leverage and growth are any of these related?
Tasty Tom is very nice, but they are 2.5x more expensive than these.
I love this story about Charlie Munger which can be found here:

https://www.joshuakennon.com/if-charlie-munger-didnt-quit-wh...

In the past five years, I've started and sold a company. Bought a house on a golf course, purchased expensive foreign cars and went on insane trips all over the world.

Last year, my wife woke up one morning and told me that she no longer wanted to be married (that's a story for another time). Got divorced and lost almost everything except the stock that I still own in the acquiring company that may never have an exit. The house, the cars and the trips vanished.

I guess my take away from this is that life is a series of ebbs and flows and it's our responsibility to gain greater self-awareness each day that we wake up. If you feel like you're behind then that is actually an amazing step in the right direction. Ask yourself why you're you're feeling behind and work through those emotions with yourself.(Literally talk out loud to yourself. It's weird but it works)

Are you biased because your former co-founder still has his house and a new baby? Are you biased because your closest friend just took his company public?

What I noticed about myself is that envy tends to create the anxiety that leads to feeling behind and the inadequacies associated with that emotion.

If you understand and even accept those emotions then you can reverse it by playing devils advocate to your feeling of insecurity (everyone needs a little self-love) then you start to be grateful for the things that you are doing well and doubling down on those strengths.

Although, I find him at times to be utterly unbearable. Gary Vaynerchuk does has some very sage advice for anyone feeling behind. His content about playing the long game has had the greatest effect on me. https://www.youtube.com/watch?v=WsB9U9kSXUc

I struggle with debilitating depression but I've created mental models that enable me to get out of bed on those days and get to work. I'm hyper-aware of my state of mind and when I'm feeling depressed or sorry for myself I let myself become aware of it and work through it instead of falling into the recursive emotion that is feeling depressed about being depressed which leads to feeling even more depressed.

Once those issues are ironed out then I do my best to break up my day into very small tasks that I can accomplish in order to keep the serotonin levels high.

Today for instance, I needed to finish some financial modeling
for the new company that I started but I had serious FOMO because it's labor day weekend and everyone's at the beach. I recognized it so I took a pen and paper to the beach and did some work at the beach.

Now I've created some momentum for my self-esteem and I'll end up having an exceptionally productive Sunday. ; )
Bitcoin has barely been above $5000.
Why is it that no one has undertaken the task of cleaning the Augean stables of elementary differential equations? I will hazard an answer: for the same reason why we see so little change anywhere today, whether in society, in politics, or in science. Vested interests dominate every nook and cranny of our society, even the society of mathematicians.

Truly we live in a decadent age. With this much fuel piled up, who will be surprised by the conflagration?
Quite right, and even apartment dwellers can easily have a few tomato plants. One thing that's critical is not to use hybrid (F1) seeds, they don't breed true / aren't reproducible, so you need to buy seeds every year. This means the plants will never adapt to your particular soil and climate. Unfortunately these are the most common seeds found on the market.
If you pay small taxes and you get great value, good for you. Other people pay much bigger taxes and get nothing in return. Tax based healthcare is robbery, richer people are not sicker and there is no justification to pay for services a percentage of your income. Otherwise you should pay for groceries a percentage of your income, for gas, for rent etc, so in the end everyone is equal in what they can buy. Better than socialist utopia, you can go directly to communism.
yup Disney should be on the list - Disney Research (https://www.disneyresearch.com/) have a long history of being involved in multiple areas of VR research.
One factor largely absent here (and actually obscured by their choice to interview investment bankers) is the huge amount of financial anxiety facing young people in America.[0]

Crippling student debt, a lack of savings and inability to find high-paying jobs can make the prospects of starting a family or even serious relationship hugely unattractive.

The assertion in this article that Tinder is great because you can hook up “without spending any money,” sounds callous coming from investment bankers, but for a ton of people, that's just the reality of the current dating landscape. If you're focused on paying back loans and working pretty much anywhere other than tech/finance/consulting, it really can feel hard to afford to date the conventional way.

[0]http://money.cnn.com/2017/08/28/pf/financial-anxiety/index.h...
Yes I think that's exactly what Stratoscope meant, and it was funny because that expression is a classic language peeve, as it is an illogical deformation (of the phrase "I couldn't care less") that is becoming the norm... but in that situation it made perfect sense. So I was showing appreciation for that nice touch.
Why would I want Windows 10 if 7 is working fine? The only major upside is hi dpi and touch screen support, which I only care about on newer devices. Also the stability is substantially worse because Microsoft will force update my machine frequently with updates that can take 30+ minutes.
> I would be interested if anyone knows about the connection between information theoretic entropy and physical entropy.

I'm pretty sure they're the same, with minor differences in notation and units, unless of course I misunderstand what you mean by "physical entropy". Entropy in physics only got a precise definition once physicists understood that the concept really comes from information theory.
I would have thought so too. People get sloppy, I guess.

For example, from WWII: http://weaponsman.com/wp-content/uploads/2015/01/OPSEC-grunt...
How do you kill the elite if they have advanced weaponry and can monitor all communications? What happens if they have no use for servants or consumers by virtue of having automated all their production needs? This scenario may sound extreme but it's certainly not implausible.
That more or less described eHarmony, at least as of about a decade ago.
Foxplay-to-srt
Need help to extract the CC subtitles from Foxplay.
I would like to know where to look for the video file and what to do next to convert it to srt.

Inside the inspect element it's beeing a challenge to find the video file.

Thanks in advanced for your time.
Yeah, its a trap generally. In theory your dating matches are limitless, in reality they are much more constrained. This is how the dating atmosphere in NYC generally works, a ton of people with too many mediocre options.
I feel the same, especially with integrals. Integration is way to arbitrary and 'most' integrals cannot be done in a closed form.
> I don't know the industry but perhaps the modern job is easier to get and seen as lower status than it was in the past?

I'd say there's more technical skill (certifications and iso standards) to adhere to in cleaning today, than 30 years ago - and each worker clean larger areas (and probably works harder than 30 years ago, suffering under tight micromanaged schedules). That's my impression (though mostly in Norway). Note that cleaners might be better, more efficient and doing a more demanding job, and still have lower status...
You sure the new model isn't similarly vulnerable?
You probably need at least one million to avoid poverty conditions in retirement.
So I haven't tried AR yet, but I do know it has a laws-of-physics limitation - it's impossible to draw black on the screen. Basically, you can only make things brighter than the background, not darker - so if you're already in a bright world, good luck seeing anything. Subtitles become impossible unless you're in a black/dark room because you can't draw black borders on the text, and just outlining things in general (so you can see them) is essentially impossible.

http://blogs.valvesoftware.com/abrash/why-you-wont-see-hard-...
I knew Gosling when he resided in Calgary. A very bright guy but he was also extremely possessive of Java. Even during the Sun days it was clear it was his baby, and nobody else’s.

I can imagine him being very frustrated at oracle and google where motivations are different enough to not cause his ego to be fed.

And as much of a scourge Oracle is they have moved java forward much fast and further versus Sun. All with gosling being sidelined. Perhaps that is part of his motivation for this article. Someone raised his baby better than he could.
Reading a book by a human mind works pretty much like training a neural network. You get tuned and change in a way that you might not see even if you don't remember.
You can't become Cynical fucker. Go through the turmoil. I am 34/M. And had few women in my live.
I meet a love of my love from Switzerland, 34F. Nothing worked out, I was left devastated. But it is best experience in my life(35y/o.M). Do it. You will become a better man.
Majority of my friend divorced by the time they reach 35-40. They have kids. They have someone to look after AND they have kids that will look after them !!!
You'd be surprised how many businesses take customer service seriously. For now. Maybe your vision will come to pass at some point.
70MJobs Is Hiring CTO, PM, Ops Manager
70MillionJobs is the first for-profit recruitment platform for 70 million Americans who have criminal records. We just completed S17 and a nearing completing our seed round. The response we received at Demo Day was amazing; our launch on HN brought nearly 2000 up votes (30th most all-time).

Seeking great, local help to help build a new product, and continue our rapid growth. We've got several million applicants in our pipeline with more orders for more than one thousand jobs.

The plan is to stay in the Bay area. We're a start-up, and need people who know the life and love it. Significant equity and a living wage is offered. If you have the chops to hit the ground running and wouldn't wind saving a million lives along the way, this could be good for you. Here are a couple of articles recently published about us:

http://bit.ly/2von8N1 http://bit.ly/2wvvKBM

Contact me for more info: Richard@70MillionJobs.com
> I guess that depends on whether you consider the 2+ billion people worldwide without access to payment networks like Visa or MasterCard "normal"...

how is bitcoin, a "currency" that fluctuates wildly in value, requires a decent computer (or modern smartphone) to hold a wallet, has very high transaction costs, and is incredibly easy to lose (though corrupted wallet, hacking, fraud, etc.) better than say... M-Pesa (https://en.wikipedia.org/wiki/M-Pesa) or PayTM (https://en.wikipedia.org/wiki/Paytm) which are widely accepted, runs on a cheap phone, has significantly lower transaction costs, and is significantly better at protecting individuals against fraud and hackers.

> I think the better question is whether cryptocurrencies are a better fit than existing options for those people.

Are they? Seriously, are they? I'm pretty sure the answer is no, (at least not the Bitcoin that exists today) but people who are bullish about the Bitcoin bubble keep trying to force that square peg of crypto-currencies in that round hole of micro-payments.
It's totally possible. It may not be the common outcome but it absolutely happens. I do know one guy who appears to be permanently ruined for exclusive relationships but equally one of my best friends easily had sex with over a 100 women before he met his wife, possibly 200. I'm sure Tindr is full of messed up people but that's as much humanity as Tindr.
Well, here in NL it certainly would if you went through a crate of tomatoes at the local supermarket and smelled all of them one-by-one.