News for hackers. Stuff that matters.

coley

I’ve commented about this book here before. It’s very useful across multiple disciplines. What drew me to it was video game level-design. There’s a section on how churches and temples often have these increasingly smaller and more intimate chambers as you go deeper into the building. I found it super helpful as a lot of these little details are difficult to intuit. I appreciate that you can open the book to almost any page and gain tremendous insight.
Re:Swarm on Tuesday April 11, 2023 @12:31PM (#35527493)
Odd that the music only kicks in for me after I tab away. When I tab back, the music stops.
Re:The Death of Personality on Tuesday March 07, 2023 @03:33PM (#35060807)
> More ugly wire-frame skeleton design compared to it's original counterpart. Where is the call to interact with any of these elements? Where is the hierarchy?

Is it just me that finds the old iOS settings design ugly, and not* the new one? I think the new design is a vast improvement. I guess you could say that heavy-handed gradients and drop shadows exhibit more personality than the flat design, but so do children's toys & interfaces compared to professional tools & interfaces.

I'm not sure what the author means by "call to interact" in this sentence. Are they referring to the right arrows and how they've been muted? Maybe they mean the on/off switch indicators that are put front and center in the old settings screenshot, but are scrolled off-screen in the new settings screenshot(even though they're still present in the new UI).

I also don't understand the "where is the hierarchy?" question. They hierarchies of the old and new settings panes are strikingly similar. Maybe if the author cared enough to show the same things in each of the screenshots it would be more clear. It feels disingenuous to me.

*edit: spelling

Re:Anatomy of Linux Dynamic Libraries on Thursday October 13, 2022 @11:43AM (#33192552)
The first time I learned about dynamic loading was while watching an episode of Casey Muratori's Handmade Hero - a series where he builds a video game, in C, from scratch.

He compiles the game code as a dll and dynamically loads it at runtime in the Win32 platform layer code. This way he can keep platform code and game code separate and reload the game code at runtime if any changes are made. Being new to this technique, I was impressed to say the least.

I always assumed the same functionality was available in the linux environment, but I hadn't bothered to look it up. Now I know.

For those who want to learn how to do this in Win32, here's the episode I mentioned above - https://www.youtube.com/watch?v=WMSBRk5WG58

Re:A Pattern Language (1977) [pdf] on Thursday June 10, 2021 @12:52PM (#27462817)
I also own a hard copy of this one and know nothing about architecture. I've found the patterns helpful for video game level design. Whether it's the layout of a small town, window placement, or the tiered chambers of a church or temple, this book is extremely insightful for someone who doesn't know where to start when it comes to this stuff.
Re:Avoid Git LFS if possible on Wednesday May 12, 2021 @07:04PM (#27136263)
This is my experience as well so far. It took 15-20 minutes to learn about it, install it, and setup configs. Since then I haven't had to think about it once.
Re:The Strange Appeal of Watching Coders Code on Wednesday August 19, 2015 @06:15PM (#10088913)
I never understood the appeal until I started watching Handmade Hero(https://handmadehero.org/). I had always wanted to learn about C, but if you don't have an idea of your own, it can be difficult to put what you learn into practice. Casey Muratori did a great job of explaining why he was doing things certain ways and went even deeper to explain the underlying concepts.

I don't see very many live broadcasts on livecoding.tv at the moment, at least none that interest me, but I think I'll be checking back somewhat frequently to see if I find something worthwhile to me.

Re:Snake: Full Python Scripting in Vim on Sunday May 17, 2015 @08:37PM (#9562358)
I'm looking forward to playing around with this. Vim is my editor of choice, and it would be nice to configure/extend it in something other than vimscript. Gives me a good reason to familiarize myself with Python as well.

Not to mention I'm a huge Metal Gear fan. =]

Re:BBS – Text-Only Online Community on Tuesday December 30, 2014 @02:04PM (#8816066)
Are the pins sent by email via an SMS gateway? If so, why not just let people sign up with their email address?

I'd like to join in on the fun, but not with my personal phone number.

Re:Why is the mouse cursor slightly tilted and not straight? on Monday February 17, 2014 @12:38PM (#7253191)
I don't know if this went into the decision making process, but with the cursor at an angle the OS can use the x,y coordinates of the cursor to find it's target, instead of having to offset the coordinates to compensate for a straight cursor.

I'm not sure if that's how cursors work.. just a thought.

edit: grammar is hard

Re:Comcast vs. the Cord Cutters on Saturday February 15, 2014 @06:59PM (#7246048)
I've had problems with un-bundling all ready. I've had Comcast for almost two years now - the top internet service for 19.99/mo. Of course they tried to raise the price on me once but I was able to call and get it back down. The next time they raised the price, there was no 19.99 internet only option. The customer service agent checked and checked and checked, but "couldn't find it available in the system". There was, of course, a 19.99 deal for the same speed internet AND basic cable + HBO/HBOGo. So I'm riding this promotion out for as long as I can. Although they were required to send the set-top box, I asked them not to send out a tech to hook it up. I honestly couldn't care less about basic cable. The HBO Go on the other hand, I enjoy thoroughly. I was finally able to get around to watching Sopranos =].

Eventually they'll learn that story-telling isn't meant to be interrupted by advertisements. The content is gravely diminished when this happens. I find myself not caring about plot after so many commercial breaks. Made worse by the terrible, "coming up next on blah blah blah" hook.

I can see some sports fanatics enjoying the 'luxuries' of basic cable, as I don't believe there are any fool proof options online yet - I also don't care.

Re:Grunt.js: Tips and Tricks on Tuesday January 21, 2014 @04:22PM (#7098490)
I know this is off-topic, but I really liked this site's page title banner interaction. I haven't seen anything like it before!
Re:Teleportation on the command line on Saturday January 11, 2014 @03:52PM (#7043700)
I made a tool a year ago to do the same thing, Metis: https://github.com/srcoley/metis

I like a solution that goes where ever your dotfiles go, instead of having to install a fuzzy search on each system.

Metis will list all of your currently saved Metis aliases as well, just by typing "metis". You can also tell Metis which dotfile you want to save your aliases.

Don't most patrol cars have laptops in them? Laptops that I usually see open and turned on, while the officer is driving?

I don't care what kind of special training you have, a vehicle can still pull out in front of you in less time than it takes to look at a mirror, let alone a laptop screen.

Yet police officers hand out expensive fines to citizens for doing the same. Bewildering.

Ask HN: It felt like dying

Before it happened, you remembered looking at your stomach. There was a twitch. An itch? Maybe a pain. You're not sure, but it grabs your attention. Next, your hands and feet are sweaty and start shaking. This is usually the feeling that overcomes you before getting sick, but you've never had the urge to take off your clothes like you do now. It's hot and they're keeping you from breathing,...

( Read More... | 8 comments | 12 points | on HN )
Re:Obama’s Remarks on NSA Controversy on Friday June 07, 2013 @04:31PM (#5841578)
"They are not looking at people’s names, and they’re not looking at content. But by sifting through this so-called metadata, they may identify potential leads with respect to folks who might engage in terrorism. If these folks — if the intelligence community then actually wants to listen to a phone call, they’ve got to go back to a federal judge, just like they would in a criminal investigation."

So if you're not collecting names, whose name goes on the warrant once suspicious is aroused?

Re:Free private Github repos for students and edu people on Thursday May 23, 2013 @09:17PM (#5760681)
If it's simply that, then why restrict it to students, instead of by age? Most people under the age of 21 are broke, young, and impressionable.

I feel very good about the fact that I don't have to pay back debts for the rest of my life. I feel bad that a company that I look up to doesn't think the self-taught crowd are as worthy students as those who have it spoon fed to them.

Re:Free private Github repos for students and edu people on Thursday May 23, 2013 @08:41PM (#5760538)
I see it more of an argument of definition.

Students - People who pay to have information presented to them in a nice and comprehensible manner.

Not Students - People who scour the internet and books in search of information that aligns with their interests.

It seems a bit backwards to me.

Yes, the actual definition requires a 'student' be in attendance of a 'school' or 'college'. What about Wikipedia, KhanAcademy, Google etc...? Aren't these new schools that I can 'attend' and don't have to hop through a bunch of red tape, apply, or send them money?

Re:Free private Github repos for students and edu people on Thursday May 23, 2013 @08:01PM (#5760371)
I'm a student of the Internet. I learn on it every day of my life. I'm guessing I don't count though because I'm not affiliated with a corporation that cares more about charging my bank account than making sure I learn anything.
> If we spent the last thirty years inspired by what we saw in Star Trek, what’s going to inspire us for the next thirty?

I think video games, AAA and indie titles alike have got this covered for me. What inspires one man does not inspire another.

It's interesting that we don't see many portrayals of the future of the web or internet either, considering how large of an impact it has had on humanity in the past 20 years.

I really enjoy EVE's sandbox. It's a great game to lose yourself in. The developers release expansions regularly and really listen to their player's feedback.

One thing I find interesting is that most dedicated EVE players pay for two subscriptions. This allows you to have two characters that are both active and training skills.

A popular setup is to have a subscription for a law-abiding citizen that can pass through all Solar Systems and make a lot of in-game currency through mining, mission running, transportation of goods, or any other means. The second subscription would most likely be used to engage other players, whether their victims are up for the challenge or not. If an EVE player is engaged illegally, the attacker becomes red-flagged, and if they keep it up, eventually won't be able to traverse high security solar systems without being pursued by a Faction Navy or CONCORD(EVE in-game police). Running from CONCORD is a bannable offense - as in, banned from the game.

EVE is a wonderful world of capitalism, piracy, industry, and exploration, but I do wish CCP had a way of counting the number of players instead of subscriptions.

I used expect a while back to write a small bash script that logs into my server via ssh and pulls the latest commit from Github. I have this set to run on an Alfred command 'deploy site name'.

This is much more secure, in my opinion, than using a webhook to deploy new commits.

You may have to tweak it a bit to get it working with your specific ssh agent forwarding and ssh keys by only by deleting a few lines, but it works out of the box without those features.

https://gist.github.com/srcoley/3299526

Re:How SublimeText Bodybags vim+Terminator on Sunday February 03, 2013 @10:57AM (#5159982)
This is true. Pathogen, a vim package manager, is mentioned elsewhere in this thread.

Although not as smooth as Pathogen, installing most vim scripts is as easy as extracting the download into your .vim directory.

Re:How SublimeText Bodybags vim+Terminator on Sunday February 03, 2013 @09:24AM (#5159727)
Is the the central repository you're looking for?http://www.vim.org/scripts/index.php
Re:How SublimeText Bodybags vim+Terminator on Sunday February 03, 2013 @09:19AM (#5159712)
I don't think these current features + plugins 'body bag' vim. For instance, is all of this vim 'body bagging' goodness available to you over SSH?
Re:Anonymous Threatens Massive WikiLeaks-Style Exposure on Saturday January 26, 2013 @12:46PM (#5121036)
I wouldn't be so quick to copy and paste the command they provided for reassembling the file.
Re:The President's Plan to Reduce Gun Violence on Wednesday January 16, 2013 @07:45PM (#5070155)
They wouldn't. The drone comment, and protect ourselves comment were separate ideas. I think he's trying to bring to light that our country completely stopped for a month after Sandy Hook, but we ignore all of the innocent lives(including children) that get taken by drone strikes.

Assault weapons don't stand a chance against drones, but I'm willing to bet they out number them and have a lot more trained operators.

My AR-15 was around $900 when I bought it(~2 years ago). Now the same gun is going for $1000+, and there's not even new legislation yet. If these weapons get banned, the criminals that all ready own them will see a gain in their net worth.

I don't see how raising the value of 'criminal' assets is going to help anyone.

Paranoid is an easy answer. A much more difficult answer is that our country has used it's excessive force on the unarmed before. What's to stop them once their governing body(the citizens) is unarmed?

Older »