Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by 🇳🇴 Thor — backup account (thorthenorseman@octodon.social), page 27

  1. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 07:23:10 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account

    https://www.vg.no/nyheter/meninger/i/ng2jen/krigen-om-atlanterhavet

    This article contains some fairly alarming language. It describes the current activities in the Atlantic Ocean on the part of Russia and NATO as a "war" and a "battle".

    The alleged battle is happening because new Russian submarines are making it difficult for NATO to operate in freely in the sea between the USA and Europe. The Americans want to keep Russian submarines out of the area so they can send war ships to Europe without the risk of being sunk.

    In conversation Thursday, 01-Nov-2018 07:23:10 EDT from octodon.social permalink
  2. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 07:08:56 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    in reply to
    • Piggo

    @MightyPork (In a perfect world, a C++ program doesn't use pointers, just copies and references, and containers like std::vector, which use heap allocators, for data blobs).

    In conversation Thursday, 01-Nov-2018 07:08:56 EDT from octodon.social permalink
  3. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 07:07:21 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    in reply to
    • Piggo

    @MightyPork The ability to create random blocks already exists in C-like languages. Just inserting a pair of braces in a random location will typically create a block scope... but there isn't much you can do with that except to assign variables to the block scope. In C++, you could make a class and instantiate that on the stack, and new/delete your heap data in the constructor/destructor, which would be the idiomatic way of doing it for that language.

    In conversation Thursday, 01-Nov-2018 07:07:21 EDT from octodon.social permalink
  4. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 07:04:45 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • Piggo

    @MightyPork Ah, yes, that sort of scenario. Or you want a single error handler for multiple errors, but you don't want a function in the global scope for it. Of course, in languages other than C, you can just assign a function to a variable in your block and call that. The only thing that handler can't do is tell the parent function to return, but you can always just do "return handleError()" in that case. Not sure how I'd solve that in vanilla C.

    In conversation Thursday, 01-Nov-2018 07:04:45 EDT from octodon.social permalink
  5. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 07:01:41 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    in reply to
    • Piggo

    @MightyPork Then again, I actually like switch statements, and I know that they confuse many programmers, so...

    In conversation Thursday, 01-Nov-2018 07:01:41 EDT from octodon.social permalink
  6. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 07:00:28 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    in reply to
    • Piggo

    @MightyPork In my opinion, a list of 5 if statements with return statements in them is easier to read than a single if statement that checks a large AND expression. In many cases, you may want to do something else than simply return from the function in the future, and writing it in that style makes that easier to do later on.

    In conversation Thursday, 01-Nov-2018 07:00:28 EDT from octodon.social permalink
  7. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 06:58:42 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • Piggo

    @MightyPork I'm either in an event handler, where the natural thing is to just return from the function, or I'm in an infinite loop, where the natural thing is to just break from the loop.

    There is a recommendation against that? I mean, if I can get away with an if-else statement or a ternary expression, I'll favour that over multiple return statements, but I use it with no qualms if I have a list of criteria that must be satisfied for the rest of the function to execute.

    In conversation Thursday, 01-Nov-2018 06:58:42 EDT from octodon.social permalink
  8. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 06:54:25 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • Piggo

    @MightyPork Oh, a sort of fake loop basically? 90% of the time when I need the ability to escape a block, I'm inside of a relevant function, especially in a language like JavaScript, where async functions are used nigh constantly.

    Escaping the current block seems like a legitimate need, but it rarely occurs in my coding style, for some reason.

    In conversation Thursday, 01-Nov-2018 06:54:25 EDT from octodon.social permalink
  9. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 06:50:26 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • Piggo

    @MightyPork Something like do { } until { } basically?

    In conversation Thursday, 01-Nov-2018 06:50:26 EDT from octodon.social permalink
  10. Nextcloud 📱☁️💻 (nextcloud@mastodon.xyz)'s status on Thursday, 01-Nov-2018 06:31:05 EDT Nextcloud 📱☁️💻 Nextcloud 📱☁️💻

    You should own your data.
    That's our mission. https://nextcloud.com/yourdata

    In conversation Thursday, 01-Nov-2018 06:31:05 EDT from mastodon.xyz permalink Repeated by thorthenorseman
  11. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 06:29:30 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • der.hans

    @lufthans That's a very strange contradiction, especially considering how popular Jewish people are in Hollywood, and how successful they are in business. Hollywood is America's royalty and business represents the American Dream. How can any group better fit American ideals?

    In conversation Thursday, 01-Nov-2018 06:29:30 EDT from octodon.social permalink
  12. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 06:26:29 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    in reply to

    What engineers want is low pressure situations with no ethical questions, and that's not how you make a sale. Sales is about being proactive and making people do what you want, and thus has a great deal in common with leadership.

    In conversation Thursday, 01-Nov-2018 06:26:29 EDT from octodon.social permalink
  13. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 06:20:47 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account

    Three Sales Mistakes That Software Engineers Make: https://www.pipelinedb.com/blog/three-sales-mistakes-software-engineers-make

    My main objection: The reason software engineers make these mistakes is that not making them involves doing things that engineers don't like to do:

    #1 = Doing other things than engineering
    #2 = Listening to normies talk about themselves
    #3 = Exerting pressure on people

    I know what being on the other end of #3 feels like, and it's not pleasant. Rejecting people is almost as uncomfortable as being rejected.

    In conversation Thursday, 01-Nov-2018 06:20:47 EDT from octodon.social permalink
  14. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 05:57:19 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account

    Climate science is the only science I know of where the media regularly covers the publication of new studies. It has a huge influence on public policy compared to most other fields.

    In conversation Thursday, 01-Nov-2018 05:57:19 EDT from octodon.social permalink
  15. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 05:49:32 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account

    ME: *opens the bathroom door too quickly*

    CAT: *is several feet away, but panics anyway because he thinks he did something wrong, before he darts along the living room table, catching his tail in the cord for the laminator machine, tearing down half the stuff on the table*

    ME:

    In conversation Thursday, 01-Nov-2018 05:49:32 EDT from octodon.social permalink
  16. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 02:51:59 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    in reply to
    • muesli

    @fribbledom Programmers' feelings are more similar to gamers' feelings than to the feelings you have if the stakes are high in real life. Programming only offers that kind of thrill if not overcoming an obstacle will get you fired.

    In conversation Thursday, 01-Nov-2018 02:51:59 EDT from octodon.social permalink
  17. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Thursday, 01-Nov-2018 02:48:04 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • muesli

    @fribbledom Progrsmmers have access to an endless supply of obstacles, yes, and they can keep a person busy, but the best obstacles are those you face in your career and personal life, because they are a source of strong feelings and are thus a powerful motivator. The emotional rewards of overcoming those types of obstacles are also much greater than those encountered in programming.

    In conversation Thursday, 01-Nov-2018 02:48:04 EDT from octodon.social permalink
  18. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Wednesday, 31-Oct-2018 21:35:27 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • muesli

    @fribbledom As humans, we are problem solvers. We detect issues and attempt to deal with them. If problems are absent, we are prone to idleness.

    People think that happiness is a condition, but it is only a temporary state of mind. We stop feeling happy once we run out of obstacles to overcome.

    In conversation Wednesday, 31-Oct-2018 21:35:27 EDT from octodon.social permalink
  19. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Wednesday, 31-Oct-2018 21:25:58 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account

    If programming languages were human: http://kokizzu.blogspot.com/2017/01/if-programming-language-were-humans.html

    The artist doesn't seem to like JavaScript. I always picture a dude in his early 20s when I think about JavaScript, and he's always raving on about some new front-end framework.

    Also, I put C# on par with Java in terms of corporateness, so I'd just make him a younger version of his dad, while still claiming to be nothing like him.

    The others look about right, but the non-Clojure Lisps should be zombies.

    In conversation Wednesday, 31-Oct-2018 21:25:58 EDT from octodon.social permalink
  20. 🇳🇴 Thor — backup account (thorthenorseman@octodon.social)'s status on Wednesday, 31-Oct-2018 21:09:02 EDT 🇳🇴 Thor — backup account 🇳🇴 Thor — backup account
    • muesli

    @fribbledom Negative feelings are a strong motivator.

    In conversation Wednesday, 31-Oct-2018 21:09:02 EDT from octodon.social permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.