Readit News logoReadit News
newmana commented on The Efficiency of Vim   bencornia.com/blog/the-ef... · Posted by u/bencornia
AlienRobot · 7 months ago
I don't see anything here that tells me how is Vim supposed to be efficient. My experience with modality is that almost every time I want to do something I'm in the wrong mode.

I thought Vim could be efficient because if you just learn all these codes you can instantly cut 5 lines of code 5dd. But in practice I can't count so I cut the wrong number of lines, then I have to look up how to undo because obviously Ctrl+Z doesn't work, and the end result pretty much every time is that I'd be more efficient with VS Code or even Notepad than with Vim.

I just can't see where this "efficiency" is supposed to be at all.

If you tell me I'm supposed to spend 4 weeks reading VimTutor to gain efficiency in Vim, I could probably become more efficient faster in VS Code by learning all of its keyboard shortcuts. Btw Ctrl+/ comments the current line, but I always just press home // because that feels faster. It works with multiple lines, but I just use Alt+Down key in that case to create multiple cursors.

newmana · 7 months ago
Smalltalk Environment - the dawn of IDEs - "Don't mode me in"

"Novices are not the only victims of modes. Experts often type commands used in one mode when they are in another, leading to undesired and distressing consequences. In many systems, typing the letter "D" can have meanings as diverse as "replace the selected character by D," "insert a D before the selected character," or "delete the selected character." How many times have you heard or said, "Oops, I was in the wrong mode"?"

https://archive.org/details/TheSmalltalkEnvironment

newmana commented on Do artifacts have politics? [pdf]   faculty.cc.gatech.edu/~be... · Posted by u/toomuchtodo
aoki · a year ago
It’s worth noting that Winner's specific story about the low parkway bridges blocking bus access to Jones Beach (which he got from Robert Caro) has been debunked. Some design researchers in Canada, cued by earlier work in STS, finally dug up 1930s bus schedules to Jones Beach (east via Jericho Turnpike to Mineola, then south to Jones Beach) that simply avoided the low parkway bridges.
newmana · a year ago
It's worth noting that the debunking has been debunked (it's much more nuanced but essentially you can take the quotes, experience of others and the height of the bridges at face value):

"I recorded clearances for a total of 20 bridges, viaducts and overpasses: 7 on the Bronx River Parkway (completed in 1925); 6 on the initial portion of the Saw Mill River Parkway (1926) and 7 on the Hutchinson River Parkway (begun in 1924 and opened in 1927). I then took measure of the 20 original bridges and overpasses on the Southern State Parkway, from its start at the city line in Queens to the Wantagh Parkway, the first section to open (on November 7, 1927) and the portion used to reach Jones Beach. The verdict? It appears that Sid Shapiro was right."

"Overall, clearances are substantially lower on the Moses parkway, averaging just 107.6 inches (eastbound), against 121.6 inches on the Hutchinson and 123.2 inches on the Saw Mill."

If buses have always about 118" that would be effective.

"Robert Moses and the saga of the racist parkway bridges" https://archive.md/zMrZ4 (https://www.bloomberg.com/news/articles/2017-07-09/robert-mo...)

"Robert Moses and His Racist Parkway, Explained." https://archive.md/v98HO (https://www.washingtonpost.com/politics/2021/11/10/robert-mo...)

newmana commented on A woman named "Steve" – IT pioneer, entrepreneur, philanthropist (2019)   computer.org/publications... · Posted by u/dxs
newmana · 2 years ago
Video from 1979 about F International (Dame Shirley's company) - working from home, as a computer a programmer, is the greatest revolution for working women since the pill. https://www.youtube.com/watch?v=b6URa-PTqfA&t=295s
newmana commented on Scientists discover why dozens of endangered elephants died   theguardian.com/environme... · Posted by u/adrian_mrd
ggurface · 2 years ago
Can you explain what the linked article has to do with the stated cause of the elephants dying, septicaemia?
newmana · 2 years ago
It's also worth noting, one of the author's of the paper: "Transmission of the bacteria is possible, especially given the highly sociable nature of elephants and the link between this infection and the stress associated with extreme weather events such as drought, which may make outbreaks more likely."

https://www.surrey.ac.uk/news/scientists-uncover-cause-myste...

Paper link: https://www.nature.com/articles/s41467-023-41987-z

Dead Comment

newmana commented on I have written a JVM in Rust   andreabergia.com/blog/202... · Posted by u/lukastyrychtr
haspok · 2 years ago
Nice project, congrats!

One thing struck me as a bit odd:

> In particular, it does not support: generics

What kind of support is there for generics in the JVM? Maybe I'm too naive to assume that due to type erasure on bytecode level everything is just an Object, ie. a reference type? Or do you mean the class definition parser - but then, you don't really have any checks in place to see if the class file is valid (other than the basic syntax)?

newmana · 2 years ago
They might be talking about the checkcast operation: https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.ht...

This is generated when you do something like: final Main value = list.get(0);

http://henrikeichenhardt.blogspot.com/2013/05/how-are-java-g...

newmana commented on Covid-19: The T Cell Story   berthub.eu/articles/posts... · Posted by u/xearl
nodamage · 5 years ago
> And wherever we look, infections level off before 10%-20% of the population is infected. This is somewhat mysterious.

This is not really true.

Bergamo had a 58% infection rate as of last month: https://bergamo.corriere.it/notizie/cronaca/20_maggio_22/ber...

Several prisons have seen infection rates in the 70-80% range: https://www.npr.org/sections/coronavirus-live-updates/2020/0...

The USS Theodore Roosevelt had an infection rate of 60%: https://www.cdc.gov/mmwr/volumes/69/wr/mm6923e4.htm?s_cid=mm...

A better explanation for the leveling off is simply that social distancing and lockdowns have reduced the spread of the virus.

newmana · 5 years ago
Sweden has achieved about 15% infection rate and has showed no signs of slowing.

https://www.smh.com.au/world/asia/new-beijing-outbreak-raise...https://www.worldometers.info/coronavirus/country/sweden/

newmana commented on Covid-19: The T Cell Story   berthub.eu/articles/posts... · Posted by u/xearl
newmana · 5 years ago
"It took nine days for the number of infections to grow from 6 million to 7 million, and less than eight days to get to the latest million, so the pandemic is not slowing down." https://www.abc.net.au/radio/programs/coronacast/the-global-...
newmana commented on Zork source code, 1977   github.com/MITDDC/zork... · Posted by u/braythwayt
butterisgood · 5 years ago
;"GLOBAL VARIABLES WHICH ARE MONADS MUST BE HERE!"

uh, hmmmm. 1977?

newmana · 5 years ago
"indivisible and hence ultimately simple entity, such as an atom or a person."

u/newmana

KarmaCake day51July 12, 2013View Original