|
mystes posted:Each individual post as you scroll down. i'm pretty sure discourse unironically does that and it's actually a nice feature
|
# ? Nov 1, 2020 01:57 |
|
|
# ? Apr 25, 2024 02:09 |
|
xtal posted:All OAuth servers do that, and email unsubscribe links in jurisdictions where its legally required the email unsubscribe links also have a side-effect in jurisdictions where they're not legally required, it's just not the effect it says on the tin
|
# ? Nov 1, 2020 03:26 |
|
Cybernetic Vermin posted:wtf the unread number on this thread just changed on me but when you request that page again? idempotent, not pure
|
# ? Nov 1, 2020 08:00 |
|
love a good semantic rest api https://www.dropbox.com/developers/documentation/http/documentation
|
# ? Nov 1, 2020 08:10 |
|
Nomnom Cookie posted:but when you request that page again? idempotent, not pure The exact sideffect differs based on whether it is currently the last page or not, so not idempotent.
|
# ? Nov 1, 2020 09:27 |
|
Yeah I think the link on your control panel goes to "whatever the first unread page is". I guess the pure REST design would be to have a GET call that doesn't update the unread count and a separate POST (maybe PATCH) that sets the first unread to whatever. The latter can also do double duty to support a "Mark all as unread" button, so it's not a totally wasted request. More in general, there are plenty of scenarios where from the user's point of view you want to fetch some data AND update some other data as a single action. It's good CQRS design and more versatile to split those in two different API calls, but is it worth it to add a third proxy API call that simply makes those two calls in sequence? As far as I understand it, in the age of HTTP/2 the overhead of making two HTTP requests to the same server instead of one should be negligible, so the question could be where do you want to put the dirty logic of "push $button means doing A and B" - in the client code or in the server code?
|
# ? Nov 1, 2020 11:41 |
|
unread posts is a derived metric, it's not surprising that get requests would increment or decrement some metric.
|
# ? Nov 1, 2020 17:51 |
|
Xarn posted:The exact sideffect differs based on whether it is currently the last page or not, so not idempotent. that particular route isn't idempotent, which is pretty dumb, but if you view a thread normally--?threadid=X&userid=Y&perpage=40&pagenumber=Z--the the unread count is updated as well. that is an idempotent GET with side effect, and i thought that was how the bookmark links are formed, so really the problem here is the forums don't work that way i thought they did
|
# ? Nov 1, 2020 18:20 |
|
these are the forums that had an outage from changing the copyright notice you're talkin about
|
# ? Nov 1, 2020 19:23 |
|
lopmotr 23 minutes ago [–] Organisms fill every niche on the planet. Any unusual disturbance will kill a lot of them. It doesn't matter. Why do people have this worry about anything changing ever? Nothing will go extinct. Why not be excited about the spectacular event? People are so negative and looking at the gloomy side of so much. reply
|
# ? Nov 4, 2020 05:39 |
|
HamAdams posted:lopmotr 23 minutes ago [–] nothing will go extinct, i say in the middle of a mass extinction event
|
# ? Nov 6, 2020 09:18 |
|
as long as we gots eukaryotes and prokaryotes it's all golden, baby! just gotta wait another several hundo million years and then we're back in business!
|
# ? Nov 6, 2020 12:37 |
|
eventually JavaScript will re-evolve
|
# ? Nov 6, 2020 15:15 |
|
Neon Noodle posted:eventually JavaScript will re-evolve thanks a lot now I'm sad
|
# ? Nov 6, 2020 15:31 |
|
HamAdams posted:lopmotr 23 minutes ago [–] How did this person from 1890 get on the internet?
|
# ? Nov 7, 2020 05:03 |
|
SMS 2FA is weak, but it does two things: it shifts the attack from a passive opportunistic one to a targeted one, and, 2. in unionized environments you can add a second compliance factor without distributing new devices, "training" people to use TOTP apps, or "forcing" people to install an app on their personal devices.
|
# ? Nov 10, 2020 23:58 |
|
I have 5 auth apps on my phone
|
# ? Nov 11, 2020 15:05 |
|
firefox just added a new feature to allow you to block non-encrypted web requests. how are the hackers reacting? at_a_remove 49 minutes ago [–] Once this sort of thing is widely accepted, we'll see various blogs and websites silenced by having a certificate revoked. Not right away but soon enough. It's a very exciting development. It's managed to use the geek "Everything has to be like this!" fanaticism to drag in a mechanism of control. I wonder which of the Four Horsemen it will be used against first. reply edit: a bit further down the page bullen 1 hour ago [–] Not OP but: HTTPS is not secure because it is centralized and it does not protect against MITM. HTTP is the foundation of our civilization, it will never go away how much certificate sellers try. But I would go one step further and point out that HTTP can be made secure manually selectively so that you only secure the things that need security! HTTPS wastes energy by encrypting cat pictures, and we don't have that much cheap energy left! But don't worry this will not kill HTTP only Mozilla/Chrome. Chromium will always allow adblockers for free and HTTP, because if they remove it, I'll fork it and add it back in, even if it takes 1 day to compile! reply Mr.Radar fucked around with this message at 16:38 on Nov 17, 2020 |
# ? Nov 17, 2020 16:34 |
|
I bet the romans never had http! no, just clean water, sanitation, farming...
|
# ? Nov 17, 2020 17:36 |
|
HTTP sucks and TLS with certificate authorities suck, but apparently if you put them together they cancel out and become good.
|
# ? Nov 17, 2020 18:19 |
hey look everyone there's a parenting thread on HN https://medium.com/modern-parent/my-daughter-was-a-creative-genius-then-we-bought-her-an-iphone-bf617c0b6ca0 https://news.ycombinator.com/item?id=25137202 I suppose the n-gate entry would be something about comment stream coming from smirking SF based gay couples (median income $400k) about how they've misconfigured the content blocking on their jailbroken router. Or how the daughter described in the article would be better off served with a Roblox or Minecraft subscription as a creative outlet. Also why don't kids hack on computers anymore, when I was a boy all I had was Borland Turbo Pascal not like kids today with their Tiktok Vtuber blogcasting on fleek on main in realtime.
|
|
# ? Nov 18, 2020 21:52 |
|
that's what you get for appealing to an authority like bill gates for anything lmao
|
# ? Nov 18, 2020 21:58 |
|
Coffee Jones posted:hey look everyone there's a parenting thread on HN daughter gets home from school at 6:30pm, has no time for to be creative like she was during the summer? no poo poo. 6:30 pm means like 2+ hours of either a team sport or marching band or some such. I did not have enough hours in the evening to do my homework my junior year of high school between a terrible busy working assigning ap history teacher and marching band that was 15 years ago and I’m sure it’s all only gotten worse since
|
# ? Nov 19, 2020 02:16 |
|
One day, when they're all grown up and successful, they'll be complete and utter psychopaths like Mike Bloomberg, who has more money than God and yet still feels the need to schedule 5 AM meetings with his underlings Thanks Mom and Dad
|
# ? Nov 19, 2020 02:23 |
|
Coffee Jones posted:hey look everyone there's a parenting thread on HN NO.
|
# ? Nov 21, 2020 08:16 |
|
Chris Knight posted:that's what you get for appealing to an authority like bill gates for anything lmao yeah jfc also if you’re really concerned, just take the phone away but they don’t want to do that because then they’re the “bad guy”; it’s actually technologies fault for not being a better nanny and allowing them to exert perfect passive aggressive control Also half this is just like vicarious bullshit and blaming your inability to cope with your child getting older on a phone Arcteryx Anarchist fucked around with this message at 15:35 on Nov 21, 2020 |
# ? Nov 21, 2020 15:31 |
|
this very non-political site is currently at the top of HN: https://wtfhappenedin1971.com/ (but it's okay because it's about sound currency like bitcoin, you see) Edit: someone managed to post an actually good comment on it: ohyes 31 minutes ago [–] This is clearly because 1970 is the Unix epoch when this version of the simulation began. It took about a year for things to get sufficiently out of whack so that stuff started to diverge in a noticeable way. I hope our implementors are proud of me for making reference to the simulation that we're all in. reply Mr.Radar fucked around with this message at 18:56 on Nov 23, 2020 |
# ? Nov 23, 2020 17:58 |
|
Almost every comment in this thread about racism at coinbase is horrible: https://news.ycombinator.com/item?id=25229544 There's one sane comment trying to call out the other comments: quote:Reading through the comments as black person is depressing. quote:I apologize in advance because you seem to be emotionally invested in this, but I really do not understand the questions you pose in your comment. What did you actually expect from the discussion? Were there not enough comments against Coinbase? Were there not enough comments outraged about the perceived racist behavior of it? Do you think none of those commenters "imagine the possibility that racism is a problem in America in 2020"? quote:When accusations of racism are being thrown around carelessly and people are having their reputations destroyed and lives turned upside down because of a single thing they (allegedly) said, the potential future targets of these accusations realize that the stakes just became much higher for them. So why would they support and enable those that might come for their own heads next? mystes fucked around with this message at 02:13 on Nov 28, 2020 |
# ? Nov 28, 2020 02:00 |
|
mystes posted:That last one really seems like it was written by a psychopath. it's on hn, so that's p much a given
|
# ? Nov 28, 2020 02:37 |
|
quote:It is possible for a Black person to feel discriminated against because of their race even when such discrimination has not occurred. The event mentioned in the article referring to a Black person dealing drugs and having a gun is bad, but the rest of it just sounds like normal annoying work crap. Being talked down to and belittled in a work meeting? I'm a middle-aged white programmer and that's happened to me a number of times over my career.
|
# ? Nov 28, 2020 02:57 |
|
you yourself admit racism is rife in tech, yet act surprised when hn threads are full of racist comments? not very logical, maybe u should consider a less technically demanding career
|
# ? Nov 28, 2020 02:59 |
|
There is going to be a lot more news about other tech companies over the next few weeks
|
# ? Nov 28, 2020 03:00 |
|
xtal posted:There is going to be a lot more news about other tech companies over the next few weeks why? it’s been dogshit for years, did something in particular happen?
|
# ? Nov 28, 2020 03:01 |
|
A lot of companies copied or even reached out to coinbase after their post
|
# ? Nov 28, 2020 03:03 |
|
xtal posted:A lot of companies copied or even reached out to coinbase after their post
|
# ? Nov 28, 2020 03:09 |
|
roenxi 3 hours ago [–] > ... an “all star” culture, with mostly young white and Asian men. Up until yesterday I was very confused at how a tech company could be accused of racism while simultaneously having a (presumably) vast over-representation of Asians who - to the surprise of some - are a minority. I have since learned [0] that there are literally a large group of people who have redefined "racism" to "unequal distribution of privileges between white people and people of color". I think it would be necessary for the NYT to be using that definition here to distinguish this from an ordinary labour dispute. I've seen non-black teams where half or more the people quit. [0] https://www.medicalnewstoday.com/art tomp 4 minutes ago [–] > You can be racist about other minorities even while enthusiastically supporting one minority group How do you in your mind construct a person with this kind of mindset? Historically, a lot of "racism" or other kinds of ethnic "othering" hatred was between very similar ethnicities - e.g. Nazis and Jews, or Japanese & Chinese & Korean. Even nowadays the "racist" far factions in the US are "white supremacist", and dislike pretty much everyone across the board - Jews, blacks, lations, ... So my prior is that it would be highly unlikely to find a non-trivial number of people who are racist against blacks yet pro Asians, let alone a whole industry (in California, a generally left-wing state!).
|
# ? Nov 28, 2020 03:52 |
|
here in california, the former mexican territory now ruled over by whites and asians, we have a constitutional provision forbidding the use of race in hiring decisions, i.e. forbidding affirmative action. there was a proposition on the ballot this year to repeal this provision. over 3 million more california democratic voters came out to support joe biden in this election than they did for obama in 2012. over 2 million more for biden than hillary clinton in 2016 too. did the proposition pass? gently caress no
|
# ? Nov 28, 2020 04:08 |
|
DELETE CASCADE posted:here in california, the former mexican territory now ruled over by whites and asians, we have a constitutional provision forbidding the use of race in hiring decisions, i.e. forbidding affirmative action. there was a proposition on the ballot this year to repeal this provision. over 3 million more california democratic voters came out to support joe biden in this election than they did for obama in 2012. over 2 million more for biden than hillary clinton in 2016 too. did the proposition pass? gently caress no "forbidding the use of race in hiring decisions" sounds good from both directions so repealing it is going to require a lot of explaining
|
# ? Nov 28, 2020 04:40 |
|
big yikes
|
# ? Nov 28, 2020 05:17 |
|
|
# ? Apr 25, 2024 02:09 |
|
DELETE CASCADE posted:here in california, the former mexican territory now ruled over by whites and asians, we have a constitutional provision forbidding the use of race in hiring decisions, i.e. forbidding affirmative action. there was a proposition on the ballot this year to repeal this provision. over 3 million more california democratic voters came out to support joe biden in this election than they did for obama in 2012. over 2 million more for biden than hillary clinton in 2016 too. did the proposition pass? gently caress no My child’s god given right to Go To Cal shall not be infringed
|
# ? Nov 28, 2020 15:15 |