Stephan Beyer @[email protected]

1.3K posts

Stephan Beyer @sbeyer@hachyderm.io banner
Stephan Beyer @sbeyer@hachyderm.io

Stephan Beyer @[email protected]

@_sbeyer_

occasional tweets about ORMS, ((theoretical) computer) science, coding & prog. languages (eg. C++, Rust), open source, and related stuff. Mostly in English.

Germany Katılım Mayıs 2019
421 Takip Edilen120 Takipçiler
Jason Turner
Jason Turner@lefticus·
Should I install the Linux distribution I prefer, or the distribution that commercial products support (and I might need to install some commercial software) I know using the one I prefer will lead to future pain and suffering.
English
22
0
14
3.8K
Armin Ronacher ⇌
Armin Ronacher ⇌@mitsuhiko·
If you haven't used Ghostty you should. 1.0 is out now. I have been using this as my main terminal emulator for quite a while at this point and I love it.
English
14
15
300
28.1K
Stephan Beyer @sbeyer@hachyderm.io
@algo_luca I have this as kitty-session which I shared on our company-internal wiki. And a coworker in my team who just switched from VS Code to kitty+neovim (my work setting) could directly use it. And he loves it.
English
0
0
3
54
Luca Palmieri
Luca Palmieri@algo_luca·
Productivity tip: define a layout with the panes you _always_ use when working on a project. `zellij --layout run-layout.kdl` and you're then ready to work! Faster than creating a new tab, creating each pane, getting command from historys, etc. Easier for contributors, too!
Luca Palmieri tweet media
English
4
2
40
3.5K
Stephan Beyer @sbeyer@hachyderm.io
@__phantomderp I had a similar problem recently with slightly different requirements. For my requirements, self-hosted LimeSurvey seems to be the only option. For yours, try SoGoSurvey.
English
1
0
0
30
Björkus 'No time_t to Die' Dorkus
I need to find a proper survey website that allows for some 15 options that can each be rated, and allow for a little explanation box at the end. I would try Google Forms but in order to "limit 1 per response" I have to require signin, and given the community this survey is...
English
2
0
18
889
Stephan Beyer @sbeyer@hachyderm.io
@m_ou_se When reading the release notes I thought there was a lot of interesting stuff going on, but in parts of the language 80+ % of Rust developers are not using. I especially wondered what the big benefit of &raw is -- you have to use unsafe to do anything useful with it, right?
English
1
0
2
612
Tony Weston
Tony Weston@tonywestonuk·
@htmx_org More than one return per method, is bad practice. look up "The Single Return Law". We need *more* if statements like this.... not less! 🤣
English
12
0
2
2.1K
htmx.org / CEO of CVE (same thing)
as CEO of IF statements allow me to address this slander: the problem here is the deep nesting the fix is to invert the if conditions & use early returns to linearize the whole thing also extract local vars for the test conditions to make debugging easier plodding, linear code
htmx.org / CEO of CVE (same thing) tweet media
English
72
29
877
50.6K
Stephan Beyer @sbeyer@hachyderm.io
@MichaelCaisse There are so many things that can go wrong with C++ (or its "wrong" use), but I have never seen anyone running into issues because someone used .h instead of .hpp as their C++ header file extension. 🤔
English
0
0
3
89
Michael Caisse
Michael Caisse@MichaelCaisse·
This slide is triggering. Folks, please use a proper extension for your C++ headers!
Michael Caisse tweet media
English
3
0
10
3.5K
Stephan Beyer @sbeyer@hachyderm.io
@SpencrGreenberg I'd be interested in similar research with the same setting but for MBTI personalities (instead of astrological charts) and people who consider themselves experts in the MBTI topic (there's a whole community around it). I'd expect different results.
English
0
0
1
244
Stephan Beyer @[email protected] retweetledi
Spencer Greenberg 🔍
Spencer Greenberg 🔍@SpencrGreenberg·
Does astrology work? We tested the ability of 152 astrologers to see if they could demonstrate genuine astrological skill. Here is how the study was designed and what we found (including a result that really surprised me): 🧵
Spencer Greenberg 🔍 tweet media
English
464
4.4K
21.3K
6.2M
Jason Turner
Jason Turner@lefticus·
Does anyone have a small (< 1000 loc) project, with tests, written in C++, that you wouldn't mind me using as an example in a conference talk? It doesn't need to be anything special, just kind of code I didn't write :) I won't be doing a harsh code review or anything like that.
English
26
4
49
11.2K
Björkus 'No time_t to Die' Dorkus
For all he people that kept linking me that asshole's thread, HE'S WRONG. Provably so. Here's an analysis from somebody who's head in on straight and is a literal world expert at this (also featuring a quick Godbolt snippet, praise be to CE!!):
Tavis Ormandy@taviso

This strange tweet got >25k retweets. The author sounds confident, and he uses lots of hex and jargon. There are red flags though... like what's up with the DEI stuff, and who says "stack trace dump"? Let's take a closer look... 🧵1/n

English
7
57
760
38.2K
Rasmus Pagh
Rasmus Pagh@RasmusPagh1·
Note to self: When referring to someone’s less tight analysis, remember that “looser” is spelled with TWO o’s
English
3
1
55
3.7K
Jason Turner
Jason Turner@lefticus·
I finally saw a cyber truck in the wild... It was on the back of a tow truck. Couldn't safely grab a pic of it.
English
5
0
39
4K
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
I’m on a Zoom call with a developer. They decide it’s better to show the code to explain their point. They open Emacs with the default theme and no syntax highlighting. It was at this moment I realised that I’m talking to a tech wizard.
English
102
258
10.2K
988.9K