HNHacker News
TopNewBestAskShowJobs

Cieplak

6,168 karma · joined September 30, 2011

λ𝑓.(λ𝑥.𝑓(𝑥 𝑥))(λ𝑥.𝑓(𝑥 𝑥))
submissionscomments
Cieplak··on Adam Savage on Lists, More Lists, and the Power of Checkboxes
Emacs org-mode has awesome support for checkboxes:

https://orgmode.org/manual/Checkboxes.html

Cieplak··on Why You Shouldn’t Use “Markdown” for Documentation
Posted this because I started exploring Asciidoc recently as a medium for documentation. Here’s a link for the last time this was posted:

https://news.ycombinator.com/item?id=11292280

Markdown is incredible and probably the best tool for writing simple documentation. I started using asciidoc recently due to its native support for table of contents, links and the excellent support for tables. Was inspired by Ciro Santilli’s use of asciidoc for his documentation projects. Ultimately tools are tools and nothing is perfect, but hope that this might also inspire people to increase their documentation game.

Cieplak··on Alloy*: A Higher-Order Relational Constraint Solver
Was recently asking the exact same question, and this is the best answer I found regarding some of the limitations of Prolog:

https://faculty.nps.edu/ncrowe/book/chap14.html

Cieplak··on Period Three Implies Chaos (1975) [pdf]
Took Dr. Yorke’s undergraduate course on dynamical systems at Maryland. By far my favorite course ever. Interesting to note that the result discussed in this paper was independently discovered a few years earlier by Sharkovskii [1].

[1] https://en.wikipedia.org/wiki/Sharkovskii's_theorem

Cieplak··on The infrastructural humiliation of America
Who needs transportation infrastructure when you have F22s, B2 Spirits, Ohio-class submarines and aircraft carriers?
Cieplak··on Applying programming language research ideas to transform spreadsheets
This is amazing and much-needed progress for Excel, which I think is arguably one of the greatest software products ever (except perhaps the web browser).

Unfortunately for Excel, it’s essential to Microsoft’s product strategy for keeping people on Windows, which means that Excel on other platforms feels almost as if it were sabotaged compared to the “native” experience in Windows. I feel like Excel could really thrive if only it could separate itself from the mothership and focus on its own interests.

Cieplak··on RunJS
Guessing it’s an Electron app, in which case it’s more along the lines of a desktop-packaged website.
Cieplak··on Google wins U.S. approval for radar-based hand motion sensor
Interesting tidbit:

The Federal Communications Commission (FCC) said in an order late on Monday that it would grant Google a waiver to operate the Soli sensors at higher power levels than currently allowed.

Cieplak··on Amazon Quantum Ledger Database
Is it possible to comply with GDPR while using this to store data? Given that it operates like an append-only log, is it possible to actually remove data to comply with a GDPR request?
Cieplak··on Oceans 'soaking up more heat than estimated'
The nuclear explosions would send massive clouds of dust high into the stratosphere, blocking so much sunlight that a nuclear winter would result. Global temperatures would plunge 20°C to 40°C for several months, and remain 2 - 6°C lower for 1-3 years. Up to 70% of the Earth's protective stratospheric ozone layer would be destroyed, allowing huge doses of ultraviolet light to reach the surface. This UV light would kill much of the marine life that forms the basis of the food chain, resulting in the collapse many fisheries and the starvation of the people and animals that depend it. The UV light would also blind huge numbers of animals, who would then wander sightlessly and starve. The cold and dust would create widespread crop failures and global famine, killing billions of people who did not die in the nuclear explosions. The "nuclear winter" papers were widely credited with helping lead to the nuclear arms reduction treaties of the 1990s, as it was clear that we risked catastrophic global climate change in the event of a full-scale nuclear war.

https://www.wunderground.com/resources/climate/nuke.asp

Cieplak··on Sort by Controversial
If we can’t have the list of scissor statements, I wonder how much work it would be to generate the lists. He mentioned spending a few k on AWS resources, but shouldn’t be that expensive if you already own a few workstations and servers with decent GPUs.
Cieplak··on Show HN: Flexible command line tool to create graphs from CSV data
Definitely seems like a nice API on top of matplotlib.

I’ve started using gnuplot a lot after hearing Brendan Gregg mention it a few times. It fills a great niche for making decent graphs without having to write code.

http://gnuplot.sourceforge.net/demo/

Cieplak··on The Big Hack: How China Used a Tiny Chip to Infiltrate Amazon and Apple
It sometimes feels like certain hardware protocols were designed to be insecure. I remember reading about IPMI issues back in 2013:

https://www.itworld.com/article/2708437/security/ipmi--the-m...

Cieplak··on Show HN: A new protocol for packet radio including ECDSA and compression
If you every want to listen to ham packet radio in the US, tune your radio to 144.390 MHZ and it sounds like a modem :)
Cieplak··on Data visualisation, from 1987 to today
No discussion of data visualization history is complete without mention of Edward Tufte's The Visual Display of Quantitative Information.

https://www.edwardtufte.com/tufte/books_vdqi

Cieplak··on Learn You a Haskell for Great Good
Haskell is hard, mainly because it's normally not a first language, and the first language people learn probably has Algol-like syntax (e.g. C, Java). I think Erlang is a bit easier to learn due to having fewer features, and for me was the gateway drug to Haskell. It let me learn to program with recursion instead of loops, and pattern matching instead of `if`s. The type system is the best part of Haskell, but unfortunately it makes it very easy to get stuck when starting out ("IO String" vs "String", "ByteString" vs "Text"). It's well worth the investment, though, to get a tool that lets you develop concise code like Python/Ruby but gives you strong guarantees of correctness. Also worth noting the incredible ecosystem of libraries and tooling, like stack and intero:

- https://docs.haskellstack.org

- https://commercialhaskell.github.io/intero/

Cieplak··on We Don’t Run Cron Jobs (2016)
Thanks for sharing these. In my case, I needed a system capable of sending payments at precise intervals, ensuring that a single payment was sent exactly once, despite the job being shared by a group of servers (for redundancy and high availability). Postgres provides the central locking, so tasks can be handed out to the pool of workers, while also supporting failover by streaming to a warm-standby replica.
Cieplak··on We Don’t Run Cron Jobs (2016)
Here’s a fairly objective metric for comparing the complexity of deploying Jenkins vs Postgres:

https://github.com/geerlingguy/ansible-role-jenkins

https://github.com/geerlingguy/ansible-role-postgresql

Two ansible roles by the same author, supporting both Centos and Ubuntu. Not hugely different in complexity IMO. Installing Postgres on FreeBSD, though, is little more than

    pkg install postgresql10-server
    sysrc postgresql_enable=“YES”
    service postgresql initdb
    service postgresql start
Cieplak··on We Don’t Run Cron Jobs (2016)
Cron works great when you don’t need to guarantee execution, e.g., if a server goes down. Unfortunately, all the alternatives are pretty heavyweight, e.g., Jenkins, Azkaban, Airflow. I’ve been working a job scheduler that strives to work like a distributed cron. It works with very little code, because it leans heavily on Postgres (for distributed locking, parsing time interval expressions, configuration storage, log storage) and PostgREST (for the HTTP API). The application binary (~100 lines of haskell), polls for new jobs, then checks out and execute tasks. The code is here if you’re interested:

https://github.com/finix-payments/jobs

It compiles to machine code, so deploying the binary is easy. That said, I’d like to add some tooling to simplify deploying and configuring Postgres and PostgREST.

Cieplak··on Shamir's Secret Sharing
One of my favorite Shamir implementations:

https://github.com/codahale/shamir

Cieplak··on Gource – a software version control visualization tool
Recently rediscovered tig (Text-mode interface for Git) and have been loving it:

https://jonas.github.io/tig/

Cieplak··on A Decade of Lattice Cryptography (2016) [pdf]
Thank you for taking the time to explain that; I was struggling to understand exactly what a lattice is and isn’t, and your description cemented my understanding.
Cieplak··on Ask: How do you apply “programmer’s” efficiency in everyday life things?
This reminds me a lot of Marie Kondo's book, The Life-Changing Magic of Tidying Up, which had a huge impact on how I organize things.
Cieplak··on R generation
If you want to sprinkle some type safety onto your R, check out this lovely piece of kit:

https://tweag.github.io/HaskellR/

Cieplak··on Ask HN: How do you backup your files without depending on a third party service?
ZFS.

ZFS snapshots and clones are like git for your entire filesystem. ZFS replication over ssh is like rsync but more efficient. ZFS supports multiple compression methods so you can optimize for latency or compression ratio. Zpools let you add new disks and grow your filesystem without having to mess around reformatting. Zpools support various redundancy configurations so you can survive disk failures. It also supports checksumming so you can monitor and prevent data corruption.

https://www.freebsd.org/doc/handbook/zfs-zfs.html

Cieplak··on Health Insurers Are Vacuuming Up Details About Customers
Just clicked for me why “healthcare” companies spend so much money on hard discs and data storage.
Cieplak··on A Parable by Dijkstra (1973)
Since we're talking about Dijkstra, thought I'd bring up the letter he wrote to the University of Texas when they replaced Haskell with Java in their introductory programming course:

https://chrisdone.com/posts/dijkstra-haskell-java

https://www.cs.utexas.edu/users/EWD/OtherDocs/To%20the%20Bud...

Cieplak··on Cancer and mobile phones
Microwave effects on plasmid DNA (1987)

https://www.ncbi.nlm.nih.gov/m/pubmed/3575652/

Probably not significant if you have a good immune system, which is constantly cleaning out mutated cells. Sunlight, which is good for you, absolutely does cause cancer, but you don’t see conspiratorial articles about UV radiation.

The part about 5G was interesting though. I wonder if it could be weaponised, say by compromising a base station and beam forming a signal at full power (plus harmonics) at a target in possession of a cellphone.

Cieplak··on Dhall – A Distributed, Safe Configuration Language
Gabriel gave a great presentation on Dhall at Bayhac this year:

https://www.youtube.com/watch?v=Ih9Ngu7FlCc

Cieplak··on Ask HN: As a team lead how to handle project going off the rails?
Not sure if there’s a silver bullet, but there are certainly lead bullets. I found this really helpful:

https://hbr.org/2015/01/what-everyone-should-know-about-mana...

← PreviousPage 3 of 20Next →