skysight-inc/HackerNews huggingface dataset:
> The code may be a mess, the variables may have names like 'foo' and 'bar' but I commit to have a last known good state. If I start mass refactoring and break the unit tests, I can revert everything and start over.

For that use case, if you are sure you don't want the intervening history in the main source repository, is to keep your “scratch” commits to a local store. This could be a branch, or a separate repo.

For my work areas I have a timed rsync taking snapshots, and can kick it off manually if I want to make a snapshot for a specific time (just finished debugging a major function, for instance). If there have been no changes since it last run the snapshot is not kept (just a note added to a file to say one was considered at that time). Identical files are all hard-links to the same data so it is pretty space efficient unless you have some large assets that change regularly. This has the advantage that I don't even have to remember to commit to anything: the snapshot is automatically taken regularly. Rolling back is manual, but rarely needs to be done and can be done easily for small parts of the update if the rest needs to stay.

Every now and then, as this is just backing up temporary work status, clear down snapshots older than a given point in time. Using a source control repo and auto-committing to that would work as well as creating filesystem based snapshots like I do I should think, but all my other backups were rsync+snapshot based when I set this up so I just repurposed existing scripts for the job.

> I'm forever aware disks can fail. I'm not leaving a day's worth of work on my local drive and hoping it's there the next morning.

Keep the snapshots on a different drive, or even a different machine (they are mostly in my case, though “just because it happened to get laid out that way” rather than by thoughtful design). Mine are even covered by daily off-site backups so if the place burns down overnight I still don't lose them (or at least absolutely no more than a day's worth). Just be careful with rsync, if you use this method, due to the many hard-links as the --hard-links option can be quite CPU and memory intensive, and if your backups are usually append-only you'll need to occasionally wipe old snapshots that are long since irrelevant.
Animal’s Behavior Is Mechanically Programmed
But how is it a personal bias if I never run into these technical issues to deal with in the first place?
>Anyone want to sign my "Anti kitten shredding" motion?

Before that, a ban on kitten juggling[0] is needed.

[0] https://cinemacats.com/the-jerk-1979/
> SG-1 was an epic show, but where would you take it next?

I'm being 50% sincere, but SG-2? (I know they were in the show sometimes, but hand-wave)

To me, the show was best with the Go'uld tie-ins with Ancient Earth mythology. Give me more of that, with that smooth, melodramatic pacing and I'm in.
I'm quite surprised to see this community be so on board with the "Oh really, the obvious saucer was lens glare and not aliens?" train.

USAF and reitred officals have gone on record to say that they actively release doctored footage and/or false narratives, sometimes via pop culture figures, to muddy waters on current technology or to sow discourse among enemies. This reeks of n example of that, and not aliens.

https://en.wikipedia.org/wiki/Mirage_Men
Your CLI wish is our command (1Password)
You can have the best of both worlds -- "commit early, commit often", and "nice clean commit histories" -- with git, and it is easier than most people think.

- So you start work on a new branch, and reach a checkpoint. Create a new commit with "git commit".

- Continue working, and when you reach the next checkpoint, create another commit. But this time, use "git commit --amend". Contrary to what the flag says, this doesn't modify the previous commit, instead it modifies your commit history and replaces the last commit with a new one[1]. So instead of having two new commits in your branch's history, you only have one.

- Repeat the process until you have something worth pushing to the remote.

- Once you've pushed to remote, remember to not make any further modifications to your git history[2] i.e. going forward, create a new commit and only then run "git commit --amend".

Now, there's an obvious question here: if "git commit --amend" keeps replacing the last commit with a new one, what happens when you mess things up and want to revert to NOT the last checkpoint, but some checkpoint before that?

The trick here that git has up its sleeve is called "git reflog". You see, while "git commit --amend" replaces the last commit in your branch's history with a new one, the older commit is not actually gone, its still there. And you can see all of them with "git reflog". Basically "git reflog" returns every commit at which the local HEAD (i.e. the commit checked out in your working directory) has been. So none of the commits that you replaced with --amend are actually lost, and you can find them all in the reflog.

Restoring to an older checkpoint becomes as easy as running "git reset --hard <previous-commit-id>", or if you want to play safe, "git checkout -b <new-branch-name> <previous-commit-id>".

Hope this helps!

Notes:

1. By design, a commit, or in fact most objects in git cannot be modified. They are immutable.

2. Basically you can play with git history as long as it is private to you and not shared with others. But the moment you push it to a remote you share with others it's no longer private and you must not modify that history anymore. Read Linus's note on keeping a clean git history: https://www.mail-archive.com/dri-devel@lists.sourceforge.net...
For smartphone, Android is way bigger and harder to replace so I don't think it will come any time soon but ChromeOS might be a good candidate for kernel and core components replacement. It looks like they've made Chrome running on Fuchsia, an absolute minimum requirement for Chromebook.

https://9to5google.com/2022/03/04/full-google-chrome-browser...
all we need is grep for audio and video and I'm good.
For course information see: http://15462.courses.cs.cmu.edu/spring2020/
The Apple Studio Display
> git gui
git: 'gui' is not a git command. See 'git --help'.
The most similar commands are
gc
grep
init
pull
push
Is this also why civilian IR devices are typically slow and/or very low resolution, or alternately very expensive?

My fire department thermal imaging cameras are a few thousand CAD. A smaller, palm-sized one from FLIR is several hundred dollars, but the frame rate is very low. I have a Seek model that plugs into my phone, and while very inexpensive, it's definitely at the tail end of capability. (Still fun though.)

In comparison, I have had a tour of a medical transport helicopter, and got to try the pilot's NVG goggles. It's light intensification rather than IR, but an impressive upgrade from the Starlight scope I got to use in the 80s.
Captcha puzzles cloak phishing page URLs in emails
> lambda-typed lambda calculus

That’s the first time I (consciously) come across the term "lambda-typed" (as opposed to generic "typed lambda calculus"), and a quick Google search didn’t turn up any easily digestible description. Could someone provide more insight on what is meant by "lambda-typed" and how it works?
It’s an OSI relevance puff piece. They want to make sure they own the term.
But what if ASCII is completely sufficient for all the customers I work with?

This is where the accusation crosses into unreasonable for me.
You should read the homotopy type theory book if you’re interesting in things like this :p

But to answer your question, there’s one here: https://arxiv.org/abs/1305.3835
1. Multiply your input number by 7

2. Add three

3. Square the result

4. Take this result as your final number

There's an algorithm for f(x) = (7x + 3)^2. Similarly, any map from one space to another is an algorithm if it's describable on paper. Every mathematical proof is analogous to an algorithm in important ways. Math is not "equal to" algorithms, in the sense that two different algorithms can describe the same underlying math, but every description of any math essentially has to be an algorithm.

The only parts of math that would not fit would be anything non-constructible, but we know we are limited to exploring and describing only 0% of that world since our descriptions (algorithms) are countably infinite, and there are constructivists who believe non-constructible things don't exist in any meaningful sense. So, yes, most (or all) of the practice of mathematics is algorithms.

Why are we trying to gatekeep this word?
Back in the day when the RFC was written it was common for people to run their own mail servers and have them be offline for a day or two, so it was a better experience for the sender to have retries for days.

Nowadays it's assumed that the mail server is set up for high availability on good networks so it's a better experience for the sender to know right away that it wasn't deliverable so that they can use another communication channel for semi-urgent messages.

The ideal situation would be for the sender to get a retry warning while still retrying (which is they way it used to be done), but I can see why Yahoo might not want to tie up their resources that way.
Yeah, I’m not totally certain, and I suspect intent matters.

My example was that cracking a game is illegal, but releasing a cracker is much much worse.

And, again, IANAL.
Covishield/AstraZeneca both shots. First day of symptoms was a week ago. Tested positive next day. It took a good 3 days for fever to come below 100. Body feels broken even today. Luckily no other symptoms or severe turn. Bad body ache and headache during first 24-36 hours. Then just fever stuck around for 3 days even after 3 Crocins daily.

Speaking on phone was tiring.

My doctor had doubts so on 5th day she prescribed repeat CRP test (had dropped from 6+ to 5+) and also chest ct scan (1/25).

Not sure which variant but didn’t lose smell etc.

I still feel hay fever sometimes or maybe it’s just anxiety and fear. It’ll take a lot from me to be able to step out again.

For everyone else I knew in last 2-3 months here this was merely a formality of some fever. I sometimes still think why it took so long for me.

Having no family made it tough and scary. Had informed closest friends that if I had to be hospitalised they’d at least check on me and maybe doctors and hospitals will get a sense that there are people asking about this patient (yeah, it’s that kind of country).

Wouldn’t want to experience this shit again. Those 4-5 days when I was waiting for fever to come down were of fear and hopelessness.
No, it isn’t. This is a self-serving fiction, and repeating it for the witless is how they end up being prosecuted.

The mitigating circumstance is if you have a written agreement that says, you are authorised to be there, and doing what you’re doing.
This looks awesome!! The code editor space may seem saturated, but it's not! I've been looking for an alternative to VS Code for some time.

Some things I'm really excited for:
- Remote development as a first-class citizen! I use code-server a ton now, but getting away from browser jank would be nice.
- In the future I wonder if something besides SSH would work for the connection. SSH doesn't handle bad connections or closing a laptop and moving very well. I use wireguard to connect to my code-server instance right now and it's pretty close to feeling like I develop locally.
- Lighter and faster. Why does my laptop always have to be burning...
- A more FOSS ecosystem. VS Code is "open source" but not really in practice. Some important extensions (from Microsoft) have non-foss licenses and the standard distribution is built with non-foss tidbits. There are projects like Codium that rectify these issues to some degree.
>It seems to me that the biggest problem with series books is that either readers complain that the books used to be good but that somewhere in the effort to get out a book every year the quality has fallen off, or they complain that the books, although maintaining quality, aren't coming out on time.

I see this a lot with hip hop, someone like Andre 3000 has never actually put out an album. Still regarded as one of the best rappers of all time,

E-40, and most other Bay area rappers will put out multiple releases in a single year. E-40 tends to not get quite as much praise, but I personally think he's a better artist since he can put out content.

But I don't spend all day tweeting at Andre 3000 that he needs to give me five albums. Lauryn Hill is looking like she's never going to finish another album in her life, it's okay.

She left her mark.

Likewise, Game of thrones has already done what it was going to do for this culture. I remember going to a watch party for the last episode, and it was great.

This was pre-COVID, and everyone was very social, it felt like a community. Even though we were just paying a bar to let us sit and watch, we talked.

So I commend you George RR Martin, you brought people together , you connected people.

If he never writes another page, that adds a bit of mystique to it all. It's just an unfinished story
Producing everything with such precision and performance while keeping costs low and complying with environmental and food safety regulations, is certainly a marvel of modern engineering. (And then there's all the logistics and maintenance and whatever!)
Never really realized that github had many technical incidents lol
I've been using linux since late 90's and the only related thing I remember was to have to install an "old" libc to be able to run kylix. Do you have more info on this event? Seems to have completely vanished from my memory.
Packages that depend on this module.

https://www.npmjs.com/browse/depended/node-ipc
Yes, but the problem in a different language comes down to an error message. In C you have UB and it's not defined what you have to expect, which makes it harder to find the cause of an error once it happens.
Isn't that the nature of contracting though? Like do you think that contractors who are placed through a staffing agency are building better relationships than those found via an online platform?
> However, Apple's inflated performance claims are getting old and tired and the company really needs to do better.

I don't believe they care to do better. They put out the marketing claims, which is enough to capture the attention of future buyers; by the time actual benchmarks come out, attention has moved on. There is no incentive to 'doing better'
I just tried and found a show-stopper that you might want to solve - it slows down my TortoiseSVN Log Messages view which connects to a local SVN server from 0.1 milliseconds to 20+ seconds.
It's fun to noodle about! But so far as I know, nothing like this has ever happened: nobody has gotten whistleblower protection from 18 USC 1030 charges, and there is no obvious legal pathway to get it from any agency of the federal government. Sell your bug to a carding ring, then go to the FBI and ask for immunity in exchange for helping them bring down the ring; that's the closest I can think of.
Launching consumer subscription app IAP worth it?
Hi everyone, I have been working on a subscription app as a side project and it's finally time to submit the project to the app store! Being that it's the first app project I have worked on I wanted to get some thoughts from someone who has done this before on IAP-subscription through the app store VS just making it available through your website (Netflix model)?

My background is in growth and web development so I'm planning to acquire customers primarily outside the app stores however I'm seeing a lot of successful subscription apps still offering IAP (calm, headspace, etc).

If you were starting from scratch (bootstrapped) what would route would you take and what are the pros-cons in your opinion?

Would appreciate any feedback as I have no idea what to expect:)

Thanks,

Brooke
We think our solution will be faster to deploy than other solutions and operate at a lower total cost + energy usage. I know it's a vague answer, but our design is anchored in minimizing capex, minimizing process steps/complexity, and minimizing novelty in our supply chain as much as possible. We see that cost/energy/embodied CO2/speed to scale might be optimized by focusing on these areas, but we will also learn as we go.
No, not really. I've done passion projects for things I have a passion for, but not for keeping my skills up.
Indeed, I was looking at encoding black-and-white manga, and I dialed in the quality knob based on "Is the text crisp" "Are cross-hatching textures reasonably preserved" and "Lack of visible artifacts around the edges."

I then compared the file sizes and JP2K won hands down. It also had the advantage of already being supported in PDF, so I can just bundle them up into a PDF for relatively[1] easy reading.

[edit]

Someone pointed me to "Squoosh" and AVIF (which was still very experimental when I previously ran the tests; there was only a single encoder I could find, it took forever and crashed a lot) seems to win over JP2K; a quick estimate makes it look about 30% smaller (My first test image showed up at almost 50% smaller when I tuned it, but experience tells me that I need some padding if I'm just going to point it at a large directory tree).

1: A few PDF readers have failed to properly render the JP2K pages, but modern poppler and muPDF based readers both seem to handle it fine.
Never happened to me. External monitor, WiFi work fine. Bluetooth untested.
Bacon is the one meat most people seem to like burnt. Personally, if there's no fat to chew on, I don't want that bacon. Which means I almost never order it at a restaurant (unless actual pork belly is on the menu, which is easily among my favorite foods).
December 2020, probably the alpha variant, no vaccination. No symptoms over than loss of taste.

6 months later I had blood antibody levels checked out of curiosity; 1 s.d. higher than average for a recovered person.

30's male.
I recently saw a friend post photos like this on FB. She was visiting her sister and blocked the sister's kids' faces. She didn't block the faces of her own kids, who are much older. Made sense to me! I don't know how often I'd use the app, but I've just downloaded it. I'm sure my kids would have fun playing with it, regardless!
How do you feel about the fact that yours has been out for a couple years, does essentially the same thing (although maybe has less appealing marketing images on the App Store TBH), and only has a handful of ratings compared to the 300+ for this new app from this popular podcaster? I ask sincerely, and I wonder if it speaks to the power of marketing.
This might be true of conventional crops like corn or soy but this article [1] implies kelp farming in oceans could sequester carbon from the atmosphere for a long time.

"So the kelp will sink to the ocean bottom in the sediment, and become, essentially, part of the ocean floor..."

1.https://www.npr.org/2021/03/01/970670565/run-the-oil-industr...
i think this can be true, in some cases the git history may never be looked at so agree effort may be better soent elsewhere
How about none? Any service that can be passed text from an http request can be passed text via argv and called from the command line. The fact that a helper program runs on the same host rather than across a network doesn't mean you can only use it via direct function call. Imagine if the developers of pandoc didn't actually distribute pandoc and only allowed you to invoke a pandoc instance running on their servers remotely.
There was an art project a couple of years ago to clean up smog.

https://www.studioroosegaarde.net/project/smog-free-project
> My opinion: When your deliverable is made up of source code(like these open source projects are), the ABI and ABI stability is not that important, it is the API(the source interface) that is critical.

I think ISV's disagree.
Founders Weigh in on Fundraising Planning
I've been introducing https://ejoffe.github.io/spr/ at work and am pretty happy with it. It makes the process of managing stacked PRs really smooth. With that tool, I usually just create a local branch and run git spr up when commits are ready.
> I'm not entirely sure what you're asking for. It seems like you want a comprehensive list of what will and won't be allowed?

No. I'd just prefer they don't lie in their marketing. Because it always gets walked back to "Well obviously that blanket statement had all the exceptions that were obvious to me at the time but convenient to ignore. Plus all the exceptions we've discovered in the meantime."

>Have you ever run a community

Yeah, but it was a community back in the old phpBB and IRC days of the internet.

I have not been in charge of cooperate communication to a product userbase I've branded a "community."

I didn't find myself having to talk out of both sides of my mouth to merge lofty marketing proclamations with the hard "if"s and "buts" of reality. Because we talked about community standards, it wasn't a decision of what worked for our business handed down from on high. It was what we as a group were comfortable with. What personal tastes are fine to be violated regularly in front of your face? What things they were willing to tolerate if it was contained in a different sub-forum? What can't be there at all etc...
I have an anecdote that I think fits your assumption. It comes from my years in the Danish public sector where some of the systems are many decades old. In Denmark we’re all issued a social security number that is designed in such a way that the last number of it, is odd for males and even for females.

To make things short and somewhat anonymous, we had several systems that couldn’t handle people changing the “gender” of their social security number. They could handle you getting a new social security number, but it had to be of the same “gender” as your previous.

This makes no real sense, as it’s just a number and all these systems handle both types of numbers. But there we were, and it took us several years to get to a point where we could accommodate an employee changing the “gender” of their social security number.

So sometimes, developers do weird things because of their assumptions.

Ps. I’ve put “gender” in “”s because I’m unsure what the right word is in English.
Do generic, broad warnings like "do not operate heavy machinery" hurt larger public health efforts like mask wearing?
FWIW, it is the article's author's paraphrase, not mine.
Dresden is an especially egregious example, since Butcher clearly reached a point a few books in where he just pull unjustified stuff out of his nether regions to push a story along.

First couple are fun, though.
Not much sympathy, really.

If you rely on a free mail server, you can expect to get everything you paid for. Pending outbound mail has to hang around in a queue, which costs money.

In the days when the original specs were written, mail was often multi-hop, and delivery was unreliable. Most email nowadays gets transferred in seconds, so queueing something for 4 days seems unnecessary.

But people do still run their own mailservers, on home equipment - which might fail to accept delivery, because it blew up, or suffered a power-cut, or needed to be rebooted, or whatever.

It's not reasonable to expect a freemail provider to maintain a sensible outbound queue. And it's not reasonable for a freemail provider to scrub the queue after 3 hours. Solution: get a real mail provider.
I’ve been using Moom for many years, CTRL+ALT and numpad to move windows around with resize is perfect on an ultra-wide screen <3
I always wanted a "perfect" editor https://github.com/lapce/lapce/blob/master/docs/why-lapce.md

And my recent professional work was writing Rust, and I felt Rust would be really suitable for my editor.