HNHacker News
TopNewBestAskShowJobs

tandr

513 karma · joined April 13, 2015

submissionscomments
tandr··on Memory access on the Apple M1 processor
Sorry, what would AMD's or Intel's "latest and greatest" numbers for the same be?
tandr··on Memory access on the Apple M1 processor
> It also implies that the gap won't exist for very long, as AMD will move onto 5nm soon

... yes, if there is any capacity left. Capacity for the new process is a limited resource after all.

tandr··on Trump bans Alipay and seven other Chinese apps
Would you be kind and explain how this is works? (my suspicion is that it is akin "if you owe bank a $10000, you have a problem. If you owe bank a $100mil, bank has a problem", but please don't let this idea influence your answer)

Thank you.

tandr··on V (Vlang) 0.2
Silly me - the syntax that I proposed was the second one

    err := close(ch)
to handle case when you don't want a panic on closing of closed channel. The first one was discussed on golang-nuts, but it died there.
tandr··on V (Vlang) 0.2
Thank you for such extended answer.

1. I would politely disagree with Go channels are efficient. If they would be efficient, they would be actively used internally as a synchronization primitive. I don't remember seeing external libraries using it past notification mechanism of "it is done" kind either. There would be some nifty tricks possible if cost of channels is much lower, or compiler would be able to use some "very light" channels if it sees it is possible (not sure if it even theoretically possible, but I am not an CS theory guru...)

2. That's kind of unfortunate, I would prefer if error is requested, just return an error

   err := ch <- data_to_send
vs

   ch <- data_to_send
which might panic. But looks like neither of languages allow this. I proposed the syntax above to Go, but it was rejected.

3. That's nice. Is there an error to catch if needed?

    err := close(ch)
tandr··on V (Vlang) 0.2
I need to find it, but I remember it was "we discussed it, and no, we decided not to" sort of answer there. There is also earlier explanations (from Rob Pike I think?) that was "we did not like how it looks like, couldn't find a nice looking syntax". The whole discussion left me with a bit of eery feeling, and left me with a bit of a sour taste (together with "error handling" one that I kind of tried to participate in). I pretty much stopped actively following golang-nuts after that, and now only look at proposals through meeting notes that Russ posts on github [1], where you can see accepted/not accepted status immediately.

Btw, there is another saga (drama?) unfolding on github proposal discussions over sum types [2], and judging by the past experience I don't have high hopes for it to get into the language.

[1] https://github.com/golang/go/issues/33502

[2] just one last I saw today, but there are more tickets about same or connected issue https://github.com/golang/go/issues/41716

tandr··on V (Vlang) 0.2
Thank you for the suggestion. No, I am not on discord.
tandr··on V (Vlang) 0.2
Couple questions about channels:

    1. Will they be as heavy as Go's ? Go has 2 mutexes and some other fluff
    2. Are they "close-safe" like, if I send something to the channel, and it is nil or closed, will it panic crash or stuck forever like Go does, or V is trying to be "panic-free"? Will "prohibited" operation return an error or panic/stuck?
    3. If channels are closeable, will I be able to close them twice without panic (closing closed door might creak, but IMHO should not burn the house down...)
(At some point in the past I did suggest adding an error to channel operations so it will not panic if I am ready to intercept an error, but that was rejected)
tandr··on New coronavirus strain up to 70% more transmissible
Well, C is not always worse than C++

I will see myself out.

tandr··on IMF would use your search history for credit scores
They have quite a pull in influencing governments, and if IMF will say "you need to implement social credit system if you want our help", there is not a lot of governments that will say no. Especially in "problematic" countries.
tandr··on Chemicals in Plastic Waste Are Killing Us
Does you filter allow to filter that stuff out, tested and all? What is this filter made of - food grade steel, aluminum, or have some plastic parts/tubing too?
tandr··on UK politicians call for the resale of goods bought by “bots” to be illegal
Now, make it the same for stock market.
tandr··on Amazon disallows pointing out paid reviews
Seller will just rise prices accordingly to offset 1000 items sold with 1 bad feedback. So, like 10 cents per item?
tandr··on Blob Opera
this is why I don't show anything like this to mine. But I will show it to my daughter :)
tandr··on Archive and historians sue White House, seek to preserve presidential records
> when the law (as amended in 2014) requires "a complete copy" to be preserved, including digital links and attachments.

I can see this as the reason why Twitter does not delete presidential twits - they don't want to break the law.

tandr··on Google Poly is shutting down
It is a Google's graveyard. They will sunset this one (stop accepting new "bodies") after 2 to 5 years, and open a new, "improved" one, with worse UX and lost features.
tandr··on Everything You Know About MongoDB Is Wrong
Thank you very much for sharing this.

Our experience was about the same - both cost- and perf-wise. It just that our perf boost number was order of magnitude bigger on some tasks :).

tandr··on Everything You Know About MongoDB Is Wrong

  - Why did you move to Postgres?
  - What was perf impact/improvement after moving to Postgres?
Thank you in advance!
tandr··on Salesforce is in talks to buy Slack
Yeah... and once it comes down to a company's pm level, they all lock it down to what they think is the best, leaving teams using something that is guided towards PM and reporting, instead of getting job done.
tandr··on Covid-19 down in 24 counties with mask mandates, up in 81 counties without
I hate to be that guy... Would you be kind and post some sources of that information please?
tandr··on California passes Proposition 22, backed by Uber and Lyft
If your prediction is correct, than that's both Uber and Lyft were trying to get going by working on it by themselves. Means that either them not far from that too, or Uber and Lyft will partner or just buy the majority of cars from Tesla, and reduce employed workforce to a minimum.
tandr··on NASA finds rare metal asteroid worth more than global economy
I see what you did there, but man... that hurts.
tandr··on 76% of American CEOs say they may shrink office space
Somehow, Scanner Darkly's pictures of anonymity shell comes to mind...
tandr··on Google Play Music, Music Play Store and Music Manager are going away
Would be interesting if ANYONE from Google actually have read anything on this thread, and what do they (or their management) think?...
tandr··on 76% of American CEOs say they may shrink office space
Well, the fact that I have more than 25 years of experience kind of tells that I am not a 28 years old anymore, doesn't it? Also, I think it is pretty standard in Europe (and I think I saw this in Australia too) to refer to person in newspaper as Name, <age>, which makes it a "common practice" of sorts...

It is hard to hide an age :)

tandr··on 76% of American CEOs say they may shrink office space
That would be true if you don't have any video calls, or all the interviews are done without resume screening...
tandr··on FreeYourMusic lets users migrate their playlists off Spotify
I have used https://soundiiz.com/ a month ago to transfer all my music lists from Google to Spotify (yeah, the irony...) after many years of having music subscription with them. I just cannot stand the quality drop (and build-for-cheap-tv normalization levels) of sound on Youtube Music.
tandr··on How Corporations Scam Their Shareholders and Screw over Workers
thank you
tandr··on How Corporations Scam Their Shareholders and Screw over Workers
Do you know if there were there proposed bills to have these items addressed?
tandr··on Most(ly dead) Influential Programming Languages
Self should've been mentioned if not for slots and template-like object creation system (now well-known because of JavaScript), but for just-in-time compilation (JIT(, which opened a whole different world for Java and JavaScript later.
← PreviousPage 8 of 14Next →