Better HN
topnewbestaskshowjobs
Log inSign up

porlw

276 karma · joined Apr 21, 2010 (16y ago) · 93 submissions

Enterprise software hacker - integrating and making commerce systems more flexible for the past 15 years. hn@phred.org.uk
Submissions

comment 2y ago · link · parent

This can easily be done with a small shell script and standard linux commands.

   #!/usr/bin/bash
   
   MAILTEXT=$(grep "dbkey" db.txt)
   
   cat emails.lst|while read ADDR NAME
   do
      mail -s "Subject" $ADDR <<EOT
   Dear $NAME

   $MAILTEXT

   EOT
   
   done
Schedule with cron.

2.

Can this drone design break the Guiness World Record? [video](youtube.com ↗)

1 points · by porlw · 2y ago · discuss

comment 2y ago · link · parent

Another reason is that farming machinery compacts the soil.

Techniques such as min-till and no-till aim to minimise soil disturbance (to reduce emissions from deep ploughing and improve soil fertility), but to achieve this you really need to make sure the equipment accurately follows the same path through a field every time, so that the area affected by compaction is mimimised.

Not a farmer, I learned this from the youtube channel Harry's Farm.

comment 2y ago · link · parent

grep has a bad interaction with set -e, since it (infuriatingly) exits with 1 if no lines are matched.

comment 3y ago · link · parent

I remember back in the day these were used by the A86 assembler to identify code assembled with the unregistered version of the software.

comment 4y ago · link · parent

I think it was because in the 80's the US was wealthier and systems with disk drives were a lot more common.

People would swap games on disk, and there was less pressure to learn how the underlying system works.

Having a disk drive also enables more complex, larger games, which would be harder to produce as a lone programmer.

Contrast this with the UK - we had much less money, it was common to type games in from magazines, which is how a lot of us learned programming.

We mostly had to make do with tapes, which limits the size of a game and its sound and graphics to physical RAM. It was entirely possible as a lone programmer to create a commercial level game with a few weeks of late night hacking.

comment 4y ago · link · parent

The thing I miss about Usenet is maintaining article and comment scoring in trn (based on the subject, keywords and/or author)

With this I could easily surface interesting articles or replies by insightful people, while avoiding subjects and authors in which I had no interest.

This worked at a thread level, so I could quickly see any new threads, and new replies added to threads I was following, skipping over everything I had already marked as read.

For me this was more effective than the communal post scoring that took over on web forums, reddit, hn etc.

comment 4y ago · link · parent

I'm curious - are there any features of System/360, that we don't have in modern operating systems, that would be worth implementing?

comment 4y ago · link · parent

1) The contracting scene in the UK is massive, that's where a lot of the higher paying UK tech jobs are. I suspect this skews the salary averages.

2) I'm in South Africa, I've recently been approached on linked-in to (quote) "Earn a US based salary working remotely from South Africa". So it seems some US recruiters are starting to look further afield.

comment 5y ago · link · parent

It's not really a conspiracy, just the natural outcome of design optimization - any part that still works reliably at the end of the design lifespan is a candidate for cost cutting in the next iteration.

comment 5y ago · link · parent

Tyres are breeding grounds for mosquitos, shredding them stops this so this law is having the intended effect.

https://blog.epa.gov/2015/08/26/improperly-stored-tires-lead...

comment 6y ago · link · parent

There is an interesting series of videos on Youtube about harvesting energy from gutter flow: https://www.youtube.com/watch?v=S6oNxckjEiE

comment 6y ago · link · parent

Ben Eater's Youtube series building a simple CPU from scratch was a real "lightbulb" moment for me. After 40 years of programming (including Z80 assembly back in the 8-bit days), it took my understanding of the CPU from a mysterious black box to what's basically a simple look-up table and some control signals.

comment 7y ago · link · parent

What I find fascinating is that Lisp, commonly perceived as too high level to be practical, is actually at its core (in its original implementations!) an incredibly low level language.

comment 9y ago · link · parent

The problem is latency, which actually will get worse as bandwidth increases.

1 request pulling down 1 Mb can be quicker than 4 requests for 10Kb each.

comment 10y ago · link · parent

Typically an architect's design would need to be signed off by a structural engineer before construction begins. The structural engineer would take on the liability for safety critical aspects of the design.

The architect and engineer would presumably collaborate to ensure that the design is at least clear enough to be safely built.

comment 10y ago · link · parent

Use my new app!

It's a special folder.

When you put an app in the folder it will DELETE the app from your phone and store it like a symlink. When you try to open the app from the folder it will install it again for you.

Think of all the subscription money you will save!

Only $5 per month.

comment 11y ago · link · parent

Soooo...

What happens when an errant grep wanders in to the directory holding these persistent pipes?

comment 11y ago · link · parent

Double that to get the agency rate, and no one wants an app completely designed by juniors, you'll need at least one senior resource and probably a PM.

comment 11y ago · link · parent

The politically correct HR unit for worker resources is FTE (Full Time Employee)

comment 11y ago · link · parent

I'm in South Africa, and I'd say realistic rates would be about double.

comment 11y ago · link · parent

Eros and KeyKOS had some very interesting ideas in addition to capabilities.

Global process persistence meant that you could pull the plug on a running system and start it back up right where it left off. It was constantly journalling system activity onto permanent storage. This also provided some level of system roll-back, kind of like a database but applied to the whole OS and all its activities.

Something like that could be very useful on low power intermittent use devices like smartphones.

comment 12y ago · link · parent

In the UK they've had a similar concept called Premium Bonds for over 50 years.

comment 12y ago · link · parent

Handling cash costs money too - security guards, safes, deposit runs, counting.

comment 12y ago · link · parent

Interesting. I wonder how does this compare to:

1) Buying every month

2) Only buying at some set period after each correction (e.g. market drops x% over 7 days).

Are there any online tools that make it simple to work out these ideas?

comment 12y ago · link · parent

I think that in most large companies the efficiencies produced by economies of scale are mostly captured by the management hierarchy (in terms of executive compensation and the support apparatus provided by consultants)

And why not? - the main shareholders are institutional investors who can't manage investments in hundreds of small companies, so it's not like they're going to take their money elsewhere.

comment 12y ago · link · parent

Maybe Google should buy IBM.

comment 12y ago · link · parent

I'm not so fussed about ads I can ignore, but (along with analytics and stuff like social media buttons) - they all add latency to web browsing with extra DNS lookups and HTTP requests.

It's especially bad on mobile.

So no matter how nice, useful or relevant the advertising is, unless it's hosted on the site I'm visiting, it will probably be blocked.

comment 12y ago · link · parent

You know, you're right - that does sound a lot like Erlang.

Which is generally considered an extremely pragmatic language.

I guess it all goes back to the Actor model and the origins of OO in Simula.

comment 12y ago · link · parent

I'm starting to think that different programming styles are more suited to different levels of abstraction - maybe you can program in an OO style at a high level, use functional style code for the low level implementation.
1234