HNHacker News
TopNewBestAskShowJobs

bear8642

240 karma · joined November 18, 2019

submissionscomments
bear8642··on I Stopped Using Emojis
> https://emojipedia.org/smiling-face-with-smiling-eyes/

Following link, I'm surprised there's so many platform specific :) variants

bear8642··on Using IceWM and a Raspberry Pi as my main PC, sharing my theme, config and some
> but that is it.

The python demo games that come pre-installed are quite fun. The list includes snake, 15-slide puzzle, and fun flood it clones

bear8642··on The Greatest Regex Trick Ever (2014)
Know saying wrongish, but for multi-char-exclusion matching, can't you just do [^chars]?

So to search for words without any vowels just 'grep [^aeiou]'?

bear8642··on The Greatest Regex Trick Ever (2014)
> operator in regex.

regex is not regular expressions - if using NFA to match then you're matching all alternates simultaneously.

Russ Cox has good pictures explaining idea in 'Regular Expression Search Algorithms' section of <https://swtch.com/~rsc/regexp/regexp1.html>

bear8642··on Project Oberon Emulator in JavaScript and Java
>Lola hardware language

Huh - hadn't come across this before but very nice HDL

bear8642··on Terrible programming features from the past
> of course recursion is impossible.

Thought PDP-8 was used extensively for lisp at various locations.

Was recursion made possible by allocating memory elsewhere and using spare word as pointer?

bear8642··on For the Love of Troff (2020) [pdf]
> the Emacs info reader

Feel Plan 9's Acme editor also an excellent interface

- SEE ALSO section links via plumber (right click to view page)

- Acme's Font command gives flexibility

bear8642··on A Brief, Incomplete, and Mostly Wrong History of Programming Languages (2009)
What you mean? It extends til 2003
bear8642··on Why you should not use (f)lex, yacc and bison
perhaps because you want LALR or other techniques?

Can't remember why but my Compilers teacher (Adrian Johnstone, Royal Holloway) doesn't like PEGs - think due to parse forest not being generated?

bear8642··on Why bother with old technology? (2013)
> all sorts of old protocols, technologies, etc.

Indeed - recently discovered the Transputer and Connection Machine and their attempts to build and code parallel machines!

More modern examples of retro tech include Chuck Moore's GA144 a forth based 144 core asynchronous chip

bear8642··on Fitting a FORTH in 512 bytes
Fun after the fact.

type 1 is fun at the time

bear8642··on Fitting a FORTH in 512 bytes
Although turing machine tape emulatable via 2 stacks
bear8642··on Go 1.17 Beta
Could you expand this? Quite like Acme and wondered what you don't like about it
bear8642··on The Unix Game
Seems cool - though feel way to hide welcome pane would be nice as seems unnecessary once started and no obvious way to hide
bear8642··on Ask HN: Favorite Blogs by Individuals?
http://www.commandlinefanatic.com/cgi-bin/showpage.cgi?page=... is good deep dive into various topics. Enjoy the gzip explaination

Matt might's 'blog' https://matt.might.net/articles/ is good read about various functional ideas and others

https://aphyr.com/posts/342-typing-the-technical-interview funny post about how complicated balancing a binary tree could be

https://tratt.net/laurie/blog/archive.html some intersting posts about various aspects of programming language tools

bear8642··on Clojure by Example (2015)
Found walking through exercises of Clojure Koans useful
bear8642··on Forth: Stack-Manipulation Operators
> Forth has almost no syntax

Feel more Forth has no syntax - just space separated words defined either in assembly or other forth words

bear8642··on Windows 10 “Sun Valley” will do away with Windows 95 era icons
Feel some of the new ones you have to know what they are - the printer or the CD disc icon(3rd bottom row) both seem to hide the icon they're representing
bear8642··on Instant replay: Debugging C and C++ programs with rr
Indeed! Very useful for shell wrote as part of OS course last year.

Compiling with debug (-g in gcc) lets valgrind report which function's allocating lost memory

bear8642··on Nano 5.7
you joke, but ed is great if have tiny change to make given compiler output simply just to how fast it loads
bear8642··on Nano 5.7
Search replace in nano via "Where is" (^W), "Replace" (^R), "Regexp"(M-R).
bear8642··on How to Learn Unix Tools
the yacc and lex tutorial to build hoc is also excellent
bear8642··on Prolog for Beginners
Why do you need route?

Can't you just use the roads you've got as the base case and then say

road(X, Z) :- road(X,Y), road(Y,Z)

bear8642··on PostScript Language Reference (1999) [pdf]
You're very welcome.

For later exploration, JonesForth <https://github.com/phf/forth/tree/master/x86> is excellent exploration of Forth's internals.

There were quite a few Forth stories a month or so ago if want more resources.

bear8642··on PostScript Language Reference (1999) [pdf]
> a green book

Available at site above or via: https://www-cdf.fnal.gov/offline/PostScript/GREENBK.PDF

bear8642··on PostScript Language Reference (1999) [pdf]
Leo Brodie's book Starting Forth's good tutorial
bear8642··on PostScript Language Reference (1999) [pdf]
Indeed - and believe a green book existed documenting writing a PS printer driver.

Can't find it now but it's not the GREENBK.PDF available in link above, though might peruse that version

bear8642··on The On-Line Encyclopedia of Integer Sequences
Thanks for reminding me of this.

It's very useful identifying known patterns and also discovering new patterns by entering random number strings

bear8642··on The Cursed Computer Iceberg Meme
>lexicon

This the text editor?

>LISP, or manual garbage collect

This Lisp Machine garbage collection = reboot?

bear8642··on RFC8962: Establishing the Protocol Police
why? The confusion?
← PreviousPage 6 of 9Next →