275 karma · joined May 28, 2015
Also the ubiquitous visitor counter, uploading assets with ftp, cgi-bin, styling in html, animated gifs, midi soundtracks, “in construction” signs, random links to pages the “webmaster” liked.
There was a thread about it recently: https://news.ycombinator.com/item?id=29062736
The research on this problem eventually led to the invention of Lambda calculus and the Turing machine (formal languages for computing), which proved that such a project is impossible, as on some inputs they infinitely recurse and can’t output True or False.
https://en.wikipedia.org/wiki/Entscheidungsproblem
The source is Martin Davis, 2000, Engines of Logic
Developers need a chat tool alongside the IDE. I was saddened when the ReasonML/ReScript community closed their chat for this reason.
It might make the title less click-baity, but it's a completely different one.
I set up a shell.nix file on my projects, and together with direnv the environment switches with the right dependencies for each project.
Shameless plug, I wrote about this recently on medium: https://link.medium.com/cYkKMtdHRkb
Together with that, I agree that one should read the high literature before inventing a new writing style.
By the way, if anyone is interested in a modern, affordable, nostalgic incarnation of the DX7, check the “reface” edition.
I also translate all nix to JavaScript in my brain
I tried many times to use rss but found the ecosystem to be terrible.
Angular provides an environment mechanism at buildtime, so they expect us to create a docker image per environment, which is not our practice with other microservices in our pipeline. We’re used to kubernetes configMaps.
We used a docker docker runtime script + envsubst as above. However we used it to provide key/values to the window object (inside a template script tag), to be picked up by a proper Angular “AppConfig” service.
I’m not very happy with this solution as it might scare the next maintainers, specially if they don’t know about our ci/cd and backend. The source code is also peppered with little comments about this workaround, which is not ideal.
For anyone interested, this is an excellent introduction to some of the concepts: https://web.archive.org/web/20060210112754/http://cns-alumni...
Fourier analysis is currently used in "Image processing to remove periodic or anisotropic artifacts such as jaggies from interlaced video, strip artifacts from strip aerial photography, or wave patterns from radio frequency interference in a digital camera."
Also, "JPEG compression uses a variant of the Fourier transformation (discrete cosine transform) of small square pieces of a digital image. The Fourier components of each square are rounded to lower arithmetic precision, and weak components are eliminated entirely, so that the remaining components can be stored very compactly. In image reconstruction, each image square is reassembled from the preserved approximate Fourier-transformed components, which are then inverse-transformed to produce an approximation of the original image."
Source for both quotes: https://en.wikipedia.org/wiki/Fourier_analysis
Brendan Eich advanced a Scheme-like scripting language for Netscape, which got a facelift from Java’s popularity.
“Scheme was the bait I went for in joining Netscape. Previously, at SGI, Nick Thompson had turned me on to SICP.”
“The diktat from upper engineering management was that the language must “look like Java”.“
“I’m happy that I chose Scheme-ish first-class functions”
JS actually made a few functional concepts mainstream, such as first-class and anonymous functions, and callback patterns.
Source: https://brendaneich.com/page/5/
In the switch statement it becomes a Sum value (as shown in the article).
In ReScript (shown as well, which uses OCaml under the hood) the syntax is that of a Variant, in which each element is a different nominal type.
The other takeaway is to foster Win-win situations as opposed to zero-sum games.
https://news.ycombinator.com/item?id=27808113
In it I add midi sounds to the system handlers from nodejs’ event loop.