Daniel W. Robert's Avatar

Daniel W. Robert

@danielwrobert.bsky.social

Front-End Engineer and Engineering Manager.

57 Followers  |  215 Following  |  4 Posts  |  Joined: 25.10.2024  |  1.4554

Latest posts by danielwrobert.bsky.social on Bluesky

Preview
Science under siege: Trump cuts threaten to undermine decades of research Sweeping layoffs, funding freezes and executive orders have provoked outcry among federal researchers and their university partners, who fear that science itself is under siege.

Reaching out to all Americans through the media to explain how decreasing funding of the NIH will have irreversible harm for developing therapies for all diseases. Please spread the word to your families and friends and contact your congressional representatives.
www.nbcnews.com/science/scie...

20.02.2025 17:43 โ€” ๐Ÿ‘ 90    ๐Ÿ” 65    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This is what NIH-funded research leads to. Cures for disease.

20.02.2025 23:25 โ€” ๐Ÿ‘ 48    ๐Ÿ” 20    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
Protect NIH Research: Advocate for Full Funding As researchers representing universities across the country, the last few weeks have been filled with uncertainty. As you are aware, the Trump administrationโ€™s National Institutes of Health (NIH) prop...

Consider signing: urldefense.com/v3/__https:/...

20.02.2025 20:22 โ€” ๐Ÿ‘ 12    ๐Ÿ” 9    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
JavaScriptโ€™s Nullish Coalescingย Operator The nullish coalescing operator (??) is a relatively new addition to the JavaScript language (introduced in ES2020). It is a logical operator that returns the right side operand when the left side operand is null or undefined, and otherwise returns the left side operand. It is similar to the logical OR operator (||), however it checks for "nullish" values, as opposed to the broader truthy/falsy values.

The nullish coalescing operator (??) is a relatively new addition to the JavaScript language that returns the right operand when the left operand is null or undefined, and otherwise returns the left operand.

31.01.2025 02:53 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Using AI to Summarize GitHubย Communications Recently, a team mate of mine mentioned that they have been using AI to quickly get caught up on long communication threads in Github Discussions, Issues, and Pull Requests. This sparked my curiosity as and seemed like something that could offer a big productivity boost for me, especially as an Engineering Manager. So I decided to explore a good workflow for doing this myself.

I posted about my explorations on catching up on GitHub Discussions, Issues, and Pull Requests using AI.

I've covered some gotchas around exporting data and integrating it with AI tools for quick summaries and insights to boost productivity.

10.01.2025 22:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
CSS Display Contents The display: contents; rule in CSS is a unique display value that tells CSS not to treat the targeted item as an actual element in the DOM and, instead, treat the children of the target element as direct children of the parent element. It is then essentially treated by CSS as if you set the target element to display: none;

The display: contents; rule in CSS is a helpful display value that effectively makes an element disappear visually while keeping its children in the document flow.

Read more in my post below!

28.12.2024 16:29 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Video thumbnail

Scroll gallery effect using CSS grid and scroll-driven animations โœจ

- split images into layers
- lay out images in stacked layers with same grid structure
- animate the size of the center image
- animate the layers to reveal with different timings

22.11.2024 02:57 โ€” ๐Ÿ‘ 331    ๐Ÿ” 24    ๐Ÿ’ฌ 11    ๐Ÿ“Œ 6

tragic day. external, blue hour, bustling 1930s new york city. the sunlight peered, suspicious & steep, through the streets of manhattan, casting the avenues in deep, dusty shadow. late protection payment meant i was held at gunpoint by two of Flanagan's boys & made to write my first index.html file

04.11.2024 17:20 โ€” ๐Ÿ‘ 53    ๐Ÿ” 9    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0
a code block:

  React.useEffect(() => {
    if (!isActive) {
      return
    }
    textInputWebEmitter.addListener('emoji-inserted', onEmojiInserted)
    return () => {
      textInputWebEmitter.removeListener('emoji-inserted', onEmojiInserted)
    }
  }, [onEmojiInserted, isActive])

the if (!isActive) condition is highlighted as newly added code

a code block: React.useEffect(() => { if (!isActive) { return } textInputWebEmitter.addListener('emoji-inserted', onEmojiInserted) return () => { textInputWebEmitter.removeListener('emoji-inserted', onEmojiInserted) } }, [onEmojiInserted, isActive]) the if (!isActive) condition is highlighted as newly added code

did you know that you can conditionally exit an effect?

this is useful if you want a subscription to only stay active while some condition is true, and to stay removed while that condition is false.

a bit mindbending, but so it is with react!

01.11.2024 22:03 โ€” ๐Ÿ‘ 409    ๐Ÿ” 24    ๐Ÿ’ฌ 11    ๐Ÿ“Œ 6

Such a great list, thanks for putting this together!! โค๏ธ

29.10.2024 13:37 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@danielwrobert is following 20 prominent accounts