Hot

z428, to random German

Serious question, no offense or provocation intended: With this stuff being baked into Hubzilla and, apparently, also design-wise into Bluesky / AT, can anyone out here involved with the #ActivityPub specification process outline why nomadic / easily portable identity isn't built-in here by design? Looking at the (to-be-expected) dynamics of instances going up and down, blocking each other or moving to newer, different pieces of software, this seems an absolutely obvious requirement, so I wonder why this has been left out of the standard / spec?

gbhnews, to random
@gbhnews@mastodon.social avatar

🌞 Good morning ! This is GBH News bringing you the world from . It's 66F at Logan Airport and visibility is 1.25 miles.

The 's Red Line has the most extreme slowdowns in the system -- and the agency announces it will shut branches altogether for repair in October.

Former President posed for a mug shot in Georgia yesterday, as he was booked on charges of interfering with the 2020 election. He posted the photo on Twitter shortly afterwards.

grishka, to random
@grishka@mastodon.social avatar

Working on private messages in #Smithereen and I'm wondering how much sense CWs make for them. From Mastodon's PoV, "private messages" are just posts. They thus share all the same properties. In my implementation, however, messages are distinct from posts, both in the UI and in the database. In my UI I don't have anywhere to display that content warning as a spoiler without it being super awkward. I can use it as a subject line however 🤔

Any thoughts?

#activitypub #mastodev

dejo, to science Serbian

Hi, I'm not quite sure if this vhdl code and testbench is correct for the given task. Can you take a look?

Design a one-hour kitchen timer. The device should have buttons/switches to start and stop the timer, as well as to set the desired time interval for the alarm. Realize the task using the software package Quartus or in GHDL, confirm the correctness of the project task by simulation.

This is VHDL code:

use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity Kitchen_Timer is
  port (
    clk   : in std_logic;    -- Clock input
    reset : in std_logic;    -- Reset input
    start : in std_logic;    -- Start button input
    stop  : in std_logic;    -- Stop button input
    alarm : out std_logic    -- Alarm output
  );
end entity Kitchen_Timer;

-- Declare the architecture for the kitchen timer
architecture Behavioral of Kitchen_Timer is
  signal count     : integer range 0 to 3600 := 0;   -- Counter for timer
  signal alarming  : std_logic := '0';               -- Signal to indicate alarming interval
  signal alarm_en  : std_logic := '0';               -- Signal to enable alarming interval
  signal alarm_cnt : integer range 0 to 600 := 0;    -- Counter for alarming interval
begin
  -- Process to control the kitchen timer and alarming interval
  process (clk, reset)
  begin
    if (reset = '1') then
      count     <= 0;
      alarming  <= '0';
      alarm_en  <= '0';
      alarm_cnt <= 0;
    elsif (rising_edge(clk)) then
      if (stop = '1') then
        count     <= 0;
        alarming  <= '0';
        alarm_en  <= '0';
        alarm_cnt <= 0;
      elsif (start = '1' and count < 3600) then
        count <= count + 1;
        if (count = 3600) then
          count     <= 0;
          alarming  <= '0';
          alarm_en  <= '0';
          alarm_cnt <= 0;
        elsif (count > 0) then
          alarm_en <= '1';
        end if;
      end if;

      if (alarm_en = '1') then
        if (alarm_cnt < 600) then
          alarm_cnt <= alarm_cnt + 1;
        else
          alarm_cnt <= 0;
          alarming  <= '1';
        end if;
      end if;
    end if;
  end process;

  -- Assign the alarm output
  alarm <= alarming;
end architecture Behavioral; ```


This is Testbench:

```library ieee;
use ieee.std_logic_1164.all;

entity tb_Kitchen_Timer is
end tb_Kitchen_Timer;

architecture tb of tb_Kitchen_Timer is

    component Kitchen_Timer
        port (clk   : in std_logic;
              reset : in std_logic;
              start : in std_logic;
              stop  : in std_logic;
              alarm : out std_logic);
    end component;

    signal clk   : std_logic;
    signal reset : std_logic;
    signal start : std_logic;
    signal stop  : std_logic;
    signal alarm : std_logic;

    constant TbPeriod : time := 1000 ns; -- EDIT Put right period here
    signal TbClock : std_logic := '0';
    signal TbSimEnded : std_logic := '0';

begin

    dut : Kitchen_Timer
    port map (clk   => clk,
              reset => reset,
              start => start,
              stop  => stop,
              alarm => alarm);

    -- Clock generation
    TbClock <= not TbClock after TbPeriod/2 when TbSimEnded /= '1' else '0';

    -- EDIT: Check that clk is really your main clock signal
    clk <= TbClock;

    stimuli : process
    begin
        -- EDIT Adapt initialization as needed
        start <= '0';
        stop <= '0';

        -- Reset generation
        -- EDIT: Check that reset is really your reset signal
        reset <= '1';
        wait for 100 ns;
        reset <= '0';
        wait for 100 ns;

        -- EDIT Add stimuli here
        wait for 100 * TbPeriod;

        -- Stop the clock and hence terminate the simulation
        TbSimEnded <= '1';
        wait;
    end process;

end tb;

-- Configuration block below is required by some simulators. Usually no need to edit.

configuration cfg_tb_Kitchen_Timer of tb_Kitchen_Timer is
    for tb
    end for;
end cfg_tb_Kitchen_Timer;```

 #science

dejo,

@T4V0 Thanks for the answer, but I think I didn't understand you very well, can you send me the code with the modifications so that I know what exactly you mean?
Thank you very much, in advance

T4V0,
@T4V0@kbin.social avatar

@dejo

can you send me the code with the modifications so that I know what exactly you mean?

I would rather not, as it isn't a good learning experience for you, and would require some time for me to write the code.

Though if you have any questions about my previous answer, feel free to ask me about it.

As a freebie for you, pay attention to the alarming signal, and the condition that has been set: "The device should have buttons/switches to start and stop the timer, as well as to set the desired time interval for the alarm.". If I wanted the alarm to ring after 50 minutes, how would I do that? And what happens when the timer starts?

From the code I see here, the alarm is going to ring 10 minutes after being started, and it won't stop until an hour passes. And it has no way to set a time for it to ring, it always rings after 10 minutes.

And, not only that, the start signal is never set in the testbench, so the timer is never going to begin.

DontMindMe, to random
@DontMindMe@zirk.us avatar

Hashtags are important in the #fediverse, for both following and muting, but people don't seem to be using them as much as they could, even the obvious ones. That's understandable. Remembering and typing them can get tedious.

So, a little #feditip : instead of typing #hashtags de novo each time, keep a running collection of ones you use in a document. That way, you can copy many hashtags, paste, and delete any irrelevant ones.

I keep mine in an email draft, grouped by category. #feditips

Chozo, to fediverse

I feel like the reason , and the at large, aren't taking off has to do with the fact that they're actually social networks. People don't seem to want a social network, they want content platforms. People aren't using or or to keep up with their friends these days, they're using these apps to entertain themselves. And since and every other platform that used to be a social network began pivoting toward content promotion, I think society has forgotten what a social network is supposed to actually be anymore.

(E: Grammar.)

Sam_uk,
@Sam_uk@kbin.social avatar

@Chozo I wonder if this bodes well for Kbin/Lemmy? Arguably their model is more about content than social relationships.

ernest, to kbinMeta
@ernest@kbin.social avatar

Hi, in this and probably the next week, I will be working on these tasks:

Today, I will be slightly less available as I am in the final stages of taking care of all the formalities, and I also had to handle a few personal matters. Starting tomorrow, I will be back at full capacity again. When this succeeds, in the next releases, I will focus more on frontend and accessibility.

#kbinMeta

sickmatter, to fedia
@sickmatter@fedia.io avatar

So does Fedia have a relay connection to the same sources as infosec.exchange?

#fedia

sickmatter,
@sickmatter@fedia.io avatar

Probably. The other sites in the Jerryverse seem to support it.

fancysandwiches, to fedia
@fancysandwiches@fedia.io avatar

Is there a way to hide all of the random stuff on the sidebar? I find it very distracting, and so far not a single thing has been to my interests. I'd prefer to just not see it. I searched around for a setting, and I did a search on Google and DuckDuckGo but found nothing useful.

#fedia

FlockOfCats, to random
@FlockOfCats@famichiki.jp avatar

I feel a lot more comfortable with the developer of kbin (@ernest) than the Lemmy devs.

Here, he messed up by not giving attribution for some code, but the transparency and remedy of the error are appreciated.

It’s nice to see something that builds trust as opposed to burning it down like at #Reddit

#fediverse #kbin

sickmatter, to fedia
@sickmatter@fedia.io avatar

Oh my god, images work now! 🫶🏼

sickmatter,
@sickmatter@fedia.io avatar

Oh my god the site works too!

sab, to kbinMeta
@sab@kbin.social avatar

I'm curious - what's the difference between magazines and users when linked to the greater fediverse?

It seems like the link to both would be @name@kbin.social. If somebody creates a user named news, it would therefore be found at @news@kbin.social - which is where the news magazine is found.

Don't these collide? How do we distinguish between the two?

I'm sorry if the answer is obvious somehow. :)

#kbinMeta

Facni,

@sab Actually, that's the idea, Lemmy and Matrix use a ! before the URL to name communities/rooms for example https://lemmy.world/c/technology but Mastodon doesn't support it and they are the biggest platform so they don't have any plan to do it, Kbin's solution was to use the same logic for users than for magazines. If you access a magazine from Mastodon you will see that it works as a user. Many people think that Lemmy is the only one who resists Mastodon's bad practices.

grindhold, to random
@grindhold@chaos.social avatar

say, #fediverse, is peertube the only #activitypub based software that supports instance←→instance federation? i struggle with my peertube setup and would like to give another software a try. which softwares support instance-following as well? #followerpower

jonah,
@jonah@neat.computer avatar

@grindhold @hexmasteen it’s the only one I know of off hand, because PeerTube creates a fake “peertube” user which other AP instances can follow for the full feed. For example, you could even instance follow my PeerTube instance from Mastodon, by following @peertube. Most other AP implementations rely on relays instead of this psuedo-user approach, which both instance operators have to opt in to.

ada, to random
@ada@blahaj.zone avatar

The more I use different #fediverse apps, the more I feel that we are on the edge of a different future, in the early stages of something that we haven't seen before.

In the last few months, I've used #Mastodon, #Misskey, #Calckey, #Funkwhale, #lemmy, #Peertube, #Bookwyrm and #Pixelfed. Soon, I'm going to try an install of #kbin. In the not too distant future, we will see #GreatApe bringing more options for video chat to the Fediverse. There are countless more platforms that I haven't had a chance to try.

The network formed by the interconnections between those apps is the Fediverse; a Federated Universe. Federated, because everything out there is connected with everything else, in one giant network. What I am truly beginning to appreciate is just how real that vision is, and just how disruptive to our future it's going to be. More than a truism, these the fediverse platforms really will allow us to see and interact with nearly anything else out there.

The platform we use no longer determines the information we can access; it doesn't build walls around us. Instead, what out choice of platform determines, is how we interact with information, rather than determining what information we are able interact with in the first place. The walls in the walled garden haven't so much been torn down, as simply never built.

I can write a blog post, and someone on Mastodon can reply to it. I can make a group post on lemmy, and someone from Calckey can reply to it. I can see an awesome photo on Pixelfed, bring it in to #Akkoma and boost it for everyone else to see. And then anyone who sees it can interact with it.

The cross platform interactions are still imperfect. Standards are still being developed, code is still being written and features are still being defined, but the future is right here, we are on the cusp of something new and amazing.

Of course, this is all old news to someone who has been part of the fediverse for years now, but it feels different now. The momentum is here, we are seeing a shift and I think once we cross that precipice, once we have normalised the cross channel interactions we are starting to develop, it's going to be very hard to go back.

Honestly, I can't wait.

humanetech, to random
@humanetech@mastodon.social avatar

Great news #Fediverse it is Official. The #EU #EuropeanCommission just launched two servers 🚀

Welcome to #EUVoice mastodon and #EUVideo peertube 🎉

So say hi to @EC_Commission 👋

Love #FOSS with @EC_OSPO 💘

Stay in the loop with @EC_DIGIT

Help make things fundamentally right with @FRA ☀️

Regain balance with @Curia ⚖️

Protect that data with @EDPS 🔐

Let's go global with @CDT 🌐

Get us heard at @ombudsman 📣

Watch and boost from: https://tube.network.europa.eu/videos/overview

And explore: https://social.network.europa.eu/explore

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • meta
  • Macbeth
  • All magazines