News for hackers. Stuff that matters.

danellis

Re:Meta and Google are cutting staff on Saturday September 24, 2022 @03:39AM (#32960492)
Google, Meta and Amazon are still repeatedly reaching out.
Re:Ask HN: Companies of one, what is your tech stack? on Saturday September 24, 2022 @03:37AM (#32960481)
Front end: TypeScript, Angular, Apollo, Material Back end: Scala, ZIO, zio-http, Pulsar, Keycloak, Postgres Hosting: Kubernetes on Digital Ocean, GitLab Pages Tools: Hugo, Twilio, Namecheap, Mailgun
Re:Meta and Google are cutting staff on Wednesday September 21, 2022 @02:26PM (#32929178)
It's odd to read about hiring freezes when they're both still actively recruiting.
Re:Meta and Google are cutting staff on Wednesday September 21, 2022 @02:25PM (#32929166)
Presumably also Nest and Fi.
I'm currently working on a project that uses both Typescript and Scala. The overlap in concepts is rather useful when switching contexts.
Re:Ask HN: How do you switch between programming languages? on Tuesday September 20, 2022 @05:51AM (#32909715)
> it helps that you don't fall into the trap of "one IDE for all programming languages"

I don't see this as a trap at all. I use IntelliJ for practically everything, and switching languages frequently (currently between Typescript and Scala several times a day) has not been difficult. I get way more benefit from developing increased familiarity with my environment.

Re:http://pn./ on Sunday September 11, 2022 @10:55PM (#32805559)
There's no magic. It works the same way any other domain does.
Re:Ask HN: What's the best SDK documentation you’ve ever read? on Saturday September 10, 2022 @06:03PM (#32794922)
RISC OS Programmer's Reference Manual. It's very well laid out, clearly written and consistent. In fact, I even bought myself a copy all these years later to peruse for nostalgia.
Interesting. Is there no distance limit? I don't know how 5G works, but in 2G there was a limit of about 30km, since that's as much as the timing advance would allow for (sending the signal early so that it arrives in its timeslot despite the speed-of-light delay).
> It only works in languages where promises/futures/tasks are a first-class citizen. Eg JavaScript.

Why would that be true?

Re:HN is up again on Friday July 08, 2022 @10:29PM (#32030827)
Maybe I'm missing something, but what's the point of posting this here? Anyone will already know it's back up before they see this post.
Re:Cell Lang: Why yet another programming language? on Monday July 04, 2022 @05:02PM (#31981737)
I don't think I've actually seen anyone refer to it as Lisplang.
Re:Cell Lang: Why yet another programming language? on Monday July 04, 2022 @05:01PM (#31981723)
This is true of everything that is named after something, and it wasn't really something people worried about until Go, which is interesting in itself.
Re:Cell Lang: Why yet another programming language? on Thursday June 30, 2022 @02:28PM (#31936518)
I'm not talking about domain names. I'm talking about people referring to the language itself as, for example, Rustlang.
Re:Cell Lang: Why yet another programming language? on Thursday June 30, 2022 @01:25PM (#31935670)
What's with people tacking "Lang" on to the end of language names? I can kind of understand it with Go, since Google didn't exactly come up with a very searchable name, but now I'm seeing it spread to other languages like Rust, and now here with Cell.
Re:Wasmer – Universal WebAssembly Runtime on Thursday June 16, 2022 @05:30PM (#31771216)
Which language do you want to use? You already have a choice.
Re:Google's Subsea Fiber Optics on Wednesday May 18, 2022 @02:56PM (#31426339)
What would be the correct amount of production?
Re:CSS as the back end – Cascading Server Sheets on Tuesday March 01, 2022 @08:41PM (#30522593)
Separation of concerns. The person writing the HTML should get to decide where the data is rendered in the page, not the person generating the data. What you've done (as far as I can tell) is unnecessarily couple the backend to the structure of the presentation layer.
Re:Anatomy of a terminal emulator (2021) on Saturday February 26, 2022 @02:40PM (#30481054)
I was surprised by the assumption of ANSI and no mention of $TERM.
Re:JSONiq: JSON Query Language on Tuesday November 09, 2021 @05:11AM (#29159733)
Curious syntax. Why does it require sigils? Why does assignment need both `let` and `:=`?
Re:A proposal for adding a pipe operator to JavaScript on Tuesday October 19, 2021 @11:42PM (#28926489)
It seemed like a reasonable idea until I saw the syntax.

    Object.keys(envars)
      .map(envar => `${envar}=${envars[envar]}`)
      .join(' ')
      |> `$ ${%}`
      |> chalk.dim(%, 'node', args.join(' '))
      |> console.log(%);
Okay, from the other comments, I gather this is like Hack. Does any other language use a pipe operator for non-unary functions? Does the `%` syntax apply more generally? What is the type of `foo(%, 1, 2)`? One would expect it to be the same as `placeholder => foo(placeholder, 1, 2)`, but is it?

For example, in Scala, if I have `foo(Int, Int, Int): Int`, then `foo(_, 1, 2)` has type `Int => Int`. That's true anywhere, but in the JavaScript proposal we seem to have a syntax that only applies in a special case.

Re:Google Pixel 6 and Pixel 6 Pro on Tuesday October 19, 2021 @03:08PM (#28922234)
Oh, I don't know, maybe because those two things have nothing to do with each other.
Re:Google Pixel 6 and Pixel 6 Pro on Tuesday October 19, 2021 @03:04PM (#28922154)
What about it is garbage?
Re:Android 12 on Tuesday October 19, 2021 @02:59PM (#28922054)
The dictation looks really good. The main reason I don't use it currently, even though it would be the most natural way to enter text, is that I want my text to have punctuation without me having to be explicit about it. Looking forward to trying this eventually.

Also, given that they have translation and live transcription of videos, live translation of videos was the next logical step. I hope it's available for all audio sources.

He's like Doc Brown. "The way I see it, if you're gonna make a payload out of a car, why not do it with some style?"
Re:Japan breaks world record for fastest internet speed on Monday September 27, 2021 @04:27PM (#28675581)
What do you mean by "their own"? There's nothing about SONET/SDH that's specific to undersea cables.
Flying Microchips Size of a Sand GRAIN Could be Used by Citizens to Keep Authorities In Check
Lithium carbonate.
> We know the difference between processors and capacitors around here.

Maybe for a two-legged device like a capacitor, but for something in, say, a SOT-23 package, you can't be sure what it is from the outside.

Then again, maybe even something in a capacitor-like package could both communicate and be powered.

Re:Glass – Photo sharing app and community on Thursday September 16, 2021 @12:03PM (#28553501)
> No algorithms

I don't like this particular lie. It seems like as soon as we find it acceptable to tell it, we get to choose how complex or user-hostile the algorithm gets to be while still telling the same lie.

Older »