In school I worked as an intern for a U.S. defense contractor (which I feel rather bad about now, but that's neither here nor there). Every now and then some important general or captain type would show up for a meeting and walk around and look at what all the various labs were doing. When they came to the room where all the interns sat we would all pull up hacker typer and just furiously type away while they were looking in the door.
The important person would always be very impressed and say what a good job we were doing, and our boss who was showing them around (and knew exactly what we were doing) would have to nod and sweat bullets and then would get furious with us afterwards (but it was worth it and we did it every time we knew someone was coming to do an inspection).
Only tangentially related, but on my MacBook Pro simply running
cat /dev/random
causes my terminal to hang and my speakers start emitting a loud buzzing sound until the terminal is force-quit or system is restarted.
I can understand the terminal not being able to handle the amount of data from /dev/random but for the speakers to start emitting sounds as a result of this is certainly very strange. Almost like /dev/random was being piped into /dev/audio or something. Anyone have an explanation?
This ASCII 7 (C escape "\a"), which when printed emits a bell sound. The exact sound is terminal dependent, and modern terminals won't use the PC speaker but rather play a sound using the audio hardware (which is required on Macs because they don't have a PC speaker). The bell isn't expected to be emitted often and quickly in series, so depending on the capabilities of the terminal program and the audio hardware, it may go haywire trying to play a more complex/longer sound repeatedly or overlapping (like seeming to lock up or slow down as the audio is queued). Your terminal may be configured to "flash" instead of emitting a sound when ASCII 7 is printed -- this may be implemented as rendering the entire window in reverse video for a short duration. A series of discrete bells played quickly may sound like a tone with a rising pitch. Other terminal oddities could occur if ANSI escape sequences. There are many ANSI escape sequences, for changing colors of text, moving the cursor, changing the typeface, or for querying terminal capabilities or customizing the terminal window title bar, that when printed randomly may make the terminal go haywire.
My initial thought is you're getting escape sequences or other signals to trigger the bell/chime. I've never had it crash a terminal but I've never really used a macbook. A common one I'll see in gnome terminal is the terminal printing out some info about itself (I guess there's a way to get some info back from the other side of a link) or changing the title bar.
An easy test would be to have something dump that bell character to the terminal as fast as possible and see if that does it, and also try /dev/zero to check that doesn't.
Ehh. Nushell error handling is poorly built and buggy as hell. I wanted to use it, I really believed in the sales pitch, but it's just utterly unreliable and I have zero faith left in them ever actually fixing it.
- they're getting the fundamentals of globs on command lines wrong: if you pass string literals to an external command, they're still processed for globs.
this means `ls ""` (internal) and `^ls ""` (external) behave differently: <https://github.com/nushell/nushell/issues/9558>
When I was in college, the local news was interviewing a comp sec professor of mine in the computer lab. The cameraman was taking B-roll footage (blinking lights from racks, cables going everywhere, that sort of thing). He asked if he could film a few of our screens to show what we were diligently working on, which is how we got hacker typer onto the nightly news.
If you press it enough times, eventually three alt keys will get through to the page and it will pop up. I think it could could prevent the menu appearing by using preventDefault() on the keydown event.
Weirder, every time I see a code snippet on some video, it's the same "struct group_info ...". It is so common that I recognise it every time. I wonder where it is coming from, that makes this snippet so popular?
One of the first computer fair I went when I was about 12 I saw a guy demonstrating a software called Sued (Deus (God) backwards). The guy would ask the computer questions about the person he was showing the software to; questions like: what is the color of the hair on the girl next to me? And the computer would answer. Amazing! Later on I figured that while you type the answer the computer would show the beginning of a generic question, character by character. Even more amazing!
फयज्ञघूस्व cuviviv87g uc7g9 ic8hvivu vcg8v7v8g8g98vi uuc7g8g8f7f7f7g8g8g8vivobobobobobobobobig8f7f7vi विविकक्यूविव्जवुक्सीसिविवोबोवुकीक्सीफिविव्जक्याक्सीफ़्फ़िकवोव्यक्ज़क्ज़जिक jcyxuvivuxygivicuhobivugivivivugihobkicugibkvigigobpbigohohogigohohigovud7f6d7fuchz8gucts7civuyd7fufiviyfiffivovi के नम मे कवि i ओवी ी i i i इविविविवीवी वी i ओ o ओ ओ ओ i i i i i i i i i जी यक्सीस्तक्सरीसु i जी yx5zu हो उक्सीफुक्सीग्वीज जी i ओबसु उस ओ ivx7gvivu ycu i i ucuvu i yi uxycuvu ubi i ucu
Oh, for an instant, I felt I'm a real hacker like the ones you see in movies! Just randomly press any key on the keyboard, and it will generate chunks of meaningful text quickly. Long-press any key, and it starts behaving like ChatGPT when generating an answer.
curl https://raw.githubusercontent.com/hhvm/hhast/master/.hhconfi... > .hhconfig
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
xxx xxx xxx xxx x x xxxx x --:--:-- --:--:-- --:--:-- xxxx
$ mkdir bin src tests
$ cat > hh_autoload.json
{
"roots": [
"src/"
],
"devRoots": [
"tests/"
],
"devFailureHandler": "Facebook\\AutoloadMap\\HHClientFallbackHandler"
}
$ composer require hhvm/hsl hhvm/hhvm-autoload
Using version ^4.0 for hhvm/hsl
Using version ^2.0 for hhvm/hhvm-autoload
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing hhvm/hsl (v4.0.0): Loading from cache
- Installing hhvm/hhvm-autoload (v2.0.3): Loading from cache
Writing lock file
Generating autoload files
/var/folders/3l/2yk1tgkn7xdd76bs547d9j90fcbt87/T/tmp.xaQwE1xE/vendor/autoload.hack
$ composer require --dev hhvm/hhast hhvm/hacktest facebook/fbexpect
Using version ^4.0 for hhvm/hhast
Using version ^1.4 for hhvm/hacktest
Using version ^2.5 for facebook/fbexpect
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 7 installs, 0 updates, 0 removals
- Installing facebook/difflib (v1.1): Loading from cache
- Installing hhvm/hsl-experimental (v4.0.1): Loading from cache
- Installing hhvm/type-assert (v3.3.1): Loading from cache
- Installing facebook/hh-clilib (v2.1.0): Loading from cache
- Installing hhvm/hhast (v4.0.4): Loading from cache
- Installing hhvm/hacktest (v1.4): Loading from cache
- Installing facebook/fbexpect (v2.5.1): Loading from cache
Writing lock file
Generating autoload files
/private/var/folders/3l/2yk1tgkn7xdd76bs547d9j90fcbt87
Disable "Search for text when you start typing" in the settings.
This 'feature' is so infuriating, as many websites have shortcuts that become unusable from this. There is nothing wrong with CTRL + F total idiotic feature to have on by default.
Coming from the other side, an annoying number of websites use '/' to focus their own search box, while I am used to using it to activate quick-search, which it's bound to by default. It's like the ctrl-f search, but disappears when it loses focus.
This is so nostalgic. Many of the engineers at a company I worked for over a decade ago used this one day when our little startup was visited by some Important People. We were so 1337. Haha! Good times. Good Friday post. Thanks.
Reminds me of certain (music) keyboards where you can select some built-in songs and then just press random keys and it will play the song correctly, but in the tempo of your keypresses. Who needs piano lessons?
By "true" hackers, I meant the old-skool type that learns things on the fly from limited resources and then uses creativity and problem-solving skills alongside their newly-minted knowledge to create nifty things or solve thorny problems. :)
Guessing from the rest of your comment there, with the nifty examples that you might be one of those "old-skool hackers" yourself. ;)
This ASCII 7 (C escape "\a"), which when printed emits a bell sound. The exact sound is terminal dependent, and modern terminals won't use the PC speaker but rather play a sound using the audio hardware (which is required on Macs because they don't have a PC speaker). The bell isn't expected to be emitted often and quickly in series, so depending on the capabilities of the terminal program and the audio hardware, it may go haywire trying to play a more complex/longer sound repeatedly or overlapping (like seeming to lock up or slow down as the audio is queued). Your terminal may be configured to "flash" instead of emitting a sound when ASCII 7 is printed -- this may be implemented as rendering the entire window in reverse video for a short duration. A series of discrete bells played quickly may sound like a tone with a rising pitch. Other terminal oddities could occur if ANSI escape sequences. There are many ANSI escape sequences, for changing colors of text, moving the cursor, changing the typeface, or for querying terminal capabilities or customizing the terminal window title bar, that when printed randomly may make the terminal go haywire.
PC Speaker - https://en.wikipedia.org/wiki/PC_speaker
ANSI Escape Sequences - https://en.wikipedia.org/wiki/ANSI_escape_code
reply
Neywiny 4 days ago | root | parent | prev | next [–]
My initial thought is you're getting escape sequences or other signals to trigger the bell/chime. I've never had it crash a terminal but I've never really used a macbook. A common one I'll see in gnome terminal is the terminal printing out some info about itself (I guess there's a way to get some info back from the other side of a link) or changing the title bar.
An easy test would be to have something dump that bell character to the terminal as fast as possible and see if that does it, and also try /dev/zero to check that doesn't.
reply
0points 3 days ago | root | parent | prev | next [–]
That's the ascii bell symbol being rendered on your terminal.
See parent's comment, how he piped output from /dev/random into the next command and not to stdout.
reply
signa11 4 days ago | root | parent | prev | next [–]
just a guess “visual bell” might fix it perhaps ?
reply
0points 3 days ago | root | parent | prev | next [–]
(Sorry if too off-topic)
I just saw this and thought this was pretty cool! Running your command in nushell, and eventually aborting it gives the following output
^CError: nu::shell::terminated_by_signal
× External command was terminated by a signal
╭─[entry #28:1:32]
1 │ cat /dev/random | hexdump -C | grep 'ca fe'
· ──┬─
· ╰── terminated by SIGINT (2)
╰────
Just wanted to random praise the nushell team for this amazing level of detail!
reply
yencabulator 9 hours ago | root | parent | next [–]
I have always wondered if anyone used it in a "real life scenario". This was hilarious, thanks for sharing :D
reply
imadethis 4 days ago | root | parent | next [–]
When I was in college, the local news was interviewing a comp sec professor of mine in the computer lab. The cameraman was taking B-roll footage (blinking lights from racks, cables going everywhere, that sort of thing). He asked if he could film a few of our screens to show what we were diligently working on, which is how we got hacker typer onto the nightly news.
reply
siamese_puff 4 days ago | parent | prev | next [–]
God damn that is funny
reply
*
1 point by Ihatefriend 0 minutes ago | prev | next | edit | delete [–]
ban#robloxplayer called Kazyeah pls pls (he is annoying me) I am not a hacker so I wanna learn how to ban people at roblox
reply
pjerem 5 days ago | prev | next [–]
LPT : If you are using this website to hack the FBI or whatever, don't forget to triple press SHIFT and to triple press ALT :)
reply
Pure genius. Finally, an opportunity to parley my effusive laziness into a promising career as a “coder!”
BTW I hate that term with a passion.
As someone who has crafted software for the last 45 years, it’s like implying that learning the alphabet makes you a Tom Robbins.
Writing software is about understanding the problem and the information involved in such a way that you can craft algorithms and data structures to efficiently and reliably solve those problems. Putting that into code is the smallest, least important part of that skill.
That’s why software engineering is mostly language agnostic. Sure, there are paradigms that fundamentally change the way that the problem space is handled, but at least within a paradigm, languages are pretty much interchangeable. Some just have less hidden footguns.
Interface design is another thing altogether,
And is either fruitless drudgery or fine art, depending on your predisposition.
There is definitely room for a subclass of brilliant interface designers that do not need deep data manipulation intuition …. But they do need to have a deep understanding of human nature, aesthetic principles, color theory, some understanding of eye mechanics and functional / perception limitations, accessibility/disability engineering, and a good dose of intuition and imagination.
In short, nothing about producing quality software is something that you gain by writing code snippets to solve simple problems. But you do have to learn the alphabet to write, and “coding” it is still a prerequisite to learning to write software. It just shouldn’t be sold to people as if it was some kind of degree lol.
Give me some kid who’s been building things with Arduino in her basement for a few years over a coding bootcamp graduate any day. I can teach her how to write good code. I’ll just pull out more of my non-existent hair trying to reach the “coder” to actually solve problems, unless I get lucky.
The fact that someone entered software engineering through either building things with Arduino or through a coding boot-camp does not indicate what is their potential when it comes to software engineering.
I've seen people who are really great at combining "recipes" off the web for anything (including hobby electronics and programming), but never really get to the bottom of things or develop clear understanding of how things work and tie together.
I imagine you'd only get more out of that kid toying with Arduino because of persistence ("few years"), and not because of the type of things they did, but I ultimately believe you'll have similar chances of developing a great software engineer out of any of them in general.
You’re right on about the time part, that was definitely a big part of what I meant.
You can start anywhere, and coding boot camps are useful, just as following YouTube tutorials. But until you learn to identify, quantify, and characterise the problem and data space you aren’t really doing the job of software engineering.
My experience is that many people are deceived into thinking that language fluency is the core skill of software engineering, and coding bootcamps tend to foster that misrepresentation.
That doesn’t make them bad. It just means that often, thrashing around with no real knowledge of the tools and solving a problem with the tiny set of syntax you can get to work is much, much more educational towards the goal of becoming a software engineer than getting a good grasp of the language as it pertains to solving toy problems that require little effort to characterise.
Anyone that is willing to hack around a problem long enough that the solution emerges is doing the real job.
It doesn’t matter where they start, or how much they “know” about “coding”. The real task is to fully characterise the problem and data structures, and sometimes that emerges from the horrific beast that rises from the tangled mess of a hacking session, a malformed but complete caricature of the actual solution.
Then, all you have left to do is to code the actual solution, the structure of the algorithm and data has been laid bare for you to see by your efforts.
That, I believe, is the essence of software engineering.
No disagreement there, but one other thing I'd throw in for learning coding is that it increases confidence for someone embarking on this journey, and sometimes that's all the motivation they need to dive deep and persist.
I've obviously seen people who misjudge this (they can code, hire them), but ultimately, developing someone requires an amenable minds of both a mentor and a mentee on top of talent and persistence.
You’ve got a good point. I honestly hadn’t considered the self confidence angle. I’ve always just been stupid enough to expect to be good at whatever I am willing to put time in to learn. Sometimes, it doesn’t work out, but I can usually write it off to “lost interest” even if I suspect intrinsic incompetence lol. I mean, demonstrated intrinsic incompetence is a good reason to lose interest, right?
The important person would always be very impressed and say what a good job we were doing, and our boss who was showing them around (and knew exactly what we were doing) would have to nod and sweat bullets and then would get furious with us afterwards (but it was worth it and we did it every time we knew someone was coming to do an inspection).