Hacker Newsnew | past | comments | ask | show | jobs | submit | webshit2's commentslogin

I also can't believe the big bad USA has turned the Baltic states, Poland, Ukraine, etc on Russia. It's because the media is just too weak in Russia, China, Iran, North Korea so they haven't been able to communicate their upstanding values clearly enough.


I really don't understand this framing of liberals as becoming pro-war. The opposite of pro-war is not nonresistance, in the same way the opposite of pro-murder wouldn't be anti-self-defense. There is no inconsistency in being against the invasion of Iraq and being against the invasion of Ukraine.


Please. Read through his twitter. ZERO pushback on the mountain of bullshit coming from people like Tucker and Trump, ZERO pushback on pretty much everything Russia is doing. He has vastly different standards for the RNC and DNC. Not a peep about election denial becoming a mainstream conspiracy theory in the GOP - but don't worry, no shortage of Russiagate complaints. I can only assume that he believes that as a counterweight to MSNBC (?) he can just completely ignore these, but in reality it makes him come off as a hack.

Look at this: https://twitter.com/ggreenwald/status/1666559102527389699. Tucker is a "US elite" by any reasonable definition (except if you're using it as generic right-wing boogeyman)... in that case why not mention Tucker claims, with no evidence, that Ukraine destroyed the dam?


There's really no need to listen. Everyone knows his shtick. I didn't listen but can almost certainly summarize what he said: Woke woke woke blah blah blah mickey mouse and the cartels are grooming your children into transgender drug mules


Idk typing +1 seems easy enough... 1:N == union(1:(N÷2), (N÷2+1):N).

But really, these discussions are funny to me - each side pretending their convention is how God intended indexing to be done. You see it's naturally composable because N/2 shows up twice, which is really the perfect amount of times to show up, and as you recall I just defined composable in that way (not to mention it matches the fact that N/2 occurs twice in [0, N)!)


In python this is natural way to do ranges, and in Julia you have to remember this pesky +1

In Python (C, C++ with whole STL) you could split in the middle, or at any M

[0...N)=[0...M)+[M...N)

You could split it k times at any boundaries, still

[0...N)=[0...M1)+...+[Mk...N)

Another important thing is that number of elements to process is exactly the difference between last and first index of the range

https://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF


> number of elements to process is exactly the difference between last and first index of the range

And in Julia, it’s

  length(a:b)
which also works with non-unit step sizes like

  length(a:x:b)
The intent of these expressions seems clearer than the intent of `b-a` and `ceiling((b-a)/x)` with your proposed approach in a zero-indexed language.


Little do Julia fans know they're missing out on gems like range(n - 1, -1, -1).


??

Isn't that just n-1:-1:0 in Julia?

Was this sarcasm?


I think the point was that in Julia is n:-1:1 since although rangers don't compose, they do reverse (unlike python)


Naaaah.


The colon is a bit overused (ranges, ternary, quoting), but this would be pretty clear with parentheses and spacing, i.e. ex.head == :(.) and ex.head == :(call). Now you can see it's a comparison against the symbols '.' and 'call'. Kind of like saying C has too many weird character combinations because there's a "--> operator".


Indeed there are no special operators, :. and ==: etc. They are just :, . and ==

And macro definition code looks quite different from 'regular' code since it works so much with expressions and symbols.


Yes the real injustice is that women don't want to participate in the violence that has been perpetrated almost entirely by men since the dawn of time


So why should I be forced to participate if I didn't perpetuate any violence myself? Should immigrants from countries known for terrorism or drag cartels be banned because Americans want no part of these activities?


Men perpetrate the violence. Women often talk them into it.


…source?


The Trojan war was Helen's fault bro


That should be a valloc or aligned_alloc for it to actually be page-aligned


Yes usually blackboard or slides. Sometimes iPad + stylus.


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

Search: