skysight-inc/HackerNews huggingface dataset:
You mean how it's implemented? Umm, well it's been a while, but basically an ipointer is a proxy for an iterator that is stored internally by the msevector. These "internally stored" iterators are updated when necessary. For example, when insert() or erase() is called.

One nice thing about it is that it roughly conforms to the principle of "only pay for what you use". That is, the run-time cost is roughly proportional to the number of ipointers you have and the frequency of operations that modify the size of the vector.

One caveat is that this mechanism is not thread safe. But whenever you need to share the vector among threads, you can swap it with a vector that is safe to share[1].

And for those that are into memory safety, there is also a memory-safe vector[2] that supports ipointers.

Is this the sort of explanation you're looking for?

[1] https://github.com/duneroadrunner/SaferCPlusPlus#nii_vector

[2] https://github.com/duneroadrunner/SaferCPlusPlus#ivector
Unblockedhacked.games
That makes sense. When you try something new, every hurdle or setback gets blamed on the new system. When you stick with something old, they're accepted as part of the daily grind.
Disclaimer: I'm not an expert at all, but I try to be informed about investments and am from Spain, so here are my 5 cents.

As far as I know, the advantages of investing in index funds are global. The idea is that index funds charge less fees. Actively managed funds charge more because they have a team of experts deciding what to buy and sell, but it has been shown that in practice most of them don't manage to significantly beat the indexes, so as the returns are similar, you tend to be better off with lower-fee funds (i.e. index funds).

This is definitely true in Spain, in fact, even truer than elsewhere if you are buying funds from big banks (e.g. the funds offered by Santander, BBVA, etc.) as these typically only want to sell you their own funds and they charge really high fees, higher than in other countries AFAIK.

In fact, if you aren't already doing so, you should look at the fund catalogues of smaller banks and online banks (e.g. I use Self Bank, but there is also Renta4, Tressis, and probably some more). Those offer international funds from management firms other than themselves, and charge smaller fees.

BTW, this is supposed to become less of a problem with a new European directive being passed (MIFID II), which will impose a cap on the fees for distributing funds. Then probably Spanish banks will start offering international funds (BBVA is already preparing for this, I think) with less fees. They're lobbying against it, though, so who knows.

But in any case, index funds will still have cheaper fees than actively-managed funds.

PS: For pension funds ("planes de pensiones"), there are fewer options, as there doesn't seem to be such thing as international pension funds. All the pension funds I've seen in Spain are actively managed and charge too high fees, typically around 1.5% (I still have some due to the tax treatment), if anyone knows alternatives it would be interesting.
John Montagu fue un aristócrata británico que ocupó cargos de cierta relevancia en la segunda mitad del siglo XVIII. No obstante, dicho personaje no ha pasado a la historia por su carrera política o militar, sino por ser el inventor del sándwich.

Todavía se debate si esto es cierto, pero el autor Pierre-Jean Grosley popularizó en su libro Tour to London un anécdota que muchos dan por verdadera. Al parecer John Montagu era un empedernido jugador de cartas y le resultaba molesto tener que interrumpir sus partidas para comer. Es por ello que comenzó a ordenar a sus sirvientes que le sirvieran la comida, generalmente carne, entre dos rebanadas de pan. Con ello el aristócrata podía continuar jugando sin hacer pausas que le resultaban molestas, un hábito que se extendió primero entre sus compañeros de partida y conocidos y acabó por generalizarse en todo el país británico.
Publish or perish.
Yesterday the government in Pakistan banned Facebook and Twitter while it cracked down on religious protesters. The facebook hidden service [1] has been wonderful for me! I wish more companies opened up hidden services.

[1]: https://facebookcorewwwi.onion
You’re not done putting a roof over their head. The courts will make damn sure about that.

The reality is that you’re contributing to your wife and kid’s long term demise even though in the short term you feel like and think you are helping them.

I can’t understand how difficult this situation is for you, but realizing that you are not helping at all with your money or your actions seems an important step to mentally take.

Think about the long term implications, not your short term attachments.

Read about the perspectives of children who had to suffer trough broken marriages where the parents stayed together for the kid. Nearly all of the kids say it would have been better if their parents had just broken up instead of keeping the facade going and fostering a toxic environment.
After marijuana, are magic mushrooms next to be decriminalised in California?
I'm still a bit sad that Raphaël.js never quite caught on[0]. Same for its successor Snap[1]. I guess the main reason is that SVGs themselves weren't quite popular (and I assume there were also a few bugs) and take a proper illustrator to draw, compared to the ease of fetching JPG assets off the internet.

[0] http://dmitrybaranovskiy.github.io/raphael/

[1] http://snapsvg.io/
> For the language to be useful for proving things, it needs to be strongly normalizing. That means all programs halt—otherwise, you could trivially prove any proposition. Unfortunately that limits its utility as a general purpose programming language.

It’s not true that a strongly normalising language must be limited in utility. See section 4 on codata of Turner’s 2004 “Total functional programmming” for more information.

https://github.com/mietek/total-functional-programming/blob/...
This article was published three weeks ago, so it doesn't mention the recent forced dissolution of the main opposition party in Cambodia, the CNRP. That has pretty much landed Cambodia unequivocally in the category of dictatorship, though most younger Cambodians would tell you it was never anything else.

I also believe I know who the unnamed Cambodian blogger quoted in the article is. She is known for discussing progressive issues and has well-deserved popularity among young Cambodian people, but apparently circulation of her posts and videos took a huge hit after these changes in the algorithm.

It is a little ironic that the Cambodia Daily is having its "second life" online -- they were so embittered by the impact of online journalism on traditional print journalism that there was an editorial policy against even posting links or URLs in any article on their website. Of course, I'm not cheering for their demise, given the need for a free press here. I know a number of people who work at the Phnom Penh Post, the other big Cambodian newspaper, who have plainly said in recent weeks that they can't / won't write anything critical of the government. The political climate is feeling more and more volatile here by the moment. In the days before the CNRP was dissolved, we even had military police going through every stairwell of every tiny alley, including my own, on some made-up pretense but really as a cheap intimidation tactic. As the election approaches there will be squads of heavily armed military police posted on nearly every corner of many districts in Phnom Penh.
Columbine, 9/11, the financial crisis and student debt were all mentioned in this article as possible contributors to teens’ depression. What about climate change? The young will bear the brunt of of it, they know it and they can see that “no one” cares enough to do anything substantive about it. This could be a strong dynamic in this depression trend, too.
Can somebody quickly explain where you typically host your CMS, and what are the costs?

Also, isn't this against the TOS of GitHub?
OS X Snow Leopard. That was the last time a computer operating system Just Worked.
<$1M for 186 acres plus a massive cave with tons of commercial infrastructure within it? No, it's almost surely over a million, especially if a good chunk of that 186 acres is farmable.
Learning to say no and focus on the task at hand is the best thing I ever learnt to do.
http://archive.is/jsxCD
Not to mention tabloid newspapers.
To become fiscally sound (not rich) so that I can focus my time and energy helping others.
I see your Mr Peterson (whom I love), and I raise you with the inimitable and sporadically brilliant Slavoj Zizek - whom I fucking hate so much that I love too.

Happiness is an unethical "cut-ay-gory":

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

(For those you aren't aware of his tick, don't watch, just listen)
If the FCC ends net neutrality, that will be a Concorde moment for the internet.
On mobile so can't easily find something, but if you're genuinely curious to know more, you can easily Google a significant newspaper article on it.
Cost isn't the big issue, there are plenty of ways to do it for free. I'm curious why you think this is against GitHub's TOS? We're creating commits and pull requests via their API, which is exactly why the API exists, programmatic interaction with the service.
Place to buy websites?
I recently found out about Flippa. Is there any similar website/product selling websites?

Interested in early stage sites worth $200-$700 rather than anything $10k+
I don’t believe she is truly lesbian or bi now (no offense to those that are). It’s a phase. And I think the choice of outlet for this phase stemmed from the influence of what she was consuming on IG.

And we have one child.
And if every millenial tries to exploit other millenials by appropriating wealth instead of creating it, what then?

This is how we got to this total mess.
The financial industry is actually designed to fleece from those without much financial knowledge. I should know, I used to be one of those shaving the sheep. I’ve worked with many brokers at Morgan and Merrill and they are generally ignorant sales people. Often they are actually deceitful.

Basically everything taught about finance and economics is a half lie and the half that isn’t true is very difficult to understand. In economics ,Consider that private debt has no role in economics but is critical for understanding bank flows. So why do we teach that private debt has no effect under islm? Or consider in finance traditional options strategies of selling covered calls, on etfs. In the past few days you’d notice you lost a ton of money due to the way tracking error is manipulated vs options on the etfs. I was just talking to a billionaire who actually understood black scholes and didn’t understand why he lost so much money on a hedge. Or consider how much growth has gone solely into a few tech stocks while people are still advising you to buy s&p. Realistically smart exposure to the underlying is Generally so much better. Finally on tax advice, especially on crypto, which I believe should be somewhere between 2-5 % of any young persons portfolio, no one suggested a charitable remainder trust and it ended up saving me huge amounts of cash and avoiding long term capital gains while allowing me to do well.

The financial industry is a business dominated by sales people. The people you will talk to with less then a half million In savings hardly know shit about Shit. It’s like anything else, if you took the time to understand these financial products you’d realize they are powerful cool abstractions worth learning about
I have two goals that I'm working on in parallel: advance on the technical or management track at the company I work for and build two side-businesses to the point where my after-tax income from them exceed my day job. For me "long-term" is 5 years (or less): I want to be quit of the software industry as soon as I can be.

For the first goal I split time at the company I work for between engineering work (design, implementation, mentoring junior engineers, etc.) and building relationships with product, marketing, and engineering leadership.

The two side-businesses are boring and use technology, but unlike my day job where I work in machine learning (up and down that "stack", from data engineering through research and model development) technology isn't the focus. I spend time in the evening after my kids have gone to bed developing or sourcing the supporting technology and working on product ideas and marketing and sales efforts.
Historically, the SVG-related systems in most browsers haven't seen a lot of love, so it's lagged behind other web technologies. This seems to be getting better — I know Safari just landed a nice 3x performance improvement to one of the SVG filters.

Here's a handful of issues that I still encounter, due to cross-browser differences.

* You can't use the full range of CSS3 colors.
* You can't set certain style properties via CSS (requiring the use of attributes).
* You can't use self-closing tags for certain elements.
* Differing behaviour when you set an attribute to "null" (which is fine, it's just a gotcha)

SVG performance also varies wildly, more so than JS perf, HTML DOM perf, or CSS perf. This seems to correlate with the visual quality of the rendered result — Chrome is the fastest but has excessive smoothing, poor sampling of scaled images, etc; Safari is the slowest but produces the cleanest result.
Recent related articles:

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

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

https://news.ycombinator.com/item?id=15661372
My definition of retirement increases the number of options how to spend a normal day. Your definition reduces it by prohibiting activities that generate revenue.

You can define the term any way you want for yourself, but it seems arbitrary to exclude those who enjoy doing things that others happen to be willing to pay them to do.
Aloonix linux
To be with someone I loved for 7 years.
Why? Prepping is a common hobby among the rich: https://www.newyorker.com/magazine/2017/01/30/doomsday-prep-...
Actually I think in this case the problem is yours.

Imagine if you were actually doing something on your phone, somewhat important or necessary in some way. And you found out the person near you was assuming you were pretending, that you were acting, in other words you are fake. Not very nice of them to assume that is it?
So do you think that once a service has a certain number of users it should cease all changes?
Why would any teenager pass up the opportunity to post a video that will garner lots of attention?
Who's talking about removing the GPL license?

How would that even be possible? Are they going to rewrite all the GPL code?
I believe you can also take a loan from your 401k, but have to pay it back when you switch jobs.
Yes. The more physical capital there is to build, maintain, secure and retire (pretty much essence of blue collar work) and the less people there are with those skills, the more wages will increase. If opposite becomes true (less physical capital, more people with skills) then opposite will happen.
You don't want a word to capture the wonderfulness of lazing around on Sunday morning? _What kind of monster are you?_

"The difference between the right word and the nearly right word is the same as the difference between lightning and the lighting bug." —Mark Twain
I would like to code WebAssembly by hand. Are there any good tools / tutorials on this?
Some chip makers have hidden latency and jitter issues from common tests
It's strange how this article was written as if the author doesn't realize that there are more things than just power/speed dictating what it means for a technology to be successful. Technology like the Concorde or Bugatti Veyron wasn't taken away from us, it was just rendered obsolete.

What killed the Concorde? Broadband Internet. Who needs to fly to Europe all the time if you can just video chat? The Concorde is noisy, uncomfortable, and highly polluting. If one could make a better version of the Concorde I'm sure people would be into it...but really the "big win" of using this jet was that you got somewhere a couple hours faster, and it cost 3x the normal price of an airline. What normal person would really be doing this?

What killed the Bugatti Veyron? I guess this one is a general sense of "YAGNI", because seriously who gives a shit. The car doesn't look all that nice, who cares if it can go real fast. Fast engines are not what makes good cars, there are lots of other factors involved.
https://www.reddit.com/r/news/comments/7fjvvt/hundreds_of_mi...
Getting Real Work Done on an iPad Pro
Not an expert but I think it is actually due to a lack of computing resources, lattice QCD calculations seem to be extremely demanding based on what I read.
ESPOL for Burroughs B55000 in 1961 already allowed for some kind of safety.

It was a systems programming language based on Algol and already had the notion of unsafe code for low level code.

Those modules had to be marked as UNSAFE and could only be executed if allowed to do so by the sysadmin.

Similar exemples could be provided about PL/S, PL/8, Mesa, Modula-2, Modula-3 and many others.

One big contribution that Rust brings into the table is to educate a whole generation that belives the myth that C was the very first systems programming language, that there are actually safer alternatives.
I meant to add a caveat that you can also commercialize b2b if your audience is technical without sales or with much less one to one sales. Stripe has sales people but they also have a good number of people just find them and start making API calls. But there are always exceptions too, just much less common.
>What makes this particularly suspicious is the fact that, in the past, Lisp programmers have claimed to recover the advantages of other statically typed languages in a Lisp setting, but there have always been huge caveats, like “the system can be very easily circumvented, reducing the benefits of static typing to nothing”

Common Lisp programmers use static typing for gaining speed, not for any kind of added "safety". For safety we have very good package isolation, really strict typing, typecasing, multimethods, conditions and restarts, and the friendly runtime overseeing the code execution like a god and helping the programmer as a good loyal friend would do.
Downloading the full database (including images) is probably not practical on a daily basis and definitely not if you want full revision history.
Yes, Dinkumware - his one-person company provided (and still provides) standard library implementation for Visual C++.
Here is the only advice a person in their twenties needs to follow:

1. Never pay interest on your credit cards. Pay off your credit card balance every month.

2. Save at least 20 cents of every dollar you earn.

3. Buy an S&P 500 index fund.

4. Contribute as much as possible to your 401(k), if you have one, and at least enough to get the full employer match.
>First, I suppose I need to get to a point in my career and personal life where my finances are good enough that I don't have to decide where I spend my effort based on the income it'll bring me.

This. Waiting for the right moment to start working on your long term plan is, according to me, not a good idea. Instead of taking a giant step after some point of time, consider taking small steps on a regular basis.

I really like your idea, would you like to discuss how are you planning to approach this problem?
Our results suggest that it is climate change, through the effect it had on the vegetation, which caused the reduction of the population and the ultimate extinction of mammoths and other large herbivores," he said. Professor Huntley and his colleagues created a computer simulation of vegetation in Europe, Asia and North America over the past 42,000 years.
To do this, they combined estimates of how the climate was in this period with models of how different vegetations grew in different conditions.
And they found that cold and dry conditions during the ice age, with low concentrations of carbon dioxide, did not favor the growth of trees.
So instead of forests there were immense areas of grass, which were ideal for large herbivores, such as woolly mammoths.
As a result of a more temperate and humid climate, and the increase of carbon dioxide at the end of the ice age, trees emerged at the expense of large areas of pasture.
"At the height of the ice age, mammoths and other large herbivores would have had more food to feed on," Huntley explained.
"But as we move into the post-glacial era, the trees displaced the herbaceous ecosystems and significantly reduced the pasture area," he concluded.
I have always felt that seeing other people’s success and happiness is not the cause of this type of behavioral change. I think that social media causes damage in two ways.

First of all, the feed/timeline/wall delivery system of information delivery must have some play in this. On instagram, I follow friends, family, coworkers, artists, creators, meme curators, technical brands, etc. They all deliver very different content, but I’m generally exposed to them in the same feed. So while I scroll through my feed, I do so much context switching that I get attention-motion sickness. I enjoy the post as I scroll though but I don’t retain anything. I could scroll through hundreds of posts in just a few minutes, and I’ll hardly remember any of what I’ve seen. It’s like an exercise in half paying attention, or an exercise of forgetting. But, we do it every single day, all the time. The information highway has gone from an open platform for sharing to a fast lane of content mixed with brands and ads shooting right through my conscious.

Then, we have the nerve to call it social. Yes, there’s a lot to say about the amount of connectivity these platforms have given us. But they’ve also changed the conversation we have. Sure, when I directly interact with people on these platforms, I’m doing something kinda social. But you know what’s not social? Staring at, or talking to a wall. No matter who has wiped their shit on it. I’m no biologist, but I know humans have mirror neurons which fire when interacting with other humans/things. So, we have a mechanism(s) in the body that respond to actual face to face interaction. How does an abstraction of technology interact with those mechanisms? I can only assume that the iPhone does not account for this in their UX meetings.

It is a little silly to me to assume that the staggering rates of depression and suicide come from reflection on the content these kids are seeing on social media. Social media, when used as designed, does not offer the time to reflect.

(I want to say that there are obvious other dangerous aspects of social media that may lend themselves to dangerous behavior as a result of reflection, such as obsession and stalking, bullying, etc)
> Many different things give rise to natural monopolies. High fixed costs and strong economies of scale tend to give rise to market power among utilities, while for something like Facebook, network externalities give rise to market power. The two kinds of effects aren’t categorically different.

They are different because network effects aren't inherently monopolized. Fax machines, email, rail gauge, all have network effects but no one has a monopoly on them. Even the internet itself in the sense that people on Comcast can communicate with people on Verizon.

But the last mile monopoly isn't due to network effects, it's due to high fixed costs.

The difference determines what kind of government intervention is justified. When you have a natural monopoly, the government can't make it go away, they can only regulate it as a utility. A non-natural monopoly can actually be eliminated and replaced with a competitive market that needs no further government intervention.
PureVPN is giving 79% off on Cyber Monday.
This was a Concorde moment for software: the move away from 'The Structure and Interpretation of Computer Programs' at MIT.

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