skysight-inc/HackerNews huggingface dataset:
I feel that the future lies in combining retained and immediate interfaces, preferably with the granularity to allow deeply nested retained interfaces that are fast for complex ui (or for a realtime system with memory to spare), whilst still allowing one to go the other direction, such that a simple ui can be written cleanly and logically for low-memory systems (such as embedded or boot guis). It would need a very well designed api for this, but I feel the benefits are worth the effort (and I'll probably look into this next time I have the freedom to choose ui apis).

A balance may be letting people define it either way, so that manually written ui still can have auto-layout yet intuitive code (following control flow primitives), whilst allowing generated retained uis to be manually editable -- perhaps even allowing one to then embed one within the other, a boon for scripted interfaces that perhaps have people of various levels of experience producing ui elements, such as a musician with little experience being able to add a simple visualiser in an immediate manner to a deeply retained daw gui.

Of course, there's a lot here that is implementation, and some criticism either way can be optimised out. Immediate mode can still cache its rendering, we've had optimised blitting since the early days, and is only usually a problem with complex ui. Retained would get fewer cache misses if we weren't allocating madly across the heap and took a more disciplined approach allocating to contiguous memory -- which is almost entirely a language/api problem (in my experience) that can also happen with immediate but we typically don't see since it's often done in a more procedural style that is allocating to some pool.

Other api elements, such as handling lists etc aren't really a differentiation between retained and immediate, those can be made in either.

For me, I often find that the ability to write out prototype ui code in an immediate style in very quick and satisfying (exactly what I want in prototyping), however once I start to expand upon a ui, I find it best to over time refactor towards a retained style, since by then I will typically have some templates for what ui elements look like, and so I just have to pass a string and function pointer to fill in the template.

Can't see why we can't have nice things and let both coexist...
There are ways to get loans where the only source of collateral are the underlying shares. For example, this is common when employees take loans out to cover the strike price of their options from their company.
What year did Ripple debut?
Wait, so previous ones didn't consult the literature for animation systems and how (at least the ones I know) most of them nowadays use quaternions because of discontinuities and gotchas? That seems weird, even if you don't care about ik, quaternions have very nice properties for animation systems, and only add an extra variable (4 vs 3) so aren't too much of an overhead compared to reduced error handling or going all the way to 3x3 matrices.
After switching back to chrome, I could see the bar, but the scroll jail didn't work, so scrolling up showed the original page bar.
I'm thinking of buying an AutoPi (https://www.autopi.io/). Bit on a pricey side though.
If you only draw on 4 percent of that endowment every year, that's still only 20 million a year. Maybe a bit less, considering the stock was down 2 percent in 2018.
> With a little more effort, the page could detect which browser it’s in, and forge an inception bar for that browser.

It’s just a proof of concept, focusing on one browser in one operating system. It would be interesting to see how well this could be done on iOS. The real host name is always shown at the top of the page, so it’s not going to be perfect.
I'm so glad it was helpful.

We have some Jupyter notebooks, e.g. https://github.com/littleredcomputer/sicmutils/blob/master/j...

One on the Foucault pendulum sounds like it would make a nice addition. Perhaps it could be done in a way that wouldn't spoil the exercise.
Anyone experienced with ImGUI ever use Rebol and Red's DRAW DSL?

I believe Rebol's GUI support is even easier to use than ImGUI, but of course it can't be embedded and used in the same way as ImGUI either. I wonder if non Red projects could possibly hook into Red's system once Red/System gets closer to C level performance?
"I actually have more faith in solving self-driving before that"

Interesting. It seems obvious to me that self-driving is much harder. One reason that comes to mind is there is a lot more diversity in the environment while driving, and of the behavior of things you meet. Also, when a car gets confused it has more momentum, and is in traffic, so halting seems likely to be much harder.
And she is worth so much for just being born to somebody, didn't any skill to be rich, she might as well be an accidental impregnation.
This was discussed here recently: https://github.com/djrobstep/migra

I haven't used it, but it fits your request of a postgresql specific migration tool where you don't have to futz with manually writing migration scripts.
> please don't post complaints about paywalls. Those are off topic.

From https://news.ycombinator.com/newsfaq.html.
Sorry if I misinterpreted your post but I don't think that changes my response much.

You can absolutely use Win32 Forms and WPF (and probably Qt) with a game. They can be overlaid on top of a DirectX or OpenGL window (with a transparent background) -- I've done it before! I don't think it would have any of the downsides you mentioned, either, except that it wouldn't be GPU accelerated or actually rendered inside the graphics context, which is why nobody actually does this in practice.

But that ignores the dozens of GUI middleware specifically designed for games. A cursory Google search reveals that most of these are going to be retained mode. There's a reason for that. Projects like ImGUI appeal to mostly indie devs who don't have the time or resources to write their own GUI library or license some third-party middleware. And it's probably going to be just fine for their use case. But it's definitely not a perfect solution and we definitely shouldn't throw away decades worth of knowledge and experience like the article is implying.
Yes, the same nominal amount of dollars is worth less in the future, but the employer can also raise prices for the same amount without any loss in revenue. Talking about spherical cows here.

Since inflation affects everything at once, it can be ignored when calculating wages vs profits. It's all about the distribution of money, not some esoteric "value" derived from macroeconomic variables.
For wage-sensitive jobs, the minimum wage is usually raised every year (or couple of years), so that should correct for employees without leverage over their wages.

Inflation affects different economic actors differently, but at "regular" levels of about 2% a year, it's too low to matter for the majority of people.
> A whole bunch of employees worked really hard to raise that stock price, and they’re not even being paid a living wage. Some of them can’t afford an apartment and live in their cars.

But the CEO was only paid $3million in cash, which is a different order of magnitude in wage multiplier when compared with the lowest employee. I'm unsure what the stock distribution program that disney may or may not have to employees. I actually have no doubt that disney shortchanges their lowest level employees.

But, that is not the question at hand. The company is being asked to provide equivalent wages. To do that, the lowest level employees would get paid cash + stock. That would allow us to make a fairer comparison, but it would not look like what the article wants.

> Why does the CEO get so many thousands of shares of Disney stock rather than a large portion of that package going to the many thousands of workers that also helped the company grow in value?

Morally, I don't disagree with you, but this is certainly not what people mean when they make these wage comparisons. Can you imagine if an employee got minimum wage + hundreds of stock? Most people would think that is the company short changing the employee.

> I don’t believe the CEO caused all of that rise in the stock, and the issue is whether one person should even be in a position to benefit that much while others get a meager salary.

The shareholders of disney think so. Perhaps he did not. I don't know. They are free to fire him if they don't like him.
Sure you get free unaligned access for scalars on x86, but unaligned arrays are still trouble if you use SSE (which basically everyone does).
According to that image,10nm isn't due until 2Q 2021, in Tiger Lake and Rocket Lake U series and Y series.
No but you're undervaluing her family name.
Not using Chrome, and not having a padlock in the URL bar, and disabling non-ASCII URLs, fixes many of this problem.

Another possibility would be to display a "collapsed" address bar, so that you can see that it is not the actual bar, but rather is another one.
I don't think they'll get far with QC... But I want to see GPU+CPU+Memory all compressed together under one heatsink ASAP. Reducing RAM by an order of magnitude in latency could be one of the next jumps.
This morning I woke up at 9am intending to run at about 10 (I'm training for a marathon, so I wanted to get started on my long run early). I stayed in bed until noon and didn't start running until around 2:15. I was able to do the run (and I feel good for having done it), but motivating myself to begin was still difficult.

The motivation to start is often the hardest part for me, but I never regret it once I get going. In a sense, I always want to run soon but I never want to run now.
Exercise usually hurts more that lying around, even when you're not depressed. So yes, I think it can harm.
By the standard, the null pointer must be equivalent to 0.
> Isn't the problem that running an AirBnB is more profitable than traditional real estate?

Only because it's a tax dodge.
To fight K-pop’s influence in China, a club teaches young boys to be alpha males
I'm not sure why, but whenever I see a Raspberry Pi in something like this, I think "we didn't want to have to learn how to design a PCB". I don't think it makes sense to have HDMI/sound output, wifi, a GPU etc etc and pay the battery cost for these components without using them.
I’m not sure Disney is a productive company for society. I’d argue that Lebron James and Disney are purely for entertainment. And the owners of sports teams are able to attach value to the players by how many people they’ll draw to TV and stadium viewership and product sales, so Lebron’s value can be pretty well guessed in advance by the team that pays him that huge salary.
This is what you "brag" about?

https://codereview.appspot.com/154099/diff/20/src/pkg/http/s...

Thanks for contributing to OSS though! :D
I think the ranking is meaningless. VB.net over JavaScript? Assembly over Ruby?
The scroll jail didnt work for my firefox for android latest stable.
> It feels very reasonable to worry yet it is not totally impossible a person may happen to want to quit for no business-relevant reason.

Indeed, but that does not change the fact that the practical matter of transitioning leadership means there is certain to be some dysfunction. Not to mention that some CEOs end up running their business into the ground and it's not always obvious which ones will succeed and which won't. The uncertainty also drives the stock price down. There is no way to fix this (IMO), and this incentivizes the shareholders (in the form of the board) to offer whatever compensation necessary to prevent this kind of unnecessary leadership change, leading to the CEO salaries that some label as exorbitant.

> Makes sense but can't the new leader be and seem much better so the prices could actually rise?

Yes, but people are invested in the market for all sorts of reasons. Someone with a shorter term horizon (like someone retiring imminently) is likely to have their money invested in larger companies, because it is expected that larger companies have fewer management shifts and thus fewer price fluctuations.

Thus, while certainly a change in leadership can result in long term value increase, it has the effect of lowering the current value, and this can disproportionately affect some people.

Of course, for those with a longer time horizon, this is an opportunity for arbitrage.
Yeah I was thinking that she donates all her money or something, but if not this is just a capital owner shitting on a worker (albeit highly paid).
I'm an admin in the Reactiflux server on Discord [0]. We currently show somewhere around 30K users who have joined, although that's _after_ having done a couple purges of inactive accounts over time.

I used to routinely go back through the day's discussions in #general and #need-help whenever I got home from work, and yes, reply to questions that had been asked 8-10 hours earlier. But, Reactiflux has become too high-volume for me to be able to do that.

That said, I still will scroll back in some of the lower-volume channels to see what came up. So yeah, having chat persistence is an incredibly nice feature, and I can't imagine doing without it.

[0] https://www.reactiflux.com
I've written real-time game UIs too. I think you underestimate just how ludicrously fast CPUs and GPUs are, and overestimate the complexity of your average GUI. What does your average screen's-worth of GUI consist of, after all? How many widgets are there? I double dare you to tell me that a modern computer or games console can't handle 500 widgets per frame. And I now triple dare you to tell me that your UI designer has put that many damn widgets on one stupid screen in the first place.

(Every UI I worked on actually did redraw everything every frame anyway. It's really not a big deal. Your average GPU can draw a monstrous amount of stuff, something quite ridiculous, and any sensible game UI that's actually usable will struggle to get anywhere near that limit.)
The number of opened pages is not, especially if it is :D
I fail to understand the root of the controversy here. I do realize that sixty-six million dollars is massive pay, but it is insignificant on a broader scale. Are some overcompensated? Of course. But a great CEO deserves great pay for having a rare talent: being an excellent leader. A bad CEO will sink a company; a great one will bring it success.

More importantly, it seems that much of the objection comes down to jealousy. If you took this guy's pay away and divided it among all disney employees, they would get about $325 a piece. He also arguably contributes orders of magnitude more value than a random disney employee. Finally, in this kind of jobs market, it seems that employees would have greater options. So I honestly ask: why are some so upset about this? I think he is indeed worth that much (based on disney's stock performance during his tenure, the market agrees). Is this just jealousy?

Finally, Bob Iger has gotten rich by working lucrative jobs. Mrs. Disney got rich by being born to a certain person. Hypocrite.

Downvoters care to comment?
> it's like when you see "do not eat" labels on a box of razor blades: you know it's there because some one did it (and probably sued).

By the way, is this an exaggeration or do things so ridiculous actually happen? Can I really sue and win if I eat a razor blade with no "do not eat" label on it? Or what if the label was there but I were blind or didn't speak English?

> do you really think he's set an arbitrary target of $416 million net worth to just give up?

This seems reasonable to doubt yet I don't think a person can't change their mind on half the way. E.g. he sets the target, works for it then feels overstressed occasionally and says to himself "I'm so tired of working, I already have $350 million which is enough to live happily for the rest of my life, let someone else take care of the business... Oh, and I want to donate half of the money to 3rd world charities..."
Counterspells to Rhetorical Fallacies
Near ballast-harvesting ports conducting commerce with Oakland since 1900 narrows the range a smidge.

Compare: amateur astronomer comet-hunters.
> Many regulations on the stock market are there because of past abuses. I'm typically rather anti-regulation as well, but it's like when you see "do not eat" labels on a box of razor blades: you know it's there because some one did it (and probably sued). Letting executives arbitrarily sell stock on a public exchange could have serious ramifications.

The decline in price is not due to any regulation, but rather the free market. When people see many shares on sale, the price of the stock goes down due to free market principles. Let's not reach for blaming regulation when that does not change the fundamental nature of the game.
Fluctuations in Tiobe can be a simple result of how a major repository for the language is indexed. Take for example, Delphi from '08 - '09. http://delphi.org/2008/10/the-many-faces-of-delphi/ and http://delphi.org/2008/10/delphi-keeps-climbing/

It isn't a measure of popularity - its a measure of which languages either intentionally or accidentally have the best SEO.
Reminds me: where I smashed my head against the wall with mechanics wasn't the calculus part, but when I encountered L = T - U and asked "Why?". I was referred to the book, which in turn helpfully explained "You are certainly entitled to ask why the quantity T - U should be of any interest. There seems to be no simple answer to this question except that it is."
That was such a fascinating read. Thank you for sharing!
More common than you think. People who do clever things for stupid reasons, I.E. a developer who prematurely optimizes or uses unnecessary technologies
Mobile safari does the collapsed address bar.
And yet, Berkshire Hathaway, a textile manufacturer, was able to become a global conglomerate because of the leadership of one man?

The cases you mention show exactly the issue with having a poor CEO. The fact is both of these managers attempted to keep their companies in markets in which they could not make money.

It is useful to think of a CEO not as a day-to-day operations manager, but rather as an institutional investor charged with seeking a larger return on the money invested in their fund by engaging in direct business transactions (rather than purchasing shares for example). In this sense, both JCP and Yahoo failed to manage their money properly.

(BTW, being Marissa Mayer or an 'ex-apple retailer' does not make one a good CEO, as demonstrated by your examples)
Rakuten also owns Kobo, which sells ebooks and audiobooks (along with e-ink ereaders).
No, that would be stupid and lazy. The cumulative effort of pushing the button is far more than the initial overhead and they just can’t realize that because they are too stupid.
Qt's QML uses OpenGL and can at least render into an FBO in your existing OpenGL context more or less out of the box. Integrating it with a game render loop deeper should be possible too, but more effort.
IMO, the collapsed address bar is the most pragmatic fix to this issue. (The other fixes are options that users would have to opt in to, rather than being fixed at the source - i.e. Chrome.)
> But 84+33>100...? I know you have sources there, but something doesn’t as up.

There's only a contradiction if the two groups are mutual exclusive. Retirement accounts belonging to those in the top 10% will be counted in both categories.

Assuming the data is good, a little math shows that less than half of stocks owned by retirement accounts belong to the bottom 90%.
Why is it fair that rich people should be able to afford breaking the rules of our society but poor people not?
At least on my computer there is a permission dialog for the fullscreen API. However, if document scripting is disabled (which is what I have by default anyways) then the link does not do those stuff. (I also use an unusual window layout, so if someone tries to spoof the window layout, it is likely that I can easily see the problem immediately anyways.)
Why do people feel they need to explain basic financial vehicles?

Obviously, you can get loans like this. Loans have interest, which means you must be able to generate future income suitable to cover this interest. Iger does not make enough in cash to cover the interest on a loan against his shares. Thus, he would have to generate the cash in some other way. The only foreseeable way he would have to do this is to sell disney shares, but this would cause the shares to decrease in value (and thus he would be unable to make up the principal payment). In order for such a loan to work, the loan would have to be so small as to be unimportant, or he would have to drive up the share price enough after the loan was written to make up the principle and interest, taking into account the imminent depression in share price if he attempts to sell that many shares.
Beyond the readability aspect, I really dislike that the programmer is required to make sure that the inline datatype matches the type passed to sizeof. If the API ever changes, e.g. to using a long, it has to be changed in two places, and there will be no compiler error if it isn't. Using a separate variable takes care of that automatically.
C89 compatible but not written in C89, which is the point. And almost certainly just C89 compatible because C99 didn't change the ABI, so that happened "for free". But the actual source, the thing people actually write in, is not C89. Linux heavily leverages new language and compiler extensions. It doesn't handicap itself with only using C89, because that's just silly.
Would you please not post comments to HN that consist just of personal attack and bile? What's the information you're really intending to give here? If you'd tell us, perhaps we could learn something, instead of just joining a little flash mob.

Indignation attracts more upvotes than anything else, which means a comment like this will stick to the top of a thread (where I just ran across it a minute ago), collecting mass. In other words, HN can't live by upvotes alone. There need to be countervailing mechanisms, such as flagging, software, and moderation.

Note this from the guidelines: "A good critical comment teaches us something."

https://news.ycombinator.com/newsguidelines.html
I was thinking of Ready Player One, and how it’s reading really was part of the experience. Did you mean to bury the lede that it’s read by none other than Wil Wheaton?
Doesn't seem to work with Firefox on Android but a nifty little trick for sure!
Yes, very slick. We almost went with them, but this was around the time their evercookie was exposed. After that, we went with GA and Mixpanel.

https://www.wired.com/2012/10/kissmetrics-tracking/

https://news.ycombinator.com/item?id=2824318

https://news.ycombinator.com/item?id=4696441
Both those rivers coincide with state borders, so I suspect the cancer incidence map is showing artefacts of reporting differences.
This sort of works on chrome Android, but the critical overflow:hidden trick does not prevent chrome from restoring the real address bar.
> > Then, it's appropriate that the share price fall because the cost of transitioning leadership so abruptly will certainly affect the previously forecasted future earnings off of which the share price was established to begin with.
> Makes sense but can't the new leader be and seem much better so the prices could actually rise?

Companies are like dictatorships, there's no transition of power that can go smoothly.
Of course, this kind of problem in institutions with similar scale (like governments) is mitigated by democracies, but corporations will never adopt something like this, it's anti-ethical to their values.