News for hackers. Stuff that matters.

jmiserez

Re:Infinite Mac: Infinitemac.org on Wednesday March 29, 2023 @02:51AM (#35353558)
Marathon is still alive!

AlephOne is the new engine for Marathon, which runs all 3 games on modern platforms and is GPL: https://alephone.lhowon.org/

The original Mac OS 9 game files are also freely available if you want to run them on a old Mac: http://trilogyrelease.bungie.org/

Re:Ask HN: Programs that saved you 100 hours? (2022 edition) on Tuesday December 20, 2022 @05:49PM (#34073943)
Give hstr a try: https://github.com/dvorka/hstr

It's saved me countless hours over the years as it's just so much better than regular CTRL-R. I also find it to work better than fzf.

Re:Git Notes: Git's Coolest, Most Unloved­ Feature on Monday November 28, 2022 @01:24AM (#33770376)
No that's not the same thing, in fact that'll just do a git rebase, changing the commit itself and all commits after that one. Pretty much the polar opposite of what you want!

IntelliJ products try to provide a common interface and common naming for all "VCS" operations, whether it's Git/Mercurial/etc. In practice this obscures the actual Git operations though and requires learning yet another set of "abstract" IntelliJ-specific names for the same thing. I wish they'd stop doing that, it's really confusing and inaccurate.

Re:Photography for Geeks on Monday November 28, 2022 @12:33AM (#33770138)
No magic and the same photons, but you can have the hardware sensor read them out differently. Specifically using varying amounts of analog gain (amplification) before doing ADC (analog to digital conversion), minimizing noise. This differs between cameras/sensors.

See the "ISO-Invariance and Downstream Electronic Noise" part here: https://www.lonelyspeck.com/how-to-find-the-best-iso-for-ast...

I don't often hack my own tools either, but it's great to have the possibility to do so.

When you really need that bug fixed for your edge case or platform, it's much easier to submit a patch rather than wait around for someone else to fix it.

Re:macOS Ventura is now available on Monday October 24, 2022 @05:28PM (#33322883)
Ventura even drops support for the 2016 (Touchbar) Macbook Pros which is frustrating. The machines are certainly powerful enough. But support for Intel Macs will probably be dropped sooner rather than later.
Re:What ID3v2 could have been on Wednesday June 08, 2022 @07:23AM (#31665770)
Usually the whole row is copied, updated, and then appended to a different file on disk. After some time a job runs that removes the unused rows by deleting them for good, thus rewriting files and compacting the database. This has lots of advantages, on a small scale resilience against power outages (journaling), and on a large scale you can e.g sync a second DB / backup by just streaming appends.

Simplifiying a lot here of course. E.g if your DB uses MVCC (multiversion concurrency control) old values cannot be removed until the last transaction is done seeing them.

Of course if you write your own storage engine you can do whatever you want. I wrote one for MariaDB a few years ago and you basically just have to implement the minimally required interfaces for it to work.

DBs traditionally have these technical details figured out pretty well, and the line between what is part of the DB and what is done by the OS can be blurry at times.

Re:Ask HN: What are some good keyboards? on Saturday March 05, 2022 @11:37AM (#30568947)
The version with MX Silent switches is considerably quieter than the standard MX Red version. I'm hoping the Kinesis 360 coming out this year will be even quieter.
Re:Hypercard Simulator on Sunday January 30, 2022 @04:14PM (#30141164)
>I guess a the height of hypercard, that really wasn't really on people's radar.

It didn't matter yet. People were shipping the software they made in HyperCard to customers on floppies or CDs. IIRC these were self-contained executables, so you didn't need to have HyperCard installed for it to run. One of the most famous examples of this was Myst: https://en.wikipedia.org/wiki/Myst.

Re:LG’s new 16:18 monitor on Wednesday December 22, 2021 @10:12AM (#29650338)
FancyZones (part of Microsoft PowerToys) works well for me. I also like the fact that it's first-party, free and open-source:

Project page: https://github.com/microsoft/PowerToys

FancyZones docs: https://docs.microsoft.com/en-gb/windows/powertoys/fancyzone...

Re:LG’s new 16:18 monitor on Wednesday December 22, 2021 @09:23AM (#29649685)
I wonder why they couldn't go just a bit wider to make it 2880x2880 (1:1 and the same number of pixels as 4K), instead of 2560x2880.
Re:Why Wolfram tech isn’t open source (2019) on Sunday December 19, 2021 @11:39AM (#29615353)
I'd also recommend the classic "The Cathedral and the Bazaar" essay by Eric Steven Raymond:

http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral...

From Wikipedia:

>In 1998, the essay helped the final push for Netscape Communications Corporation to release the source code for Netscape Communicator and start the Mozilla project; it was cited by Frank Hecker and other employees as an outside independent validation of his arguments.

Netscape's public recognition of this influence brought Raymond renown in hacker culture.

Re:Kinesis Advantage 360 on Saturday December 18, 2021 @04:00AM (#29602999)
With the Advantage 2 you got 4 extra keycaps in the box: 3 Mac keys and an additional Alt key to replace the Windows one.

For the Advantage 360 they're saying 11 additional keycaps in the box. I'm sure one of those is a Windows key replacement.

Apparently he uses [1] a "Advanced Cable Tester v2" from Totalphase for his tests, starting at 15000$. Probably depends on what you need to test.

[1] https://www.reddit.com/r/UsbCHardware/comments/ny4y6z/commen...

Regardless of model it's a good idea to put a emergency hammer / glass breaker in your car. (addendum: also to rescue someone else, not blaming the driver)
It absolutely is written down. The issue is that the results you get from modeling systems using queuing theory are often unintuitive and surprising. On top of that it's hard to account for all the seemingly minor implementation details in a real system.

During my studies we had a course where we built a distributed system and had to model it's performance mathematically. It was really hard to get the model to match the reality and vice-versa. So many details are hidden in a library, framework or network adapter somewhere (e.g buffers or things like packet fragmentation).

We used the book "The Art of Computer Systems Performance Analysis" (R. Jain), but I don't recommend it. At least not the 1st edition which had a frustrating amount of serious, experiment-ruining errata.

Re:Pixel prevented me from calling 911 on Thursday December 09, 2021 @05:42AM (#29495928)
To be honest that doesn't sound good at all. No response while you're in an actual emergency and then just "closing the ticket" unless you call again.
Re:Apple broke up with me on Sunday December 05, 2021 @06:59AM (#29448628)
You can register domains for >1 year. You'll still need to renew it every year but you'll have a buffer in case something goes wrong.
>fruity i associate with citric acid.

Minor exception: "Exotic" fruits like mango or pineapple may mean there are fermentation flavors present, e.g. with naturally processed beans (vs washed process).

Good introduction by James Hoffmann: https://youtu.be/O9YnLFrM7Fs (decoding descriptions starts at 12:53)

Re:Ask HN: How do you manage your personal documents? on Wednesday November 10, 2021 @07:14AM (#29173823)
I've found - after trying several apps and custom scripts to do OCR - that the easiest most convenient solution is to just get a printer/scanner combo that does the PDF & OCR directly in hardware. That usually means something targeted towards SMBs that works standalone (in my case a Canon). I.e. specifically not a consumer device: the consumer units usually rely on separate client-side software for doing the OCR processing which complicates the workflow.
Re:IPv4 addresses are silly, inet_aton(3) doubly so on Wednesday November 03, 2021 @05:03AM (#29092419)
It is the same topic, but OPs post goes into much more detail for the integer overflow example and a.b notation.
Re:Java 17 / JDK 17: General Availability on Saturday September 18, 2021 @03:42AM (#28574437)
The --illegal-access argument is removed, see JEP 403: https://openjdk.java.net/jeps/403
Re:MangaDex infrastructure overview on Tuesday September 07, 2021 @02:15AM (#28441502)
640KiB is very little and I'm wondering if it's a typo, given that the servers had 1-2TiB available. Postgres 9.0 released in 2010 already had 32MiB as the default for shared_buffers (with a minimum of 128KiB): https://www.postgresql.org/docs/9.0/runtime-config-resource.... and 8.1 released in 2005 used 8MB (1000*8KiB): https://www.postgresql.org/docs/8.1/runtime-config-resource....
It's like living in a noisy apartment or on a busy street. Yes noise does fade into the background but subconsciously it still affects concentration/sleep/mood/creativity/etc. You won't know what you're (not) missing until you try it without the noise.
Ophcrack works too, at least if the underlying machine still runs Windows XP: https://en.wikipedia.org/wiki/Ophcrack
Re:PAM Duress – Alternate passwords for panic situations on Monday August 23, 2021 @04:32AM (#28273497)
Banks themselves tell you not to give out their info, so that scenario plays out more often than you think. I've had it happen and they just sent a letter by mail instead.
It's slightly slower with the mirrorless systems because you have to wait until the viewfinder is ready before looking through it. It's fast enough, but the viewfinder is black while the camera is off.
IMHO the issue is getting a genuine one. There are a lot of fake chargers around and even reputable retailers get duped by suppliers. So unless you can buy from Samsung directly, I think Apple is the safer bet. You can walk into any of the Apple Stores or order directly and be 100% sure you're getting the genuine product.
Verifying you have your environment and search paths setup correctly.

From the man page:

> -w, --where, --path, --location

Don't actually display the manual page, but do print the location of the source nroff file that would be formatted.

Older »