HNHacker News
TopNewBestAskShowJobs

Figs

1,335 karma · joined February 18, 2008

submissionscomments
Figs··on Jeju Air Jet Crashes in South Korea With Over 170 Dead or Missing
If the plane can tell it's super low the ground -- low enough to sound an alarm for it -- and that's a common mistake... why not just have the plane automatically deploy the landing gear?
Figs··on Are Immutable Linux Distros right for you?
> SteamOS is not a general purpose OS

Uh... yeah it is. Have you ever switched it into desktop mode? I haven't pushed my Steam Deck as hard as my daily driver Linux system, but I've done all sorts of fun things on it like run a web server and write new Python scripts directly on the device. You can hook up a keyboard and mouse and monitor and use it like any other desktop Linux environment. It's basically just an Arch distro with KDE and some extra stuff on top to make it easy for people to run games.

Figs··on Hetzner raises prices while significantly lowering bandwidth (US)
PeerTube comes to mind.
Figs··on Australia: Kids under 16 to be banned from social media after Senate passes laws
Does anyone have a link to the actual text of the legislation?
Figs··on Undergraduates with family income below $200k will be tuition-free at MIT
> If you go back in time just a few decades, this is how it was: you paid for it, either in cash or with a PRIVATE loan, and people didn't see college as an automatic requirement. Then it was 1/10th as expensive.

...if you go back in time a few decades basically everything was about 1/10th as expensive.

e.g. "Adjusted for inflation, $1.00 in 1960 is equal to $10.43 in 2024" according to https://www.dollartimes.com/inflation/inflation.php?amount=1...

Figs··on Reddit banned me for developing Geddit
> Why would I want to do that?

Differences in policy. There are wildly different ideas about what is and isn't acceptable.

> Sure, you can pick a random one like fediverser.network apparently does. Looking at one line from the list, I see that r/manga points to ani.social/c/manga which has 561 subscribers, when lemmy.ml/c/manga has 3,480. What?

That's not random. There was drama. The lemmy.ml admins are hostile to a lot of anime-related content and drove off most of the community that was accumulating there last year. ani.social is where the active, non-tankie communities are now. It's run with what seem like fairly reasonable policies and actually welcomes the subject matter. If you were relatively happy with the handling of anime-related content on reddit a few years ago then the communities on ani.social are probably what you're looking for; it's a good recommendation.

Figs··on Firefox Power User Keeps 7,400 Browser Tabs Open for 2 Years
I've got a little under 200 tabs open right now in my main browser -- split into ~15 different groups with a plugin. I treat each as a little workspace for a project or subject I'm interested in and flip back and forth as needed. Keeping them open (although not necessarily loaded) is useful for preserving context (e.g. back button history, accounts logged in in the proper container, tabs arranged next to each other in a particular way for spatial memory, etc.) so that jumping back into something later is easy.
Figs··on Akiya houses: why Japan has nine million empty homes
> vacant home problem

> If each vacant home is occupied by a household of 2.76 [2], there are about 510 million vacant homes in China.

Considering the literal rows of tents that pop up outside my apartment because so many people can't afford the fucking astronomically high rents here in America anymore, that sounds like a FANTASTIC "problem" to have!

Figs··on China’s Moon atlas is the most detailed ever made
That's the one I mentioned before from 2022.

Note the date in the metadata: https://commons.wikimedia.org/wiki/File:The_geologic_map_of_...

i.e. 15 June 2022

Figs··on China’s Moon atlas is the most detailed ever made
That looks almost identical to the one from 2022. The only obvious differences that I see (besides "pre-proofs" watermarked all over it) are in the Geologic Time Scale table and the credits on the lower left.

The map itself looks the same as far as I can tell.

Figs··on Facebook snooped on users' Snapchat traffic in secret project, documents reveal
Clearly, they did not. California is an all party consent state. There is no reason to build a VPN snooping system if you have consent of all parties; Snap Inc could've just straight up given them usage information and/or direct access to monitor behavioral data and read conversations in the app if everyone consented. That would have been much cheaper and simpler if everyone consents. The entire point of building this system is that Snap Inc, at a minimum, did NOT consent. Additionally, I find it very likely that the other participants in conversations on the platform who were monitored did not consent either. The user who installed the app may have consented, but that is not good enough in California. ALL parties must consent.
Figs··on Facebook snooped on users' Snapchat traffic in secret project, documents reveal
What they did is a form of wiretapping. Everyone involved in this project should be fined and go to jail.

California Penal Code § 632 seems applicable: https://leginfo.legislature.ca.gov/faces/codes_displaySectio...

Other laws may also be applicable depending on where the victims were.

Figs··on Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
I wish AMD or Intel would just ship a giant honking CPU with 1000s of cores that doesn't need any special purpose programming languages to utilize. Screw co-processors. Screw trying to make yet another fucked up special purpose language -- whether that's C/C++-with-quirks or a half-assed Python clone or whatever. Nuts to that. Just ship more cores and let me use real threads in regular programming languages.
Figs··on Code is run more than read
NaN ≹ NaN
Figs··on OpenAI staff threaten to quit unless board resigns
Maybe I'm misunderstanding something, but didn't Mozilla Foundation do that a dozen or so years earlier with their wholly owned subsidiary, Mozilla Corporation? (...and I doubt that's the first instance; just the one that immediately popped into my head.)
Figs··on datetime.utcnow() is now deprecated
I may have been a bit over the top there. :p

TIMESTAMP WITH TIME ZONE just sets off my lingering issues from an old project.

All the other posts in this thread misunderstanding it really demonstrate the point about it being a source of recurring confusion though!

Figs··on datetime.utcnow() is now deprecated
> If your database supports TIMESTAMP WITH TIME ZONE -- which the "aware" type per the article's terminology -- you should be using it.

NO!!! IT IS NOT THE SAME AT ALL!

I've been burned by that exact misconception. TIMESTAMP WITH TIME ZONE does NOT store a timezone in the database!

It implicitly converts a timestamp you supply into UTC and DISCARDS the associated timezone information you provided. When you read it back, it converts it to LOCAL time unless you explicitly specify a different conversion. This is a recurring source of confusion and bugs. The timezone a timestamp was actually written in is sometimes VERY important -- and I've personally had to deal with data loss on a project caused by this misconception.

Let me repeat: There is NO WAY to read back what timezone a "TIMESTAMP WITH TIME ZONE" was written with later -- unlike an "aware" datetime in Python -- BECAUSE IT DOES NOT ACTUALLY STORE THE TIME ZONE YOU SUPPLIED! This is a data type that DESTROYS INFORMATION YOU PROVIDED TO THE DATABASE assuming it can be clever later.

I fucking hate that data type SO much.

An "aware" datetime in Python actually tracks a timestamp with a specific timezone explicitly attached to it. It is VERY different!

Documentation for Postgres:

> For timestamp with time zone, the internally stored value is always in UTC (Universal Coordinated Time, traditionally known as Greenwich Mean Time, GMT). An input value that has an explicit time zone specified is converted to UTC using the appropriate offset for that time zone. If no time zone is stated in the input string, then it is assumed to be in the time zone indicated by the system's TimeZone parameter, and is converted to UTC using the offset for the timezone zone.

> When a timestamp with time zone value is output, it is always converted from UTC to the current timezone zone, and displayed as local time in that zone. To see the time in another time zone, either change timezone or use the AT TIME ZONE construct (see Section 9.9.4).

https://www.postgresql.org/docs/current/datatype-datetime.ht...

Python:

> Date and time objects may be categorized as “aware” or “naive” depending on whether or not they include timezone information.

> With sufficient knowledge of applicable algorithmic and political time adjustments, such as time zone and daylight saving time information, an aware object can locate itself relative to other aware objects. An aware object represents a specific moment in time that is not open to interpretation.

[...]

> For applications requiring aware objects, datetime and time objects have an optional time zone information attribute, tzinfo, that can be set to an instance of a subclass of the abstract tzinfo class. These tzinfo objects capture information about the offset from UTC time, the time zone name, and whether daylight saving time is in effect.

https://docs.python.org/3/library/datetime.html

Figs··on Scientists Are Researching a Device That Can Induce Lucid Dreams on Demand
Get in the habit of checking if you are dreaming. Try doing something that you know can't happen but imagine it will work while trying it. e.g. Jump while imagining that you will start floating instead of landing back on the ground. Hold your hand up and imagine your coffee mug will jump into it. If you do stuff like that regularly -- every day -- then eventually you will do one of the tests in a dream too but instead of failing like it would in waking life, it will play out how you imagined it.

Just don't get in the habit of immediately dismissing the idea that you are in a dream. I did that once -- asked myself if I was in a dream and thought "of course not!" because I'd gotten in the habit of dismissing the tests -- and was very annoyed when I woke up... Test the idea seriously every time it occurs to you.

I found it kind of a tedious thing to do and eventually fell out of the habit, but it worked well enough for me that I was able to have a few lucid dreams.

Figs··on Scientists Are Researching a Device That Can Induce Lucid Dreams on Demand
> Do you guys actually control your dreams? How do you keep bad things from happening?

I've only had lucid dreams a few times, but my experience with dreaming -- both lucid and the regular kind -- is that dreams seem to work on anticipation; what you expect to happen next is more or less what happens next. If you think "there better not be a monster under my bed..." there's gonna be a monster under your bed because you're anticipating a monster.

Once you realize you're dreaming you can exercise some control over it by basically willing things to happen -- imagine your finger extending to push a button on the other side of the room, anticipate the feeling of the touch of the button, and it will stretch. I did that as an "am I dreaming?" test once and became lucid briefly before waking up.

Be careful about your expectations though -- I've done other dream tests where I just asked myself if I was dreaming and immediately dismissed it as not a dream since I'd gotten in the habit of immediately dismissing the tests in waking life! I was really annoyed when I woke up and realized what had happened...

In one of the dreams I became lucid in, I tried flying and was able to do that successfully but almost immediately became worried I'd crash into a ditch, so of course I crashed into a ditch and woke up.

> More importantly, do you remember anything when you wake up?

I've always woken up from lucid dreams (as far as I know, anyway) so I remember them the same as waking from a vivid dream or nightmare.

Figs··on Beej's Guide to Network Programming (1994-2023)
The responses you've got so far aren't wrong, but there's an easier way to think about this:

Connectionless: Drop a postcard in the mail and stop thinking about it. Maybe it gets there, maybe not.

Connection-oriented: Start a correspondence. If you don't get a response after a while, send your letter again. If you get parts 1, 2, and 4 you say "Hey, I missed #3, send that again please!" You keep thinking about the flow of conversation whether you have a message in hand right now or not.

The "connection" is in your memory. On a computer, that may involve persistent memory use on network hardware, by your OS kernel, and in the program sending the messages while the connection exists.

Figs··on Texas man sent to death row over junk science denied US Supreme Court appeal
Huh. It's just occurred to me that Superman was an illegal alien... I'm not all that well versed in comic book lore though; did he ever actually get naturalized?
Figs··on Why don’t Americans eat mutton?
NZ population: ~5 million people, ~25 million sheep
Figs··on NASA’s Webb finds carbon source on surface of Jupiter’s moon Europa
Not exactly what you're asking, but it might be helpful to know that they're not planning to take a direct flight there. NASA is planning to use gravity assists off of Mars in Feb 2025 and Earth in Dec 2026. They can launch it MUCH more cheaply that way but it'll take about 3 years longer than a direct flight.

There's an animation of the planned trajectory on Wikipedia: https://en.wikipedia.org/wiki/File:Animation_of_Europa_Clipp...

Figs··on AWS IPv4 Estate Now Worth $4.5B
North Korea supposedly has its own intranet with IPs in the 10.0.0.0/8 private range: https://en.wikipedia.org/wiki/Kwangmyong_(network)

I have no idea how they manage IP allocation internally there though.

Figs··on Ask HN: What is the purpose of the “press any key” screen in video games?
Most cases I'm familiar with are from old games with an attract mode or games made by people who grew up with those games and imitated that behavior.

Attract mode serves two practical purposes: drawing customer interest in stores and preventing screen burn in by varying the content on the display periodically. Basically, it's a built-in trailer plus screensaver -- someone just turns on the game in a store and the demo runs itself unless you press a button to start playing.

Figs··on Ask HN: How could I hire someone in Bangalore to watch me for 8 hours a day?
You might have to try a couple therapists before you find the right one -- I'm on number three personally (with many years and much denial in between) -- but when you find one who you work well with it can be very helpful. Your desire for weekly analysis of your feelings and help debugging motivational issues is generally up their alley; I check-in with my therapist once a week via video call and our sessions often explore what's going on when I have low motivation. You might consider giving it another go, but up to you. Keeping a daily journal -- if you don't already -- may also be useful.

Regardless, I wish you the best of luck with your challenges and hope you find a solution that works for you.

Figs··on Ask HN: How could I hire someone in Bangalore to watch me for 8 hours a day?
> It probably isn't far off to describe my struggle to manage these as mental illness rather than a productivity hurdle

You might try asking your healthcare provider for help finding a therapist or social worker. They can help you assess the issues you are facing in a way that's different from what you'd get from friends or family (for example such discussions are generally confidential), and they can check-in with you regularly if that's useful for managing your problems.

Figs··on Subdomain.center – discover all subdomains for a domain
Non-public usage doesn't necessarily mean that only devices under your direct control need access. Slack needs access to some of my organization's systems, for example, to support the way we collaborate on our projects -- but the general public doesn't and would likely just be confused if they stumbled into one of our infrastructure subdomains instead of visiting our public website.
Figs··on Unity is offering a runtime fee waiver if you switch to LevelPlay
Am I misunderstanding something here? This seems like a racket scheme! (As in a "shame if some 'hacker' on 4chan were to 'install' your already shipped game a million times a second racking up our new fee... unless you do what we want" type of extortionary deal.)

Has anyone called the FBI about this?

Figs··on Exploring EXIF
> the EXIF data marker (FFE1)

This isn't quite right. That's a JPEG application specific marker (APP1). It indicates that some additional data is embedded in the JPEG file at that point which should be interpreted in an application specific manner (e.g. skipped if the program doesn't know how to handle it). That could be Exif tags but could also be other things (like XMP). An APP1 segment can be distinguished as Exif data based on the presence of the "Exif" string immediately after the segment size. (The tags themselves are stored in essentially a TIFF file embedded after the Exif identifier, if you're curious.)

← PreviousPage 3 of 14Next →