Better HN
topnewbestaskshowjobs
Log inSign up

oftenwrong

15,025 karma · joined Apr 22, 2012 (14y ago) · 2,479 submissions

sfir6i2z@mailer.me
Submissions

comment 8y ago · link · parent

You could actually use ed [0] or you could split the file:

    split data.CSV; vim x*
[0] https://sanctum.geek.nz/arabesque/actually-using-ed/

comment 8y ago · link · parent

You make a good point - starting from scratch requires too much effort to see any reward, but I think a simple, relatively stripped-down system is easier to understand and easier to build upon. A batteries-included setup can be an impediment to learning. When something is working, there is less motivation to learn how it works. After all, how many Windows users ever take a look behind the curtain?

From my perspective, a stripped-down system is like a set of wood blocks, and a batteries-included system is like a doll house.

If you give a child a doll house, the child could reverse-engineer the doll house to figure out how it was built, and to customise it, but the child will probably just play with it as-is, and focus on setting up doll furniture and re-enacting domestic life.

If you give the child wood blocks, the child will have to build a house for the dolls. The child will have to figure out how to make it structurally sound, how to make a gabled roof, how to make holes in a wall for windows, how to make a porch, etc. Of course, if they have never seen a doll house, it may never occur to them to build one, but they will probably build something. Later the child may progress to customising blocks, or making new blocks, or even full carpentry, building upon the earlier skill-set.

But, like you say, if you just give the child a felled tree, it is unlikely that they will figure out how to turn it into blocks, or into a doll house, or anything really. It's too big of a leap for them to make.

comment 8y ago · link · parent

In practice it is typical to maintain a snapshot of the current state in a more-query-able form. In some systems, event writes and their corresponding snapshot updates occur within a transaction.

comment 8y ago · link · parent

The last thing an inexperienced terminal user should be doing is installing a bunch of software without understanding how it fits together, how it is used, or how it is actually configured. If you want to understand your terminal stack, build it; don't have it built for you.

The better approach is to start from a basic setup. For example, with vim, don't use vim-sensible right off the bat. Instead, just use vim. If a need arises, research what you can set up to address it. If you are curious about what is out there, read through the source of plugins like vim-sensible, taking each option, reading the docs for it, learning a bit of vimscript as needed, and only adding stuff to your vimrc if you really understand what you are adding. Don't add a bunch of things all at once. Do one at a time, and try it out for a while.

1565.

The Catch-22 of Retrofitting the Suburbs(strongtowns.org ↗)

1 points · by oftenwrong · 8y ago · discuss

comment 8y ago · link · parent

Text-only version: https://text.npr.org/s.php?sId=636845604

comment 8y ago · link · parent

repeating a previous comment of mine:

"What works for me is taking notes via email. Backing up, organizing, searching, and distributing email is more-or-less a solved problem, and my note-taking inherits those solutions. I can read and add notes from my phone and from my computer, with the ability to choose from a plethora of applications. I have multiple backups of my email around the world via standard email syncing. My email host has been 100% reliable in not losing my emails, as well. If I want to migrate to a different email host, that is trivial."

I wouldn't say my notes have much structure, though.

comment 8y ago · link · parent

You can disable images in some mobile browsers (e.g. firefox for android) [0]. That significantly knocks down the size of pages. I have mine set to only load images when on a wifi connection.

If you can use a desktop browser tethered through your mobile data connection, you can use the extension uMatrix [1] to selectively block scripts, css, images, outbound requests, and more. This would allow you to turn most pages into lightweight, text-only pages.

[0] https://support.mozilla.org/en-US/kb/block-or-load-images-ov...

[1] https://github.com/gorhill/uMatrix

comment 8y ago · link · parent

I don't think it's crazy to suggest that roads and the standard of living in some places could decline to the point that it becomes more common to use currently-outmoded methods to transport goods over land. What if the future sees:

- Oil production decline to the point of significant scarcity

- 20000km supply chains falling out of the profitability zone

- Under-funded municipalities on the edges of civilization not able to maintain their roads. Some parts of the United States are already starting to un-pave their roads: https://www.strongtowns.org/journal/2016/7/26/the-un-paving-...

- Large-scale decline in standard of living

...Et cetera.

Given enough neglect and time, everything we have built will crumble. When "developed" places fail, they will start to look more like "developing" places. Dirt roads, bicycles, working animals, reduced conspicuous consumption, and maybe even wheelbarrows as a seriously-considered form of transportation - all of it could return in the long-term.

comment 8y ago · link · parent

Hacker News addiction linked to staking your self-worth on...

comment 8y ago · link · parent

The article says: "Compared to a two-wheeled cart or a four-wheeled wagon, a wheelbarrow was much cheaper to build because wheel construction was a labour-intensive job."

1572.

The Chinese Wheelbarrow (2011)(lowtechmagazine.com ↗)

88 points · by oftenwrong · 8y ago · 33 comments

1573.

How Much Should Parking Cost?(newworldeconomics.com ↗)

1 points · by oftenwrong · 8y ago · discuss

comment 8y ago · link · parent

Despite all of the follow-up "improvements" other people have made, I still think this is the best one.

1575.

Going the wrong way: NYC’s new ride-hailing cap(cityobservatory.org ↗)

1 points · by oftenwrong · 8y ago · discuss

comment 8y ago · link · parent

>And best of all, you pay no subscription fee

The Prime-Member-only prices appearing at my local Whole Foods suggest that this may be increasingly untrue in the future.

1577.

A Paper In­ter­net(carlos.bueno.org ↗)

2 points · by oftenwrong · 8y ago · discuss

comment 8y ago · link · parent

Good point; some meaningful typesetting may be lost. Then again, if such a system were used, programmers would avoid writing code that made significant use of non-syntactically-relevant aspects of code. Furthermore, it might influence language designers to make documentation part of the language syntax.

comment 8y ago · link · parent

>Sure, some of these tomes may have been recoverable, but if they aren't historically valuable for some reason, why save it?

Future historical value is hard to predict.

Good example:

>Worse is the implication is that if something is not "sufficiently interesting", if it's not part of the story a society wants to tell about itself, it's worthless. The future disagrees about what is and is not important, and why. That's the defining characteristic of the future. No one today cares what the Rosetta Stone actually says [4], yet it is more important to us (as the key to hieroglyphics) than it was to the society that made it.

from http://carlos.bueno.org/2008/08/save-web.html

comment 8y ago · link · parent

The ultimate solution is to separate code display from code persistence.

A simple, if inelegant, way to achieve this: Use a standardised format on save. On read, pretty-print based on user-defined settings.

1581.

A Modern City for People Would Devote Less Space to Cars(streets.mn ↗)

2 points · by oftenwrong · 8y ago · discuss

1582.

“Why Are Developers Only Building Luxury Housing?”(strongtowns.org ↗)

1 points · by oftenwrong · 8y ago · discuss

comment 8y ago · link · parent

>"convert everything to internal UTC representation as quickly as possible, convert to local time as late as possible on the way out".

That's not a good approach to use for future events.

comment 8y ago · link · parent

Partially or fully caternary-free trams that utilise supercapacitors are already deployed in some cities like Guangzhou, China and Zaragoza, Spain. It is probably not too much of a stretch to extend this concept to trolleybuses. Like the trams, they can use charge points at stops either overhead or embedded in the roadway.

1585.

Mapping the Effects of California's Prop 13(strongtowns.org ↗)

3 points · by oftenwrong · 8y ago · discuss

comment 8y ago · link · parent

I don't think I understand this. Isn't the double-entry more of an implementation detail?

Instead of...

  entries: [
    Entry(side: .debit, account: cash, amount: Decimal(42)),
    Entry(side: .credit, account: revenue, amount: Decimal(42))
  ],
...you could have:

  debitAccount: cash,
  creditAccount: revenue,
  amount: Decimal(42)
In other words, why does the client need to care about multiple entries in the call. I just want to record that X amount was sent from account Y to account Z. You can atomically record that as two entries in the back-end.
1
525354
83