Hacker Newsnew | past | comments | ask | show | jobs | submit | kolleykibber's commentslogin

Have to mention World Possible (https://worldpossible.org/) here. They are doing amazing similar work, with rpis and Intel CAP servers.

They also have Datapost (https://datapost.site/map) which uses android phones as data carriers between the remote location and the Internet, for email, stats and updates.


I'm having a play on the PPC640 with a Gotek running Flashfloppy with fd720-fat.img

It's erroring after the mount with panic:No init or sh found SYSTEM HALTED. BOOT:

The computer is unreponsive at the boot: prompt.

I've tried a few different settings in the ff.cfg, but no joy. Could it be a Gotek issue?


Open up an issue on GitHub and we can help you better. The usual reason for problems like this is the layout of the image is incorrect on GoTek, and/or the GoTek is set to the wrong CHS (cylinders/head/sector) for the image being used.


Also worth trying would be the 1440k image, as that's the later standard 3.5" floppy format.


Everything should be made as simple as possible, but no simpler


Having played with a few of these systems, I still feel something like a slightly broken Amstrad CPC6128 or ZX Spectrum offers the better learning experience. You get to understand the minds of the designers back in the 80s.


Well that post just cost me a couple of hours.

And still 136 bytes off 431:

  #define p printf 
  int main(){const char *g[]={"A Partridge in a Pear 
  Tree.\n","Two Turtle Doves, and","Three French Hens,","Four 
  Calling Birds,","Five Gold Rings,"," Geese-a-Lay"," Swans- 
  a-Swimm","t Maids-a-Milk","e Ladies Danc"," Lords-a-Leap"," 
  Pipers Pip","Twelve Drummers Drumm"};
  const char *d[{"First","Second","Third","Four","Fif","Six","Seven","Eigh","Nin","Ten","Eleven","Twelf"};for(int i=0,j;i<12;i++){p("On 
  the %s%s day of Christmas\nMy true love sent to 
  me\n",d[i],i>2?("th"):"");
  for(j=i;j>=0;j--){p("%s%s%s\n",j>4&&j<11? 
  d[j]:"",g[j],j>4?"ing,":"");}}}


You can shave 25 more by using printf as is, removing "const", removing spaces between char and *, and removing parenthesis around "th".


Are those consts really necessary? There are also a few character missing after char *d.


> Are those consts really necessary?

Technically yes, initializing a plain char * from a const char * (from array decay) is a constraint violation (an error the standard requires the compiler to detect and complain about) even in C89. Many compilers will let you off with a warning though.


which characters are missing?


"]=" after "*d["


It's not necessary in C.


   const char *d[{"First","Second",...,"Twelf"};
is not a valid C unconditionally.


You should tell my compiler.


Good times. I built a wardialler out of one of those science fair 150 in one kits and an Atari st using an rs232 data line to bounce a relay. found plenty, but the fun ended when the 400 quid bill came in. Endless paper rounds.


i've backspaced over trying to be nice but i don't think you a) could've made the dtmf tones, b) matched the impedance, c) modulated the serial signal even if you made a connection

please prove me wrong


They’re describing pulse dialing, not tone dialing. Totally doable using a toggleable serial port pin and some basic electronics.


Could you give some examples of these interesting things?


There was a Solar Powered Vinyl Tent touring the festivals in the UK last summer. A bunch of records to flick through, a player and a few deckchairs. It really was a wonderful thing.


Doesn't seem to have done Salesforce any harm.


Tellingly, those pro users would never choose to migrate back to Windows for a more consistent UI.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: