349 Matching Annotations
  1. Nov 2024
  2. Sep 2024
    1. Unfortunately newer init systems like systemd have become increasingly complex to handle more desktop-focused requirements. Here’s a list of systemd APIs: does having 100s of public API functions and commands inspire confidence in its reliability?
  3. Jul 2024
    1. I've just experienced the same issue with confirmation links being executed in a sent email before the user has received them and invalidating the link. I got around the issue by modifying the page the URL links to. I've added a Confirm button on the page which the user has to click to confirm their email and this works nicely.
    1. If the link you are trying to send is just some kind of harmless confirmation link (e.g. subscribe/unsubscribe from a newsletter), then at least use a form inside the web page to do the actual confirmation through a POST request (possibly also using a CSRF token), otherwise you will unequivocally end up with false positives.
    1. At first glance, elections in France and Britain were a triumph for leftists and reformers over authoritarians and the right.

      Journalists here are simply referring to anyone on the right as 'authoritarian.' It makes no sense.

  4. Jun 2024
    1. this is a serious problem because all they need to do is automate AI research 00:41:53 build super intelligence and any lead that the US had would vanish the power dynamics would shift immediately

      for - AI - security risk - once automated AI research is known, bad actors can easily build superintelligence

      AI - security risk - once automated AI research is known, bad actors can easily build superintelligence - Any lead that the US had would immediately vanish.

    2. the model Waits are just a large files of numbers on a server and these can be easily stolen all it takes is an adversary to match your trillions 00:41:14 of dollars and your smartest minds of Decades of work just to steal this file

      for - AI - security risk - model weight files - are a key leverage point

      AI - security risk - model weight files - are a key leverage point for bad actors - These files are critical national security data that represent huge amounts of investment in time and research and they are just a file so can be easily stolen.

    1. But ancient Assyrian inscriptions tell a different story, claiming that Hezekiah, the king of Judah, paid a large amount of tribute to get the Assyrians to leave.

      Hezekiah, the king of Judah, paid tribute to the Assyrians, specifically to Sennacherib, in 701 BCE. According to the biblical account in 2 Kings 18:14-16, Hezekiah paid 300 talents of silver and 30 talents of gold as tribute to Sennacherib. This payment was made in exchange for the Assyrian king’s withdrawal from the siege of Jerusalem.

      The Assyrian annals also record this event, stating that Hezekiah paid 800 talents of silver as tribute to Sennacherib. This payment was one of the largest tributes ever received by an Assyrian monarch.

      https://search.brave.com/search?q=hezekiah+paid+tribute+to+Assyrians&source=desktop&summary=1&summary_og=5f2acfbd384aadaa749094

  5. Apr 2024
    1. 艾森豪國際語言  · Spoontdsre85f8c3u11c4699061i8c1f143h78ahi7a0189t53fh3a7784lt  · Shared with Public: 聽說了嗎?那家公司被指控做Uncook the books。: 真的嗎?這太糟糕了,他們的信譽會受到很大損害。《Uncook the book(s)》是「作假帳」,這裡的the book(s)指的是帳本而非書本。做假帳就是在原本帳目上做點手腳,好像煮飯菜的時候要一點想像力,加一些調味料,因此cook the book(s)就是所謂的作假帳。【範例】★He lives his life uncooking the books for criminal organizations.他專門幫犯罪組織查假帳,並靠此維生。★The company was accused of uncooking the books.那家公司被指控做假帳。

      : 聽說了嗎?那家公司被指控做Uncook the books。 : 真的嗎?這太糟糕了,他們的信譽會受到很大損害。 《Uncook the book(s)》 是「作假帳」,這裡的the book(s)指的是帳本而非書本。做假帳就是在原本帳目上做點手腳,好像煮飯菜的時候要一點想像力,加一些調味料,因此cook the book(s)就是所謂的作假帳。 【範例】 ★He lives his life uncooking the books for criminal organizations. 他專門幫犯罪組織查假帳,並靠此維生。 ★The company was accused of uncooking the books. 那家公司被指控做假帳。

      It can't be true that "cook the book" and "UNcook the book" both mean 作假帳.

  6. Mar 2024
    1. Ongweso Jr., Edward. “The Miseducation of Kara Swisher: Soul-Searching with the Tech ‘Journalist.’” The Baffler, March 29, 2024. https://thebaffler.com/latest/the-miseducation-of-kara-swisher-ongweso.

      ᔥ[[Pete Brown]] in Exploding Comma

    2. We need a better catch-all term for the ills perpetrated on humanity and society by technology companies' extractive practices and general blindness to their own effects while they become rich. It should have a terrifically pejorative tone.

      Something which subsumes the crazy bound up in some of the following: - social media machine guns - toxic technology - mass produced toxicity - attention economy - bad technology - surveillance capitalism - technology and the military - weapons of math destruction

      It should be the polar opposite of: - techno-utopianism

    1. Crazy how open everybody is. In my country, if people spoke this freely about drugs use, the police would raid their homes and put them in jail.

      actually that is what is called a sane country

      "sane countries" would ban only the actual bad drugs: alcohol, tobacco, fentanyl, methadone, oxycodone, krokodil, all chemotherapy drugs for cancer, all vaccines, pasteurized milk, ... also, all legal drugs would have zero taxes for the next 1 million years to say "sorry for our war on drugs".

      but well, "sane" is a very subjective thing: my paradise is your hell. thats why we need tribalism: every tribe has his own rules, and if i dont like my tribe, i can move to a different tribe. tribalism aka "small countries"

    1. Safety Tip Always use === (triple equals) and !== when testing for equality and inequality in JavaScript.
  7. Feb 2024
    1. One of my inquiries was for anecdotes regarding mistakes made between the twins by their near relatives. The replies are numerous, but not very varied in character. When the twins are children, they are usually distinguished by ribbons tied round the wrist or neck; nevertheless the one is sometimes fed, physicked, and whipped by mistake for the other, and the description of these little domestic catastrophes was usually given by the mother, in a phraseology that is some- [p. 158] what touching by reason of its seriousness.

  8. Jan 2024
    1. Trump plays the victim: Perhaps more interesting than anything he said in court — before or during his testimony — was Trump’s decision to show up in the first place. He was not bound by the court to speak at or attend the trial, at which cameras are not allowed, but did so repeatedly. His appearance on Thursday amounted to another opportunity, in Trump’s estimation, to advance the narrative that he is the victim of a broad conspiracy designed to block his return to office and damage his personal and business reputation.

      Gross speculation - terrible journalism. Just a bullet point they wanted to make.

    1. Venkatesh Rao thinks that the Nazi bar analogy is “an example of a bad metaphor contagion effect” and points to a 2010 post of his about warren vs plaza architectures. He believes that Twitter, for example, is a plaza, whereas Substack is a warren: A warren is a social environment where no participant can see beyond their little corner of a larger maze. Warrens emerge through people personalizing and customizing their individual environments with some degree of emergent collaboration. A plaza is an environment where you can easily get to a global/big picture view of the whole thing. Plazas are created by central planners who believe they know what’s best for everyone.
    1. Getting the EPP/Auth code of your own domain should be instantaneous. I know of no other registrar, besides Network Solutions, that makes the process so painful. It's a multi-step process to make the request, during which they wave both carrot and stick at you to try and stop you going ahead… and when you do forge ahead, they make you wait 3 days for the code, as if to punish you for daring to ask for the right to transfer your own domain name. What are these guys smoking if they think that's how you keep customers?!
    2. Network Solutions basically does not want to provide EPP code. On website it says requesting EPP would take 3 days to get approved (which doesn't make any sense), and in fact they never send out any EPP code. Instead, you will have to call them and ask for EPP code in person. They claimed that their system had some problems sending those emails, however do you really believe that? I don't think it is indeed a "problem" if it's been there for over one year.
    3. Network solutions is awful. They behave like mobsters. If you make changes on your account such as changing the e-mail, they very conveniently lock your domain so it cannot be transfered for 60 days. They say that block it's for 'your security'.
    1. What’s worse, their login process is infuriating. It took me 10 minutes just to get into my account.
    2. 4) Don’t make people log in to unsubscribe.Your subscriber is already overwhelmed by his inbox. He probably spends about 28% of his workday just managing email, according to a McKinsey Global Institute report. So don’t make it any harder by forcing him to log into an account he probably doesn’t remember creating before he can unsubscribe.
  9. Dec 2023
    1. normal crisis in the system for most people is degrowth like 00:22:22 most people's living standards don't rise that's so it's it's divorced from the experience that that most people have in in in the UK you know where we're where we're speaking from wages at 00:22:36 the same level they were in 2005 rents aren't bills aren't your groceries aren't but your pay is so um you know most people have been experiencing 00:22:49 degrowth that's the comms reason why it's bad
      • for: degrowth - criticism - bad communication, suggestion - growth and degrowth simultaneously

      • suggestion

        • evolution / transition / transformation are better terms as it indicates something is dying at the same time diverging is being born
        • it is highly misleading to think one dimensionally as there are many things that have to degrow and many things that have to grow simultaneously
          • degrowth of carbon emissions, which implies pragmatically in the short time scale noe available a significant degrowth of fossil fuels
        • growth of a new energy system to replace much of it
        • degrowth of unnecessary and harmful consumption accompanied
          • growth of holistic network of root level wellbeing activities and the low carbon infrastructure to support it
    1. there are good stories and bad stories uh good stories I mean this is very on a very very simplistic level but good stories 00:13:23 benefit people and bad stories can create you know Wars and genocides and and the most terrible crimes in history were committed in the name of some fictional story people believed very few 00:13:38 Wars in history are about objective material things people think that we fight like wolves or chimpanzees over food and territory this is not the case 00:13:52 at least not in the modern world if I look for instance at my country which is at present in at War the Israeli Palestinian conflict is not really about food and territory there is enough food 00:14:04 between the Jordan and Mediterranean to feed everybody there is enough territory to build houses and schools for everybody but you have two conflicting stories or more than two conflicting 00:14:17 stories in the minds of different people and they can't agree on the story they can't find a common story that everybody would be happy with and this is the the Deep source of the conflict
      • for: stories - consequences of good and bad stories, inisight - war and genocide - when people violently disagree on stories,

      • insight

        • disagreement of stories
          • not just wars, but climate change skeptics believe a different story than environmentalists
          • hyperobjects and evolution play a role as well in what we believe
  10. Nov 2023
    1. lib is meant for things that are kind of tangential to the application core. What's in there feels better located in lib than under app, for me.
  11. Sep 2023
    1. I'm using Kubuntu 23.04, do not use Snaps, and wish to update to Thunderbird 115 from the installed version 102. Is this possible? It appears as if Ubuntu have stopped providing non-Snap packages for mainstream apps and Thunderbird themselves offer me a tar.bz2 whilst I'd rather use packaged apps. Will Thunderbird 115 be available as an official .deb file at all; will it be in the repos? What's the best non-Snap way to install it and keep it updated?
  12. Jun 2023
    1. The main thing to note here is that in the derived class, we need to be careful to repeat the protected modifier if this exposure isn’t intentional.
    1. The old wisdom "mark it private unless you have a good reason not to" made sense in days when it was written, before open source dominated the developer library space and VCS/dependency mgmt. became hyper collaborative thanks to Github, Maven, etc. Back then there was also money to be made by constraining the way(s) in which a library could be utilized. I spent probably the first 8 or 9 years of my career strictly adhering to this "best practice". Today, I believe it to be bad advice. Sometimes there's a reasonable argument to mark a method private, or a class final but it's exceedingly rare, and even then it's probably not improving anything.
  13. May 2023
    1. I know this is an old question but I just want to comment here: To any extent email addresses ARE case sensitive, most users would be "very unwise" to actively use an email address that requires capitals. They would soon stop using the address because they'd be missing a lot of their mail. (Unless they have a specific reason to make things difficult, and they expect mail only from specific senders they know.) That's because imperfect humans as well as imperfect software exist, (Surprise!) which will assume all email is lowercase, and for this reason these humans and software will send messages using a "lower cased version" of the address regardless of how it was provided to them. If the recipient is unable to receive such messages, it won't be long before they notice they're missing a lot, and switch to a lowercase-only email address, or get their server set up to be case-insensitive.
  14. Mar 2023
    1. Some innovations will need to be new technologies and vendor partnerships, while others will need enhancements or integration with existing legacy systems.

      But if the approach to innovation doesn't sufficiently cater for the entangled nature. Will it make any difference?

      How are they defining the experience, to include learning and teaching?

  15. Feb 2023
    1. By using this site, you agree to the Privacy Policy.

      The fact that you wrote something, and posted it on the Internet, doesn't mean I consent to it.

  16. Jan 2023
    1. As I detail in a later section

      Search indicates the word "later" appears in this book 123 times, about half of them (57 by a quick count) are in contexts of the author saying he'll explain something later in the book. This is an annoying habit and would be better replaced with links to the exact pages where the material occurs.

      Alternately/in addition to, an index could be immensely helpful here.

      How does a book which speaks so heavily of indices and their value not have an index?

    Tags

    Annotators

    1. it’s ambiguous whether x-y is the expression x minus y or the invocation of the x-y function. Seems like a bad tradeoff, though. How often do you use -, and how often do you write multiword functions?
  17. Dec 2022
    1. This is a terrible idea. At least if there's no way to opt out of it! And esp. if it doesn't auto log out the original user after some timeout.

      Why? Because I may no longer remember which device/connection I used originally or may no longer have access to that device or connection.

      What if that computer dies? I can't use my new computer to connect to admin UI without doing a factory reset of router?? Or I have to clone MAC address?

      In my case, I originally set up via ethernet cable, but after I disconnected and connected to wifi, the same device could not log in, getting this error instead! (because different interface has different mac address)

    1. I have yet to see a Snapd or Flatpak build of Audacity that I'm happy with. Those builds are beyond our control as they are made by 3rd parties. I do find it mildly annoying that Flatpak direct users that have problems with their builds to us.

      annotation meta: may need new tag: the runaround?

    1. Now, they charge by a new metric: audiences. And your audiences also include unsubscribed emails! So, even if someone in your list has unsubscribed, they are still counted in your audience.
  18. Oct 2022
    1. With email, if you change your provider then your email address has to change too.

      No.

      I don't know why they wrote this; they know this isn't true. It's not just a case of me being a stickler/pedant. This example should have simply never been used.

  19. Aug 2022
    1. Since facts and narratives live in different universes, we should avoid mixing them carelessly. Crossing the boundary between the two universes should always be explicit. A narrative should not include copies of pieces of facts, but references to locations in a fact universe. And facts should not refer to narratives at all.
    1. What is not OK is what I perceive as the dominant attitude today: sell SciPy as a great easy-to-use tool for all scientists, and then, when people get bitten by breaking changes, tell them that it’s their fault for not having a solid maintenance plan for their code.
    1. The effort got him accolades and commit access to the Rails repo.

      But having commit access and the having ability to fiddle with bugs are two orthogonal sets of privileges...

  20. Jul 2022
    1. This polemic identifies CS as the culprit. That seems empirically wrong. As stated, it's "not a prerequisite for most programming" even in theory, and in practice, there are mountains of GitHub programmers, at least, who don't have CS backgrounds. Non-CS folks probably account for most of the "frontend"/"full stack" development today. This has exacerbated the Tower of Babel, not improved it.

      HCI is CS—and that's what we should focus on. There's a fair bit of emphasis on engineering due, too. To be able to look at a problem and ask, "What should it take?" and ocnversely, "What isn't required here (contra cultural imperatives)?"

    1. It’s very rare that a book gets outthere into the world that has nothing relevant to say toanybody, but your interests may be specific enough thatit may have nothing in it you need to know.

      Similar to Pliny's aphorism "There is no book so bad it does not contain something good.”

    1. Citing Pliny’s “no book so bad,” Gesner made a point of accumulating information about all the texts he could learn about, barbarian and Christian, in manuscript and in print, extant and not, without separating the good from the bad: “We only wanted to list them, and we have left to others free selection and judgment.”202
    1. I have rarely encountered a good reason to use == in JS. Most of the time, or you are relying on it, you are probably doing something wrong.
  21. Jun 2022
    1. one of the things that we found in our own data right now is 00:29:30 the after effects of 2020 right well you have one candidate who continues to say that it was stolen right and the way the media reports that is so public opinion if you call 00:29:42 republicans just do a traditional poll we just we just did this um we found 57 we'll say oh yeah it was definitely stolen right uh that number in private is closer to 00:29:55 14

      One candidate (Donald Trump) believes it was stolen. Traditional poll found 57% believed it was stolen, but private polling found 14%. Quite a huge difference accounted for by the collective illusion principle. This gives us hope that educating on collective illusion in the right way could have a huge impact so that democracy is not gamed by unscrupulous and bad actors.

      A vocal minority is a leverage point that brings about the collective illusion.

  22. May 2022
    1. The war in Ukraine will soon be three months old. Russia's forces are still well short of the minimum objectives set out by President Vladimir Putin and in many areas the front lines are beginning to look static.

      They just don't care to reference these goals anywhere - just throwing it out there doesn't make it true.

  23. Apr 2022
    1. ReconfigBehSci. (2021, April 23). I’m starting the critical examination of the success of behavioural science in rising to the pandemic challenge over the last year with the topic of misinformation comments and thoughts here and/or on our reddits 1/2 https://t.co/sK7r3f7mtf [Tweet]. @SciBeh. https://twitter.com/SciBeh/status/1385631665175896070

  24. Mar 2022
    1. Today, on my machine, the KCalc Snap takes a full seven seconds to start up. Not just the first time after boot; every time, without fail. Seven seconds to start a calculator.
    2. Snap is the slowest of all, largely because it stores all its data in squashfs images. Snap mounts all registered snaps at startup instead of just extracting the metadata they need beforehand, possibly in an effort to mitigate this slowness. They’re just moving part of the slow startup time to the boot time of your computer. All sorts of snap crap now shows up in mount and fdisk -l. The more snaps you have installed, the slower your computer will start, even if you don’t use them.
    1. that although evil exists, people aren’t born evil. How they live their lives depends on what happens after they’re born

      So very true. Monsters are made, not born. Everyone is born into the sacred, but then life can transform the sACred into the sCAred. Pathological fear can motivate a host of pathological responses such as selfishness, alienation, greed, anger, control, abuse, othering,dehumanization, etc.

    1. Such a flexible concept allows for a meshing of Russian state interests with claims to be acting to protect a diversity of ethnic and linguistic communities outside Russia. It also negates the idea of other legitimate national communities that could underpin states in the region.

      Flexible explanations or motivations are bad -- they can justify nearly anything and undermine contrary arguments.

  25. Feb 2022
    1. Deepti Gurdasani. (2022, January 29). Going to say this again because it’s important. Case-control studies to determine prevalence of long COVID are completely flawed science, but are often presented as being scientifically robust. This is not how we can define clinical syndromes or their prevalence! A thread. [Tweet]. @dgurdasani1. https://twitter.com/dgurdasani1/status/1487366920508694529

  26. Jan 2022
    1. Put more simply, the product is dirt — four-and-a-half ounces of it, sealed in a sleek black plastic baggie and sold for $110 plus shipping.

      Oh my god! It's like a family friendly version of Bell Delphine's bath water! It's a useless product sold for ridiculous prices to an audience that is desperately looking for something to fill a space. In one case, it was a want for some physical representation of an idol, and in this case, it was a want for a solution to COVId or a feeling of security. If we were to relate this to the game we played in the blog post assignment, then I would probably classify this as emotional manipulation. People looking to feel secure in their health while the pandemic rages were taken advantage of by this company selling dirt.

  27. Dec 2021
  28. Nov 2021
    1. the snap-based chromium cannot access files on my separately-mounted /opt filesystem. The non-snap chromium has no such limitation. Until or unless the snap version ever is able to access all the filesystems on my device, I am willing to live with the risk of a PPA-based version.
    2. I might just leave it installed, in case Canonical ends up replacing more important deb packages with snaps. (I might also drop Ubuntu if they do that.) As long as there isn't a snap directory cluttering my home dir, I can tolerate snapd lurking in the background for now.
    1. Calling a software convention "pretty 90s" somewhat undermines your position. Quite a lot of well-designed software components are older than that. If something is problematic, it would be more useful to argue its faults. When someone cites age to justify change, I usually find that they're inexperienced and don't fully understand the issues or how their proposed change would impact other people.
    1. I'll use any of them, so long as it's not somebody's proprietary BS.But even if Canonical gave up on keeping all of Snap distribution private in-house, it would still be my last choice because of all the issues Snaps have (and other options don't).
    2. They wanna be to Linux what the Play Store is to Android, what the App Store is to iOS.But we don't do that around here. We use Flatpak round 'ere.

      annotation meta: may need new tag: company [aspiring] to be bigger / take over the world

    3. And this is why I left Ubuntu. If I want a SNAP I will install a SNAP. Otherwise stay out of my crap.
  29. Oct 2021
    1. Before starting its phased return to normal in July, the U.K. put in several months of planning, but the Korean government only embraced the idea last month and seems to lack any coherent plan.

      What sort of 'coherent plan' is necessary?

  30. Sep 2021
    1. SuzeeB🙂. (2021, September 14). Dear vaccinated, We did not take your freedom. The government did. We are not holding your freedoms to ransom. The government is. If we are a danger to you, then your vaccine doesn’t work. If it does, then you should already be free. The government has lied to you. [Tweet]. @NatalieSuB. https://twitter.com/NatalieSuB/status/1437835320628809733

    1. I am being told my Login Keyring Password "no longer matches" my login. I am confused - I provided a password as I was setting this up, and so I don't know what this is about and how I can fix it. Thanks for the help.
  31. Aug 2021
  32. Jul 2021
    1. While Microsoft is entirely in the right by reminding people of the terms they agreed to, many users are taking issue with the fact that they hadn’t been warned about the limit in the eight years it’s been in place, and many people are now being told they are over the limit after years of being over.
    1. Prof Nichola Raihani on Twitter: “Submitted a paper reporting null results to a mid tier journal. Guess how it went. I literally don’t care at this point but I do feel bad for the first author (who I won’t name here). Https://t.co/sX5lTcEl29” / Twitter. (n.d.). Retrieved July 16, 2021, from https://twitter.com/nicholaraihani/status/1415308025179656194

    1. The array prototype is syntax sugar. You can make your own Array type in pure JavaScript by leveraging objects.

      At the risk of saying something that might not now be correct due to recent changes in the language spec, this has historically not been true; Array objects are more than syntax sugar, with the spec carving out special exceptions for arrays' [[PutValue]] operation.

  33. Jun 2021
    1. That's going to be extremely ugly. Nothing about this makes sense. Your JSON schema should just have one object that has {"is_enabled":true}, or something like this {"name":"change","is_enable":true}.
  34. May 2021
    1. Also, it is definitely NOT okay to recommend --force on forums, Q&A sites, or in emails to other users without first carefully explaining that --force means putting your repositories’ data at risk. I am especially bothered by people who suggest the flag when it clearly is NOT needed; they are needlessly putting other peoples' data at risk.
    1. Modeled after the investigation into the Sept. 11, 2001, attacks, the legislation would establish an independent, 10-member commission that would make recommendations by the end of the year for securing the Capitol and preventing another insurrection.

      They are really desperate to paint this as an actual insurrection.

    1. Prof. Gavin Yamey MD MPH. (2021, April 20). I was very pleased to see Levitt resign yesterday from the science advisory board of the anti-vaxx group PANDA. Previously Sikora had resigned. This press release mentions other resignations. Anyone know if the 3 GBD authors finally resigned? Here’s PANDA’s views on vaccines: Https://t.co/wVZX7XujZ3 [Tweet]. @GYamey. https://twitter.com/GYamey/status/1384476491317227525

    1. ReconfigBehSci on Twitter: “this is utterly bizarre: How would one conceptually even begin to determine a number by which the model overestimated unmitigated deaths. What is the comparison unmitigated ‘prediction’ to what actually happened supposed to mean?” / Twitter. (n.d.). Retrieved May 1, 2021, from https://twitter.com/SciBeh/status/1384070393514790918

  35. Apr 2021
    1. Despite mounting pressure from lawmakers and civil society organisations, Denmark is determined to push ahead with efforts to return refugees to war-torn Syria as it claims conditions in parts of the country have improved.

      I thought Reuters was supposed to be a neutral source?

    1. Of course you must not use plain-text passwords and place them directly into scripts. You even must not use telnet protocol at all. And avoid ftp, too. I needn’t say why you should use ssh, instead, need I? And you also must not plug your fingers into 220 voltage AC-output. Telnet was chosen for examples as less harmless alternative, because it’s getting rare in real life, but it can show all basic functions of expect-like tools, even abilities to send passwords. BUT, you can use “Expect and Co” to do other things, I just show the direction.
    1. What I dislike from the achievements is the "Dialogue Skipper". I really don't like it because you are encouraging people just to skim or even skip it at all and not get interested with the story. I earned this achievement on a 2nd run but I had a friend who just skipped it all on her 1st try.What devs should encourage is for the gamers to have a lot of playing time on their game so they would recommend it to others and not just do it for the cards and uninstalling it afterwards.
    1. Rather than rewarding the player for discovering a well-thought-out or ideal solution (by picking up coins), the developer tacked on a timer to a game with non-fluid controls. The player feels rushed to discover an elaborate solution.
    1. these events can break the flow of the game and force the player to repeat sections until they master the event, adding false difficulty to the game.
    1. This approach is preferable to overriding authenticate_user! in your controller because it won't clobber a lot of "behind the scenes" stuff Devise does (such as storing the attempted URL so the user can be redirected after successful sign in).
    1. Yes, you are right. That was a very bad workaround. Stubbing methods on NilClass can be compared to switching to dark side of force. Powerful but comes with a huge price. I highly don't recommend using my workaround from 1 year ago.
  36. Mar 2021
    1. Both Prof Wu and Ms Truong cited the 1875 Page Act, one of the earliest pieces of federal law restricting immigration to the US. On paper, the legislation barred the entry of any woman from China, Japan "or any Oriental country" for "lewd and immoral purposes", including prostitution.In reality, the law blocked virtually all immigration from Asian women, who were collectively presumed to be sex workers or prostitutes.This racist and sexist stereotype that they "were bringing their immorality to the US", Ms Truong explains, has lingered.

      le bruh moment.

    1. When the computer created such amazing potential, humans decided that their human genius machines could be handy if they implemented all the pre-existing genius practices.
    1. can you break this, thouugh? like can you override kind_of? but not is_a?
    2. You can override an alias without overriding the aliased function. So yes, you can override kind_of? without overriding is_a?
    1. Mitch McConnell, who was accused of laying waste to bipartisan co-operation in the Senate when he blocked a supreme court pick by Barack Obama then changed the rules to hurry through three picks for Donald Trump, has said that if Democrats do away with the filibuster, they will “turn the Senate into a sort of nuclear winter”.

      Guardian, getting the big-long-truth out of the way up front. Woohoo! Exactly the right context. Persistently malignant force in America, that we have been unreceptive & unmoving in every way my entire living life. Bad people.

    1. What people think and state depends on how theythink. Thus, it is far more dangerous to assumepeople know what they are talking about than it isto assume they do not
    1. However, since you haven't yet provided any details about how you built with Qt (Qt isn't officially supported, so you must have used a third party derivative of vim), and you haven't provided any detailed information about what error messages or malfunctions you're having with python-complete, it's not really possible to tell you how to fix the problem and get vim working with Qt.
    1. Here is a link to install a deb version of chromium, seems like it be easier to use another browser myself.
    2. Not sure but might be a chromium snap problem. Snaps have very few permissions, can try going to software centre/store and see if you can give more permissions, should just be on/off switch, or might need to use another browser(deb not snap). Chromium might have a deb only version now again, but not sure if for 19.10 or only 20.04.
    1. The riot saw five people including a police officer killed and shook the foundations of American democracy. The head of the Capitol police force later resigned.

      "Killed" is a completely inappropriate word; even if we accept that Officer Sicknick was "killed" (very debatable), three of the civilians who died perished of health related problems. This is clearly bad journalism.

  37. Feb 2021
    1. For branching out a separate path in an activity, use the Path() macro. It’s a convenient, simple way to declare alternative routes

      Seems like this would be a very common need: once you switch to a custom failure track, you want it to stay on that track until the end!!!

      The problem is that in a Railway, everything automatically has 2 outputs. But we really only need one (which is exactly what Path gives us). And you end up fighting the defaults when there are the automatic 2 outputs, because you have to remember to explicitly/verbosely redirect all of those outputs or they may end up going somewhere you don't want them to go.

      The default behavior of everything going to the next defined step is not helpful for doing that, and in fact is quite frustrating because you don't want unrelated steps to accidentally end up on one of the tasks in your custom failure track.

      And you can't use fail for custom-track steps becase that breaks magnetic_to for some reason.

      I was finding myself very in need of something like this, and was about to write my own DSL, but then I discovered this. I still think it needs a better DSL than this, but at least they provided a way to do this. Much needed.

      For this example, I might write something like this:

      step :decide_type, Output(Activity::Left, :credit_card) => Track(:with_credit_card)
      
      # Create the track, which would automatically create an implicit End with the same id.
      Track(:with_credit_card) do
          step :authorize
          step :charge
      end
      

      I guess that's not much different than theirs. Main improvement is it avoids ugly need to specify end_id/end_task.

      But that wouldn't actually be enough either in this example, because you would actually want to have a failure track there and a path doesn't have one ... so it sounds like Subprocess and a new self-contained ProcessCreditCard Railway would be the best solution for this particular example... Subprocess is the ultimate in flexibility and gives us all the flexibility we need)


      But what if you had a path that you needed to direct to from 2 different tasks' outputs?

      Example: I came up with this, but it takes a lot of effort to keep my custom path/track hidden/"isolated" and prevent other tasks from automatically/implicitly going into those steps:

      class Example::ValidationErrorTrack < Trailblazer::Activity::Railway
        step :validate_model, Output(:failure) => Track(:validation_error)
        step :save,           Output(:failure) => Track(:validation_error)
      
        # Can't use fail here or the magnetic_to won't work and  Track(:validation_error) won't work
        step :log_validation_error, magnetic_to: :validation_error,
          Output(:success) => End(:validation_error), 
          Output(:failure) => End(:validation_error) 
      end
      
      puts Trailblazer::Developer.render o
      Reloading...
      
      #<Start/:default>
       {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model>
      #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model>
       {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error>
       {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=save>
      #<Trailblazer::Activity::TaskBuilder::Task user_proc=save>
       {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error>
       {Trailblazer::Activity::Right} => #<End/:success>
      #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error>
       {Trailblazer::Activity::Left} => #<End/:validation_error>
       {Trailblazer::Activity::Right} => #<End/:validation_error>
      #<End/:success>
      
      #<End/:validation_error>
      
      #<End/:failure>
      

      Now attempt to do it with Path... Does the Path() have an ID we can reference? Or maybe we just keep a reference to the object and use it directly in 2 different places?

      class Example::ValidationErrorTrack::VPathHelper1 < Trailblazer::Activity::Railway
         validation_error_path = Path(end_id: "End.validation_error", end_task: End(:validation_error)) do
          step :log_validation_error
        end
        step :validate_model, Output(:failure) => validation_error_path
        step :save,           Output(:failure) => validation_error_path
      end
      
      o=Example::ValidationErrorTrack::VPathHelper1; puts Trailblazer::Developer.render o
      Reloading...
      
      #<Start/:default>
       {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model>
      #<Trailblazer::Activity::TaskBuilder::Task user_proc=validate_model>
       {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error>
       {Trailblazer::Activity::Right} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=save>
      #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error>
       {Trailblazer::Activity::Right} => #<End/:validation_error>
      #<Trailblazer::Activity::TaskBuilder::Task user_proc=save>
       {Trailblazer::Activity::Left} => #<Trailblazer::Activity::TaskBuilder::Task user_proc=log_validation_error>
       {Trailblazer::Activity::Right} => #<End/:success>
      #<End/:success>
      
      #<End/:validation_error>
      
      #<End/:failure>
      

      It's just too bad that:

      • there's not a Railway helper in case you want multiple outputs, though we could probably create one pretty easily using Path as our template
      • we can't "inline" a separate Railway acitivity (Subprocess "nests" it rather than "inlines")
    2. step :direct_debit

      I don't think we would/should really want to make this the "success" (Right) path and :credit_card be the "failure" (Left) track.

      Maybe it's okay to repurpose Left and Right for something other than failure/success ... but only if we can actually change the default semantic of those signals/outputs. Is that possible? Maybe there's a way to override or delete the default outputs?

    1. Nick Brown. (2020, November 27). A researcher reads an online news article about a family suicide in another country and writes it up more or less verbatim as a ‘case report’, with a spurious reference to homicide. WTF @wileyglobal? 10.1111/ppc.12686 News article (trans by Google in pic): Https://t.co/uPZeRPN4jg https://t.co/tHW1XQGRyl [Tweet]. @sTeamTraen. https://twitter.com/sTeamTraen/status/1332413218271195137

    1. While you could program this little piece of logic and flow yourself using a bunch of Ruby methods along with a considerable amount of ifs and elses, and maybe elsif, if you’re feeling fancy, a Trailblazer activity provides you a simple API for creating such flow without having to write and maintain any control code. It is an abstraction.
    1. So, what can we do to check for None in our programs? You can use builtin Optional type and write a lot of if some is not None: conditions. But, having null checks here and there makes your code unreadable.
    1. Return None. That’s evil too! You either will end up with if something is not None: on almost every line and global pollution of your logic by type-checking conditionals, or will suffer from TypeError every day. Not a pleasant choice.
    1. Couldn't find on Steam. https://steamdb.info/app/793300/ claims that it is there, but https://store.steampowered.com/app/793300/?curator_clanid=4777282&utm_source=SteamDB just redirects to home page.

      Don't redirect to a different URL, esp. without a message explaining why it did so instead of keeping me on the page that I request. That's just incorrect behavior, and a poor UX. Respond with a 404 if the page doesn't exist.!

      That way (among other things), I could use Wayback Machine extension to see if I can find a cached version there.

      But even that (http://web.archive.org/web/*/https://store.steampowered.com/app/793300) is saying "huh?" so I'm confused.

      Where did it go and why?

      I guess it's no longer available, because this page says:

      section_type    ownersonly
      ReleaseState    unavailable
      

      ... but why?

    1. A fifth night of peaceful protests to denounce the imprisonment of a Spanish rap artist once more devolved into clashes between police and the members of fringe groups who set up street barricades and smashed storefront windows Saturday night in downtown Barcelona.

      Peaceful protests devolve into violence -- does this even really make them peaceful? Bizarre, lol.

    1. Tang, J. W., Bahnfleth, W. P., Bluyssen, P. M., Buonanno, G., Jimenez, J. L., Kurnitski, J., Li, Y., Miller, S., Sekhar, C., Morawska, L., Marr, L. C., Melikov, A. K., Nazaroff, W. W., Nielsen, P. V., Tellier, R., Wargocki, P., & Dancer, S. J. (2021). Dismantling myths on the airborne transmission of severe acute respiratory syndrome coronavirus (SARS-CoV-2). Journal of Hospital Infection, 0(0). https://doi.org/10.1016/j.jhin.2020.12.022

    1. please, for the love of god do NOT use Mint as a source of inspiration for a derivative distro. If you like Cinnamon or Mate, fine, but holy CHRIST do not let your infrastructure get as criminally sloppy as Mint's. No unholy mixing of Debian and Ubuntu debs into some kind of Frankenbuntu, no namespace collisions, no ... well, no being Mint in general, please!Ideally, I really, really hope you'll continue to support Ubuntu as a primary platform, regardless of what you do with Pop!_OS. But hooboy, do not turn into another Mint, please.
    1. But it shows, he said, how underhanded internet campaigns try to launder seemingly legitimate material like Mr. Vermulst’s article through a mesh of websites and fake social media accounts to give it an air of impartiality and authenticity.

      What are they even arguing? It sounds even like they are saying that Mr. Vermulst's "legitimate" article is being used to give a company an 'air of impartiality and authenticity,' and... this is somehow wrong?

      If the article is illegitimate, what is the wrong..? It's entirely separate from the fact that there apparently exists a network of bots that intends to share it.

  38. Jan 2021
    1. The same groups – including members of the popular “alt-right” Reddit forum The_Donald – used techniques that are used by reputation management firms and marketers to push their companies up Google’s search results, to ensure pro-Trump imagery and articles ranked highly.

      Obvious lie easily prevented through research -- the Donald is not Alt Right.

    1. Supporters of former President Donald Trump breached the Capitol building on January 6 and attempted to stop Congress from certifying Joe Biden's electoral win, believing that the 2020 election was stolen from Trump.

      This cannot be representative of all of the supporters who charged in at all. Not good journalism.

    1. When Snap was introduced Canonical promised it would never replace APT. This promise was broken. Some APT packages in the Ubuntu repositories not only install snap as a dependency but also run snap commands as root without your knowledge or consent and connect your computer to the remote proprietary store operated by Canonical.
    1. the bloody mount points. I couldn't believe that when I realised what was going on. I got the wire brush and dettol out and scraped it off my drive. Never, ever again.
    2. It won't work if $HOME is not under /home. Really. Not even if you softlink. You need a bind mount
    3. There's a lot of advice online showing how to get rid of snap. (e.g.: https://cialu.net/how-to-disable-and-remove-completely-snaps-in-ubuntu-linux/ worked for me) so the only result (so far, a few months later) is that Chromium has lost a user, and having upgraded Ubuntu since the original Warty, if snap becomes obligatory I'll have to take a look at Mint, or Devuan.
    4. I managed to remove it myself this morning...apparently it used to get it's hooks in so deep it was very difficult to remove the daemon as it interconnected with ubuntu-desktop for....reasons.
    5. Good. Hate snap. It's insidious and a pain to deal with.
    6. Plus, have you seen how many loopback mounting points it creates? "df" becomes very hard to use as it buries your actual drives with it's own. One for the daemon, one for GTK, one for Gnome, one for each of the snaps you have installed....
    7. it's an absolute resource hog
    8. Besides running contrary to the principles that lead a lot of people to Linux systems (a closed store that you can't alter...automatic updates you have no control over....run by just the one company)
    9. The strangest "quirk" I had was that I couldn't get the web browser to save a file directly to an attached, encrypted drive. Permissions problem. So I had to save to an interim folder then move it across by hand. Utter pain.
    10. I found that snap can cause lots of issues. I installed keepass using snap, and it installed as a sandboxed app. Very nice for security you would think. Well, a short while later, after 3 upgrades to keepass, it deleted the oldest snap container, which just happened to contain my password file. So secure that even you can't use your passwords now!
    11. If upstream code presumes things will work that dont in snap (e.g. accesses /tmp or /etc) the snap maintainer has to rewrite that code and maintain a fork. Pointless work. Packaging for .deb is a no-brainer.
    12. It's Snap that drove me to Arch, so it did me a huge favour. Seeing things like GNOME as a snap and other 'core' products wasn't something I was comfortable with. Personally, I prefer flatpaks as a packaging format when compared to snap and appimage. I agree that Linux needs an app delivery format, but snap's current implementation isn't it.
    13. I run a fairly ancient RedHat Enterprise 6 on my 32-bit test machine and if I need something requiring Gtk3 (such as a latest Firefox or Chrome), I just make a chroot and use debootstrap (from EPEL) to get me a Debian 9 userland for that program. Easy. No bizarre "app stores", no conflicting packages. Do people use Snap app-stores because they don't know how to use the chroot command? Or are they just lazy? If it is because they want the added security of a container, substitute chroot with lxc... Shouldn't be necessary though; if you avoid non-ethical software (i.e App-stores), you are very unlikely to need the added security.
    14. The cost of snap is too high. Its Linux ffs. We want it lean, mean, open, stable, file based, and bash friendly. We want our tools to work together, and above all, we want choice. Snap is none of that.
    15. Its not too complicated but it is an annoyance. I want /etc/hosts, /etc/resolv.conf, /etc/nsswitch.conf, /etc/rc.local and all the standard stuff to work. The heavy lifting is done in the kernel. All they need to do is leave it alone. Its getting harder to make Ubuntu behave like Linux.
    16. Did my first Xubuntu 20.04 LTS last month: no (dependency) trouble at all to remove snap and its systemd tentacles...
    1. There is seldom any good reason to use this option. Mixing ERB into your controllers defeats the MVC orientation of Rails and will make it harder for other developers to follow the logic of your project. Use a separate erb view instead.