skysight-inc/HackerNews huggingface dataset:
Have read about 2/3rds about it now and came back to upvote.

My first impression is there are some really interesting observations in there like this:

> At the end of the war, Hitler said, ‘Well the Germans lost, that just shows the Russians are stronger. So be it. That’s the verdict of nature.’ I don’t think a nationalist would say that.
Yeah but baby boomers are and exceptional generation. The generation behind them is smaller (the Gen-X ers)
Um... I feel like there is likely to be a lot of selection bias in your experience. Now, I would notice that, having taken calculus before statistics myself, but...
Baby boomers do hold position of power and a lot of wealth. There are also lots of them.
Don't look at "overall time" to compare performance, I've added it just because some of the vdom library devs asked it, so they can easily track regressions/improvements in their libraries.
Numbers in this benchmark aren't so useful if you aren't a vdom developer, some libraries were broken(the last time I've checked), some using caching to get ridiculous render times, etc.

>Is that argument correct? Is reading the DOM actually not so problematic, as long as the modification you make to it are minimal (which seems to be the strategy here)?

If you want to squeeze out as much "performance" as it is possible, most of the time you'd want to avoid reading DOM (even simple reads, not something that triggers render/layout)

And when it comes to minimal number of modifications, most popular libraries even fail on cases like "moveFromEndToStart or moveFromStartToEnd" (depends on the direction they traverse DOM), they will make N-1 moves.

But in the end all this numbers doesn't matter too much, React is fast enough for most use cases, its community and ecosystem is way more important than numbers in this benchmark.
Because PDF's can contain typesetting glyphs or even bitmap images, probably the only universal way to extract text from arbitrary PDF's is OCR. On the other hand, if you can make assumptions about the data and the data is clean enough that the assumptions hold, then other methods might work. But if the data is that clean then OCR probably will too. And OCR is as easy as a $79 all in one to get started with.

Good luck.
Page Walker – Yet another progress indicator
Are you a dolphin?
Are Western Values Losing Their Sway?
I wouldn't say most people dream about it. At least not in the sense that they want to do it.
I assumed that your background was along these lines.

Now, how is that relevant to a chat protocol?
How often? Daily!

I do a lot of HTML/CSS specialist stuff, writing a lot of front-end interactivity from scratch. I maintain a list of snippets that have helped me and others.

https://gist.github.com/tomhodgins/27c29ecb4aceaefe5cdf

Any code I have re-used three or four times ends up getting cleaner each time I work with it, and if it has proved useful a handful of times I add it to list of Snippets :)

Lately I have also been building teeny tiny HTML pages that illsutrate one concept clearly.

Here's my demo of how to harness multitouch cursors with plain JavaScript: http://staticresource.com/touches.html or heres another demo that illustrates JavaScript's Math.random() http://staticresource.com/marbles.html

Little pages like that serve as reminders, teaching tools, and provide a quick reference for me when I want to re-use similar concepts in another project, without looking up what other people are doing or grabbing the trendy Framework du jour.
Here are a few possible complaints:

1. It's way longer
2. Naming the monad "Action" may be misleading depending
on choice of Monad
3. It's tied syntactically to the syntax of the implementation
4. The <>s are superfluous
5. The argument names are superfluous (to the type)
6. The explicit type quantification is superfluous and verbose
And I ask again, since you linked to this book - did you read it? Or was it just "these guys failed, and they started out by using math, so ..." statement?

They did not use math at the time they lost money. They were were essentially gambling (doing "risk arbitrage", which is all risk and no arbitrage).
BTW, the guy you replied to is part of the team working on what is probably the most advanced compiler technology breakthrough in the last decade (Truffle/Graal). So he's not "technically right", but has actually contributed to the world's most revolutionary compiler (which is written neither in Haskell nor a Lisp).
recorded live performances were mentioned, but I could see how hearing multiple recordings of a particular song in a style that is known to change performance to performance could give you more appreciation, I'm just not sure how multiple recorded live performances differ from multiple studio recordings. Maybe the implication was that there are multiple recorded live performances for most popular artists compared to a single or very few studio recordings from that artist for a song, and so it's worth listening to the good live recordings to hear the variation?
If she bought it via a loan from a bank, making the bank a financier. If it was paid off, it might show the bank still owning the car (ie not her) even though it was the bank's responsibility to transfer back, per the finance agreement. This has happened to me. The takeaway is that it's not as cut and dry as you would expect.
I remember the semester I was taking Calc II, I was also playing a lot of the game Terminus. (This was in 2000.) The game prided itself on having realistic space flight physics, so you had to spend the same amount of time accelerating and decelerating when traveling between locations. I remember realizing I could actually use the calculus I was learning to figure out how long / how far it would take to decelerate, and so plan my thruster burns accordingly.

Haven't used it since, though... It's a pity.
Google Cloud Messaging Topic Package for Laravel
If you're worried about being "slow", don't introspect, use metrics. First, define "slow". Everything else follows, so this is important. "x" many key strokes per hour? "x" solutions per hour? Since this part is so important, compare your definition to other's definitions. Then measure. Both yourself, and others with the same definition. Don't measure against others that are using a different definition, you'll be measuring different things.

Then, break the problem down into it's constituent parts. One possible breakdown: domain specific software engineering knowledge, technical coding ability, raw mental processing speed, decision making strategies and execution, mental focus, engagement.

Then, go back, define each of those, then measure, then start to hack the ish out of them. Deliberate study and practice can make up for a substantial lack of innate ability.

Also, consider that your hearts just not in it or that this particular line of work doesn't play to your natural strengths.

Supposing you're decidedly committed, realize someone will always be better than you, and worse than you. Find a place in your team where you best contribute to the overall teams needs rather than measuring your performance using a single dimensional metric, and be ready to be flexible should that need to change in the future. Maybe your slow, but maybe the fast person is fast in 9 out of 10 things, and super-slow in 1 thing, which you happen to be medium at. Well, the team is better off if you take care of that 1 thing. Everyone wins.

Finally, your health. This should be priority one. "Keep your shop, and your shop will keep you." You, are your shop. Take care of your shop. Regular and sufficient sleep cycles. Regular exercise. Regular social interaction. Regular mental stimulation. Daily mindfulness meditation. Not because you love yourself and you deserve it, but because this is how you keep your shop, the shop that pays your bills. Regarding pills, adderall actually fits the bill. But, the problem with pills is they are one dimension solutions. Adderall also reduces your ability to think creatively. Prozac increases brain plasticity. Armodafinil is an understated but highly effective smart pill. Guanfacine strengthens executive functions via actions in the prefrontal cortex. Selegiline is another legitimate smart pill, that you need to be super careful administering. Protein and omega fatty acids are super important, on an everyday basis. Intermittent caloric restriction is intellectually beneficial. Basically, define, break it down, measure, repeat. Always take the whole picture into consideration and always play the long game.
Contrary to what many people will tell you - a degree is just ONE of the things you go to college for. Go to college. Your at a great age, and will have experiences you will not be able to have at any other time in your life. It is worth it, it will help you grow. You can keep a client or two on the side to pay bills, etc..
Subscription iPhones
Do you frequently hear about countries for the first time?
which way to use let is just a personal taste.

When i begin in elisp, i ALWAYS stick with this form of using local var:

(let (x y z)
(setq ...)
(setq ...)
(setq ...)
...
)

This makes it easier to read all local variable names. Especially when readers are beginners, non-professional programers, scientists, writers.

If we always use this simple style of let, what possible problem can it create?

• Does it creates algorithmic problem?
• Does it slow down programs?
• Does it violate some computer science principles?
• Are there science based proof, or statistics, that shows this style does some damage, such as more difficult to maintain?

The only thing i can think of, is a matter of esthetics.

later on, sometimes i use this form

(let (x (y 3) (z 4)) body)

with the condition that, if i set the variable in the let parameter, it must be constant. The value never changes in the body. And now sometimes i also use the (let* ...) form.

These variations are just sugar syntax. Not really important. It's a bikeshedding problem.

The thing is, in emacs lisp, there's no way to declare constants. And also, it is unnatural to code elisp or even Common Lisp without lots of setq or setf or similar.

In JavaScript, the issue is much worse.
JavaScript Name Hoisting and One-Liner Functional Style
http://xahlee.info/js/javascript_name_hosting_and_one-liner_...
K is indeed "naively" implemented. In my experience, its magic is having no magic - everything is straightforwardly simple, the entire interpreter core fits inside the L1 cache, every single operator is doing sequential read/writes and (essentially) blasting through memory at the highest speed.

I've used Matlab ages ago (before they used to JIT), so I can't compare, but I did have a chance to compare K and "straight" Numpy, and for my uses K won by a nontrivial margin (30-40% IIRC) despite using essentially the same solution, and Numpy having comparable implementation -- I guess that's where the cache and memory speed effects come in.

I did venture into using numexpr, which got Numpy a little faster than K, and I would assume Numba and PyPy (neither of which was in existence or usable at the time) might have also helped -- but plain Numpy vs. K was a clear win for K.

It obviously depends on the workload - but I specifically commented about Gorilla - which is a write-a-lot, read-a-little kind of workload, in which K excels and Numpy (as I remember it from 6 years ago) not so much.
> Yes it is. Sane people are comfortable with death. It takes a weird sort of narcissism to pursue cryonics.

Considering the long history of the motivation of seeking immortality in literature, and that it's not typically presented in a "hey, look at this freak, what sort of nutjob would want to be immortal, am I right?"[0] sort of way, I think your use of the words "sane" and "weird" aren't on the right track.

Narcissism... sure. But a normal sort.

Also, religions in general seem to spend a lot of time and effort on helping people overcome discomfort with death. Why? Are most people insane, then?

[0] Cautionary tales aplenty, yes, but authors don't typically expect the reader to consider this as a strange motivation, I would say. Why caution against pursuing something no sane, merely-ordinarilly-narcisistic person would pursue anyway?
Best Website Template 2015
Take a look at "Rapid Action Value Estimation" or RAVE. http://www.cs.utexas.edu/~pstone/Courses/394Rspring13/resour...
If that's true, then much of jazz music should have never translated on recordings. It also was not uncommon for multiple takes of the same song be recorded for jazz as well. I feel like that should apply here, unless there's another distinguishing factor.
Many would disagree. Most on-line programs have various deadlines and scheduling requirements that are nothing at all like compilers. Their challenge is the allocation of computing resources among concurrent request in a way that tries to ensure timeliness. Some of them are also required to guarantee some coherence of distributed data. Their concerns include scheduling fairness, safety, liveness, timeliness and coherence -- very different from those of a compiler. They're not a compiler "running in a loop".

I think the best classification of programs was given by Gérard Berry[1], creator of Esterel, a very influential imperative, fully verifiable language for reactive systems[2]:

Computerized systems can be divided into three broad categories:

* Transformational systems compute output values from input values, and then stop. Most numerical computation programs, payroll programs, and compilers are transformational.

* Interactive systems constantly interact with their environment in such a way that the computers can be viewed as the masters of the interaction. A user calls for services, the system listens to him when it can, and it delivers the services when they are available. Operating systems, centralized or distributed databases, and the Internet are interactive.

* Reactive systems, also called reflex systems, continuously react to stimuli coming from their environment by sending back other stimuli. Contrarily to interactive systems, reactive systems are purely input-driven and they must react at a pace that is dictated by the environment. Process controllers or signal processors are typical reactive systems.

In another paper (The Foundations of Esterel) he expounds:

* In interactive systems... [t]he computer (network) is the leader of the interaction, and clients wait to be served. The main concerns are deadlock avoidance, fairness, and coherence of distributed information.

In reactive systems, the pace of the interaction is determined by the environment, not the computers. Most often, clients cannot wait. The main concern are correctness (safety) and timeliness.

[1]: http://en.wikipedia.org/wiki/G%C3%A9rard_Berry

[2]: http://home.ku.edu.tr/~stasiran/ecoe560/Papers/EsterelPrimer...
That's a false equivalence. I never said nobody is entitled to a living wage. If SF is too expensive, live in Oakland or Milbrae or Daly City.
Snyder says in the interview:

> [Hitler] was a kind of racial anarchist who thought that the only good in the world was for races to compete, and so he thought that the Germans would probably win in a racial competition, but he wasn’t sure. And as far as he was concerned, if the Germans lost, that was also alright.

I don't know how accurate other historians think this view of Hitler was, but I've also seen it in Borges's short story "Deutsches Requiem". I just re-read it and the entire story is an exact expression of this perspective, from the point of view of a fictional concentration camp superintendent who worships violence and conflict. There are dozens of paraphrases in the story of what Snyder thinks Hitler believed.

For instance:

> Hitler thought that he was fighting for a nation, but he was fighting for all nations, even for those he attacked and abominated. [...] There are many things that must be destroyed in order to build the new order; now we know that Germany was one of them. We have given something more than our lives; we have given the life of our belovèd nation. [..] Now an implacable age looms over the world. We forged that age, we who are now its victim. What does it matter that England is the hammer and we the anvil? What matters is that violence, not servile Christian acts of timidity, now rules. [...] (trans. Andrew Hurley)

Original:

> Hitler creyó luchar por un país, pero luchó por todos, aun por aquellos que agredió y detestó. [...] Muchas cosas hay que destruir para edificar el nuevo orden; ahora sabemos que Alemania era una de esas cosas. Hemos dado algo más que nuestra vida, hemos dado la suerte de nuestro querido país. [...] Se cierne ahora sobre el mundo una época implacable. Nosotros la forjamos, nosotros que ya somos su víctima. ¿Qué importa que Inglaterra sea el martillo y nosotros el yunque? Lo importante es que rija la violencia, no las serviles timideces cristianas. [...]

(I wonder if Snyder has ever read this story.)
Exactly. A quote I read recently: "Successful people are those that make mistakes when nobody is looking"
I didn't say people are not entitled to live.
Look. I work in the SOMA neighborhood of SF. That doesn't give me the right to live there (and I don't - it's too expensive, so I live in the south bay).
con shouldn't be used, especially today.
see this Guy Steele article:
Guy Steele on Parallel Programing: Get rid of cons!
http://xahlee.info/comp/Guy_Steele_parallel_computing.html
“Get rid of cons!” is the exact words from his paper.
I thought that was interesting too, but it looks like that statement is contradicted later:

>‘Well if the Soviet Union didn’t collapse, it’s because of Jews beyond the Soviet Union in the rest of the world. The rest of the conspiracy around the world is supporting them and propping them up, and therefore we have to expand our war against the Jews.’
I was curious how this works, so I followed instructions from a reply below to retrieve an 'authentic' WHOIS reply for the real domain: use 'WHOIS domain apple.com'. However, this led to another 'spoofed' result [1].

From what I gather [2], WHOIS often matches sub-domains before top-level-domains, making it easy for someone to create a sub-domain such as 'microsoft.foobar.com' with false records that will populate before the actual domain.

It seems that using the following WHOIS query returns registrar information for Microsoft.com, though it requires sifting through the 'spoofed' results: 'WHOIS =Microsoft.com' [3]. You'll have to wade to the bottom of the results.

[1]
MICROSOFT.COM.ARE.GODDAMN.PIGFUCKERS.NET.NS-NOT-IN-SERVICE.COM
MICROSOFT.COM.CAN.GO.FUCK.ITSELF.AT.SECZY.COM
MICROSOFT.COM.EENGURRA.COM
MICROSOFT.COM.FILLS.ME.WITH.BELLIGERENCE.NET
MICROSOFT.COM.HAS.A.PRESENT.COMING.FROM.HUGHESMISSILES.COM
MICROSOFT.COM.IS.A.MESS.TIMPORTER.CO.UK
MICROSOFT.COM.IS.A.STEAMING.HEAP.OF.FUCKING-BULLSHIT.NET
MICROSOFT.COM.IS.IN.BED.WITH.CURTYV.COM
MICROSOFT.COM.IS.NICE.WHEN.TOASTED.COMKAL.NET
MICROSOFT.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET
MICROSOFT.COM.IS.NOT.YEPPA.ORG
MICROSOFT.COM.LIVES.AT.SHAUNEWING.COM
MICROSOFT.COM.LOVES.ME.KOSMAL.NET
MICROSOFT.COM.MAKES.RICKARD.DRINK.SAMBUCA.0800CARRENTAL.COM
MICROSOFT.COM.MATCHES.THIS.STRING.AT.KEYSIGNERS.COM
MICROSOFT.COM.MORE.INFO.AT.WWW.BEYONDWHOIS.COM
MICROSOFT.COM.RAWKZ.MUH.WERLD.MENTALFLOSS.CA
MICROSOFT.COM.SHOULD.GIVE.UP.BECAUSE.LINUXISGOD.COM
MICROSOFT.COM.SHOULD.INSTALL-GENTOO.NET
MICROSOFT.COM.SOFTWARE.IS.NOT.USED.AT.REG.RU
MICROSOFT.COM.WAREZ.AT.TOPLIST.GULLI.COM
MICROSOFT.COM.WILL.BE.BEATEN.WITH.MY.SPANNER.NET
MICROSOFT.COM.WILL.BE.SLAPPED.IN.THE.FACE.BY.MY.BLUE.VEINED.SPANNER.NET
MICROSOFT.COM.ZZZ.IS.0WNED.AND.HAX0RED.BY.SUB7.NET
MICROSOFT.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM
MICROSOFT.COM.ZZZZZZ.MORE.DETAILS.AT.WWW.BEYONDWHOIS.COM
MICROSOFT.COM.ZZZZZZZ.LOLLERSKATES.RENDRAG.NET
MICROSOFT.COM.ZZZZZZZZZZZZZZZZZZ.IM.ELITE.WANNABE.TOO.WWW.PLUS613.NET
MICROSOFT.COM.ZZZZZZZZZZZZZZZZZZZ.GET.ONE.MILLION.DOLLARS.AT.WWW.UNIMUNDI.COM
MICROSOFT.COM.ZZZZZZZZZZZZZZZZZZZZ.LOLLERSKATES.RENDRAG.NET
MICROSOFT.COM.ZZZZZZZZZZZZZZZZZZZZZZ.IS.A.GREAT.COMPANY.ITREBAL.COM
MICROSOFT.COM

[2] http://www.securiteam.com/securitynews/6D00L0K00G.html

[3]
Domain Name: MICROSOFT.COM
Registrar: MARKMONITOR INC.
Sponsoring Registrar IANA ID: 292
Whois Server: whois.markmonitor.com
Referral URL: http://www.markmonitor.com
Name Server: NS1.MSFT.NET
Name Server: NS2.MSFT.NET
Name Server: NS3.MSFT.NET
Name Server: NS4.MSFT.NET
The interpretation of Hitler seeing racial struggle as the natural order and otherwise being generally amoral (definitely corroborated by Mein Kampf) strongly reminded me of Ragnar Redbeard's Might is Right: https://en.wikipedia.org/wiki/Might_Is_Right

Well worth reading just for its entire raging style, featuring such quotes as "I gaze into the glassy eye of your fearsome Jehovah, and pluck him by the beard — I uplift a broad-axe and split open his worm-eaten skull." This somehow passing in 1890.
I've been seriously looking for these pages. Thanks for sharing. Long live Fravia.
Systemd's latest conquest: the 'su' command
>Virtual DOM approaches never really were about performance.

"React abstracts away the DOM from you, giving a simpler programming model and better performance" https://github.com/facebook/react

It seems strange to me that many developers are now trying to convince everyone that vdom wasn't selling as a way to get better performance. Yes, getting rid of data changes over time is important property of vdom approaches, but when all this vdom hype were started, everyone is also talked how awesome it is in terms of performance.
OP, do you think you have problems following the logic within the code? Or is it like, i don't understand what the bigger picture is so I can't finish this task?
There is tons of anecdotal evidence that Purse.io exists primarily as a way to monetize stolen credit cards.
One possibly overlooked problem with this is that alien races / robots may be able to see this sun shield from a vast distance. They will know that we are primitive people who have not yet figured out quantum dot solar and who still die from cancer.

No wait... if we put it up then we'll still have 50 or so years before this information reaches such alien planet. So we should be OK if we can figure those things out soon.

Sorry for the alarm.
Agree. He makes a very strong case. The only part I have a hard to accepting is this:

>"He presents himself precisely as a German nationalist who is going to get the German economy going, who is going to bring Germans inside the borders of Germany. That’s how he presents himself, but that is a lie."

He was able to inspire so many people to do such crazy things. I just have a hard time seeing how he could tell a story that convincing if it was really a lie.
Why Willie Brown took on a high-profile domestic-violence case
> Finally, one learns that boredom is a disease of civilization. It seems to me that what boredom mostly is is that people have to keep themselves entertained or occupied, because if they aren't, then certain anxieties, frustrations, discontents, and so forth, start coming to the surface, and it makes them uncomfortable. Boredom is almost nonexistent once you've become adapted to life in the woods. If you don't have any work that needs to be done, you can sit for hours at a time just doing nothing, just listening to the birds or the wind or the silence, watching the shadows move as the sun travels, or simply looking at familiar objects. And you don't get bored. You're just at peace.

Ted Kaczynski
Don't beat yourself up. Seriously. A lot of the other comments are about how you might not actually be slow or how you could fix things with medicine/etc. These aren't bad but may miss the point or be overly optimistic. You might legitimately have a crummy situation (though I would be surprised if you aren't being overly critical)

Please do yourself a favor and stopping beating yourself up. It might not be the worst idea to try talk therapy.

What does your boss think? Do you get negative feedback at work? I actually am pretty slow but make up for it partially in quality.

Either way me being so hard on myself wasn't helping anything. That doesn't mean rolling over and accepting (self-perceived) mediocrity. It just means having some compassion for yourself.