Hacker News new | past | comments | ask | show | jobs | submit | acoye's comments login

I'd love to see John Carmack come back from his AGI hiatus and advance AI based rendering. This would be supper cool.


Nvidia CEO reckons your GPU will be replaced with AI in “5-10 years”. So this is what the sort of first working game I guess.


Yup that's a Teenage Engineering OP1 designed to look like a keyboard :D


I wonder if Swift's AsyncAwait could be used in such a way.


Sure it's possible, we need to await for the Task if it already exists on the dictionary, for example we could imagine writing something like this inside an actor to make it threadSafe.

    private var tasksDictionary: Dictionary<String, Task<Data, Error>>

    func getData(at urlString: String) async throws -> Data {
        if let currentTask = tasksDictionary[urlString] {
            return await currentTask.value
        }
        let currentTask = Task { 
           return try await URLSession.shared.data(from: URL(string:urlString)!) 
        }
        tasksDictionary[urlString] = currentTask
        let result = await currentTask.value
        tasksDictionary[urlString] = nil
        return result
    }


Hmm, why set `taskDictionary[urlString] = nil` at the bottom there? If the whole point is to cache the result, isn't the point to leave the value there for other requests to pick it up?


Yup, nice catch, no need to reset it to nil if you wanna keep it in memory indefinitely.

I guess making it nil can be also used if you don't wanna make the same request when there is one already in flight, in case you have a 403 error and need to request a refresh token, you don't wanna make two simultaneous requests, but you also don't wanna catch it indefinitely either.


Great! So much nicer than the Combine (or Rx) version.


I quitted 8 years ago, banned in my personal DNS, never looked back.

I use private chat apps to replace it, and full disclosure I enjoy from time to time loosing some time on twitter.

INT-P speaking, this may be helping me.


I had this crazy idea a while back using Ray tracing APIs to piggy back a database. Testing for a row could be done shooting in parallel rays to a structure mapped to the data.


I knew it, “apple silicon” branding allows them to de-normalize ARM at will.


How so?

TSO is a valid implementation of the ARM memory consistency model.


Which licensee uses ARM branding?

You can use examples from any product in any market segment.

The Acorn RISC PC doesn’t count because they don’t make that anymore. It has to be a product on the market today.

I thought the entire point of ARM is that you license the ISA, add in your own special sauce to make your own thing and then sell it as your own thing.

There are ARM architecture systems in the machine room at work. They’re ThunderX2 not “ARM”.


The "only" ARM aspect of Apple Silicon is the instruction set.

Nothing to do with "de-normalizing".


Neural net trained on data obtained with … computation. Or else Mr Wolfram wants to hear from you as you broke the `computational irreducibility`


Well in the philosophy problem space, ethics and morals are clearly a complex matter haha.

If someone’s ethics is to maximise chaos, then a full disclosure on 4chan is _technically_ the _most_ ethical action for this person.


Consider `life` been a nonlinear chaotic process, so causality from been smart alone cannot be established.


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: