HN user

tannerj

23 karma
Posts5
Comments29
View on HN

I'll second MySQL Workbench. For me the other big win over PhpMyAdmin is the security. With PhpMyAdmin, you have to install it on the server you're managing. Which exposes your app to all the security bugs that PhpMyAdmin could possibly introduce. What I love about MySQL Workbench is that it takes a completely different approach; you actually ssh into your server to manage it. It's just a GUI on top of the mysql command line. I'm not saying that PhpMyAdmin is inherently insecure, just that if a bug does exist, you've just exposed your production server to said bug.

Ah, okay. I didn't realize they could contain more data. That would make sense. If it only contained space for URLs, like I assumed, having to open a separate app seems like an extra step, but if they contain more information I guess I can see the reason.

Is there a reason neither Chrome, Safari, and now Firefox for iOS have a qrcode reader built in? It seems like to me that would be a no brainer. Is there something technical I'm missing?

Bootstrap/Foundation can be great when you don't know a lot and need something that is acceptable now. However, from a gaining experience point of view, those frameworks can get kind of complicated and trying to figure out how some effect is being achieved can be very difficult. I've found there's a certain level of skill you have to get to before you can actually use those frameworks to learn new techniques. When you get to that point, they can be great vehicles for learning how to do certain things.

I'm currently using foundation with SASS[0], Compass[1], and Susy[2]. I only take certain parts from Foundation as I need them. Foundation is built on top of SASS so it's easy to pull out parts of the framework. I can say that using a css preprocessor (SASS/LESS[3]) has really made a big difference in the speed I develop and the maintainability of my css. To directly answer your question:

>In other words, how would an expert go about building a responsive beautiful website like, https://www.lily.camera/

They probably use a preprocessor like SASS or LESS and either build it from scratch or take parts from different frameworks that they need and mix and match. Looking at their html source, they're not using a framework directly, but they could still be using one with their css preprocessor which is compiling down to their production css. Also, there's a good bit of javascript going on in that site as well. Hope this helps.

[0] http://sass-lang.com/ [1] http://compass-style.org/ [2] http://susy.oddbird.net/ [3] http://lesscss.org/

I used Fedora for about six months as my desktop OS a couple of years ago. It was my first "real" choice using linux. I started with Ubuntu because it was so popular at the time and I wanted to try something new so I chose Fedora because it had the latest and greatest software. That sounds awesome in theory, but in practice I was constantly having things break when I updated my system. The final straw for me was the kernel modules for virtualbox. I do all my web development in VirtualBox VM's and when I was stuck waiting for Virtual Box to release the new kernel modules so that I could get working again the pain was significant enough to warrant a change. I know that is an issue with Virtual Box and not Fedora, but I never have that problem now that I've moved away from Fedora. Looking back, it could have been possible that if I had built Virtual Box from source instead of installing from yum, I may have been okay, but I was still not that comfortable with linux at the time. I switched to Mint, and have been happy with that distro. I really liked Fedora, but if I'm being honest, I've been happier with mint.

I've used lynda.com for a while and about 6 months ago they started asking me to share that I had completed a course in my linkedin profile. There is no exam or anything just something that said I'd "completed" (watched) the course. They call them certificates of completion. I've never shared them because I don't think sitting through 4hrs of video means anything other than I have an interest to learn about that subject. I love Lynda.com and always recommend it to people. I always say their tutorials are really good at getting you to a point where you understand enough to read documentation. Atleast when it comes to programming languages. I too am a little worried by this news.

Yea, I'm going to check out PostgreSQL's json storage.

But at the end of the day, what matters is that your product works.

With my requirements, I could just write to a flat file and be fine... I seem to like complicating things just enough that I no longer understand how what I'm building works. LOL.

But what about low performance, low transaction? Realistically the stuff I'd use it for wouldn't see much traffic. The big factor for me is schemaless. I don't want to create a new table each time there is an event with similar, but not exactly matching data between events. I mean, is MongoDB so bad that in any production setting the reliability is not there? Thanks for the link. I didn't know about the JSON type. Maybe I'll finally give PostgreSQL a try.

Awesome, Thanks for the reply. My use cause is barely out of the "toy app" range. We only do a handful of events each year and they only draw around 100 attendants. We're talking a very small amount of data. When you do the PostgreSQL and Riak combo is it ever on the same/related dataset. What are you using at the application layer? I'm building this in rails and I feel like it would be better to store the structured fields in MySQL and the variant data in something NoSQL. But I haven't read much into using active record with two different persistence layers. That's interesting about PostgreSQL with indexable BJSON. I've only ever used MySQL, I really need to check out Postgres.

So let me ask a question. What should I use when I do need a schemaless database? Is NoSQL never the answer? I've got a project that needs to allow clients to create registration forms for different events that my company hosts. A lot of the registration data will have a defined shema ex: name, email, address. I feel like that stuff should go in a RDMS, but all the event specific stuff needs to be schemaless. I know I can do custom key/value tables in a RDMS, but that doesn't feel right either. Is MongoDB useless as a database, or are people being bitten for thinking it's a silver bullet and throwing it at every problem?

I'll second this, but I think there is possibly a huge market for the watch/healthkit integration. As a runner, I'm really excited about the possibilities of a customizable tracker that I don't have to carry in my hand while I run. Particularly pacing my runs. I'd love to have the adaptive touch let me know when I'm falling out of a set pace.

It's difficult for me to say. After I wrote the first comment, I remembered hearing long ago that the reason softball pitchers typically don't have arm trouble is that the under handed motion is a natural motion, while overhanded is very unnatural. With baseball you typically don't want to do anything that causes extra tension on the elbow (i.e. curve balls) at a young age. So, I only threw fastballs and change-ups until I was in middle school. You actually can cause a lot of ball movement with altering grip pressure. (but that's off topic.) I'd recommend talking to an orthopedic specialist if you have access. I had a bad case of tendonitis in my early teens and I remember seeing an otho doctor who had dealt with a lot of sports injuries. Also, reach out to a local college coach and ask. As always, be careful with advice off the internet, people are idiots. I know that from middle school on, we had very structured "bullpens" that would increase in pitch count as we got closer to the season starting up and that helped a lot. Unfortunately, it's been a long time and my memory is fuzzy. I also know that it's not one-to-one with softball. I found this pdf for Babe Ruth pitching rules[0]. If nothing else, I wouldn't exceed what they say.

[0]http://files.leagueathletics.com/Text/Documents/5200/27001.p...

I don't know about softball, but I played baseball from the time I was 4 until I was 19 and the biggest change in youth baseball has been monitoring pitch counts for youth pitchers. If I remember correctly, Softball pitchers usually have trouble with their knees while baseball pitchers have arm trouble. I still have arm trouble and I had parents who put my safety first and did the best they could to take care of my arm. Please do some research on the topic to make sure your daughter doesn't hurt herself. I only speak up because I saw it happen over and over again growing up. Youth sports are awesome, I got to travel all over the country playing, but I still have issues almost 10 years after quitting.

I started with LESS (Bootstrap) and couldn't make the column gutters collapse. I did some research, found that I could do that in Zurb Foundation so I started using foundation. It was that simple difference that caused me to go with SASS over LESS. I actually wasn't doing anything custom in either framework at first, but once I wanted to start customizing the framework I started learning SASS and really like it. I've also been learning ruby/rails and it's nice that its written in the same language. I've now dropped the idea of a huge framework and have been learning compass and susy with sass and I really like that solution as opposed to an entire framework. I think both LESS and SASS are great and valid solutions to the problem. At this point it's just preference.

edited for clarity

The article is an interesting read, but I feel like the author paints the ISPs as knights in shining armor. I particularly have a problem with this line, "But Netflix (NFLX, Tech30) and other bandwidth-hungry applications are forcing broadband providers' hands. Video over the Internet is cramping networks and slowing connection speeds." From my vantage point, that unfairly places the blame on the content providers.

It seems kind of like a last ditch effort. According to CNN, the speculation is that the death rate is so high that there wasn't much to lose. It sounds like the doctor was conscious and involved in the discussion to administer the drug to himself and the other victim. It will be interesting to see how this turns out.

This. x1000. At work I'm on a windows 7 pc and managing RHEL boxes is a nightmare. Cygwin is okay for basic operations, but it does random stuff when editing text files that sometimes makes me want to scream. I do freelance work on a Macbook Pro and like you said, everything just works. Although I constantly say that if Adobe will support Linux I'll drop Mac, in practice I don't know if it would be that easy.

Probably about 1-2 hours. I used to use the maxvisit/minaway feature, but I found myself cheating the system. I'd open a new browser that wasn't logged into my account/open multiple tabs in rapid succession to read after I got locked out. So I stopped using that and now just guilt myself into logging off.

For points 1 and 2 coursera.org has a great set of courses on algorithms[1], Taught by a Princeton professor. I started the first one a couple of months ago, but had to drop out because of time constraints. I've re-enrolled for the upcoming section. It has a companion book, Algorithms[2], that I bought which was a great help. I don't have a copy of CLRS[3] But I've heard it is also a great reference and is on my amazon wishlist. Other than that, MIT's OpenCourseWare[4] also has the entire CS degree online for free. It's funny, reading your post I thought I hide sleep posted or something. You seem to be experiencing exactly what I'm going through. I'm also 27 and don't have a CS degree. I am highly motivated though, and have no problem hacking at this stuff on my own. I've talked to a bunch of CS majors who actually still feel inferior after they graduate so other than helping the impostor syndrome[5] that I suffer from, I'm not sure that a degree would do me a lot of good. (With the exception of padding my resume and getting me in the door for an interview). [1] https://www.coursera.org/course/algs4partI [2] http://amzn.com/032157351X [3] http://amzn.com/0262033844 [4] http://ocw.mit.edu/index.htm [5] http://en.wikipedia.org/wiki/Impostor_syndrome

Ask HN: Idea Sunday 12 years ago

I had an idea for something like this during the 2008 Presidential Elections. There was so much hearsay and misdirection that I did not know where to turn when trying to decide who to vote for. My idea was more of a forum where you could somehow remove the emotional human element out of the discussions and a moderation system that would not allow posts that could not be supported by credible sources. I remember I came up with a cool name, checked Godaddy.com, saw it was taken, and abandoned the idea. I think having a repository of credible facts to turn to when you need to support a philosophical argument would be awesome. Kind of like a Snopes.com meets Wikipedia.

I actually just bought Rosen's 'Discrete Math and Applications' on amazon. My college education was in art, so needless to say, not much mathematical training in my undergrad education. In my current job I'm a web developer and I've been trying to cover a CS knowledge base through self study. Through reading reviews about discrete mathematics books I was pointed towards Epps' 'Discrete Math with Applications' http://amzn.com/0495391328 and Rosen's book. I was told Epps' book doesn't go into as much depth, but doesn't assume any prior knowledge from the student. This is great for someone like me with an art degree and the will to learn discrete math. All this is tangentially related to why I'm posting. All of these books mentioned are really expensive, mostly because they are used in college classes. A trick I've started using is buying previous additions of these books for pennies on the dollar. I got Rosen's fifth edition for $7 as opposed to ~$160 for the seventh. After reading the update pages online, I don't think I really miss all that much doing this either.