HN user

blikdak

8 karma

Jack Vance rules OK.

Posts0
Comments40
View on HN
No posts found.

What bugs me is the sheer number of people, and organisations, who still link to images and video or '1/20' long screeds on twitter, while the next article on their own site is bitching about how bad twatter/owner/politics etc is. Seriously if a site, blog, forum etc you know ever links to twitter then just stop interaction with them, they're lazy mofos need to do their own groundwork.

I dunno what mess they got into with basic tumx use but yeah, just re-assign your ctrl^ key between local and remote and change your cursor and border colour you are fine. Scrollback on Windows, even using Terminal or Putty is, to me, a fail. Tell me 'cause it's a huge problem for me.

A dam is many things; is it for generating electricity? Is it political or ideological? Does it give a geographical advantage? Is it extortionate? Is it for drinking water? Is it beavers? This thing doesn't explain what it thinks a dam is.

Yes. Try adding 1 to a number which is already (in binary) all '1's. If you don't know the size of a byte, or an 'int' or a 'long int' etc for the language you are using you will be mystified why it is now 0, or maybe some other number your language decided was sensible to use (signed vs. unsigned etc). Then extrapolate that times 100 when dealing with floating point etc and presenting a sensible total in your shopping cart web app. If you don't know this stuff learn it or stay away from programming.

I just ran a synthesis of their include demo Blinky and it ended with:

End of script. Logfile hash: 00b456ea46, CPU: user 3.19s system 0.13s Yosys 0.10.0 (git sha1 a743417f0, clang 12.0.0 -fPIC -Os) Time spent: 63% 17x read_verilog (2 sec), 6% 1x synth_xilinx (0 sec), ...

11/21/21 12:03 PM > Finished running Yosys with status: 0

(!!!)

AWS has a free tier for a year after signing up. A 'tiny' instance for webserver with letsencrypt on for your free ssl/tls certificates. You can automate backups via snapshots, though make sure they delete automatically after a week or so. I would recommend you use MySQL instead of SQlite, use RDS free tier there, SQlite not so good with concurrent connections and definately not if people are adding their own information. Look into haproxy as your gateway so you can scale to multiple servers if need to but not be tied into AWS specific Route 53, if you set it up right you can basically grab the configs, site source, files etc and a database dump and run it on a Raspberry PI in your home if you need to and have a static IP. Try not to get tied into one specific cloud provider too and keep shopping around for free or better deals. You can have a web presence for no money except your DNS registration with a little bit of tinkering and looking around.

Organization of code seems to be an issue - with OOP it's part of the methodology and design process, code and data goes together into this named class which goes into a file and does what it's called. In FP there isn't an obvious way to seperate out your concerns while making it easy to find and maintain code. Once IDE's, annotations etc catch up this will be less of an issue, but for now I'm tending towards a hybrid approach of classes which operate mostly immutably except for where persistence of state is required, ie very little other state than that which eg mapped to a database.