News for hackers. Stuff that matters.

winwhiz

Re:Dada, an Experiement by the Creators of Rust on Wednesday March 06, 2024 @10:14AM (#39616807)
It is also a very Dadaism thing to do. Da!
Re:My favourite Git commit (2019) on Thursday February 01, 2024 @05:37PM (#39222429)
Yeah, I think I conflated a git specific question from the GP and a more general CLI question, my bad.

The argument can be made the interfacing with git is bad whether with mouse or with keyboard. My git secret weapon is to ask myself how do I make git do this thing that is easy in Subversion or Fossil and then I do that thing and I write it down so I can do it again in X number of months.

Re:My favourite Git commit (2019) on Thursday February 01, 2024 @04:52PM (#39221969)
Yes, I think we agree that abstraction is great (with or without "scair" quotes.) My point is that CLIs are valued as tools of explication, repeatable explication. I have actually used Window since 3.1. I cherry picked a particularly juicy example that I run into a lot.

> If you're going to make that into a complicated mess, then you absolutely do not get to assume...

As far as tooling goes the GP mentioned IntelliJ so I rewrote code with fleet, I could have easily have picked emacs or vim or bash or zsh or tcsh instead of fish and the complexity of interface would have remained static. I think HN formatting tools are partly to blame for the messiness but if you look at any quality set of docs describing a complicated computer interaction, to achieve the same level of repeatability as text-based, POSIXy interactions you are going to need a lot of screen shots and a few this or thats. WHICH is fine! Remember software engineering is about trade offs!

EDIT: CLI allows for abstractions like $EDITOR and $SHELL

Re:My favourite Git commit (2019) on Thursday February 01, 2024 @04:17PM (#39221589)
Thanks! This is what I was secretly hoping for. I am doing this a lot lately.
Re:My favourite Git commit (2019) on Thursday February 01, 2024 @01:58PM (#39219722)
Really simple answer: Repeatability. I am not saying it is the only one right blessed answer, but if you really want to know why people haven't moved to pure GUI interfaces, imagine describing to someone how to add a new directory to their path.

  fleet $HOME/.config/fish.config
  # ADD this line somewhere
  set -x PATH /opt/git/bin $PATH
Or: 1. Either hit WINDOWS-E and right click on This PC and select properties (it might be called something other than This PC if someone renamed it) or either press WINDOWS key or click Start or click the Windows icon (if you don't see them try mousing into a corner of your screen (typically bottom left) until they and the rest of the bar un-autohide) look for and click a gear symbol (should expand to say Settings if you hover), click System, on the left and the bottom you should see About. 2. Click the text Advanced system settings (on the right), look for a new window with a set of tabs, you want Advanced. Click the button Environment Variables. 3. In the top columnar box EITHER find a variable named Path, highlight and click button Edit, in a new window click button New, type '/opt/bin/git' in a text field that has appeared at the bottom list items, click OK OR click the button New, in a new window enter Path for Variable name and /opt/git/bin for Variable value, click OK (you shouldn't need to Browse Directory or Browse File). 4. Click OK button, click OK button, close Settings window.
Re:The Windows installer of ImageMagick will no longer be signed on Wednesday November 01, 2023 @07:00PM (#38106593)
I'm not trying to be snarky and now I can't even remember where I heard it... but aren't all of Microsoft's keys still flapping in the wind themselves? Thanks to the work of some state actor?
Re:Fixing for Loops in Go 1.22 on Wednesday September 20, 2023 @04:03PM (#37589363)
I hope this experiment fails. It is one cherry picked do-what-I-mean feature that muddies the Go1 Promise and will almost always be covering up a subtle logic error. It also adds a bit more historical knowledge you have to remember: In early part of the second thousand twenty fourth year of our Lord, in version 1.22.0, a subtle change was made that maybe ignored on a per file basis or per module basis as has been done previously in the future as you might recall in 1.20.8 and 1.19.13.

If it doesn't fail I have a couple more ideas, if the compiler can prove my double only ever interacts with ints then... just do what I mean it's provably correct.

package main // YUM! I WANT MOAR DWIMMY.... AND SIGILS AND BLESS AND UNLESS

func easy(one int, won float64) { print(one + won) }

func main() { easy(1, 1) }

Bad headline.
Re:More malicious extensions in Chrome Web Store on Thursday June 01, 2023 @11:10AM (#36152181)
Doesn't Mozilla get most of its money from that filthy Google ad revenue though because Google Search is the default when you install Firefox?
Re:I want to talk about WebGPU on Wednesday May 03, 2023 @03:07PM (#35806402)
I like Cloudflare's docs as a good starting place.
I have this problem too! I have been trained to roll away from my desk before I stand up. I assumed it was static, and my hat's off to you who tracked this down.

Steelcase Criterion / Dell S2716DG

Re:'Algebra for none' fails in San Francisco on Monday April 17, 2023 @03:19AM (#35597673)
I bet farmers use waaay more algebra than I do as a fullstack web programmer. I love it I just don't use it. On the other hand farmers are thinking about slopes all day, every day: irrigation rates; fuel, fertilizer, seed rates; growth rates. They don't get paid once or twice a month like I do so their finance maths are much more sophisticated than mine.

I know, I know what about video game programmers? Okay, you got me there.

Wave was what Slack became years later. They had tons of runway to transform it into an actual product before any competition caught up.
Re:Moving from Rust to C++ on Saturday April 01, 2023 @02:50PM (#35402907)
I don't know what it is called I just know the sound it makes when it goes down a man's throat.
I had read that somewhere else and this is as far as I got

https://twitter.com/id_aa_carmack/status/1241219019681792010

Re:Freeciv – open-source Civilization clone on Thursday August 11, 2022 @10:08PM (#32434047)
I recall seeing Sid Meier say in a talk that he liked to scale his AI to give players the sense of being on a knife's edge and then scaling it back near the end of a game to give a feeling of victory over impossible odds.
Re:Sunsetting Atom on Wednesday June 08, 2022 @01:52PM (#31671363)
All of the id Software code was release to open source essentially sunsett'ed. That was never a problem.
Sure they say: > The day's headlines delivered to you without bullshit.

But there is a whole lot of •shit.

> Why do so many here seem to be so proud of their lack of understanding of the value of NFTs?

We have codified our lack of understanding into a digital token and attached it to an entry in a crypto ledger such that no one else can claim ownership of said lack until we transfer it to them. Thus we have created something not just prideworthy but also scarce and valuable.

It is not insulting, its science fiction[0][1]. Many humans self identify as such[2].

[0] https://www.google.com/search?q=meatbag&tbm=bks

[1] https://starwars.fandom.com/wiki/Meatbag

[2] https://twitter.com/amyhoy

No but seriously, (excuse my American ignorance), are there not European banks and payment processors? No European alternative to OnlyFans?
I think the point is that if this case had gone the other way this kind of open licensing would happen a lot less. Companies would be obliged to enforce API copyright to protect themselves from loss of copyright (share holder value)
Is intellectual surprise caused by anything other than bias?

I noticed this when I started rereading the dissent with a s/Oracle/Sun Microsystems/g. I felt a bit more swayed when I started to recollect all my fond Sun memories: blogs, hobbyist customer experience, etc. and stopped thinking about my glowing hatred of Oracle.

The dissent does seem nuanced to me even though I am quick to dismiss it based on the premise and my superior technical knowledge and maybe a bit of my own biases that I can't quite completely ignore.

Re:Why is it so hard to see code from 5 minutes ago? on Thursday February 18, 2021 @08:44PM (#26188474)
Came here to say this. It is a really old feature.
Re:United States vs. Google on Wednesday October 21, 2020 @07:42PM (#24853528)
It's not like they are content dominating just those verticals. Agriculture anyone?

https://x.company/projects/mineral/

Re:United States vs. Google on Wednesday October 21, 2020 @07:16PM (#24853339)
Was it? There is a lot of Keyhole in there too. And remember maps.* and local.* both existed for a long time.
Re:Why I stopped reading HN (2010) on Thursday October 08, 2020 @07:30PM (#24725076)
That has happened to me.