News for hackers. Stuff that matters.

fasquoika

Re:Apple cuts off Beeper Mini's access on Friday December 08, 2023 @06:12PM (#38576026)
Personally nearly every nice thing in my life either is a human or was made by one
Re:Seamless: Meta's New Speech Models on Friday December 01, 2023 @05:40PM (#38493544)
Reinventing polari is certainly one way to make yourself less understood...
Well you're on a website called ycombinator.com so maybe the fixed point combinator

    Y = λf.(λx.f(xx))(λx.f(xx))
https://en.m.wikipedia.org/wiki/Fixed-point_combinator
>There’s a well-established effect, common enough at this point to where some academic has probably given it a name like “The Twitter Dilemma” or something, that describes how a lie can be much more potent and contagious with exponentially fewer words than are necessary to effectively refute it.

https://en.m.wikipedia.org/wiki/Brandolini%27s_law

Re:Driving is more expensive than you think (2020) on Sunday August 06, 2023 @09:38AM (#37021791)
In New Jersey the Midtown Direct line famously paid for itself multiple times over by increasing nearby property values so much the state collected millions more in property taxes

https://en.m.wikipedia.org/wiki/Kearny_Connection

>A safe alternative is to use indexes instead of references.

    struct ParsedFile {
        contents: Vec<u8>,
        words: Vec<(usize, usize)>
    }
>This works well, and you can make it ergonomic by wrapping the index pair in a new type

You should probably just use the std::ops::Range type for this. It's what's created by the `..` syntax

GHC is nearly impossible to bootstrap if you don't consider the vendored transpiled C code to be source. Versions of GHC not dependent on GHC were never public AFAIK.

https://elephly.net/posts/2017-01-09-bootstrapping-haskell-p...

Re:A Big Week for RISC-V on Sunday February 13, 2022 @06:38PM (#30326746)
Closer to pi zero than pi 4 but you can order it right now

https://aliexpress.com/item/1005003741287162.html

Re:Tell HN: AWS appears to be down again on Wednesday December 15, 2021 @11:57AM (#29568536)
Well, you didn't just find a cave, it was made for you by other people. Interdependence is a hallmark of social species such as Homo Sapiens. Even your caveman ancestors were probably reliant on one another in many ways.

>It seems that someone asked the great anthropologist, Margaret Mead, “What is the first sign you look for to tell of an ancient civilization?” The interviewer had in mind a tool or article of clothing. Ms. Mead surprised him by answering, “a healed femur (thigh bone)”. When someone breaks a femur, they can’t survive to hunt, fish or escape enemies unless they have help from someone else. Thus, a healed femur indicates that someone else helped that person, rather than abandoning them and saving only themselves.

Re:Fortran Web Framework on Monday September 13, 2021 @02:10PM (#28514723)
Re:Learning APL on Friday August 06, 2021 @08:12PM (#28094322)
>It really clued me into how the language got such a following in HR/Finance applications. You got an array of everyones hours per day. Weekly total hours, pay, tax, medicare, etc, were all broken out in little calculative statements based on the array of hours.

Yeah I guess APL is kind of 'spreadsheets as a Real Programming Language', isn't it?

>I was at a talk that had something to do with Unix. Fortunately, I’ve succeeded in repressing all but the speaker’s opening remark:

>I’m rather surprised that the author of sendmail is still walking around alive.

>The thing that gets me is that one of the arguments that landed Robert Morris, author of “the Internet Worm” in jail was all the sysadmins’ time his prank cost. Yet the author of sendmail is still walking around free without even a U (for Unixery) branded on his forehead.

- The Unix Haters Handbook

Re:Main is usually a function, so when is it not? (2015) on Tuesday June 15, 2021 @12:35AM (#27511337)
I'm guessing this is referring to the fact that early versions of Fortran stored return addresses in specific memory locations (at the end of the function definition IIRC) instead of on a call stack. This is why those versions of Fortran couldn't do recursion, because the new return address would overwrite the old one.
> Perhaps it relates to using 36-bit words?

Yep, before ASCII was standardized it was common for machines to be built with word-addressable memory and words that were multiples of six bits. Two octal digits easily represent a six-bit byte, just as two hexadecimal digits easily represent an eight-bit byte

This is how both TeX and m4 do quoting by default so presumably common when they were created (mid-eighties and early seventies respectively IIRC)
Re:Surprisingly Slow on Thursday April 08, 2021 @12:30PM (#26740772)
>My guess is that Microsoft has a secret new OS (written from scratch) that's super modern and efficient and they're just waiting for the market opportunity to finally ditch Windows and bring out that new thing. I doubt it'll ever happen though because for "new" stuff (where you have to write all your stuff from scratch all over again) everyone expects the OS to be free.

https://en.wikipedia.org/wiki/Midori_%28operating_system%29

Re:Donald Knuth was framed on Monday February 24, 2020 @05:46PM (#22409267)
Re:Copying data is wasteful, mutating data is dangerous on Thursday January 09, 2020 @05:15PM (#22006480)
>(now I know where it comes from)

Both Julia and Ruby got this from Scheme and it might be even older than that.

Re:The History of Unix, by Rob Pike [video] on Saturday November 10, 2018 @01:52AM (#18420269)
Alan Kay has asserted repeatedly that there's no place like Xerox Parc in the modern world. Not necessarily authoritative, but something to think about.
Re:$vau: the ultimate abstraction (2010) [pdf] on Friday November 09, 2018 @06:40PM (#18418968)
> Further, when a variable is evaluated, you get both its value and a reference to it. This allows variables to be evaluated before being assigned to in assignments. This sounds weird, but it works with the above. You can make a "set" function which does the same thing as assignment

Have you read Strachey's "Fundamental Concepts in Programming Languages"[1]? You seem to have rediscovered lvalues.

[1] https://www.itu.dk/courses/BPRD/E2009/fundamental-1967.pdf

Re:Raku Perl 6.d [pdf] on Tuesday November 06, 2018 @07:52PM (#18396295)
"There's more than one way to name it"
Re:Not Lisp again (2009) on Friday October 26, 2018 @05:25PM (#18312823)
>Lisp (or Scheme, in this case) is a very simple language that gets essentially everything right.

I have to wonder if you actually know all that much about Scheme. Undelimited continuations, for example, are pretty much strictly broken. I like Scheme, but to claim it's flawless is kinda ridiculous.

Older »