HNHacker News
TopNewBestAskShowJobs

s_m_t

824 karma · joined September 20, 2015

submissionscomments
s_m_t··on “In This Thread: We Pretend We're on HN”
Include me in the screencap
s_m_t··on Ask HN: How do you take care of your hands?
I keep away from the mouse. The slight repetitive movements used to control (most?) mice seem to be bad for the fingers.
s_m_t··on Why I Write Games in C (yes, C)
I don't know, he seems extremely productive to me. A lot of the time he spends in the debugger is more of him trying to figure out exactly what is happening with an api or memory usage rather than trying to figure out something he coded "wrong".
s_m_t··on When homework is busywork (2009)
Spaced repetition is important. Doing fifty problems in a row is a waste of time and almost certainly isn't any better than doing a handful in a row.
s_m_t··on Asciicker – an online 3D game demo rendering to ASCII text
the stonesense mod adds this
s_m_t··on Ask HN: Do senior engineers have a mental model before coding?
I think you probably should build a mental model. The way I see it the code/compile/debug loop style of programming is a bit like a gradient descent. You are probably going to fall into whatever solution pops up rather than really thinking about what makes sense.

With that being said no one is smart enough to not use a debugger.

s_m_t··on Terminating Service for 8Chan
I wasn't aware of that, thanks.
s_m_t··on Terminating Service for 8Chan
I was under the impression that the 1994 ban targeted specific models of firearm and silly features like pistol grips, flash suppressors, and bayonets (I might be confusing this with a california ban). The whole "Assault weapon" thing is considered something of a joke to a lot of firearm enthusiasts. For example, the ruger mini 14 wasn't legally considered an "Assault weapon" (but would be considered one if it had a collapsible stock? might be a myth idk this is what some people claim) despite it being a well regarded semi-automatic rifle which was also used in an infamous shootout with the fbi to devestating effect.
s_m_t··on Terminating Service for 8Chan
In the abstract, yes, virtually everyone agrees with "wouldn't it be great if bad people couldn't get guns". The problem is the moment it becomes specific a lot of the support is lost.
s_m_t··on The arm’s-length flats of Tokyo [video]
hahaha wtf
s_m_t··on The arm’s-length flats of Tokyo [video]
I'd gladly trade the shared 900sq ft I pay ~$400 to rent for something smaller but as far as I can tell I can't really rent anything cheaper in the entire united states.

My roommate and I don't even know what to do with our living room. Spend money filling up a space we don't actually care about? Nah, we've just been collecting free shit to throw in there because we really don't care.

Thanks for keeping me from being 'exploited' though.

s_m_t··on YouTube bans content “showing users how to bypass secure computer systems”
And how many people injure themselves doing stupid "science experiments" vs any type of sporting activity? By your logic youtube should ban anything to do with soccer, football, cheerleading, skateboarding, extreme sports. Definitely anything to do with getting cars to go faster as cars kill about 30k people a year in the US.
s_m_t··on Why switch is better than if-else
The proceeding lines make that clearer for me.

In my mind a switch statement is like "here is an execution path for every state this enumeration can hold" (like the author says, compiler or ide may warn you about missing cases) while an if else is a bit more general than that. With an if else you might only be checking for a few specific conditions.

s_m_t··on [dead]
The only reasonable form of vaccine skepticism would involve publically exholting the benefits of vaccines while not taking them yourself. Build up herd immunity, avoid any potential side effects yourself.

So the crickets are actually part of the conspiracy.

s_m_t··on New Evidence of Age Bias in Hiring, and a Push to Fight It
Dude, really?
s_m_t··on GitHub removes 5 years of One Hour One Life designer's work
It isn't really clear that splitting up your code into a bunch of files is always a good thing. Sometimes it becomes harder to search, for some people switching files incurs a sort of mental cost (like walking through a doorway), it can make compilation slower, and depending on your editor you might have to do some extra configuration to work well with your directory structure.
s_m_t··on Bluetooth's Complexity Has Become a Security Risk
In my opinion part of the problem with Bluetooth is that the API exposed by android and IOS is like... two or three layers too low. Imagine if in web programming you set the MTU size in your HTML and you get the idea of what programming Bluetooth is like.

Another issue I see is more of a view point that people have trouble shaking. Typically we think of the server as being more powerful than the client, but in BLE the client usually has more processing power and battery by several orders of magnitude. Once you examine this preconception BLE makes a whole lot more sense.

s_m_t··on Adults learn language to fluency nearly as well as children: study
More likely its bullshit or the poster just didn't have a good view of his own skills.
s_m_t··on When Did it Became Impossible to Say, ‘I Don’t Know’?
Another reason: People might not necessarily know what they don't know right off the top of their head. So if you ask them something and they don't know the answer, they won't even necessarily know whether they don't know the answer because it is an embarrassing gap in their knowledge or if the question is hard. The only thing they might know for sure is that they don't know the answer.

Honestly, trying to bullshit your way towards an answer isn't a bad strategy in this circumstance.

s_m_t··on An Introduction to C and GUI Programming
If I may add my two cents... I highly recommend reading through the standard library and then looking at how they are implemented in actual C. The string library is probably the most important, this is where most people mess up!

If you can figure out pointers and how to actually get the size of things (sizeof(*char) doesn't get you the size of what it is pointing at... it gets you the size of a pointer which varies depending on the architecture. sizeof(myArray) doesn't give you the number of elements in an array, it gives you the number of bytes your array can hold, to get the number of elements you must do sizeof(myarray)/sizeof(myarray[0]). sizeof() is a compile-time operator, it knows nothing of runtime) you will be pretty much 99% of the way there.

https://en.cppreference.com/w/c/string/byte

https://github.com/lattera/glibc/tree/master/string

s_m_t··on Dungeons and Dragons somehow became more popular than ever
I think the best explanation for the rise in popularity of dnd in the US are videos of people actually playing the game online. Reading the rule books doesn't really tell you how to actually play or what to expect when you play, it mainly just sort of tells you how to make a character and calculate dice rolls. I tried dnd in highschool with a starter set but none of us really knew what we were doing so it just seemed like a board game with vague rules.

Japan has had a huge tabletop rpg (which they more suitable call tabletalk rpgs) explosion due almost entirely to the development of "replays". Replays are the transcriptions of actual game sessions into a book for people to read. Multiple prominent japanese trpg designers were introduced to the scene by randomly picking up one of these books. They sell for something like $4 new and easily be bought for $1 used so it is something that is very easy to buy on a whim. Video replays are also very popular, ironically enough, they are usually made by putting the transcription of a session through a text to speech generator...

s_m_t··on Sony reveals PlayStation 5 details
The point is that with ray tracing the indie game and the AAA game might not look all that different in terms of graphics. Right now AAA games use crazy 40-50 pass shaders and mountains of custom tweaked texture maps to get stuff looking like it does. With ray tracing you can accomplish a lot of that with almost zero effort.
s_m_t··on Shenmue's Much-Hated Forklifts Feel Revolutionary Today
Never really seen anything like this
s_m_t··on Making $300k in San Francisco can still mean living paycheck-to-paycheck
$500 on clothes a month... $120,000 on clothes over the next 20 years :thinking:
s_m_t··on International Relations Theory Doesn’t Understand Culture
Having fundamentally different interests and being fundamentally different are in no way mutually exclusive
s_m_t··on Poo found on every McDonald’s touchscreen tested (2018)
I was under the impression that any sort of useful dirt is pretty much poop as well.
s_m_t··on I'm still not using GUIs in 2019: A guide to the terminal
The way I do it in vim is to have one terminal window with vim open, and one terminal with a couple of tabs for git, compiling, and flashing for embedded stuff or server for web stuff.

The important part in vim is for me to start it by opening ALL the files in my project directory and then just have two side by side windows. I never muck around with the file viewer or creating new windows. So other than the commands you expect from general text editing, searching, and swapping buffers (fuzzy search plus ctags makes this comparable to the ide's I've seen) the only vim commands I use are... Focus window right, focus window left, and save.

I used to waste time mucking about as you say until I saw Casey Muratori coding for handmade hero in emacs with pretty much the same setup. He takes it a step further by not even having separate buffers, he just seems to put all his code in one big file.

s_m_t··on Our Culture of Contempt
Supposed concern trolling first of all isn't even relevant here. A concern troll acts as if they fundamentally agree with you. So someone on the other side of the aisle can't really be said to be concern trolling because they would have substantive disagreements.
s_m_t··on A Climate Change Paper So Depressing It's Sending People to Therapy
You see, the sun is part of the problem here ;)
s_m_t··on Suicide instructions spliced into kids’ cartoons on YouTube and YouTube Kids
I was thinking of books like harry potter, the maze runner, series of unfortunate events, hunger games, divergent. Maybe conspiracy isn't the right word, it doesn't exactly fit hunger games.

I don't agree that it is mainly the olds who fall for conspiracy theory. In fact, I think that sort of thinking among young people is a sort of conspiratorial idea... The dumb boomers didn't vaccinate so its up to us young people to brave the odds vaccinate ourselves (even though only 1.3 percent of children are unvaccinated, it is unclear for what reason in every instance, and 50 year olds typically aren't in charge of vaccinating kids because... 50 year olds usually don't have children for obvious reasons. It is gen x and millenials not vaccinating their kids...). Again, conspiracy isn't exactly the right word. "Conspiracy theory" is just a tool to accomplish the same thing. I don't know exactly what it is... Give oneself some sort of importance?

← PreviousPage 3 of 9Next →