HNHacker News
TopNewBestAskShowJobs

bigtrakzapzap

61 karma · joined August 15, 2019

submissionscomments
bigtrakzapzap··on Ask HN: Alternatives to Atlassian Confluence?
tl;dr, check these sites:

https://www.wikimatrix.org

http://wiki.c2.com/?TopTenWikiEngines <- origin of the word "wiki" ( http://wiki.c2.com/?WikiWikiWeb )

Having setup the whole Atlassian on-prem SSO suite of apps on Linux with Git and LDAP talking to AD on Windows, it depends on your needs, as there are a variety of different wiki/collaboration solutions with different capabilities. I've also used these:

- Dokuwiki (very simple, text file-based)

- Mediawiki (LAMP / database-backed)

- SharePoint (MS $$)

- Quip

Others to look at (including sometimes CMSes)

- OneNote

- Liferay

- Drupal

- Statamic

- WordPress

Also, Confluence has tons of plugins for customization and can be made to be fast with proper configuration.

bigtrakzapzap··on A Trailblazing Plan to Fight California Wildfires
I'm sitting in Paradise, CA right now with only one neighbor's home left visible among dozens. There are about 1/3 as many tall trees (mostly pines 30m/100 ft tall) as before since the loggers have monetized them, P&GE didn't want to take any risks when rebuilding the power grid and the city/county/state motivation for future fire remediation. (IMO, the haphazard removal of trees is quite ugly and unnatural.) The policy of putting out all fires quickly set the stage for tragedy, leading to what was feared most. Living at the urban-wildlife interface needs resilient, prepared dwellers who safeguard their structures and allow fires to burn around without threatening lives or property.
bigtrakzapzap··on Banned C standard library functions in Git source code
These shouldn't be used either (_s are available in C11, _l tend to be locale-parameter thread-safety, and _r have sizes/state for bounds/thread-safety):

- strtok -> strtok_r / strtok_s

- asctime -> strtok_r / strtok_s

- gmtime -> gmtime_r / gmtime_s

- localtime -> localtime_r / localtime_s

- ctime -> ctime_r / ctime_s

- dirname -> dirname_r

- basename -> basename_r

- devname -> devname_r

- readdir -> readdir_r

- ttyname -> ttyname_r

- gamma -> gamma_r

- lgamma -> lgamma_r

- lgammaf -> lgammaf_r

- lgammal -> lgammal_r

- atoi -> atoi_l

- atof -> atof_l

- atol -> atol_l

- atoll -> atoll_l

- gets -> gets_s

- scanf -> scanf_l / scanf_s

- fscanf -> fscanf_l / fscanf_s

- sscanf -> sscanf_l / sscanf_s

- tmpfile -> tmpfile_s

- fopen -> fopen_s

- getenv -> getenv_s

- strdup -> strndup

- strcmp -> strncmp

- strlen -> strnlen

- (Multibyte/wide conversion functions without mbstate_t parameter)

- wcslen / wscnlen -> wcsnlen_s

- wcsncasecmp / wcscasecmp_l / wcsncasecmp -> wcsncasecmp_l

- strcasecmp / strcasecmp_l / strncasecmp -> strncasecmp_l

- bzero (use explicit_bzero, in some cases)

- calloc, realloc -> reallocarray (for arrays of non-byte items)

- memmove -> memmove_s

- strncat -> strncat_s

- strncpy -> strncpy_s

- srand / rand -> rand_r

There are others that are platform-specific. Thread-safety, internal mutable state (not thread-safe), and buffer-overflows are the primary concerns that aren't necessarily applicable in all situations.

bigtrakzapzap··on Upmem Puts CPUs Inside Memory to Allow Applications to Run 20 Times Faster
No pun intended, I remember IRAM. Then there was Tilera and Tabula (MPPA/MIMD). https://en.wikipedia.org/wiki/Massively_parallel_processor_a....
bigtrakzapzap··on Ask HN: What are your favorite short and concise books?
War is a Racket - Smedley Butler (2x Medal of Honor, Marine General)
bigtrakzapzap··on Best books to learn about manufacturing
TWW is a great book.

Another book on the TPS: https://www.amazon.com/dp/0915299143

I would look beyond books to seek out great organizers, leaders, and organizations in manufacturing. Dell is another good example. There are many others spread around the world.

bigtrakzapzap··on Is Science Political?
;)

Speaking of history and the Cold War, a worthy docuseries to face some uncomfortable facts of the US' post-WW2 behavior: Oliver Stone's Untold History of the United States. Even Gorbachev wrote an opinion on the subsequently-released book.

https://www.netflix.com/title/80127995

bigtrakzapzap··on The Hong Kong Way
Isn't the biggest problem of HK people vs. PRC central govt is that the primary goal seems to be getting everyone in HK and the mainland to live by the same laws (regardless of transfer of sovereignty agreements between UK & PRC), and so allowing freedoms in HK would effectively mandate the same freedoms in the mainland as well?
bigtrakzapzap··on Some People Pay $30 to Get a Referral for Google
I'd like to know how hard it is for other people starting out these days, what's worked for them. I'm not one to ask as I get hounded by Google/Alphabet recruiters every 3-6 months to co-design a role in entry-management/team-lead (SRM) or SWE/SA-SRE.

I'd suggest focusing on one of Go, Rust, Haskell, Elm or Elixir in addition to the customary C++17 or Java/Kotlin... and get some useful packages up on open repos.

bigtrakzapzap··on Introducing nushell
No, that's your opinion, not mine. It's a flaw because it creates escaping magic, delimiters that are in-band (spaces) and every program has to know how to parse the output of every other program, wasting human time and processing time. Structured communication, say like an open standard for a schema-less, self-describing, flexible de/serialization like protobufs/msgpack, would be far superior, more usable, more efficient and simple but no too simple to process streams of data with structure and programmability already there.

Being able to dump structured information out of an exception directly into a log, and then from a log into a database, without any loss of information or extraneous log parsing, is a clear win. Or from a command as simple as listing files ("ls") into a database or into any other tool or program. Outputing only line-oriented strings is just throwing away type information, and creates more work for everyone else, even more so than continuing to stay with lines processing tools.

bigtrakzapzap··on Introducing nushell
Wow. Impressive usability OOTB. Great job!
bigtrakzapzap··on The Oral History of the Super Soaker
I remember having a SS 50, 100 & 200 back in the day. And filling up water balloons the old-fashioned way. Now kids have the automatic water balloon fillers and smart phones. Do most kids even still have water fights in the summer or do people get too offended or are too busy helicopter parenting to let kids have any fun?
bigtrakzapzap··on Introducing nushell
The key flaw of UNIX philosophy is destructuring deserialization and reserialization based on lines, necessitating all manner of argument escaping and field delimiters, when pipelines should be streams of typed messages that encapsulate data in typed fields. Logs especially (logging to files is a terrible idea, because it creates log rotation headaches and each program requires a log parser because of the loss of structured information) also. Line-oriented pipeline processing is fundamentally too simple. Settling on a common data simple/universal format robust enough for all purposes, including very large data sets, to exchange between programs and is just complicated enough to eliminate escapement and delimiter headaches without throwing away flexibility (by a new/refined set of processing tools/commands) is key.
bigtrakzapzap··on Security flaws caused by compiler optimizations
Basically, every kernel needs an explicit_bzero() system call because it's very difficult to assure data flow properties of de/initialization without something the compiler cannot optimize away.
bigtrakzapzap··on Attorney General Barr and Encryption
Yes. We went through this same fight with the Clipper chip already, but we can have it again with these incompetent, ignorant, appointee bureaucrats.

It's a solved political, human-access issue that doesn't need an easily-hackable technological hammer in search of a nail: if they can get a warrant, then they demand the password or one goes to jail. Adding backdoors would inevitably give unimaginable power to a host of foreign governments, random hackers and political adversaries... little good could ever come from it that couldn't come from warrants and traditional channels of legally-compelling disclosure without the damage to the already tenuous image of the integrity, security, and trust in most every type of system. The attack surface of modern, complex systems is big enough without a hole the punches right through it if you have the master key to everyone. For example, think of the immense risk and target posed by a master escrow key database, and some random subcontractor losing or "losing" a laptop, compromising everyone.

bigtrakzapzap··on Inside a Poundland computer mouse [video]
This, 1e6 times. CS/EE here and my father had an electrical automotive shop, and my grandfather and did a HeathKit electronics-by-mail course... and I still didn't have a solid grasp of practical electronics until the lives of Dave of EEVblog, AvE, Bigclive, ElectroBOOM, Strange Parts and working an internship at a GPS manufacturer.

There ought to be some engineering/trades cross-training required even if not going into that trade if one produces things that that trade will encounter.

Also, there ought to be an electronics-by-mail course subscription of not just basic electronics but moving towards advanced knowledge, theory, techniques, and their applications. People would buy it if it were consistently good and had support behind it.

bigtrakzapzap··on Inside a Poundland computer mouse [video]
Is that the notorious and difficult-to-find Presto Hotdogger (snausage/tube-steak electrocutioner apparatus)?

https://duckduckgo.com/?q=presto+hotdogger

bigtrakzapzap··on Inside a Poundland computer mouse [video]
Big clive on HN. Hurray!

He earned my respect from a video on a USB charger with an electrocution risk and why you should never buy cheap USB chargers. https://youtu.be/3Hdn0MuCK_0

bigtrakzapzap··on It's Gotten Too Hard to Strike It Rich in America
Yeap. And for average people, that leaves a hollowed-out middle-class and not-yet-automated/underpaid tasks like caregiving, teaching, nursing, police, retail sales, retail foodservice, Amazon warehouse stocking, TaskRabbit and Uber driving. People are rightly freaking-out because their existences are threatened while simultaneously others are discussing who's going to be the first trillionaire (much more of the wealth created is only going to the very rich). It seems rational to argue that incel and domestic terrorists, rising homelessness and opioid epidemics are indirectly influenced by the socioeconomic fall-out of rust-belt decay.

Infographic video of how bad it really is: https://youtu.be/QPKKQnijnsM