skysight-inc/HackerNews huggingface dataset:
> Is Git the only way to go to mantain the code?

Pretty much. You could try leaving it in Dropbox, but the nature of codebases is such that a solution like this could result in unnecessary bandwidth/storage use, lost/corrupted data, catastrophe when you need to roll-back a version, or worse. Suffice to say, you'd quickly learn why we use VCS over bog-standard syncing.

Yes, git looks scary. But you don't need a whole lot to get started. Learn the basics: start with cloning, then learning to commit, then learn how to push, pull, and you should be set with the basics. There are other relatively important things you'll need to learn (like rebase and diff), but you can cross that bridge when you come to it. If you ever want to learn more about a function of git, many of the commands have manpages. On any Unix machine, you can type 'man git $COMMAND` and it will give you a detailed explanation of how that particular function works.
There is an old thing in war called a Pyrrhic Victory. https://en.wikipedia.org/wiki/Pyrrhic_victory

Russia is doing this now. It is wasting large numbers of men and resources against a smaller foe simply because it is a dictatorship and there is no one to assess the battle and tally up the cost who counts. Russian men, of which 50% are ill trained conscripts, are being fed into a modern day meat grinder. It is reminiscent of the Korean War when China threw so many men against US machine guns that there soldiers were unable to advance over the mounds of bodies. The US suffered far smaller losses and staged a managed retreat under fire where machine gun lines were set up behind the firing line, and they then quickly stopped firing from the firing line, packed up and retreated while the next line maintained fire from a longer range so the meat grinder persisted - this persisted until the UN Allied forces were relieved with greater forces and a cease fire line and settlement finally emerged.
Ukraine has better troops, in smaller numbers, from a smaller national base = Putin has decided to seek a Pyrrhic victory. He has expanded to civilian shelling and feels he will eventually reach the point of terminal depletion of Ukraine's men and materials.
NATO allies are sending in force magnifiers, anti tank and anti air weapons carried by 1-2 man teams. The Ukrainians are using Chinese over the counter retail small drones to fly in at a few hundred feet at night, with IR Flir cameras and memory chips to record the trip they are too small for radar and not easily seen as they fly. These 10-20 minute trips(some longer) return and go out repeatedly with new batteries and the video is inspected for tank etc data. Crews then go and destroy the targets of high value. Command bunkers are located as much as possible and night vision snipers may be able to hit exposed personnel, often at down as the crews and officers emerge for the day's attack.
So the question is: Can the command levels of the Russian army see this(certainly - they know it is a small scale meat grinder) - can the top brass influence Putin? He has surrounded himself with obedient yes men all armed to protect him as he is a fearful man, paranoid about being poisoned he recently purged his local group by about 1000 people as he knows he has huge internal opposition. At which point will the opposition reach the point where they act to influence him?
This will be a suicide mission as his cadre will act to kill any assassins that emerge. The question becomes one of information reaching the people at large. Tens of thousand of Russian have protested, 5-10,000 have been arrested, and more thousands beaten and released. Social Media is gradually getting though, via Telegram, and various Apps. ggm 11 is quite correct in his assessment. Russia can not garrison Ukraine with tens of 1000's of rifles in public hands.
In sum, the Russian people and possibly the generals will have to act soon or this meat grinder will carry on.
It can also be ended by Ukraine's capitulation to Russia's demands for land and an agreement to eschew NATO = neutral buffer state?
Read the by line, it's not by her. Even if it was by her, what about her would be your argument here?
This is nothing. You can do a hard unsubscribe in Gmail.

I've been trying for months to delete my Nexo account. For some reason the only way to delete account is via their support...They haven't replied to me in months.
In my experience Closed Captions almost always describe sounds, specially if they happen offscreen or things like the type of background music; Subtitles don't, I assume they expect you can hear the sounds.
And in some cultures, "would you do it for $x?" is totally normal and expected, including the US in some contexts (like Craigslist or a used car lot).
I saw Perfect Blue in theaters. It must have been 1999. I remember just being burnt out on movies that were about not knowing what was real and what wasn’t. There were so many that year (The Matrix and eXistenZ just to name two.)

Speaking of having a little too much homage, an old anime I like (mostly nostalgia) is Bubblegum Crisis and it has direct rip-offs from Blade Runner and Streets of Fire.
I think likewise. When I had to write the radix tree implementation for Redis I faced two problems:

- I needed a stable implemention as soon as possible, I had a performance issued that needed to be solved by range queries.

- The radix tree was full of corner cases.

So I resorted to literate programming, which is in general very near to my usual programming style. You can find it in the rax.c file inside the Redis source code, as you can see as the algorithm is enunciated, the corresponding code is inplenented.

Other than that I wrote a very extensive fuzzer for the implementation. Result: after the initial development I don't think it was never targeted by serious bugs, and now the implementation is very easy to modify if needed.
I typically see "self documenting code" refer to code where function and variable names indicate the code without added comments.

Think:

function square(x) ...

Versus

function f(a) ...

Often includes all functions as named things, with little to no lambda usage, since names are seen as for the programmer, not for the computer.
I think reasonable legal threat is the correct way. The spammers don't deserve anything less.
The fun thing about Gmail's "attempt to unsubscribe" is that if you're looking at spam sent to a Google Group, it won't trt to unsubscribe you from the spammer. It'll unsubscribe you from your Google Group.

As we use groups for some SSO auth at work, the thing that tipped me off to this was having my work Dropbox delete itself from my machine. Nearly gave me a heart attack.
Show HN: React-based static site generator that outputs no client-side JS
Wouldn't want to leave the joke unexplained now, would we
The main benefit of microservices there is that they can be independently deployed. If you have libs into a monolith you have to redeploy the entire thing, which may involve coordination.

I still mostly prefer the libs + monolith approach though.
> Edit: forget this. As varjolintu explains bellow, this is wrong. ~~You can't have multiple addresses per entry. Some sites will login with different URL's and KeepassXC will not recognize all.~~

Create 2 entries for the same site and install the Keepass helper (url in title) addon
The score was actually quite thoughtful, attempting to use rhythm and harmony and vocal style that was fitting for the universe, ie. very far removed from our current styles.
> We are quickly reaching the point where the battery packs will last the lifetime of the car,

Are we helping that along by lowering the lifespan of cars?
I know why they are doing this, and I think it’s silly, but I hope that all three people who were offended by the original terms are happy now.
...It's public, what is GitHub supposed to do about it? Hide currently public views behind a signup-wall? And how much would that actually achieve in practice? Should they start requiring phone number validation and ID for signups?

I suggest using a fake, or at least a dedicated, e-mail address for commit messages.
If you are talking about the e-mail in your GH profile, you can mark it as private in settings. Or use their built-in function to mask it (they will replace it with an address under their domain and forward incomings to you).

There are many valid complaints about GitHub but with regards to this I think they've done what they can already. If you don't want spam to your address, don't put it in public. It will be scraped.

OP put their e-mail in cleartext, unobfuscated, in their profile. The blame is on part of the spammers. Countermeasures should be done by OP (and their e-mail host), not by GH.
An Uber driver needs to be able to cover gas out of their pay plus make enough extra to effectively receive a decent wage. If gas prices go up but the price of an Uber fare (and subsequent payout) does not, then it becomes uneconomical for people to drive for Uber and they stop doing it.

Other than when Uber deeply discounts to drive growth, it's always been cheaper to drive yourself than to pay Uber. The reason you pay Uber is for other reasons (e.g. convenience, cost of parking, being away from your vehicle, intoxication).
If you want anything clean room related in your career, I wouldn't read any of it.
Keepass was found to have a security issue recently which exposed password in plain text on log files, which makes me happy I never used it.

KeePassXC had no such issue.

That was CVE-2022-0275
https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=keepass
You can enable the Classic (platform-native) theme, and Compact Mode.
Agreed! I think a well-structured monolith is what most projects call for.

What I don't want is for people to buy the microservices hype so thoroughly that they start thinking "microservices" just means "well-architected system".
Weiss (unsurprisingly) gives a really bad-faith mischaracterization of this. What the prosecutor noted was the defendant's frame of mind because they had to in order to calculate what sentence to ask for. It's not political, it's a formula and you can read it for yourself https://www.courtlistener.com/docket/17441998/67/united-stat...
I'm lucky enough to work for an employer that defaults to open. The project I'm working on right now is open source.
It's useful to do components independently as open source, to make sure they work in any context, then integrate them into your main project. This makes both of them better products.
> It's too bad it's always existing companies that get their source leaked. Just once I'd like to see "Archive of Digital Equipment Corporation source code leaked online". I can dream...

The problem is those companies are defunct, so their source repositories may not even exist anymore, let alone be online, e.g.:

http://www.chrisfenton.com/homebrew-cray-1a/

> After searching the internet exhaustively, I contacted the Computer History Musuem and they didn’t have any either. They also informed me that apparently SGI destroyed Cray’s old software archives before spinning them off again in the late 90’s.

I know at my employer, there's always pressure to half-ass things that aren't directly connected to some mechanism for making money. We recently migrated our company intranet site from one vendor to another, and the team that was running that project it as a "feature" that they would help us "clean up" by not assisting us migrating anything older than one year. Similarly, source control migrations (of which we've done several) often drop history, since it's usually way easier just to download the latest version and check it into the new system than figure out how to migrate the metadata. IIRC, Microsoft's TFS-VC to git migration tool will only migrate something like 180 days of history.
> In Australia, dogs have become addicted to mouthing the toads and getting high from the venom. There are even said to be humans Down Under who boil the toads and drink the broth, with all kinds of psychedelic and horrible consequences.

Is that an actual thing? Dog getting addicted to a substance and understanding that it comes from mouthing the toads?
Is KeepassDX better than KeepPass2Android?
I never learned times tables in schools. Just struggled on through until they stopped asking me to memorize them.

Then way later in my 20s, when it was handy to know how to remember some multiples quickly, I realized that obviously there's a lot of patterns in there, and of course the magic of looking for an easier problem to do mentally to solve a more complex one.

No amount of effort at memorization ever succeeded in even trying to give me those tools, and they're so general - you can apply them to everything.

My entire 90s educational experience is a memory of teachers saying "you need to know your times tables" and no one actually trying to teach even basic reasoning about how numbers worked (which I suspect is why programming lept out at me - it's all number manipulation but it's all about the algorithms and patterns and finally things started to make sense).
You are talking about the stats from an American perspective. Such a car-centric view. Not everyone lives in America.

Hundreds of cities and countries have infrastructure suitable for two wheelers. Especially when you are within the city limits. Cities in India it is extremely common to ride two-wheelers and it is generally safer to ride scooters. Most delivery drivers use motorcycles - millions of them in fact.
non-private email is a cynical mouse trap then, eating your customers privacy for your billions in ad profits.. how is that for "standard"?
'... on how the legal system in America, as one prominent liberal scholar put it, is at risk of becoming “a totalitarian nightmare.”'

It isn't already? My experience indicates that rule of law is commonly ignored, prosecutorial and law enforcement discretion leads to biased and unequal application of the law, letter of the law and strict construction is ignored in the aim to convict people who "deserve" it, and that the rights of the people are often ignored.

I think that training on bias is a good idea. After all, some of these lawyers become judges and attention to all potential bias would be useful, and necessary for a fair trial.
If it’s just you developing, you could use whatever version control system you’re comfortable with and when you commit files have them automatically saved to an internal website that your colleagues know the location of.

If you don’t already know a version control system I would just bite the bullet and learn git. Nowadays it seems to be the most popular so odds are people you collaborate with in the future will use it.
If you have any reference, maybe fire off an email to him.
I hear a lot of how motorcycles are dangerous and they absolutely are. But 1/2 of wrecks are single vehicle wrecks and most of the other wrecks are cars turning in front of motorcycles or motorcycles getting rear-ended at lights.

American streets are designed poorly, see stroads and all that. If we want motorcycle fatalities to go down, we need to strive for all fatalities to go down.

Yes 5.5k riders died last year, but 42K car drivers died. Yet we're fine with that because "well per mile that isn't that bad" 42K isn't a good number and there needs to be greater discussion surrounding the poor driving conditions created by poor planning.
> I’m sure that I’m going to get a lot of pushback for this article. And I’m also sure most of the people pushing back will be non-technical people.

Nothing bolsters an argument like claiming that people who disagree with you are dumber than you are. Web3 is indeed a VC meme, but this whole article is just the pot calling the kettle black.
I've written an interpreter for R (a subset; it was for school and I left out some features like S4 and the condition system) so I have done some pretty deep dive into the language reference and GNU R source.

I agree with the author's sentiment - I love a lot of what R has, but there is a lot of small madnesses.

There are so many unique PL ideas in R (may not actually be unique but certainly unique among common languages today)

- first class environments
- named, default parameters and even the ... parameter which encourages the pattern of hierarchical library functions - there's one large customizable main workhorse function, and many wrapper functions that specify some defaults or add some behavior, but all the underlying customizations are exposed through ...
- copy on write as a default
- ability to choose evaluation strategy

But I also wonder how many of these cool ideas would actually work well in a saner language
Recently I realized that when you had paper documents—books, manuals, libraries, filing systems, whatever—the only way to make them accessible at all was to have organizing principles. Some of these were brilliant.

Most people gave all that up because "search."

But aside from search being flawed (good luck finding an old Google Doc), when information was actually organized, you might be able to remember where it was. Without structure, you can't remember where it is because it isn't really anywhere.
I don't assume good intentions and neither should you. If some entity emails me in an automated way without my permission and without any way to unsubscribe it's going straight in spam and being reported to any abuse/spam mechanism that's appropriate.

I get the hustling nature of HN, but this behaviour crosses a line and breaks laws in various juristictions. I don't feel the need to politely explain this to people.
Oh that's really useful, thanks for sharing.
Orgmode can get you these things. Since the tangled source is full source, you will just have to index the tangled code and detangle after edits.

So, yes. The outline code will be less prone to this. But this is no different than the architecture document being ignored by the ide.
> OVH is definitely a complete joke compared to the worst of them

what leads you to say that? just curious
It’s a power phenomenon. I highly doubt that the word “master“ caused offense to anyone, ever. Unfortunately there are groups and people that look at any chance to be outraged as an opportunity to exert power.

Will it help anything? Absolutely not. However there’s a few people out there that can now say that they forced a company or a project to change its racist ways. In my opinion, it makes the decision makers of those companies look very weak
Also this:
KeePass logged password in plaintext. Really bad CVE case.
KPXC had no such issue.

https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=keepass
You can mitigate tin whiskers with a conformal coat application. It's not going to be as good as lead solder but it is an acceptable method when you have no other option.

Another possibility is that these are modified CM4 boards where parts were removed and resoldered using lead solder. The Broadcom chip is really the most critical component as you cannot buy them off the shelf but everything else could be purchased new and installed onto a stripped board or a brand new one made using the CM4 design files using lead solder.
Actually I think "scrum master" would be one to start really attacking. It clearly implies that rest of the team are slaves controlled by the master. And that is something probably implemented in some scrum teams...
It sounds like being fired with severance is exactly what they want. Maybe better to let them leave on their own.
Mm, seems like the costs of that would way outweigh the benefits...

An email system with the speed of the USPS, the ease of use of the DMV, the security of the social security system, and the billing of the IRS. It already sounds like a digital gulag, lol
There are publicly accessible MIT lectures about A&D and computing performance. Part of the taught rationale is that performance behaves like a currency. Some thoughts about this:

The more you have of it, the more you can afford to do. This is interesting to think about. There might be stuff we don't do, that we rule out because we don't even think we can afford doing them. A slightly milder effect here is that we tend to make things more structurally (architecturally) complex and expensive, just because we don't even think of making them fast in the first place. Both of these effects impose real-world limitations and costs.

Secondly, if you don't have enough of it, then you tend to be constantly distracted and limited. Anyone who went through financial hardship for a time knows about the mental, physical and social tax this imposes. I think it is useful to think of performance that way. Or to turn it around: if everything we do and compute was incredibly fast and reliable (also an aspect of performance) then how would that change our behavior, well-being, productivity?

Side note:

Garbage collection is often used as an example in the way I describe above. One can "afford" to use it, or not. But I think this touches on a rather special aspect of performance, which is a broad term to begin with. It affects the overall memory footprint and variance (GC pauses) but doesn't necessarily affect overall latency and throughput, which are more generally applicably aspects.
I have made PRs to patch bugs I find on projects that I have used in production applications. Sadly that is as much as I have done, I would love to contribute more but I'm so burned out from work I don't have the energy to do more outside of it.
Interesting, thank you.

Syncthing looks a lot like a "make your own cloud" solution.

I use OwnCloud in a RaspberryPi, instead. But as Moxie Marlinspike famously said: "People don’t want to run their own servers, and never will". (https://moxie.org/2022/01/07/web3-first-impressions.html)
It's more often a case of misaligned incentives than being all that difficult. When your business model (both Google's and most 3rd party developers) depends on constantly streaming telemetry from a device to a server you're going to have battery life challenges. Much of Google's effort has gone to providing decent battery life while still providing the telemetry. No doubt that a fair amount of effort has gone into specific use cases like background streaming audio apps (i.e. phone/music/etc) but the hours those take are a drop in the bucket compared to making the whole advertising ecosystem work (efficiently enough) on mobile.
How do you tell competent employees from incompetent ones? By the number of certificates? By the number years in industry? By school? By leetcode score? By salary asked?

It's very difficult.
MS OneNote as daily notes (separate work and personal accounts).

MS OneNote is great since can easily copy-paste text and images to a daily sheet; So it is kind of a running log during the day.

Then during the night, index it in a Google Doc; by index I mean the MS OneNote page is described with a few bullet points. An index is very helpful so that at a quick glance one can get an idea what is inside the different MS OneNote pages even without doing a full scan on all of the MS OneNote pages.

It is similar to a database where-in the information is stored in the table but an index is necessary to be able to quickly find what one is looking for without having to read too much data.

Google Docs as index is really helpful I think and can be used to track easy to forget details such as birthdays, passwords, etc.. as well. If not Google Docs, the closest alternative would be Workflowy probably but same idea of sections, lists and short bullet point style descriptions since the more long-form paragraph content can be kept elsewhere like in a MS OneNote sheet.

Also, good I think to have a monthly iteration for the Google Doc index document so that it doesn't become too large and some data can be left behind in the past month document.
It was, of course those countries very much picked a side decades ago.

OTOH I’m not sure why replacing “third world” with a different euphemism for “poor” would be productive.
That's good for one browser on one device on one OS. Not for consistent display across OSes, browsers and devices.