skysight-inc/HackerNews huggingface dataset:
The argument is not that this module should be removed, it's that it too niche to be included in every python installation by default and should be installed through a package manager or similar.
> the DOM was often used to store state. And this just isn't a very efficient approach.

StimulusJS is a modern approach that uses the DOM to manage state. In my experience it has proven to be quite simple and performant.

https://stimulusjs.org/handbook/managing-state
Why Game of Thrones Episode 8.3 Was Objectively Bad
Except that the optimization seem to be quite spectacular.

Compiling pantalaimon's code, there doesn't seem to be any significative difference between the two algorithms with the default compilation parameters of gcc.

However compiling with gcc -O3, Knuth's algorithm is almost twice as fast on an Intel i7-7700HQ, old tricks still work well:

naive search
found: 0, took 597719 ns
found: 0, took 601291 ns
found: 0, took 593332 ns
found: 0, took 592513 ns
found: 0, took 592799 ns
found: 0, took 592409 ns
found: 0, took 592563 ns
found: 0, took 592289 ns
found: 0, took 631602 ns
found: 0, took 592928 ns
average: 597944.50 ns
knuth search
found: 0, took 300860 ns
found: 0, took 318691 ns
found: 0, took 317502 ns
found: 0, took 317348 ns
found: 0, took 351612 ns
found: 0, took 317625 ns
found: 0, took 318217 ns
found: 0, took 312106 ns
found: 0, took 397532 ns
found: 0, took 318284 ns
average: 326977.69 ns

Just for fun, here is the dump of assembler code for function search_knuth:

0x0000000000001220 <+0>: add %rsi,%rdx
0x0000000000001223 <+3>: mov %edi,%eax
0x0000000000001225 <+5>: mov %dil,(%rdx)
0x0000000000001228 <+8>: cmp (%rsi),%dil
0x000000000000122b <+11>: je 0x1238 <search_knuth+24>
0x000000000000122d <+13>: nopl (%rax)
0x0000000000001230 <+16>: add $0x1,%rsi
0x0000000000001234 <+20>: cmp %al,(%rsi)
0x0000000000001236 <+22>: jne 0x1230 <search_knuth+16>
0x0000000000001238 <+24>: cmp %rsi,%rdx
0x000000000000123b <+27>: setne %al
0x000000000000123e <+30>: retq

And here is the dump of assembler code for function search_naive:

0x00000000000011e0 <+0>: add %rsi,%rdx
0x00000000000011e3 <+3>: mov %edi,%eax
0x00000000000011e5 <+5>: cmp %rdx,%rsi
0x00000000000011e8 <+8>: je 0x1205 <search_naive+37>
0x00000000000011ea <+10>: cmp (%rsi),%dil
0x00000000000011ed <+13>: jne 0x11fc <search_naive+28>
0x00000000000011ef <+15>: jmp 0x1210 <search_naive+48>
0x00000000000011f1 <+17>: nopl 0x0(%rax)
0x00000000000011f8 <+24>: cmp %al,(%rsi)
0x00000000000011fa <+26>: je 0x1210 <search_naive+48>
0x00000000000011fc <+28>: add $0x1,%rsi
0x0000000000001200 <+32>: cmp %rsi,%rdx
0x0000000000001203 <+35>: jne 0x11f8 <search_naive+24>
0x0000000000001205 <+37>: xor %eax,%eax
0x0000000000001207 <+39>: retq
0x0000000000001208 <+40>: nopl 0x0(%rax,%rax,1)
0x0000000000001210 <+48>: mov $0x1,%eax
0x0000000000001215 <+53>: retq
I'd be interested to hear how Slack patched this. Hopefully by removing the ability to apply settings from URLs altogether, rather than attempting any sort of sanitisation on the download settings.
That's not a relevant percentage. You'd need to look at the amount of Bitcoin that trades regularly.

Also, I wasn't saying anything about slow speeds. I was saying that the ability of the market, on a single smaller exchange, to absorb a $40 million trade in 20 minutes is not traditionally what you'd call a thin market.
Crazy cheap cappuccinos: China's Luckin Coffee chain goes public
Been using it for so long. Currently it's Scrapbook X under Pale Moon (that I keep around just to run that).

Looking for an alternative that would import my thousands of saved pages.
Believe me I am no blind fan of China and its foreign policy. You just sound like you've never met any Chinese person, ever. If you had, your opinions would be.. tempered.

Nuance isn't an option these days. You're either 100% for something, or 100% against it - or you're an enemy. It's killing any form of discussion. Just so you know, I've been downvoted to hell for my rebuttal to you. Turns out the useful idiots all have computers, and HN accounts.

China is the new hyperpower, like it or not. It's more than 4x larger than the legacy contender. The Chinese know it. The Americans are in denial. But no fear, downvoting makes everything go away..
> I blame 8080. It's not accessible. Is it technically more advanced? Perhaps.

I think blaming 8080 is extremely inappropriate here, as it is historically inaccurate. Intel 8080 is a preliminary microprocessor (and usually even not considered a x86 processor at all), it was designed in the early 70s, it was very accessible. Arguably, it was the processor that created Altair 8800, which was the ancestor of the entire lines of home computers in the 80s. The original Microsoft BASIC interpreter also targeted Intel 8080 and Altair 8800, the BASIC interpreter would later be licensed to all the other home computer manufacturers including Commodore. The derivative of the Intel 8080, Zilog Z80, was used on Sinclair and MSX computers, particularly, ZX Spectrum is the British-equivalent of Commodore 64, and MSX is the Japanese equivalent (also made and sold in some European countries) and introduced a generation to programming.

With the correct historical background in mind, you better to blame 8085, 8086 or 8088. It was those processors that established the x86 architecture and the IBM PC, leading us to desktop computing as we know it today.

Long words short, 8080 gave us home computers. 8088 gave us desktop computers.
What I mean is 20 minutes/day to get your Vitamin D levels right.
Torrent Kullanımı Detaylı Anlatım? Oyun Film Müzik Indirin
I do not deny the fact that Apple gone to great lengths to be perceived as enviromentaly friendly.

I am just pointing that Apple products are an icon of consumerism and example of unnecesarily short product life and forced quick replacement cycle.

And it is exactly that rampant consumerism that is at the root of our enviromental problems.
Also an older gamer.

I don't read much about the latest games, and my rig needs a serious upgrade as well...

However, when I do read articles about game development and such, some games get mentioned more than others. For their gameplay, story line, art, etc..

So those games get added to my wishlist, and when they go on sale (such as Spec Ops: The Line, which looks to be a morally ambiguous experience), I pick them up. It helps that years old titles (like the remastered BioShock series) run OK on my rig.
You can also control this with CSS using font-variant-ligatures.
> The Karatsuba algorithm is a fast multiplication algorithm. It was discovered by Anatoly Karatsuba in 1960 and published in 1962.

https://en.wikipedia.org/wiki/Karatsuba_algorithm
Sun exposure increases skin cancer risk, but skin cancer is in most cases easily treatable if caught early, and there's evidence that sun exposure reduces all cause mortality, e.g.:

http://ar.iiarjournals.org/content/38/2/1173.long

If this is a real causal link, the next important question is how much is attributable to vitamin D synthesis (which, assuming the localization of vitamin D in the skin isn't important, could theoretically be replaced by supplements), and how much is attributable to things that can't be supplemented, e.g. increased nitric oxide synthesis. See:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5593895/
I really liked Device 6. It’s mostly text-based but takes advantage of some of the phone’s capabilities too. The plot is clever too.
Hopefully things get better with the Apple Game subscription this fall that will not have ads or in app purchases.
Because no great scientists ever discovered anything for the purpose of getting paid.

No leap in progress or historical achievement was ever driven by personal profit. Ever. Let that sink in.
Those PC magazines of your youth were little more than advertisements themselves :)
Pocket Premium stores the web pages on a server. If there was a way to batch export and access them locally, I'd gladly pay for it.
I’ve found the Internet is a pretty good replacement for word-of-mouth-recommendations. Yes, they’re less ‘personal', but the sheer scale more than makes up for that. Reddit, Metacritic, and Twitch are all useful sources.
On iOS, on an iPhone 8 Plus, reader mode cuts off part of the text of the article.
Weren't Edison and Tesla in it for the money? Betting thousands more too.
Paperclip prices will hit all-time lows
It is a very interesting article to discuss, yet it sunk to page 3 so fast...
Some earlier coverage: https://lwn.net/Articles/754162/
Well, it's easy to remember that the speed of light is roughly 1.8 terafurlongs per fortnight...
The story behind the “welfare queen”
> 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.

The version of Settlers I played on the iPad a few years ago is absolutely nothing like that. It was almost a straight port, and the touch screen actually made for a great experience.
Scientists help artificial intelligence outsmart hackers
> That's a lot of stress, uncertainty, and anxiety.

The resemblance with the acronym FUD is striking. The problem of FUD is indeed, that itself has an effect. FUD can lead to a desirable effect by the perpetrator(s).
I’ll be he counterbalance and say quit ... if it’s been 10 years since you’ve started trying I’d imagine it’s not practicalities getting in your way ... whatever way you chose to learn should have gotten you to level 1 by now and if it hasn’t its worth reassessing whether it’s really you in the first place. Anyone can learn to code; it’s not a capacity thing but it takes work and if you don’t really care, wanting to be “the guy that can code” won’t get you there.
That's why they're using Lisp instead of Pascal! ;)
Libraries can be useful despite imperfections, and poor design decisions can occur in overall good libraries. So we can't judge too harshly.

Having said that:

1) iText PDF library used to have some fairly poor & duplicated code. Column layout was a highlight. Also strange ideas overemphasizing subclasses, eg. for paragraph styles. (Correct approach: use values rather than types.)

2) Tomcat webserver back around 2007 used to have some amazing 'clustering' code to deploy your webapp across multiple servers. But it lacked proper knowledge & hence control of what it was doing. IIRC there was no clear master, and a server couldn't tell what had been started on it versus what had been replicated since a peer was seen to be running it. Effect: replication would be additive only, contexts would just replicate everywhere uncontrolled, and there was no good way to stop/ undeploy an app across the cluster.
it's pretty much how I see the web thanks to umatrix
It’s a real shame. There are some great pay-once games out there. XCOM, Monument Valley, Crashlands, Ittle Dew, but then you get some like Kingdom Rush that concert to P2W and get ruined. There’s no way to revert to an earlier better version either. So frustrating.
Back in the early 2000's, I became part of a large group of friends. Someone in the group hosted a private web site where friends could post pictures and messages. When MySpace became popular, people started migrating over there and then to Facebook. You could say this was the private or indy social network of the day.

I was disappointed to see the site fall by the wayside, It's just easier, and that's were people are.
What do you expect to get from honey that would otherwise be found in supplements? Honey contains some known antibacterial compounds, but AFAIK none are human nutrients.
Edit: President Xi.
You know what? I prefer the very first one. But then I am strange I admit.
State of Sorbet by Stripe [May 2019] (Statically Typed Ruby)
It isn't so much that they get details wrong. As you say they are smart. It is that they won't present the full picture. Sometimes they even do that, but come up with conclusions that aren't supported.

If they for example supported tabs they would end up writing a story how you could attribute the success of Python and Microsoft to tab usage. The quotes and the numbers would be correct and they would make a compelling case, but in the real world the difference would be marginal at best.
Show HN: AI environment for artificial code generation (metaprogramming)
The electrocuting dogs and cats stuff seemed pretty personal to me.
The last game I "played" was 2048, which is a pretty dry game when you get down to it.

Actually, Universal Paperclips is the most recent "game" I've tried, although in some respects I wouldn't call it a game as much as, perhaps, a technology demonstration.

The last true "video game" I played, ever, in the clasic sense of the word, would be GTA: Vice City. That's the last time I had a console, bought a title, and immersed myself in the game play, to beat the game, as intended by the producers of the game. I also revisited it, when they re-released it as a mobile app, and played it on a tablet.

After that experience, the deep dive of investing maybe 80 hours of zombie-like effort into beating a richly developed video game, while being mildly entertained by the story arc of the game, I washed my hands of video games. It had eaten up about a month of my life, and had amounted to pretty much nothing in return. I gained a new variant of button mashing skills, while vegetating at home on the couch.

Mobile or not, games are time wasters, for when you have time to spare. As I've gotten older, I resist getting sucked into media that tries to engulf me and swallow up weeks of time, to unravel a yarn of riddles attached to a gaming environment. (or whatever)

I've seen all the newer games, and they're interesting for sure, but to sit inside and play a video game like it's a job feels like erasing whole sections of your life, when you come up for air. You ask yourself: What the fuck am I doing with my life?

I don't really care about all of the new, emerging technology and advancements. It's kind of a sad joke at this point. Graphics cards, consoles, downloadable content, live streaming speed runs, e-sports celebrities and fame? I just... I just don't care anymore.
...Get thrown away after a year or two? Apple iPhones have relatively low depreciation, compared to Android phones. See the resale values of older iPhones on Swappa. One would be a fool to throw away an iPhone after a year or two. As for me, I always buy about 1.5-2 year old used iPhones and then resell them after another 1.5-2 years -- to other users who continue to use them for years.
Strategically it made sense for China which shortly became able to get independent politically from Soviet Union. But at the expense of brutal war.
The Semi is their truck, isn't it? Why would someone put a small sedan drivetrain into a towing truck?
I have a curious question about Fastmail. Since it is an Australian company, will the recent change in law make it a less ideal mail host regarding privacy?
If either of the latter two of these outcomes came to pass then the question of investing would be moot as money would become pointless (as there is no further value to exchange).
I've done a couple mobile games. One I had priced at 99 cents. Got 200 downloads. A couple years later, I change the price to free. Hundreds of thousands of downloads, no change to the game.
Though your opinion is mostly right, I think people are downvoting for the sentence "obviously the only same way to do things"
Yes, the infortainment (and almost all of the interior) is Mazda parts.

https://21stcenturyfiat124spider.wordpress.com/2019/02/18/un...

If you go through with it, pay attention to the version numbers.

I personally didn’t install it yet because previously you’d lose some functionality like navigation for the next owner. With the new tweaks that’s not an isssue.

-

The software AA is laggy because it’s essentially simulating proper AA.

There’s a note saying it’s not recommended anymore for being out of date and buggy
I wonder if there's any correlation between people who take daily/regular aspirin and vascular dementia in later life.

My Grandpa swore by daily dosing but then also battled vascular and alzheimers. Is the increased risk in bleeds only whilst taking aspirin or does it persist afterwards at all?
Thanks! I still don't see how it's an argument that the attack wasn't planned by somebody else, but it is at least obvious, if I understand that the route of the attacke is confirmed, that the attacker himself wasn't prepared to disappear as soon as possible but to simply run for a while.
> Have rules and tracking mechanisms in place to prevent manipulation of the money supply. And most importantly a widespread currency can't have anonymity. I'm not saying anonymity shouldn't be allowed in a currency. But widespread use of a currency requires being able to manually undo transactions that were done through fraud, the way banks and credit card companies can. This is why people tend to avoid making large payments in cash, they want a paper trail so it can be undone if necessary.

Regular money has basically all these features, plus the advantage of enormous institutional support (laws, systems, finance sectors, central banks, markets...)
“Keep your dietary cholesterol to less than 200 milligrams a day.“ [1]

Cholesterol in one egg: 373 mg [google]

Maybe, instead of taking a daily pill, a change in diet will do the trick?

[1] https://www.nhlbi.nih.gov/files/docs/public/heart/chol_tlc.p...

High blood cholesterol can affect anyone. It’s a serious condition that increases the risk for heart disease, the number one killer of Americans—women and men. The higher your blood cholesterol level, the greater your risk.
Where I work the solution was to use a proxy to pypi. Basically an internal pip repo (and docker, npm, maven, everything else...). All internal apps go through the internal repository that creates a local version of the package from pypi. That gives the security / compliance folks a way to block packages with security issues, etc. and at the same time provide the developers flexibility to get most of what is needed.

In a large company this gives the compliance folks a central place to blacklist packages - along with a trail of what systems have downloaded the package to target for upgrades.
If he were to try too hard to reduce the rate at which iThings are replaced, Apple's profitability would suffer, and he would be replaced by a CEO without environmental misgivings.

That's why in many cases, engaging in an activity while calling for that activity to be banned, is perfectly sensible. You don't want to do something, but the market forces you, and the only way to stop, is for everyone to stop.

https://slatestarcodex.com/2014/07/30/meditations-on-moloch/ explains it well.
> 56% would have an IQ below 85

14% of the population have an IQ below 85. It's low, but not to the point of being a disability.

> 83% would have a other developmental, neurologic, chromosomal, and genetic conditions

What qualifies as a "condition" for the purpose of that statistic? What's the percentage for the general population? Frankly, if you actually include all genetic conditions, I'd be surprised if much less than 100% of the general population have one.
People should just finally understand that there is no free lunch: any substance has side effects. Even water, depending on dosage.
With the current release, you can use a hook, such as `useMemo`, which would memoize the value for the entire lifecycle of your component. I’ve been writing in react for around 3 years now, and never had to use shouldComponentUpdate, but instead compute whatever needed either on mount or when props changed. Curious what prompted the case you mentioned?
subreddits with strong moderation are indistinguishable from hn

also indiehackers.com
That alone tells a lot about their costs as well. My personal conclusion was that Tesla failed to make a profit from the 35k $ version and pushed the higher priced versions.
Hierarchies and the systems or checks that they serve at places like this exist only to keep some people employed. That has got to suck! For anyone who has a rogue or novel idea will get shot down because it’s too much of a burden in terms of overhead to get any decision made.
Product/application growth doesn't necessarily mean the DOM grows, though.
> How is it unique in its bloodiness? You are rendering the human history a lovely picture of peace and kind

Absolutely not. It's uniqueness comes from is bloodiness in the context of the situation.

Most crimes of that caliber happen by systematically alienating a people, 'legitimizing' these clearly inhumane actions in some way.

Take the Holocaust for example. Jews were portrayed as the source of all problems for years and subsequently slaughtered in the millions.
Clearly inhumane and wrong... And way worse than the square was, but still a 'us vs them' situation.

On the square, you got the military doing a parade and civilians standing in the way in a demonstration. Their only crime was their unwillingness to let the parade continue.
And the military opened fire on these people, because they were standing in the way and unwilling to leave

You don't think that such a situation is unique?
> ideal for strategic games and builder games like Anno, Settlers

You'd think so, wouldn't you?

The final nail in the coffin, so I am not even willing to look any more came with Dungeon Keeper. Dungeon Keeper turned out to be astonishingly cynical crap from an incredibly strong heritage. Micro-transaction and freemium abuse destroying everything they touch isn't solely on mobile of course, yet it seems far harder to avoid there.

My games money now goes to independents on PC only - the mistakes and dull failures are more than compensated for by the occasional Factorio or Pillars of Eternity.

On mobile? I won't even look or try any more - they thoroughly poisoned the well treating everyone as there to be milked.
Men also die younger.
so that's a generally intelligent system that is also more intelligent than any group of humans working on the problem of making an investment return for you.
Indian geography for NTPC, RRC and various railway exams
'A grand experiment': how 'shrooms made Denver America's most drug-friendly city
Suppose for the sake of argument you knew that this wouldn't require blockchain confirmation because it's an exchange trade. And suppose you knew that indexes follow exchanges. And suppose you knew that these exchanges are poorly scrutinised.

To the point that, hmm, you could just trade with yourself to pump or dump the price.

A market composed of yourself and yourself is, by any measure, pretty thin.
These are encoded with Speex, the precursor to opus. If you actually want to download the audio, you can use youtube-dl to get opus encoded audio-only recordings directly:

> youtube-dl -F "https://www.youtube.com/watch?v=AD4b-52jtos1"
[youtube] AD4b-52jtos: Downloading webpage
[youtube] AD4b-52jtos: Downloading video info webpage
[info] Available formats for AD4b-52jtos:
format code extension resolution note
249 webm audio only DASH audio 51k , opus @ 50k, 16.97MiB
250 webm audio only DASH audio 57k , opus @ 70k, 17.50MiB
171 webm audio only DASH audio 99k , vorbis@128k, 31.57MiB
251 webm audio only DASH audio 106k , opus @160k, 32.55MiB
140 m4a audio only DASH audio 132k , m4a_dash container, mp
4a.40.2@128k, 43.56MiB
160 mp4 194x144 144p 69k , avc1.4d400c, 30fps, video on
ly, 10.50MiB
278 webm 194x144 144p 86k , webm container, vp9, 30fps,
video only, 22.85MiB
133 mp4 322x240 240p 121k , avc1.4d400d, 30fps, video on
ly, 17.77MiB
242 webm 322x240 240p 153k , vp9, 30fps, video only, 26.6
1MiB
18 mp4 352x262 small , avc1.42001E, mp4a.40.2@ 96k, 114.
86MiB
43 webm 640x360 medium , vp8.0, vorbis@128k, 136.89MiB (b
est)

The lowest quality version (opus @ 50k) is around 17mb compared with this author's 1.5mb speex version.
Was Edison a great scientist? Not sure if Tesla was wholly in it for the money, if so he sure made some missteps in getting paid.