skysight-inc/HackerNews huggingface dataset:
Ask HN: Git repos add an arbitrary time/change dimension to files?
I've seen some interesting applications of git over the years, such as using it as a database, but today something clicked when I was thinking about using version control in other fields/domains.

Git is a way to arbitrarily add a time (or change) dimension to files.

As a thought experiment, if we restrict the size of a repo to a single file and type and add a new image with every commit, we've recreated an animated gif or a primitive video format.

Using branches, you could have some form of choose-your-own-animation files. It also implies that we can use a discrete (well, for images, you could argue discrete or continuous) form of calculus to analyze these changes.

I haven't read any accounts of taking git or other VCS in this direction.

Who else has had ideas like this? For novel uses of git.

What are some of the implications here?
Yeah, that's an example of inheritance not working. Python does support multi-inheritance, but it's messy. Best you can do is interfaces instead of subclasses. Honestly can't remember the last time I've subclassed something and actually cared to inherit methods/variables.
Try Stable Diffusion's Img2Img Mode
> Therefore it is no exaggeration to say that anything and everything around us is tied to calculus.

Calculus can be found at many places, but it doesn't really transcend academia and old school engineering the way Linear Algebra does.
If the language subset can't loop, can't recurse, can only call functions that are guaranteed to finish in finite time, and only allows finite-length programs, then its programs will always halt in finite time.
Then no need to conceal it.
Webb telescope brings early galaxies, Jupiter into sharp focus
A semi related video about the relationship between mathematics and computer science

https://www.youtube.com/watch?v=IOiZatlZtGU
"Propositions as Types" by Philip Wadler
That solves a lifelong mystery for me. I have twice had monitors that blink off right when I shift position or get up from my desk. I can tell it's caused by me moving, but I can never reproduce it. When it first started happening, I would aggressively shake the monitor cables and nothing happened. But I never considered that it could be my chair.
You hate web3 more than you love freedom
We are running pg11 for fairly big databases (almost terabyte size data directory).

I was waiting to upgrade to pg12 then 13 then 14.

With this change I seriously think I’ll just upgrade to 15 at the end of the year.
Aha! Thanks a lot for that.
Hence the name Y Combinator, a startup that generates other startups.
There will be many stories like this in the days, weeks, and months to come. But not years from now.
Yep! I love his works but both Cryptonomicon and Snow crash, its like... oh, that's the end? lol. I get its an artistic decision, because he clearly can write endings but I can't say I'm a huge fan of it. It can be ok when pulled off well (i.e. Sopranos) but I'm always thinking "this would be perfect with just one more chapter, at least."
Sure, I didn't necessarily mean it in a fully general way, just for the project being described. That is the obvious (comparatively) way it is still incomplete.
thank you for making this <3
I love Cryptonomicon. I almost put it down though, before I really figured out what it was, so glad I finished it.
My university still forbids people to drink or eat in the labs. TBF I never saw anyone got penalized because of that. The desktops are slow and outdated anyway.
Personally I'm fine with the occasional misfire to keep the nice light, floating typing experience that reds give. Blacks just feel a bit too heavy to me. It's all personal preference of course.
You can do this in SD by fixing the random seed; only reason earlier models can’t is their UIs hide the seed from you.

More control is coming: https://dreambooth.github.io/
They need to take "let's not pretend" away from people. I guarantee I'm not saying anything that I never mentioned or even hinted at. What I said is that TikTok got their fair share of dirt thrown at them.
If OP simple claim that these people had misgendered him instead of threatening his life they would be forever banned from Twitter.
Just read Cyptonomicon (the only Stephenson book I have read so far) and was thinking about what to read next, so this post was timely for me :)
I'd like to know if companies regard the certification. I got it, didn't seem to be noticeable to employers.
I use this method, it's great. WAY superior to and WAY easier than using symlinks and having to constantly copy/move and symlink things to a git repo.

I use this script (which I modified a bit from the Atlassian one) to bootstrap it on a new $HOME dir (replace "***YOUR_GIT_REPO_ADDRESS***" with your address; also, you need to copy the function ,cfg into your .*rc file for command-line use):

#!/bin/bash
set -euo pipefail # the usual stuff

# TODO: copy the below function into your .*rc file
function ,cfg {
/usr/bin/git --git-dir="$HOME/.cfg/" --work-tree="$HOME" "$@"
}

# TODO: replace '***YOUR_GIT_REPO_ADDRESS***' below
git clone --bare git@***YOUR_GIT_REPO_ADDRESS***/.cfg "$HOME/.cfg"
,cfg config status.showUntrackedFiles no

if ,cfg checkout; then
# worked fine, we're done
echo "Checked out config."
else
# it failed, so assume we need to move some files out of the way
echo "Backing up pre-existing dot files."
mkdir -p "$HOME/.config-backup"
,cfg checkout 2>&1 | grep -e "\s+\." | awk "{'print $1'}" | xargs -I{} mv {} "$HOME/.config-backup"/{}
,cfg checkout || (echo "Still cannot checkout configs; see messages and fix." && exit 1)
echo "Checked out config."
fi

I also have a git alias to commit files that are tracked with a message:

ctm = commit -a -u -m #commit all tracked files with message

So you can do like this to commit changes and push them:

,cfg ctm "I modified my .zshrc"
,cfg push*
Their Vim-specific recommendations are woefully out of date.
This discussion feels incomplete to me without a mention of developments in the opposing camp: Google's Compose UI framework.

On Android, at least, Compose feels fully baked to us. Our shop is fully committed to new development on Compose UI; bridging tools for legacy components work great, and they work great for hosting new Compose views in our legacy framework as well. The Compose team is engaged with the community, and is generally ahead of the ball on problems real engineers are having.

In addition to all that, the structure of Compose has led to its new tooling being used in a variety of other domains. Engineers outside of Google are wiring Compose up to TUI frameworks, to platform-independent view APIs, and even running Compose without any UI at all as an asynchronous programming framework.

I don't have any experience with SwiftUI to compare it to. As an outsider, I know that the naysayers are sometimes louder than happy consumers of a new technology. But I will say this: there's a whole narrative in the Android world pointing out that Compose and Compose UI are two different things. Compose is available to use and work with even if you never touch the concrete UI framework Google has built.

Does any equivalent narrative exist in the iOS world? Or is SwiftUI mostly just a UI framework?
On baroque cycle, try the audio book version. It’s fantastic and the voice acting is top notch and helps really illustrate the story.
The water that agriculture requires is transported from government reservoirs, through government channels and canals, using government pumps.

We as a society are paying for it, they get it far cheaper than cost.

They are very comparable: both are water, being provided from a very finite source.
This is just chapter one [a preview] of the forthcoming book. Retitle?

https://nostarch.com/open-circuits
We're already at war because we're bombing several countries and arming insurgents. Not because China is getting fewer people addicted to opiates than the Sacklers.
If everyone, farmers, industry and people all paid the same per gallon as Kim kardashian water use would be cut in half
I, meanwhile, find AI research distasteful because it’s written in Python.
Python has been available as a scripting language in GIMP for over two decades now.

GIMP 2.99.x (future 3.0) is shipping with support for Python, Script-Fu, Lua, JavaScript, and Vala as languages for extensions.
Flagrant offenders?
> It feels like you just can't use it to craft a high quality app that doesn't look like a generic iOS app.

To be honest, as a user, I'd really rather see more "generic iOS apps". I think too many design teams are self-centered and do not consider that users need the apps not to admire their wonderful creations, but to get certain things done. In other words, your app is the center of your world, but it is not the center of mine. It's something I want to use to get stuff done quickly, with minimum effort, and with minimum cognitive load. Generic is good.
> During the 90’s, progressives played a larger role though.

Could be true, maybe, but today conservatives have willingly taken over that seat, and the NRA is heavily involved and actively blaming video games after each mass shooting to deflect from the debate on gun rights. https://www.usgamer.net/articles/the-nras-long-incoherent-hi...

In terms of trying to moderate swearing and sexuality in games and music and movies, the religious right has long been and still is the group most vocally opposed to such free expression... if we’re talking about where to address censorship today.
My childhood computer (an Atari 800) was stained with so many beverage spills and food smears it looked like a Jackson Pollock painting by the time I retired it and moved on to an Atari 130 XE.
Kind of annoying that monitors are identified by UUID and not by the physical port they're connected to. Some layer of the system probably has that information, but some other layer probably deletes it.

(Even more annoying is when the information isn't deleted, but it's ignored. The Nvidia control panel knows which port each monitor is connected to, and could store the monitor arrangement by port number. Also appreciated would be some way of saying "this monitor is going away for just a second, just keep sending a signal even though you know I can't see it". I have a monitor that likes to hard crash every so often and has to be unplugged, this results in seconds of software freaking out when I'd rather not tell the OS or the apps about the loss of a screen and a switch of "primary display" to some other monitor. Usually a reboot is necessary to get everything's state correct again.
Silly.)
This looks so good! Will definitely read it. Thank you!
For me it’s more of a: “this is what happens when you are ideologically inconsistent”. I don't feel like people are saying “Twitter shouldn’t”. I think the correct interpretation is “Twitter can’t”.

I thoroughly despise Twitter because they bless some issues and not others. Even though I support the end game of what they are trying to do (e.g. in the case of LGBTQ agenda topics), I vehemently disagree with the idea that the means to the end should involve policed speech and controlled narratives. Because that’s what fascists do.

So my problem is actually with Twitter. I pity the author. But I blame Twitter for creating the perception that they support the western rights of all individuals across the globe. Because they don’t, and can’t.
I meant to ask regarding D-sharp and E-flat, but a typo led me to learn about microtonality. Bravo and thank you!
>that's the price you pay for homoiconicity

Well no but actually no. Mathematica is homoiconic, and it has tons of special syntax and sugar that all boils down to lists when you quote. Elixir also does this with a ruby-like syntax on top. Those are just the 2 I know of. Making the compiler available through a programmer-accessible API from within the program itself is the big idea, it has nothing to do with what the text grammar happens to be.
> Nuclear provided 50 years of low cost energy to France

This is outright false. Look at any current data on the cost of running nuclear power. These plants are being shut down en-mass because they are too expensive to operate. I live in Iowa. The nuclear plant here was shut down early because buying out the rest of the contract and switching to other sources was cheaper than leaving the plant up and running. Nuclear proponents completely ignore the economic realities of these systems.

https://www.pveurope.eu/markets/energy-policy-fairy-tale-che...
A few days ago I registered a 5 letter actually pronounceable .COM. You just have to be creative.
You are not coming across like you read the paper. Nor does it seem like you are making an argument in good faith.

I see a weird ad-hominem, appeals to authority and tradition, and some knee-jerk criticism. You haven't addressed legitimate criticism of your arguments, and you're all over this thread (6 of 44 comments) trying to convince people to dismiss this out of hand.

Your main criticism seems to be that the paper points out an anathema correlation, therefore warranting immediate disbelief and removal from discussion... Who are you, to make such a strong claim? Since when is that how discussions or science work, even if you were the world's top epidemiology / statistical method specialist?
Can you provide a link to more current recommendations for Vim? I've used this article so I'd like to know what it got wrong.
Uhh, we just literally told Mexico they are getting less allocation then usual, because the states also had to take cuts to ensure minimum flows/levels.

There is no international incident if everyone understands why the water is not there.

And that is not a reason for the states to avoid collectively reconsidering what they are using the water for. We all need to look for ways to cut usage, including passing the true costs on to agriculture.
An Intel NUC 11 with a portable USB-C monitor should be inexpensive and flexible. If your OS won't run on it, it's probably broken.

I use a NUC11PAHi7, which is basically a Tiger Lake-UP3 mobile chipset minus a display.
I can dig microswales and basins, following the terrain that is already there and no one will really notice, especially if I level it with mulch. It won't look like it's a water harvesting structure. There's a lot more than just swales.

Something even as simple as a waffle pattern on flat ground for a garden or a crop is not something that would trigger fights about water rights.

In Arizona, water gets washed away into these storm pipes. Curb cuts are one pattern to fill a basin from water that would already be draining away on surface streets. It's done so that when the basin is full, the backpressure lets the water continue going down the street. That didn't trigger things about water rights in Tuscon.

Even swales that are created as small length trenches on uplands slow down water. I don't think people downstream are going to notice, other than perhaps, they are somehow getting more water for their use with less variability.

Water rights may be more interesting to you; I used to work for a legaltech startup, and while I didn't encounter water rights, I know that stuff like that can get complicated fast. However, for me, these permaculture design patterns are practical, in use, and solve the underlying problems that water rights badly try to solve. And maybe that is also because I'm sympathetic to those practicing guerilla gardening.
I mostly listen to raindrops on a tent [1]

[1] https://mynoise.net/NoiseMachines/campingRainNoiseGenerator....
That's the first thought that occurred to me as well, especially after reading the line "...some of the top journalists and activists...". Well, they've been under more sophisticated harrassment and abuse for close to 4 years now, but all this time... Crickets.

It is clearly wrong that people should be subjected to any abuse/torture/coordinated campaigns regardless of party associations. But forgive me for not being completely empathetic when anyone claims to have become a victim of these campaigns starting around the time of "the coup a few months ago".
Oh don't get me started on Facebook. Since the War started in Ukraine, every single artcle is drowning in: 'western propaganda', 'russia is awesome', 'putin is awesome', 'china is awesome', 'america sucks', 'america is going to fall', 'russia sucks', 'china sucks'... etc

Prior to the war there was mostly around articles to do with covid so it was easy to avoid most of it.

It's impossible to avoid now.

I was reading comments about the iPhone 14 and the comments were reduced to 'stupid americans, we make your phones, haha you're too dumb to make iphones'..

Makes me want to quit the internet.
Fed tackles inflation with its most diverse leadership ever
I'm getting into electronics again. I really wish that younger me had access to this book. I remember taking apart a VCR and seeing the knobs inside (potentiometers) and wondering why there were knobs INSIDE where the user couldn't do anything? Was there some secret function that I could unlock by changing the position? Alas, the secret function was "eat the VCR cassette tape".
Suggestions on a good USB C to DP for 4k+ @ 144hz?

I have a 49" ultrawide and super hard to get MacBook to work properly.
All this time and effort and money, and we still have a launch system that is less capable than the Saturn V.

Payload to LEO: from 95 tons (Block 1) to 130 tons (Block 2) for SLS; 140 tons for Saturn V.

Payload to TLI: from 27 tons (Block 1) to 43 (Block 2 Crew) tons for SLS; 43.5 tons for Saturn V.

(Block 2 Cargo does just edge out Saturn V for payload to TLI at 46 tons, but that's cargo only, no crew.)

[1] https://en.wikipedia.org/wiki/Space_Launch_System

[2] https://en.wikipedia.org/wiki/Saturn_V
Artemis is big, but NASA is much more than that. If a Flagship mission says "no thanks", that's a serious customer speaking directly. EC is about the same size as the current Artemis program.
For album art, I've found MidJourney is the best of the three. However, I am mainly generating creepy stuff due to my musical genre.
Major version jumps are always fun. Recently I discovered RDS recommends pglogical over built in replication for a reason, the latter doesn't work well in RDS with larger than RAM replica logs.
> How many solar panels or wind turbines would you need to produce to generate a nuclear reactor’s worth of power? How expensive would that process be comparatively? These factors weigh heavily in nuclear power’s favor because it is so energy dense.

And yet literally every single for-profit energy production company in the world is heavily investing in renewables and avoiding nuclear despite government incentives and subsidies for nuclear. Surely if the cost of nuclear was worth while, the folks looking to maximize profits would be investing more in these technologies. Economic reality doesn't support nuclear power. It's unfortunate that the people pushing for nuclear power are also the people who generally push for private ownership of everything, because public ownership and investment is the only time we see anything close to successful nuclear programs.
Nitter / JS / Regwall: https://nitter.net/AjaxSuited/status/1563225888464203778
Frame work laptop
As an EE undergrad 40 years ago, the title made me think of the programming languages taught in my courses at the time.

- FORTRAN (no surprise here, I was an EE major not CS)

- Pascal (this was the new kid on campus at the time, only the CS folks used it)

- MIX (Knuth's generic assembly language)
I would not have spent 10K hours learning 3D software in the 1990s if I knew this is how computer art would end up.
correct. the way i see it, lisp operates at the abstraction level of lists. which most people call "user applications".

if you need to build things that build the building blocks of lists it's not a good fit.
> Virgin Galactic is a trash company that mostly been use to scam investors, they have shown nothing but incompetence using them as a reference point is just a terrible idea.

Thats a reasonable description of how a lot of space launch companies turn out.
> You can't claim more than your share of a watershed to screw those downstream

Yet the same principle is never applied to resources diamonds, gold or minerals.

Or oil, gas and water when it comes to whole countries.

The contrast is striking.
In / near Hamburg, Germany.

Link dismbiguation: <https://problemkaputt.de/homeless.htm>
I just said today I still can’t believe that the Republicans are this far gone they don’t want to protect America from foreign adversaries getting involved in democracy. It’s very scary how direct the involvement of Trump was and I’m certain he was very carefully handled while president as presumably the security services considered him completely compromised. He may still yet try a coop in the US a second time around. The first thing he’ll do is replace all the heads of the military.
I definitely liked Anathem, but the structure of it seemed odd. Like half the book was world building then the plot happened really fast and it was over. The idea that scholars are extremely concerned about being intellectually corrupted by the outside world and having an intricate methodology to prevent it is definitely a novel concept though.
co-author here, feel free to ask questions.
Yep same in New Zealand, as much as I hate it we now buy dedicated bin bags for our kitchen bin and others as it works the best for our flat. In the past this was never an issue.

However, urban plastic pollution has definitely decreased. We do often now have an excess of paper bags in our house as people tend to forget their reusable bags and we don't have as many uses for the paper ones. At least they can be recycled.
Even more generally, it makes a single file repo a directed graph of changes.

I feel like that's too general though; it removes intuition for many people about implications though. It also ignores the timestamps that become part of it.
The only interaction my art page gets is a little javascript hit counter like the old web used to have - just knowing there's a certain number of people in the thousands* that have seen it at all brightens the mood.

Glad you're making a personal page for your art, by the way. :) Social media to a vast majority of artists is toxic, and there's a spark of individuality in personal pages that many people are hungry for. I'll be checking out yours.

(*I'm sure a large number are bots, but since I get some lovely personalized emails from the humans, the number itself doesn't matter in the end of the day.)
Yes, don’t optimize, but don’t pessimize either.
Ask HN: What stops you from starting your own startup/business?
As a developer, which means you can create any website/app you want, why you didn't made any business yet?

What are your excuses?
The ‘wild, Wild West’ of Virginia’s marijuana market
https://archive.ph/SkRsE
I (and I would assume the OP) agrees that saying "entirely pointless" may be a bit hyperbolic

However the point stands that as a concept, humans will find a way to exploit and corrupt any technology. This is unquestionably true.

Bertrand Russell famously makes exactly this point as well, albeit specifically when it comes to violent application of technology in war. That: until all war is illegal every technological development will be used for War.

Your point however is also true, in that in certain spaces for certain audiences (communities), participants make it more difficult to exploit these things in ways that they don't want to and to explout them in ways they do.

Ergo, Technology is and remains neutral (as it has no will of it's own) and the people using and implementing technology are very much not neutral and imbue the will of the user onto the tool.

The real question you should be asking is, how powerful can a free tool/knowledge get before people start saying that only certain class of "clerics" can use it or that most communities agree that NO community should have it.

Notice on that last point how not-hard we're trying to get rid of Nuclear Weapons
What are you doing for replication, just curious?

Reads are easy with replicas, right? What are you doing to handle "writes" across all your apps/regions/etc.?