Hacker Newsnew | past | comments | ask | show | jobs | submit | more rorrr2's commentslogin

But keep in mind that it's all completely voluntary. As someone who was a foreigner in the US, I got to the top 3-5% salary wise.

I'm astonished how much opportunities US has for education, jobs and business, yet people pass them en masse. There's a huge subset of the population that considers education and knowledge as something lame.

The second big problem is that young people are fed "you can be anything you want" mantra, so they end up studying (while spending tons of money and years) impractical things like art or history or women studies or international relations.

Don't get me wrong, I LOVE art, but you shouldn't base your future on a possibility that you will become famous enough to support yourself making art.

What we need to do is educate our young people to choose their majors wisely. So next time you hear somebody wanting to study history, slap them in the face and tell them to read history porn during their free time.


As someone who grew up in the low income bracket of America I totally agree with your first point, it is amazing how easy it is to simply work hard and get somewhere like I have, yet people throw that chance away all the time. Your second point, however, I think is not so much about students thinking they can be whatever they want and more about not succeeding in their first choices. Most of the people I went to college with tried to be engineers or physics majors or something similar but didn't put enough effort in and instead of simply dropping out decided to change their majors to something easier because "you have to get a degree" is such a strong idea by our parents generation that most kids will accept the debt knowing they will never find a good job simply to not look like a failure. I'm not saying this is any better, but this in my experience seems to be the more common reason for so many people getting those degrees.


Desktops are still made from interchangeable components.

I upgraded RAM, video card, sound card, added more hard drives, retired old ones. Later on I replaced CPU+motherboard (unfortunately you can rarely just upgrade the CPU).

If you're not lazy, this can save you quite a lot of money.

Phones are nothing like PCs, and will not be for a long time. It would take some crazy engineering to make them lego-like, or even plain upgradeable.


Did she "check in" at the bar with FourSquare?


Could you show us one of your websites "without divs, spans"?


Not easy, but doable, especially on a straightforward design: e.g. http://tumbledry.org/


Straightforward design meaning a never-ending single column of content? I would be shocked for such a page to require any creative usage of divs/spans whatsoever.

Also, just curious, what's the point in having a footer that I can never properly see because new content is injected as I scroll down the page?


Re: footer – if you turn js off, it means that a 'more' link appears at the end of the page, leading you to older pages.


I would rather that the footer either be sticky or the injection of new content not happen. One shouldn't have to disable Javascript to see content, even if it is the footer.


Surprisingly readable, both human and machine. Thanks, that's enlightening :)


I don't have any live right now, so you'll need to take my word when I say I'm been using semantic HTML for more than a decade (since I started coding.) My rules are no divs, no spans, no imgs (unless the image is part of the content rather than the presentation), no empty elements, no spacers, and no non-semantic classes or IDs. When you try it, remember that :after and :before give you the ability to add arbitrary content to a page, be it text or image.

If it sounds hard, remember that people said the same thing about making layouts without tables in the early 2000s. Semantic and compliant HTML means a more accessible website and that's more important than literally anything else in web development.


Still under heavy construction and playing with the layout, so forgive the ugliness of the css at the moment, but here is my personal website which I am attempting to do with good semantics and html5/css3 only, (no js).

http://www.warriors-shade.net

The actual article area will (should) accommodate the semantic tags well (main, article, aside, figure, etc).


That's pretty lame. It just navigation and some text dumped into the body.

I'm not 100% sure, but I think having <nav> outside of <body> is not up to HTML5 standards.


I was just trying to show an attempt at no divs/spans in html, and even said it was ugly and a work in progress, so thanks for your kind assessment. That being said,

1) And what is particularly wrong with that? I said that the design was so that the html5 semantic elements would fit well into the body section, removed from the nav/footer. You might as well just say, "oh, that's just some text dumped into a div,section,etc hoho...".

2) Actually there is no standard regarding this. Maybe a best practice, but not a standard. http://www.w3.org/html/wg/drafts/html/master/sections.html#t...

So it sounds like you want someone to show a certain kind of design done semantically. If that's the case, then you should have said specifically what you were looking for in the first place. eg. 3 columns each with 4 rows without divs/spans, etc. In this case this could still be put into my page, just put classes or id's onto the articles or other elements and manage with css.

It should be noted this is a strange request as well, div's used in the correct way are perfectly valid with html5/css3, so you are unlikely to find anything much more than what I have just shown you...(and again, if that was your original point, you should of just said it in the first place.)


Implicit body element without an explicit tag as used in the page at issue is, IIRC, consistent with WHATWG HTML, not sure about W3C HTML5.


No, he has this strange structure:

    <header>
        <nav>
        ...
        </nav>
    </header>
    <body>
    ...
    </body>


When I looked over the source (quickly) it looked like an implicit-body structure. I must have missed the body tags.


Currently only running in FF because of Fat Arrows and being under dev, but this page only uses divs for the js generated content in the simulation.

http://eborden.github.io/evolution-of-cooperation/


It would also be nice to implement LZMA2 support to content encoding in the browsers, which is much better than GZip.

Firefox started doing it, I think.

https://wiki.mozilla.org/LZMA2_Compression


> which is much better than GZip.

For one value of "better": better compression ratio.

LZMA is also much more expensive than GZip (2x CPU when decompressing, 3x to 6x when decompressing) and uses 2 to 100 times the working memory (when decompressing, the compression is worse). GZip also has more or less constant working memory where LZMA2's depends on compression settings.

LZMA2's use case is thus a bit restricted, mostly pre-compressed static assets (ideally not used on mobile devices)


Compression is done on the server, and (hopefully) once per unique response, which is then cached.

Decompression is fast. I don't think memory is an issue when we're talking about decompressing some HTML/CSS/Javascript, considering it only is required for a few milliseconds to do the work.

CPU is barely an issue, considering how powerful modern mobile devices,

New phones seem to have as much power and as much RAM as my 5 year old PC.


> Compression is done on the server, and (hopefully) once per unique response, which is then cached.

Only works for low-dynamicity response. Or fully static assets.

> Decompression is fast.

I quoted numbers. LZMA decompression takes twice as much CPU time as gzip in the best case.

> I don't think memory is an issue when we're talking about decompressing some HTML/CSS/Javascript

Memory is not a function of payload size in compression algorithms, it's a function of compression parameters. xz -9 will have ~65MB of memory overhead regardless of the payload size (and LZMA is flexible enough that you can craft a single payload requiring gigabytes of working memory, xz's man even warns about it).

> CPU is barely an issue, considering how powerful modern mobile devices

CPU transitions are extremely aggressive on mobiles. The more CPU time has to be spent decompressing payloads the less the CPU can be in deep hibernation state and the more battery you burn through.

Not a tradeoff which makes much sense considering >3G bottlenecks tend to be latency and processing more than bandwidth for "basic" HTML/CSS/JS web content (and really most things outside of video streaming)

> New phones seem to have as much power and as much RAM as my 5 year old PC.

Phones usually can't page out, and aren't tethered to a wall.

Also depends which "new phones" you're looking at, the Firefox OS-based ZTE Open has 256MB RAM and a 1GHz single-core Cortex A5.


Twice as tiny is still very small.

In this case, bandwidth is a more scare resource than CPU/RAM.


For me, the difference in CPU between gzip and lzma is more expensive than the bandwidth difference. I'm much more often processing constrained than bandwidth constrained.


You can just image search your photos every X months.

I agree, it could be a startup.



Google images is better.



This whole situation is such a huge WTF to me. I've been in the programming industry for more than a decade, and I have never seen this happen. It's the lack of women that always sucked, and most of my dev coworkers agreed.

Any time we had a girl interview for a programmer position, it was like a breath of fresh air.

I'm not saying it didn't happen or doesn't happen in general, I believe this story. I just find it strange. We live in 2013, it's unbelievable this shit still happens.


Because most religious teachings are horrible at best. Most religious people don't even read their religious texts, yet they try to force them onto everyone.

Meditation is actually different from religion, since it demonstrably works, there are scientific studies. Sam Harris, for instance, strongly supports it.


You can buy bitcoins for cash. Pay for a VPN with that.


Or pay VPN with cash. (Mullvad.net does it.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: