HNHacker News
TopNewBestAskShowJobs

sigjuice

1,677 karma · joined May 12, 2011

https://stackoverflow.com/users/78720/sigjuice?tab=profile
submissionscomments
sigjuice··on Building an Intelligent Emacs
I just got started on Go and I am quite satisfied with eglot for now.
sigjuice··on Ask HN: What do you do with your homelab?
Lol. Same here. I had to get rid of my gear to make space for actual furniture :)
sigjuice··on Apple removes Python 2.7 in macOS 12.3 beta
At least for me, homebrew emacs isn’t that useful. It is terminal-only.
sigjuice··on Apple removes Python 2.7 in macOS 12.3 beta

  export BASH_SILENCE_DEPRECATION_WARNING=1
sigjuice··on SSH Bastion Host Best Practices
Is finer grained control over TCP forwarding possible? e.g. allow forwarding only to certain TCP ports?
sigjuice··on How to find a domain's authoritative nameservers
Running dig without any additional arguments also does the same thing.

  $ dig
  ...
  
  ;; QUESTION SECTION:
  ;.    IN NS
  
  ...
sigjuice··on Should you use Let's Encrypt for internal hostnames?
Yes, the scope of the leak would be limited. But if a privkey.pem file from one of the hosts of my network is leaked, how do I “immediately” know which host the leak came from?
sigjuice··on NASM Assembly Language Tutorials
Portions of a program or library might be written in assembly for performance. This list should give an idea of the type of software that does this

  $ cd /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula
  $ grep depends_on.*nasm * | sed 's,:.*,,' | xargs grep desc
  dav1d.rb:  desc "AV1 decoder targeted to be small and fast"
  dssim.rb:  desc "RGBA Structural Similarity Rust implementation"
  ffmpeg.rb:  desc "Play, record, convert, and stream audio and video"
  handbrake.rb:  desc "Open-source video transcoder available for Linux, Mac, and Windows"
  isa-l.rb:  desc "Intelligent Storage Acceleration Library"
  jpeg-turbo.rb:  desc "JPEG image codec that aids compression and decompression"
  libass.rb:  desc "Subtitle renderer for the ASS/SSA subtitle format"
  libavif.rb:  desc "Library for encoding and decoding .avif files"
  libvmaf.rb:  desc "Perceptual video quality assessment based on multi-method fusion"
  lrzip.rb:  desc "Compression program with a very high compression ratio"
  mozjpeg.rb:  desc "Improved JPEG encoder"
  mvtools.rb:  desc "Filters for motion estimation and compensation"
  openh264.rb:  desc "H.264 codec from Cisco"
  openj9.rb:  desc "High performance, scalable, Java virtual machine"
  pce.rb:  desc "PC emulator"
  ppsspp.rb:  desc "PlayStation Portable emulator"
  rav1e.rb:  desc "Fastest and safest AV1 video encoder"
  vapoursynth.rb:  desc "Video processing framework with simplicity in mind"
  x264.rb:  desc "H.264/AVC encoder"
  x265.rb:  desc "H.265/HEVC encoder
sigjuice··on RPi Pico: 100BASE-T with cheap ethernet PHY module
Could this be turned into a USB Ethernet adapter for regular computers?
sigjuice··on How do I transfer files from Linux to iOS and vice versa via local WLAN?
This might work

An open Apple AirDrop implementation written in Python

https://github.com/seemoo-lab/opendrop

sigjuice··on Ask HN: What Operating System are you running on your main machine?
Ubuntu 20.04 at work and macOS at home.
sigjuice··on Redo: A recursive, general-purpose build system
Looks like gcc does not plan to do this https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28810
sigjuice··on Redo: A recursive, general-purpose build system
If a /usr/include/x.h were to appear, wouldn't that have lower priority than the x.h in the current directory and therefore not change the build?
sigjuice··on Redo: A recursive, general-purpose build system
make doesn't really understand C or C dependencies, but the compilers usually do. Here is a minimal example that will take care of dependencies by passing -MD -MP to gcc or clang. The dependencies (*.d files) get generated as part of the normal gcc/clang invocations. There is no separate dependency generation step.

  $ cat Makefile
  CFLAGS := -MD -MP   
  hello: hello.o x.o y.o
  -include *.d

  $ echo '#include "x.h"' > x.c
  $ echo '#include "y.h"' > y.c
  $ touch x.h y.h
  $ echo 'int main(void) {}' > hello.c

  $ make
  cc -MD -MP   -c -o hello.o hello.c
  cc -MD -MP   -c -o x.o x.c
  cc -MD -MP   -c -o y.o y.c
  cc   hello.o x.o y.o   -o hello

  $ touch x.h

  $ make
  cc -MD -MP   -c -o x.o x.c
  cc   hello.o x.o y.o   -o hello
sigjuice··on Why Is C Faster Than Java (2009)
Is there a term for this phenomena yet? "if another language is being discussed, Rust must be forced into the discussion, no matter how tenuous the connection"

Rustrusion

sigjuice··on List of 4,248 open source programming languages
The title is misleading. I don't see "open source" mentioned anywhere on this page.

e.g. it is very unlikely that all the Basic variants listed here are open source.

sigjuice··on Raspberry Pi holds its own against low-cost ARM NAS
Is there a specific Synology NAS model with this restriction?

I happen to have Western Digital drives in my Synology DS920+.

sigjuice··on Which programming language or compiler is faster
The phrases "compiled language" and "interpreted language", despite their widespread use, are not particularly sound concepts. There are plenty of languages that have both compilers and interpreters.
sigjuice··on Which programming language or compiler is faster
What does it even mean for a language to be faster?
sigjuice··on Apple Helps Asahi Linux
Is there another interview that goes into the details of Apple's boot setup goals?

https://www.youtube.com/watch?v=Hg9F1Qjv3iU&t=3785s

In this one, Craig Federighi says “We’re not direct booting an alternate operating system. Purely virtualization is the route. These hypervisors can be very efficient, so the need to direct boot shouldn’t really be the concern.”

sigjuice··on Apple Helps Asahi Linux
It is a huge assumption that Apple is explicitly doing anything for the benefit of Asahi Linux. Apple likely has their own reasons for doing whatever they are doing.
sigjuice··on How to use dig
dig can also be used to make mDNS queries.

  dig -p 5353 @224.0.0.251 raspberrypi.local
sigjuice··on Lego has designed a set that can't be taken apart
Looks complicated. Just stack the 2x1 sandwich on a larger place. Pop off the topmost 2x1 with the brick separator tool. Then pop the second one off the larger plate. My 5-year old just showed me :)
sigjuice··on The IPv4 Cleanup Project
printer.local
sigjuice··on Business Essentials
It depends on one's preferences and circumstances. I got a new M1 MacBook recently and I took my time setting it up from scratch.

A few years ago, I had my MacBook stolen. I was up and running within a few hours after getting a new Mac and restoring from my Time Capsule. Dealing with the aftermath of a car break-in (thanks San Francisco!) and a new computer at the same time was going to be a bit much for me.

sigjuice··on IPv4 addresses are silly, inet_aton(3) doubly so
Also http://0177.1
sigjuice··on Why can't Facebook App allow to select text in it's iOS App?
It isn’t great because it adds an extra step, but on iOS 15, parts of text can be copied from screenshots.
sigjuice··on Linux from Scratch with Training Wheels
Why include a keyboard and gpu only to use -nographic later?
sigjuice··on Writing a “bare metal” operating system for Raspberry Pi 4
Yeah, C is really easy to interface with assembly language.

Doesn't necessarily have to involve assembly!

https://duckduckgo.com/?q=c+interpreter

sigjuice··on Ask HN: Are there faster but 100% compatible Raspberry Pi alternatives?
A Raspberry Pi is needed to run Mathematica legally.

https://www.wolfram.com/legal/agreements/wolfram-mathematica...

← PreviousPage 3 of 34Next →