skysight-inc/HackerNews huggingface dataset:
If they live in the same process (address space), then it's a lot harder to correctly manage concurrent memory access (at both low level and high).

It's not a theoretical problem, just a very likely pragmatic observation. (Meaning, we'll see bugs in both the interpreter and the code using this feature.)

Plus if one of the threads crashes, the whole process aborts. (Sure, the interpreter can handle a lot of faults gracefully, but not all.)
http://blog.samaltman.com/how-to-be-successful

I found his essay particular useful in explaining how he makes decisions.
Please research the economic literature on wealth taxes. There are numerous problems with it, too many to discuss in a comment.
So if all the ancient peoples were violent raiders and pillagers- who, exactly, did they raid and pillage?

I mean, to sustain the way of life of a pillaging horde you need a large number of pacifist suckers who choose to stay put and cultivate the land. Otherwise, the horde can't sustain itself. If the raiders end up exterminating their source of sustenance, they'll just die out, themselves. Same goes for smaller groups of course.

Or is the idea that it was the cattle herders and farmers who kept killing each other, unlike in historic times? How far back in prehistory did all this happen, and why was it so different than what we see throughout history, where organised societies focused on farming and trade were the wide majority, and bandit hordes focused on killing others and nicking their stuff the minority, of the population?
Luddites Shall Inherit the Earth
Yes. I guess the earlier case was cold. The link was there to find, but they only found it much later.
From a different perspective, servers usually have a maintenance cycle to update system package where the standard library could be updated, user package on the other hand have to be updated by the user themselves ( and they could stick with the obsolete version if they want too, and could have a per project package version ) there is no convenient way for the user to update all the versions.
It's not that Python shouldn't have subinterpreters, but that they should only be added when they have a better API - at least as good multiprocessing.
> I find the country also really values animal welfare as a whole.

There are incredibly high and well-known subsidies for animal farming industries here, in addition to a blind eye often turned toward the treatment of said animals. It's arguable that most Swiss people value animal welfare more than many in the US, but saying that the country "really values" it when they opt to pay large sums of money for unnecessary animal suffering, both on the governmental and often individual level, sounds rather absurd to me.
Machine Learning Micro-Course
Electric vehicles are a joke. How are they more energy efficient? Where does the electricity come from - magic? No in all likelyhood it comes from burning fossil fuels. How long does it take to tank a fossil fuel vehicle? Two minutes? Five all in? How busy are petrol stations? How long to charge batteries? Are the proponents of electric vehicles mad? Electric vehicles equal less freedom, more taxation and more costs. More energy effecient? - bullshit...
Beef and chicken aren’t all that vegan…
That was quite painful to read. I have a feeling the author just doesn't use, or doesn't care about mobile the way the rest of us do.

I browse HN on mobile 95% of the time, most of the time I'll just back straight out of a site like that, but I was interested in his take on the mobile game grind fest.

I also don't play games on mobile except PoGo which is perfectly suited to the platform.

I spend plenty of money on mobile-non-games so it's not a blanket "I don't spend money on mobile".
I have the same opinion about asyncio, its such a bad API that its almost impossible to use correctly. But still, probably better than nothing.
I found intermittent fasting hard on carb diet. It is super easy on keto diet. In fast I fast 2-3 days every now and then because it's just a seamless transition.

I'm not saying my personal experience should be considered universal, that'd be foolish. Just recounting that.

But it makes sense given how metabolizing fat and metabolizing sugar works. Insulin response, etc.
Its cool but I think hosting and configuring your own site/blog can be a rewarding experience.

Only last week I had to figure out why a file called btmp in /var/log was so huge.

Then I discovered fail2ban
As long as you cannot even prove that due to a lacking python code signing infrastructure for packages (wheels can do it, but it is far from wide spread).

And setup.py is a trainwreck, e.g. some packages compile download and compile huge dependencies (e.g. a full Apache httpd...), the default compiler flags may lack all the mandatory security flags (e.g. for using ASLR on python 2.x), or ship their own copy of openssl statically and break your FIPS-140 certification that way...
Paper: https://people.csail.mit.edu/poantsai/papers/2019.zippads.as...

Seems this cannot be read without first understanding "object based memory hierarchies", which is new to me. This coauthor's page has a ton of related papers: http://people.csail.mit.edu/poantsai/
It is fascinating to see that I have negative points by simply recounting a bland personal experience. Who did I offend this time? :)
I won't play your mobile game, because a 4-6 inch touch screen is a terrible input device. About the only thing I have found even close to tolerable are turn-based JRPGs, and it's still terrible to not have a real d-pad and buttons.
Sure you could use react without JSX compilation, State libraries etc. But you'd just end up writing more code to do less. If your app isn't complex enough to merit the use of webpack, redux, babel etc etc. it probably isn't complex enough to even worry about DOM performance.
I always had exactly one usecase for an application helper when using bootstrap:
„<%= glyphicon(:cloud) %>“
It‘s way faster than rendering templates, should be available anywhere and is truly convenient.
> I see the benefit of cleaning the stdlib of old stuff, like the wave module

Wait... what ? No way ! Some of us do you use Python to process wav files. If anything, I'd like this module to be updated, not removed.
> This, in turn, means that Python developers can utilize async code, multi-threaded code and never have to worry about acquiring locks on any variables or having processes crash from deadlocks.

Dangerous advice. Whether this is true or not depends on lots of things such as how many and which operations you're doing on those variables.

Sure, CPython might do lots of simple operations atomically, but this is not enough to avoid the need for all locks. Threads can still interleave their execution in many ways.

See also: https://blog.qqrs.us/blog/2016/05/01/which-python-operations...
The issue remains, though, that if he were alive all this evidence would result in a trial -- at which the prosecution would have had to prove their case beyond reasonable doubt. The accused would have the opportunity to defend himself, to have legal representation, to present evidence that might call into question or contradict aspects of the prosecution's case, etc.

As it stands, it seems that due process has been bypassed.

I'm troubled by the idea that in the case of a dead defendant, it's OK to bring in a guilty verdict on the basis of an entirely one-sided "trial".
How many people on HN are volunteering to pay more in taxes and give up their income that is probably more than twice the median amount in the US?
That requires making the native parts of the stdlib position independent (relocatable). I don't know what obstacles are there currently, but basically you'd need to have a runtime linker that gives a reference to the loaded object/module to access the symbols, but these are usually handled by the C compiler and linker. So it's doable, just a lot of effort.
> What remains open for future work is checking for cross-protocol attacks. [...] I can't see such an attack, but if you can, let me know on Twitter.

So we know using the same key for signing and encryption is catastrophic for general public key schemes. We don't know of any attacks in the Curve25519 case. Does anyone know of any proofs or partial results that might apply? Proof by absence of tweets feels a tad unsatisfactory.
Thanks. I see the comment above has twisted the story. This explanation sounds reasonable. No evidence of a censored employee.
The following (can be read in chronological order) give a pretty good idea:

- J.E. Smith and G.S. Sohi, "The Microarchitecture of Superscalar Processors," Proc. IEEE, vol. 83 (1995)
- ftp://ftp.cs.wisc.edu/sohi/papers/1995/ieee-proc.superscalar.pdf, http://www.eng.ucy.ac.cy/theocharides/Courses/ECE656/supersc...

- Tejas S. Karkhanis and James E. Smith. "A First-Order Superscalar Processor Model." (ISCA 2004)
- http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.79....

- Stijn Eyerman, Lieven Eeckhout, Tejas Karkhanis, and James E. Smith. "A mechanistic performance model for superscalar out-of-order processors." ACM Trans. Comput. Syst. 27, 2 (2009)
- http://www.elis.ugent.be/~leeckhou/papers/tocs09.pdf

- Maximilien B. Breughe, Stijn Eyerman, and Lieven Eeckhout. "Mechanistic analytical modeling of superscalar in-order processor performance." ACM Trans. Architec. Code Optim. 11, 4, Article 50 (2014)
- https://users.elis.ugent.be/~leeckhou/papers/taco2015-breugh...

- "Modeling Superscalar Processor Memory-Level Parallelism",
Sam Van den Steen and Lieven Eeckhout,
IEEE Computer Architecture Letters (CAL), Vol 17, No 1 (2018)
- https://users.elis.ugent.be/~leeckhou/papers/cal2018-MLP.pdf

- A whirlwind introduction to dataflow graphs - https://fgiesen.wordpress.com/2018/03/05/a-whirlwind-introdu...
I'm sorry, I must have explained myself badly earlier.

Notify17 and Pushover share some competing features, clearly, because both are notification services. From that point of view, there can be competition, no discussion about it.

At the current moment, however, I feel they have different visions. I want Notify17 to be, at least in its initial phases, a personal/small team tool, more than a mass distribution one. I want user to personalise their notifications, and integrate Notify17 in their workflow. More than targeting 10s of thousands of notifications to huge groups, I imagine more single users or small teams creating their own templates world.

I'm not excluding that, as Notify17 will grow, it could become a competitor of Pushover. Especially when the alerting features will grow and improve. They're just targeting, in my pure opinion and for this initial growth phase, a different user base and a different vision.
Most browsers have 'reader view' or something like it. I use it on most websites, even ones that have put some effort into being mobile-friendly.
Prosperity may not be a zero-sum game, but prosperity is a meaningless metric without understanding its association to power. Power is a zero sum game.

During the 1800s both britain and the US became very prosperous. Unfortunately, our prosperity outstripped britain's prosperity and that power differential ultimately spelled the end for the british empire.

Also, stop using "western values". It's an oft used propaganda nonsense hardly any intelligent person believes.

Since when are "open democracy", "religious and cultural tolerance", etc "western values"? What about racism, genocide, nuking cities full of civilians? Human experimentation, rape of the environment, gluttony?

Lets hope china doesn't adopt "western values" since the world doesn't need more of what happened to libya, iraq, syria, etc ( not to mention exterminating continents full of people ).

Nativist/nationalist myopia is certainly a bad thing. But so is the pathetic globalist hippie myopia.

As for the african continent, what they need is more nationalism. After all, nationalism is what made britain, france, US, germany, south korea, japan, china, etc wealthy and prosperous. What african countries need is are strong and stable governments willing to sacrifice for the good of their nations. Sadly, this means kicking out european parasites destabilizing their countries, it means getting rid of european bankers controlling their banking systems, it means taking control over their natural resources from european countries. Sadly, if any african country tried to take control over their destiny, europe would destroy the nation via sanctions, funding terrorists, etc.
> Thursday night would be considered pure insanity coming from someone else.

Time will tell. The genius of YC was to spot the hackers as the driving force of a new generation of tech companies, to be founder friendly, to use the classes to get rid of the problem that every angel investor has to contend with ('is this a good investment or not?') and to tell the story in a very compelling way and with their own money on the line.

Everything else so far is underwhelming at best, but the viral nature of YC and the alumni network are not going to be stopped for a long long time.

It's a bit along the lines of 'what have the Romans ever done for us?', if that's all that came out of it then it is already a spectacular success by any measure.
Unless your dependency is a C-header file updated by your distro as part of a new version.
According to another post, the study attributed much of the difference to shift work and bad eating habits that may result from shift work. This also isn’t unique to police work among blue collar workers.
The topic is lies by the government. China in particular.

Mentioning other information than the already mentioned information is part of a good discussion and why social media is that interesting and important.
I'd say what there is, is a clear tendency in scientific circles to change views established by strong evidence (or absence of evidence) only in the face of overwhelming evidence.

That, and a clear tendency in outsiders, like the scientific press (i.e. people who would love to be scientists but have to settle with reporting on it) to present scientists as idiots who don't know anything and need some rebel to come over and teach them the error of their ways, when the truth is that there is no other group of people on the planet who are so ready to change their mind when confronted with strong arguments, than scientists.
I've found that the touch screen is a near perfect input device for chess. I prefer it to over-the-board play.
I doubt indie social media will save us from facebook, no more than indie journalism will save us from the new yorker.

I hope one day the likes of facebook and the new yorker doesn't exist, but I'm not holding my breath.

The only thing we can do is stop consuming divisive toxic garbage that is facebook and the new yorker.
Non maintained modules should be split off and put on PyPI with a big warning, of course.
Interesting paper. The original concept is at http://people.csail.mit.edu/sanchez/papers/2018.hotpads.micr..., and the follow up paper the article is written about is https://people.csail.mit.edu/poantsai/papers/2019.zippads.as....

Afaict the gist of the hotpads paper is this:

Dump the existing way we organize processor caching, instead make it look like generational gc where objects can move between different caches, and pointers can be re-written to point to the new cache level that the pointee is in.
Thank you for pointing out. This makes more sense because it's Chinese border.
I do believe Facebook, Amazon, Google and Apple are as evil if not more than MS, but that does not diminish their crimes even a little bit. Twitter much less so imho.
What this rant neglects to discuss:

- Many countries tax capital gains on art transactions, just like any other assets [1]

- Capital growth in high-end art is part of what stimulates demand for work by emerging artists, and purchases of artworks from emerging artists is one way that wealth is passed directly from rich to poor.

A notable example of this is works by indigenous Australian artists, which are sold at high prices to international buyers through galleries and dealers who work with the artists to help reinvest the proceeds for the benefit of their community and to train and develop younger artists.

[1] https://www2.deloitte.com/content/dam/Deloitte/lu/Documents/...
> Third, I do not buy the premise that types will make my code better. I have worked with strongly typed languages in the past, and I consider my JavaScript code today to be better.

hmmmm....

Also, this is less about programming in typescript and more about setting up a project in typescript along with things like type definition files which can be a hit or miss. Also the documentation on typescript could be a lot better. I don't think there's even an official reference, just a guide like thing.
I have bought some games on my iPhone and some are good, but most aren't. They usually are at the level of a nice proof of concept, but lack depth and have very little replay value.

The games that I avoid like the plague are the in-app purchase games, especially the ones that are just about buying in-game currency. These games are never good.

The sad thing is that the mobile platform should, in theory, be ideal for strategic games and builder games like Anno, Settlers, etc. All implementations of this genre however rely on, after a few hours of playing, increasing build-times of buildings to multiple hours, or days, but allowing you to finish the building instantly with in-game currency. Which is, of course, a crap gaming experience and I am sure the creators know this. It does seem to be a good way to make lots of money, seeing as all games do this now.
> Like Apple is not interested in selling cheap phones, Tesla may not be that interested in selling lots of cheap cars with much smaller margins.

Except Elon Musk stating his intention is the exact opposite.

He sees ICE cars as a threat to the future of this planet and want them replaced by something less harmful as quickly as possible, and Tesla is the means to that end.

Everything they’ve built so far has been done to prepare for decent mass-market EVs, like the Model 3.

The high-end market is lucrative though and therefore this is where he’s starting to get competition from traditional auto-vendors, now that he has proven for them the viability of selling luxury EVs.
Doesn’t this boil down to China having developing country status, being allowed to block imports?

The issue being with China being so large, there are millions of people still quite, poor despite China being such a large industrial power, so there is some justification to it still being a developing country. I imagine the rules were written for smaller homogenous countries.

Things work best when trade goes both ways.
Can anyone recommend a good mobile strategy game that doesn't rely on in-app purchases?
“Immutable Relational Data” by Richard Feldman (2018)
I develop in python since 10+ years. And setting up a virtualenv only happens when developing patches for 3rd party packages. (due to the other commercial environment that doesn't work with venvs).

And it is a totally miserable experience on Windows, every single time.
> So expect more digital taxes in your future.

This is not a problem that will be solved with taxes, it will be solved with a global reset, and those are usually accompanied by major wars. This is not a Chicago problem, an Illinois problem or even an American problem.
1: there’s no reason at all why VDOM should be the abstraction over the multiple view implementations; there’s no need: it’s all duck typed, so make DOM (or at least the subset of it that Svelte will generate) the abstraction that other things must implement. I believe this is how Svelte Native works.

Furthermore, as a compiler, Svelte is well placed to render to multiple implementations, efficiently—though implementing it is likely to take more effort if you’re dealing with a different-shaped API. This is demonstrated by the fact that Svelte has two compilation targets at present. First, dom, which is designed for client-side DOM operation; and secondly, ssr, server-side rendering, which is based on emitting strings, and never constructs a DOM.

2: even if you can do things that way, you’re still doing more work than is necessary, because you’re calling the whole render method and performing even simple comparisons that just aren’t necessary. VDOMs render methods are allocation-heavy, because they deliberately create new objects all over the place. In the words of the article, which I assert does deal with this, albeit obliquely: virtual DOM is pure overhead.
Without heart disease, daily aspirin may be too risky
>I don't go much on Reddit anymore (except for some pretty niche subs), because I know that I'll read the same dumb comments over and over again.

Not to slag on HN, but you'll often read the same dumb comments over and over again here as well.
> Thanks for this insight. It finally explains why I hear people talking down about "jQuery developers", if that was something that people actually did.

Yes. It seems that most of the frameworks people are so enthusiastic about are invented just to prevent bad developers from writing their awful code. Which they end up doing anyway.

Anecdote: years ago, when he decided moving to Angular.js, my boss justified it with "following best practices". Then he proceeded to rewrite all the application components as controllers quering the context to decide how to behave, and talking to everything else through global events. Took me weeks to rewrite everything in a sane way. (Years later it was decided everything was too slow, and it was rewritten in good vanilla js, with a huge performance boost).
I bet some people would complain about the environmental impact of wooden bicycles because they use nails made out of steel which was recycled from old bikes.
The leaf is good and certainly helped, but in a way it alone (without the tesla model s/x) may have held back the mainstream adoption of electric cars as it had not dramatically addressed the challenges of battery degradation, charging infrastructure, 'atttactive' design, and range. Tesla showed the world electric cars could be had with almost no compromises by tackling those areas head on. This is what will move them from niche to mainstream, especially now with the cost making it accessible to most.
> Just because the click event can take multiple options doesn't mean that it's inconsistent.

That's what inconsistency means. It has multiple v-* attributes and each has different rules on what it accepts.

> ugly code that I've seen in some react projects where the programmer puts a tonne of js code into the templates which as I mentioned before I find an anti-pattern.

JSX isn't templates ;)

> It's a framework, it's supposed to magic away the stupid boilerplate code.

I don't mind magicking away the boilerplate code. I do mind when it's once again so inconsistent in how it magics away that code. For example, in my second link multiple nested properties become properties of `this`, and then:

// `this.isFolder` magically hoisted into `this` from
// `object.computed.isFolder`
//
// this.open can be set directly. Magic.
// Even though `this.open` magically hoisted
// into `this` from `object.data` which is a function that
// returns an object whose keys and values are hoisted
// into `this`
//
// this.model.children cannot be set directly. Not magic

And so on.
There's a document that ostensibly describes the format, but I'm not aware of a free software reference implementation. Their format may be open in theory, but in practice Microsoft still takes advantage of vendor lock in.
Another musical note (F#), a really bad grade on a test (D), a lady (Ada), more coffee (CoffeeScript), a follow on movie (SQL), a speech characteristic (Lisp), a branding image (Logo), A factory worker (Assembler), A Canal, Panama.
The stdlib would still ship with Python I presume, it would be simply updatable. But that doesn't mean it wouldn't work without a "requirements.txt" (use Pipenv which is light-years ahead).