canadapolitics CanadaPolitics Federal government's decision to invoke Emergencies Act against convoy protests was unreasonable, court rules
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    8 months ago 100%

    As I understand it it was still only a police response and the army was not called in. Why couldn't the municipalities just call in the police of their own accord?

    1
  • canadapolitics CanadaPolitics Federal government's decision to invoke Emergencies Act against convoy protests was unreasonable, court rules
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    8 months ago 100%

    You believe that the possibility of economic harm to businesses is in itself justification for the invocation to Emergency act?

    1
  • canadapolitics CanadaPolitics Federal government's decision to invoke Emergencies Act against convoy protests was unreasonable, court rules
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    8 months ago 100%

    Isn't this also missing the point? Is what a judge thought before the case was heard relevant? Surely a court case involves presenting facts from both sides and arguing the case and not prejudging the case as if they were there before the start and before the case was heard. I think technically the judge would have to recuse himself.

    1
  • canadapolitics CanadaPolitics Federal government's decision to invoke Emergencies Act against convoy protests was unreasonable, court rules
    Jump
    canadapolitics CanadaPolitics Federal government's decision to invoke Emergencies Act against convoy protests was unreasonable, court rules
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    8 months ago 100%

    What I am unclear about, as a non Canadian, is what the ruling means. For instance is there anything about the ruling, as it stands, to prevent or impede the government, in any way, from invoking the emergency act in future as long as they have a majority in parliament? If the ruling has no teeth why does the government care about it. Why even appeal it?

    1
  • politics NZ Politics Just voted today.
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    12 months ago 100%

    So you are fluent in Russian language?

    I know that the election process is gamed to some degree even if it's not Trump style.

    Trying to get straight answers out of candidates or parties is near impossible and I've tried. They simply ignore my emails and if in person, at the market stalls, they do the same.

    2
  • fediverse Fediverse Why Defederating from Facebook/Meta is So Important
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    I thought I would just chime in here if I am allowed. I looked for an official Facebook lemmy but couldn't find one.

    I have become a bit satisfied with Facebook as of late. They used to allow tools for embedding social pages into private websites and whilst technically they still do their level of support for such seems to have plummeted to non existent. I don't know if that is a conscious effort by Meta to close down forum support or whether it is because they are moving more towards a "pay to play" business model. This in, my opinion, suddenly erects a huge barrier to entry, to even get started developing with their platform. It would seem to me it would have been more prudent, as a business model, to provide free support to get started but start charging when their products are established or at least have some way to talk to a support person.

    What I am saying, in a roundabout way, is maybe the world is ready for a decent alternative, even in the business space, and Facebook no longer seems to be it. I really can't understand how their support has collapsed so badly for developers.

    1
  • canadapolitics CanadaPolitics How bad is the cost of living crisis in Canada?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    You’re a foreigner but all your lemmy posts are about Canadian politics and your link is to a campaign video for Pierre Poilievre?

    Correct. I am from and in New Zealand. I joined up on lemmy.ca because you seem to be affiliated with more communities than what the NZ lemmy is.

    1
  • canadapolitics
    CanadaPolitics kiwiheretic 1 year ago 50%
    How bad is the cost of living crisis in Canada?

    I watched this YouTube video https://youtu.be/WP-ktk7Tt6w?si=hnKOC08_KYGn8UBW How bad is it over there and how widespread? As a foreigner I thought my country was bad. How bad is it for people on average wages? Is it really hard to pay the rent and put food on the table or is that just a small minority who don't know how to manage their money?

    0
    9
    canada Canada Canada's landlords now asking a record-breaking average of $2,078 per month: rental report
    Jump
    askandroid
    Ask Android kiwiheretic 1 year ago 100%
    After android update

    After updating my Android tablet it completely changed the layout. Now when the tablet starts up and asks for the pin number the numbers are all tiny. Also when trying to access the drop down menu from swiping down from the top the list of options are all pushed to the side of the tablet. Does anyone know how to get the old layout back?

    4
    4
    programming Programming Stack Overflow Just Announced Their Own AI OverflowAI
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    That's when I go back to ChatGPT or Google Bard. It's helped me with problems and less aggravation than SO

    1
  • programming Programming Stack Overflow Just Announced Their Own AI OverflowAI
    Jump
    programming Programming Stack Overflow Just Announced Their Own AI OverflowAI
    Jump
    programming Programming Stack Overflow Just Announced Their Own AI OverflowAI
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    Probably the same data that ChatGPT or Google Bard has been trained on which to me makes the distinction moot

    1
  • newzealand Aotearoa / New Zealand Does David Seymour come across as to smarmy?
    Jump
    canadapolitics CanadaPolitics Is the Canadian inflation rate really back at 2.8% ?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    If there are supply side shortages wouldn't that make the inflation rate higher? I would imagine it would at least affect the PPI as import shortages impact supply prices and that could still trickle through to the CPI.

    1
  • canadapolitics
    CanadaPolitics kiwiheretic 1 year ago 100%
    Is the Canadian inflation rate really back at 2.8% ?

    As a foreigner who follows the Canadian news I saw on https://www.ctvnews.ca/business/economists-expect-rise-in-inflation-as-price-growth-fight-enters-new-phase-1.6517322 that the Canadian inflation rate is 2.8% which surprised me as in our country it is around 7%. If so then how did Trudeau do it? How did he soak up all the money he printed during Covid? Does that mean that housing and cost of living pressure has also been eased? Would like to know your thoughts.

    6
    18
    newzealand
    Aotearoa / New Zealand kiwiheretic 1 year ago 95%
    Does David Seymour come across as to smarmy?

    Admittedly I don't know Acts policies well but their leader I find a bit of a turnoff. He looks like a grinning goblin to me.

    21
    16
    newzealand Aotearoa / New Zealand The dairy industry doesn't have a future.
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 25%

    In 20 years we will have involuntary euthanasia for people who suffer from bad thoughts about the government

    -2
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearAS
    AskPhysics kiwiheretic 1 year ago 100%
    Is this getting any traction?

    What are your plans for this community or is it abandoned?

    2
    1
    programming Programming Stack Overflow Just Announced Their Own AI OverflowAI
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 80%

    Agreed. I got ChatGPT to convert python code to JavaScript and I got a buggy code sample back with new bugs.

    3
  • programming Programming Stack Overflow Just Announced Their Own AI OverflowAI
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    I understand Google and Microsoft getting into it as it makes sense as a "better" Google search but for StackOverflow that sounds like they have just given up on their current platform.

    13
  • programming Programming What happened to Postman?!
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    I tried postman and came to the same conclusion as you. I couldn't figure it out at all. I downloaded an app for android called "ApI Tester". I might try out ThunderClient, which others have suggested, if it works on Linux.

    1
  • canadapolitics
    CanadaPolitics kiwiheretic 1 year ago 82%
    What is cost of living like in Canada?

    I guess it depends on province but I heard you have high inflation over there. How is it affecting the average person over there?

    11
    28
    canadapolitics CanadaPolitics Port strike: Conservatives didn't react to the Freedom Convoy like this | rabble.ca
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 20%

    Why the comparison? How do they even know it's the same people. To me it wasn't clear the protestors were getting any real support from the conservative party.

    -6
  • javascript JavaScript Anyone have a good guide or suggestions on how to publish NPM packages to Deno?
    Jump
    canadapolitics
    CanadaPolitics kiwiheretic 1 year ago 50%
    Could this Lemmy be shut down by bill C18?

    It seems that Google and Facebook are pulling their news departments from Canada because of C18. Could that also potentially shut down this Lemmy? In fact I notice that Canadian forums are hard to find at the moment.

    0
    2
    javascript
    JavaScript kiwiheretic 1 year ago 100%
    Would like some feedback on a project

    I've been working on a way of analysing a page of text stored in image format (a PNG file) to try and break the text up into normal text, separated text, mathematical equations and things that are just diagrams. I post it here so that hopefully I might get some feedback. I posted this previously in Reddit but it didn't get a lot of traction or start much of a discussion. I am hoping I might here. I am by no means an expert in Javascript. My language of choice has been in Python but there was no good way of getting visual feedback quickly and easily as to how well my algorithm was working. At the moment the whole thing is experimental and more of a proof of concept. In the future I am hoping it will be able to analyse uploaded PDFs and convert them to a combination of paragraph text (possibly using something like Tesseract) and for the mathematical equations to AsciiMath or Latex using something like MathPix. Then I would be able to pass it into some kind of text to speech engine. I am still at the preliminary stages but a working demo is on https://jsdemo.kiwiheretic.xyz/ Source code is accessible from there but is also on https://github.com/kiwiheretic/textextract Someone, after viewing an earlier version of my project, suggested that Tesseract should already do this. However, as far as I can tell, Tesseract only gives the location of decipherable text on the page and not things like diagrams. It was written initially in Python but I converted it to Javascript because it was far easier to debug visually with Chrome developer tools. As a side benefit it also seems to run much faster. It's not particularly optimised so I am sure it could even go much faster. The process of boxing the characters and rows of text but is probably grossly inefficient but the basic idea is as follows: Pixel data is converted into horizontal line segments by the data_to_raster function. The line segments being stored in an array of the format [y, [x1, x2], [x3, x4]. [x5,x6].... ] where y is the height offset of that particular image pixel row and data like [x1,x2] says that all the pixels from x1 to x2 are coloured in. Then find_boxes attempts to reread that array and turn it into boxes containing individual characters. It returns an array of arrays where the inner array takes the form [x1, y1, x2, y2] which describe the bounding box for the character inside. I initially thought it should try and find glyphs (character shapes) by working out how the individual dots were connected to make up a character. However this doesn't apply for the small letter "i" which contains a small dot at the top, for example. Therefore what I opted for in the head is that that a given character is anything that overlaps with its horizontal space. This does render the occasional false positives (like on the first line of the demo where "Ch" are wrongly guessed as one character) but doesn't seem to cause any real problems. The get_row_sorted function, which is rather badly named, is to sort the boxes of the characters in the array to the order that they would appear in the page from left to right. The group_into_paragraphs function attempts to divide the rows into paragraphs by computing the quartile of the row spacing and then using that to determine if the previous row belongs to the same paragraph as the next row. The stepBoxes.step function is then used to pull all the characters out of a two dimensional array (called rowData) where the major index refers to which "line" the characters are onand the minor index is the position of that character on the line. Then I try to do some crude statistical analysis on the median and upper quartile spacing on the spacing between characters in order to further break up a row into independent segments. (You can see this in the demo on the first line and also with many of the lines containing mathematical equations.) This method is pretty crude and there is probably a better way of doing this. This whole function runs on a timer callback for the purpose of running it slower to make it easier to see what is happening in practice. Plans for the future include a Node JS backend and the ability to load PDFs and have it produce a new PDF with image of text replaced by actual OCR'd text. This code is by no means work of art. It needs to be refactored. I am just not 100% sure yet where that refactoring should occur. Certainly it could be made more Dry. The code could contain Javascript generators instead of loops in some places. However I think there are also places where it is unavoidable to run through an array or list twice. For instance in computing the median spacing between characters which also requires a sort. I probably also need to do the same thing for the text rows in order to identify where the paragraphs are. Even at this stage I am happy for anyone to point me to a library or web application that already does this. Especially if it can convert the mathematical equations into text as well. (I just don't know of any.) Anyway, constructive criticism and advice are welcomed. Thanks

    9
    0
    selfhosting Self-hosting I want YOU to have a home media server
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    I like the idea of running a home media server. Then I could watch youtube videos without waiting for it to download fully over a slow internet. However I would probably need a step by step guide to setting one up. Currently I run Fedora 37 linux. Maybe if there are Docker installs ?

    2
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearKI
    kiwiheretic
    1 year ago 100%

    I'm not Canadian nor do I live in Canada however I have been following Canadian issues for some time now and am thinking about joining CanadaPolitics. I am from New Zealand (hence my username). I would like to interact with average Canadians to find out what life is like over there. Don't panic, I am not thinking of emigrating there. I understand you have a housing crisis over there at the moment. I watch a lot of Canadian YouTube channels. My interest is more about what life is like over there.

    I suppose I should mention I am a long time Reddit user which looks like it is imploding these days.

    As I am new here are there any rules I should know about?

    4