6,331 karma · joined Sep 23, 2010 (16y ago) · 813 submissions
comment 6y ago · link · parent
243.
How to Edit Your Own Writing(nytimes.com ↗)
272 points · by mapgrep · 6y ago · 65 comments
comment 6y ago · link · parent
Sean Hannity (Fox News)
Rush Limbaugh (independent, right wing)
Pete Hegdeth (Fox News)
Lou Dobbs (Fox Business)
Tomi Lahren (Fox News)
Jeanine Pirro (Fox News)
Dr. Marc Siegel (Fox News)
Geraldo Rivera (Fox News)
Laura Ingraham (Fox News)
Jesse Waters (Fox News)
Matt Schlapp (shown on Fox News)
Dr Drew Pinsky (shown on Fox News)
Ed Henry (Fox News)
Ainsley Earhardt (Fox News)
I think it's misleading to call this "a video of TV journalists and politicians." It's a video of Fox News journalists and Rush Limbaugh and right wing politicians.
comment 6y ago · link · parent
“His masks may cost a dime each, but a made-in-China mask might go for two cents.”
A hospital charged my friend $5k for three stitches. They could pay 8 cents more per mask. But they care more about $$$ than the long term health of the country.
And I’m not even making a moral statement with that. It’s the natural consequence of making health care a capitalist endeavor. There are other approaches.
comment 6y ago · link · parent
Of course, you start out just cargo culting emacs config, so many may not even realize emacs is configured via code. You can also get pretty far with setq functions, essentially just assigning values to variables.
But learning to grok and code elisp is when you start to really see emacs’ power.
comment 6y ago · link · parent
Look into If-Modified-Since and If-None-Match/Etag headers as well if you are querying resources that support those headers (RSS feeds, for example, commonly support these, and static resources). They prevent the target site from having to send anything other than a 304, saving bandwidth and possibly compute.
comment 6y ago · link · parent
Trouble is the computers of 1996, combined with the less optimized JVM of 1996, were really not up to the task. And I would venture the GUI libraries were not there yet either. 24 years later we have very speedy JVMs and much faster computers and networks and toolkits like the one in the article (JavaFX) sound much smoother. Meanwhile Clojure offers concurrency primitives that are making threading much more accessible.
comment 6y ago · link · parent
-Under provisioning for surges (not even Covid, even just a sudden emergency of another sort, a bad flu season, big accident, terror event, whatever)
-Going longer between maintenance intervals than is recommended
-Delaying ICU admission longer than is strictly recommended
-Relocating ICU equipment as needed more than other countries feel comfortable doing
-Using more reliable ICU equipment (does the German figure include any older and potentially less reliable gear in the former communist east?)
-Have less need among population for ICU
On the last point, Germany has accepted by far more refugees from MENA war zones than any other European country and I would not be surprised if this resulted in higher emergency medicine use.
Also a quick Google shows Germany is a bit older with 22% of the population over 65 vs 18% in UK.
None of this is to say Germany isn’t over provisioned but it is probably not 5X over provisioned, if it is.
comment 6y ago · link · parent
I live in the city of New York and I think it's important that everyone nationally absorb what is happening right now and the "anecdotes" are important. By anecdotes, I mean, in particular the New York Times story and video published last night about Elmhurst Hospital in Queens (a very hard hit borough)(https://www.nytimes.com/2020/03/25/nyregion/nyc-coronavirus-...).
People are dying of Covid at this hospital in chairs or on floors ("Some have died inside the emergency room while waiting for a bed"). People are dying without their loved ones allowed or able to be present (https://www.nytimes.com/2020/03/24/opinion/coronavirus-hospi...) (<--link is about Boston but Elmurst story above makes clear this is happening in NYC too, very much so). In his briefing yesterday the governor of New York discussed people sharing venilators (already happening per the Elmurst story) and bringing back retired doctors (horrifying given the risk to the old -- in China older working doctors were often kept off Covid wards).
The morgues are filling up and they are building outfoor refrigerators to hold the bodies (this is in the Elmhurst story). People with babies due are giving birth alone without their partners (https://www.nytimes.com/2020/03/24/parenting/coronavirus-lab...). People (including one in Elmhurst story with fever) are waiting multiple days outdoors (including rain) for a test and being turned away day after day after waiting all day.
Why talk about this? Is it for clickbait? To be dramatic? Because we're certain the NYC scale problems will spread to less dense areas?
No. It is because many many people in this country are continuing to not take this situation seriously. Many people (including relatives of mine on Facebook) think this is completely overblow, like the flu, not worth keeping people at home for given economic cost.
Many of these people have already ignored the hard evidence, the numbers, the consequences. Talking about terrible things that are starting to happen -- "anecdotes" -- may help shake some of these people out of their denial. And if they are prepared, and IF anything approaching NYC scale problems happens in their area, there is a better chance they will help rather than hinder efforts to flatten the curve.
Please don't dismiss what is happening here as anecdote or irrelevant. Believe me, I'm no better than you, I did this too, when this was "just" in Wuhan, or "just" in China, or "just" in Italy. I took a trip at the end of February in the U.S. on an airplane. I look back -- what was I thinking?! Now I'm locked in my apartment going on three weeks. My wife had a fever for 6 hours a little over a week ago, she's been coughing. Probably we're ok. But it's in the back of your head: What if I get sick, and she gets worse, who will take care of our kids? What if they close the stores and we can't get groceries?
I wish some of the anecdotes had reached me earlier. I hope some of these anecdotes reach others.
comment 6y ago · link · parent
I love that the whole book was online but also in a very slick coffee table format. With a bracing sense of humor and not afraid to try and distill very technical topics for less technical people. There is something of the DIY, can-do, participatory side of 90s computer culture in there. Deeply.
comment 6y ago · link · parent
They deliver now often with backend cloud storage, update near continuously, integrate frequently with outside services, sometimes open source major components iteratively, typically have an evolving API and developer ecosystem to educate, and are sold as subscriptions. It’s not as “human in the loop” as some of the AI described in this article but it’s clearly moving toward services in terms of margins.
Nothing is like the old shrink wrapped software business, basically.
comment 6y ago · link · parent
Personally, I was deeply inspired to start thinking about hypertext publishing after visiting a UCSD Mac User Group as a high school student around 1992 and seeing amazing HyperCard stacks driving multimedia on CD ROM.
comment 6y ago · link · parent
Article seems to confuse MELPA with ELPA. MELPA is something you have to add via your init file. Not terribly hard to do, but just FYI for anyone who is actually using these tips from scratch.
comment 6y ago · link · parent
comment 6y ago · link · parent
My experience is the precise opposite. Ruby seems more consistent and straightforward than any other non lisp language I’ve used. Ubiquitous blocks and “everything is an object” gets you very far.
Compare nested list comprehensions in python to chained map/select calls in Ruby:
lesson for lesson in [school.Lesson(downloaded) for downloaded in api.downloads()] if want(lesson)]
vs
api.downloads.map{|download| School.Lesson.new(download)}.select{|lesson| want(lesson)}
Or compare the many varied required ways to do something with an array in python vs Ruby:
len(array)
“;”.join(array)
array.append(x)
Vs
array.length
array.join(“;”)
array.append(x)
Genuinely confused what you refer to with “unnecessary syntactic doodads.” Examples?
comment 6y ago · link · parent
It’s a bit late for that; you’ve already gone through infanthood, toddlerhood, and childhood and benefitted from the patience and generosity of more strangers than you will ever know. Now you imply that perhaps parents and their children should try to not affect others negatively. I think by and large they do, but to the extent they do affect others this way, you owe some debt of patience, and are you so sure it’s paid off?
comment 6y ago · link · parent
There are a few big issues with Perl 5 but the biggest is easily the mess of references vs flat values. Python, Ruby, JavaScript and many other dynamic languages do not make the programmer think about whether you are going to pass a data structure like an array or hash as a reference or direct value. Perl does. A lot of built in operators expect direct values, eg array ops like join, push. This is because the ops existed before Perl added complex data structures — arrays of arrays, hashes of arrays, etc. References were bolted on in Perl 5 to support such structures. And any code using them will handle references not direct values. So you have a split. And then a lot of energy is spent navigating between these two types of variables.
As Steve Yegge said:
“Perl's references are basically pointers. As in, C-style pointers. You know. Addresses. Machine addresses. What in the flip-flop are machine addresses doing in a "very high-level language (VHLL)", might you ask? Well, gosh, what they're doing is taking up about 30% of the space in all Perl documentation worldwide.”
https://sites.google.com/site/steveyegge2/ancient-languages-...
For a taste of this here is how you join an array inside a hash:
join(‘,’,@{$foo->{‘bar’}})
Update - I forgot to say my favorite thing about Perl. The CPAN community. People talk about the sheer scale of CPAN but my favorite thing about it is the quality of documentation, at least back when I was using it. Really good uniform high quality docs. Almost always a great synopsis with multiple good examples covering real uses cases and gotchas. Then thorough documentation of functions/methods. My theory is this culture developed because CPAN predates StackOverflow, github, Google, maybe even search engines. The docs had to be good.
comment 6y ago · link · parent
The ideal format for this is probably a text file or simple html page on a personal website. Linking that from Twitter is one tweet. Sadly it’s not going to get the same visibility and traction as a Twitter thread where each paragraph can be linked, retweeted, liked. Look at all those RTs!
Maybe the simple version would have ended up on Hacker News but more likely not — a fraction of the people would have seen it to begin with.
comment 7y ago · link · parent
I cut my teeth on Perl and actually believed the books when they said you should always use taint mode when touching data that came e.g. over the network. I wrote all my web code under -T (-wT actually but you get the idea).
Then one day I went to drop in some full text search via a then popular library (Plucene). And what do you know, Plucene would not work under taint mode, because it was not developed under taint mode. The maintainer would not accept my simple patch essentially because he did not understand that you could not untaint without a regex somewhere (i.e. he did not know how taint mode worked at a basic level). So I maintained a patched version of that lib privately. Only to later hit the same issue with another popular library.
So I had to stop using taint mode. If it’s just an option — even one aggressively marketed in O’Reilly books back when people actually mostly read O’Reilly books to learn various systems — it’s not going to win much adoption.