News for hackers. Stuff that matters.

shizzy0

Re:Windows: Microsoft broke the only thing that mattered on Tuesday March 10, 2026 @12:39PM (#47325621)
I got the lowest of the low MacBooks on a black friday deal years ago for my wife that only had 8GB, thinking the same way. "It'll be fine for her needs." It was more than fine. It was good. Got myself one a month later. I don't know why but RAM is different on macOS.
Re:AI has a deep understanding of how this code works on Tuesday November 25, 2025 @01:53PM (#46049291)
I think it's deeply disadvantageous and legally dubious to accept code for which you don't know its provenance.
Re:AI has a deep understanding of how this code works on Tuesday November 25, 2025 @01:39PM (#46049118)
I can support your assertion here with experience. This is as earnest as it gets.
Re:Only 1 in 10 Oracle Java users want to stay with Big Red on Wednesday January 29, 2025 @07:08PM (#42873121)
You can in theory turn off gc but in practice no one does this because nearly everything is written with the assumption that allocations will be cleaned up by the gc. The compiler has no switches to help you run in a non-gc’d state. At best you can control when you run the gc.
Re:The Opposite of Documentation is Superstition (2020) on Saturday November 30, 2024 @04:04PM (#42284025)
Some of the best technical documentation I’ve ever written has straight up lies in it. Granted they were placed there in the service of distilling the most germane portions of the API I was trying to explain. But it made a huge difference once I decided my code in the library didn’t have to be my code in its documentation. I felt a little like a biographical writer who makes a composite character. But honestly I recommend trying it. Lie in your docs if it serves the greater goal of communicating what’s most important. Let the computer labor in the “truth” and its tediums.
Re:Dotfiles: Unofficial Guide to Dotfiles on GitHub on Tuesday May 07, 2024 @07:28PM (#40292700)
All you really need is one alias.

alias homegit="git --work-tree=$HOME --git-dir=$HOME/.dotfiles.git"

If only your wish and your lack of care were some how related, perhaps in a problem, solution kind of format.
Re:Turing Complete is a game about computer science on Tuesday January 09, 2024 @07:18PM (#38934342)
MHRD is also great in this genre. I’ve played it multiple times. I’m happy to hear there are more like it. https://store.steampowered.com/app/576030/MHRD/
Re:Win-Vind: Vim powers with speed of thought in Windows 11 on Sunday November 12, 2023 @04:01AM (#38238622)
Dang, this kindavim is kinda amazing.
Re:Bevy 0.12 on Sunday November 05, 2023 @05:24AM (#38149847)
I think the test is for this is whether the project is willing to break with the past to _keep_ the api simple, clean, and fast. You're right that is easier for new projects who have no backward compatibility to speak of. From what I've seen bevy has a strong culture of demanding good ergonomics for the users and reducing the api surface, and maybe it's thanks to rust's packaging, but they're very willing to break with the past to get it, which I appreciate.

The nice thing too is with cargo, should you ever commit to bevy, they can break the future, and you don't have to chase a moving target. You can just stick to your version. But they also provide guides to make moving up to the latest and greatest easy. Or at least that's been my experience as a bevy dabbler.

It's a prescient statement with regard to the cold war.
I’ve changed how I use Twitter. It’s now in readonly or reactive mode for me. I may comment and retweet but all new content is now being posted to mastodon. While this seemed hard to want to do at first, mastodon actually has a ton of quality of life improvements like edit your post to fix your typos. I swear I feel like I was in a Stockholm Syndrome with Twitter just accepting that you can’t edit your tweets. Why was that ever acceptable? You can’t add alt text to an image you already uploaded. You must choose to delete a tweet that is maybe gaining traction or live with your typing mistakes. Ugh. Honestly it feels like getting out of a bad relationship. Happy to invest in communities that are outside of Elon’s control.
Re:Go ahead, be rude. It will cost you $350k on Saturday November 12, 2022 @11:21PM (#33580014)
I believe the original phrase was, “The customer is always right in matters of taste.” It’s a shame that party got dropped.
I was a paying GitHub customer, but they had such a crummy private repo policy at the time (I think only 5 private repos were allowed) it forced me to make poor technical decisions: "I'll delete this github repo, keep my local copy, to open up a slot." I switched all my private repos to gitlab and stopped paying for github and was happier for it.

Later github changed its policy to something saner, but I never switched back to using github for private repos. This decision by gitlab even if it's rescinded, however, might give me the impetus to do so.

Re:Semantic Git Commit Messages on Monday September 27, 2021 @01:10PM (#28673345)
I use this style. It’s been very helpful. It feels like a nice scannable breadcrumb compared to my old commit titles. I did have trouble sometimes remembering the categories. Was it “doc” or “docs”? So I changed my git template to show this and my own enshrined categories. One category I added was “excise” for the removal of things.

https://gist.github.com/shanecelis/db3f348288be70e4de4e0f249...

Early on in, I used to write “refactor,doc,feature:” before I realized that one of the practices this is meant to encourage is a commit that does one of the things, not all of them. I’m not very strict about it. I always do the semantic title but if I have some documentation mingled with a refactor, oh well.

Microsoft’s .NET languages and the CLR do this. You can even use IronScheme so you’ll have a Lisp with a ton of libraries.
It's essentially for efficiency but not merely; it would be impractical to do with partial spends. Transactions are immutable and spend all of their inputs because it's easier to track and verify no double spend has occurred. If you allowed for partial spends, you'd have to trace the ancestry and descendants of all the transactions to verify whether there was enough bitcoin to spend it. This way if you have a transaction and it hasn't been spent since it originated, you know exactly how much can be spent.

I think it's natural to think of addresses as having a certain amount of bitcoin in them like an account at a bank. But bitcoin doesn't actually have accounts with balances. It just has transactions that have yet to be spent. You can calculate the amount of bitcoin that is spendable by an address so it looks like an account, which is what every wallet does but underneath it's just a collection of transactions that point to some address that you have the private key of.

Re:Awesome OS X Command Line on Saturday February 18, 2017 @12:23AM (#13673722)
Unfortunately if you know English, the doors to truly learning AppleScript are forever closed to you.
Re:I’m a boring programmer (and proud of it) on Saturday April 02, 2016 @06:45PM (#11413913)
How to Become a 10x Boring Developer
I like the concept of freedom as an American, but as a cotton farmer not so much.
Re:The death of scripting on Sunday August 23, 2015 @07:16PM (#10107118)
It sucks that GUI scripting is dying on the vine on Mac, but it still sucked even when Apple was trying to support it with AppleScript. It was always kludgey. BeOS seems like the only OS that made apps that were by default scriptable.
My god. It's full of ugly.
Re:NP-Complete Problems and Physical Reality (2005) on Tuesday July 14, 2015 @01:15PM (#9886458)
It's just the time complexity sucks.
Re:The Case for Slow Programming on Tuesday December 02, 2014 @12:26AM (#8685849)
Excuse me, are you asking for data? for evidence? We're here to assert our opinions, speculate on what's best, and cite an anecdote—sadly.
Re:The Case for Slow Programming on Tuesday December 02, 2014 @12:21AM (#8685842)
Yeah, who needs entering code to be a challenging "mini-game" instead of an automatic, non-thinking skill of typing?
Re:The Supreme Court doesn't understand software on Friday June 20, 2014 @08:16PM (#7923580)
I fail to see how a program is not a mathematical algorithm.
Re:The Supreme Court doesn't understand software on Friday June 20, 2014 @08:07PM (#7923548)
> The value in a piece of literature has little to do with the individual words it's made from

Literature would be hobbled if one couldn't use certain words without fear of litigation or rent seekers suing them.

> software is clearly vastly more than the sum of its algorithmic parts.

But it's all algorithmic parts, and the whole is no less an algorithm because its parts are.

Algorithm + Algorithm = Algorithm

If you want to rely on literature as your software analogy--that the composition of words/algorithms, the expression should be protected--then you're arguing not for patent protection but copyright protection, which we already have, and ridiculously is far better than what writers get. Because we don't have to share the human readable part the source code, just the compiled products. At least with patents one was supposed to disclose something of value.

Re:Pharo 3.0 (the immersive live environment) Released on Wednesday April 30, 2014 @10:50AM (#7673652)
It's looking nicer all the time.

Older »