skysight-inc/HackerNews huggingface dataset:
Better than this specification hassle is this solution:

The browser should send the density of the screen in ppi (calculated by the screen resolution and the screen information provided by the OS) together with all the other standard stuff like OS, screen resolution, etc.

With this information the server can decide which images to send.
Advantages of Location Based SEO
Many SEO agencies these days are now including location-based internet marketing as part of their services due to the increasing demand for it. The targeted marketing strategy has become an easier, more efficient way to increase online traffic and generate potential leads.
购物返利
购物返利
Is The iPhone 5 Worth Waiting For?
PPI can be stored in the "pHYs" chunk in a PNG. And some image processing/editing tools do so, such as Photoshop starting with version 7.

http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.d...

http://www.scantips.com/basics9p.html
SS-Lisp — run Lisp in your browser (IDE + compiler + VM)
It may be worthwhile realizing that most programming or specification languages describe State Machines [1], more or less explicitly (sorry if this is obvious). Moreover State Machines can be described using ordinary mathematics instead of custom programming languages or logics. Hence State Machines could be used as a common denominator to describe all kinds of computation, similarly to what equations written using ordinary mathematics are to physics. According to Leslie Lamport, from whom the ideas in this comment are borrowed, State Machines are also a powerful teaching tool that prevents language from getting in the way of concepts [1].

State Machines described in ordinary mathematics have other advantages. For example, substitution distributes over operators in mathematics (but not in most programming languages). This is very handy for deriving an implementation from a specification. Another example is that composition can be treated uniformly by using a single state space for all State Machines.

If you are interested in the applications and advantages of describing computation by State Machines you may like reading the works of Leslie Lamport [2] or texts about the ASM method [3].

[1] https://research.microsoft.com/en-us/um/people/lamport/pubs/...

[2] https://research.microsoft.com/en-us/um/people/lamport/

[3] https://en.wikipedia.org/wiki/Abstract_state_machines
The doors will remain closed unless you provide an experience the guy making the hiring understands and values. Problem is that there are a lot of people involved, each with veto power.

First is that except for college, you have almost nothing in common with HR people that are filtering the CV, so they may undervaluate your experience.

Then there is the generation gap with the middle managers that have risen to their position before the big waves of outsourcing by following the now mythical career path. They will overvalue college degrees vs experience.

Then there is the prestige of the company: lot of companies only hires people with college degree as a policy, period. Other companies have implicit policy: nobody has ever been fired to hire a Stanford graduate.

Finally there is bias - if you paid a lot for your education, or are paying a lot for your kid education - you will have a positive bias toward people with education (and sometimes, negative bias against people that dropped out)

The sad conclusion is - having a degree is never perceived as something negative, at worst, it is ignored. Not having a degree is never a positive thing, at best it is ignored.
>Wtf? Since when did bloat make code "secure and perfomant" ?

WTF? Since when one reads the phrase "Some problems are just hard, and you'll want as much code as is necessary to make it secure and performant." and deduces (who knows by what logic) that the guy means _bloat_ and not _necessary_ code (error checking, code for handling corner cases, etc)?

Not to mention that bloat is a silly term used by non-programmers to mean "this program is large" or "I don't use that feature, so it must weight down the program needlessly".

That is, people who don't understand that features they don't make use of (e.g the full text search capability of MySQL) are not even loaded from disk by the OS in the first place, or that most of the size of a large program like Office is not comliled code but assets (graphical etc).
> the syntax feels awkward, clunky and very specific

Yeah, stuff like "2x 100w" looks a bit like magic numbers[1]

Also there's potential for confusion in 'x' - does it mean X as in a co-ordinate i.e. width, or zoom? I'd rather see something more verbose like this:

<img src="foo.jpg">
<set src="foo1.jpg" width="100">
<set src="foo2.jpg" density="2">
</img>

Yes it's more wordy to write, but you read code more than you write it so it makes sense to optimise for readability over byte-shaving.

[1] http://catb.org/jargon/html/M/magic-number.html
No, this won't work in the wild.

It breaks caching completely.

It requires scripting just to serve an image.

The same url can have different data - imagine if you resume downloading a file, only to suddenly have a different file.
Dell never should have hired the guy in the first place, let alone wait this long to apologize, but they get a few points for doing the right thing eventually.

Unfortunately there is still a lot of misogyny in the tech industry, and startups are no exception. It's hard to take companies seriously when they post job advertisements asking you if you "want to bro down and crush some code?" as Klout did.
The only problem with the <picture> element is how to address backwards compatibility? The srcset attribute is backwards compatible because old browsers will just ignore srcset and use the src, but old browsers will ignore the <picture> element completely -- how do you get something that works for older browsers but also works for new browsers as well?
If you are using the simulator, you also need to setup that separately in a complicated process, and then it runs damn slow. YOu need to match versions as well. I had an old eclipse, and there was no warning, but I could not get the newer android sdks.

Apple have it right once you have installed xcode. And if you only want to run in the simulator, you do not need to worry about certs.

They both could improve, but are also light years ahead of BB.
This book is a worthwhile read:

http://www.amazon.com/gp/product/B0078XGJXO/ref=as_li_ss_tl?...

He's a generally left-leaning guy arguing for fewer regulations and more markets in housing. I found it quite convincing.
A "forgot password" or password-reset function. It's not letting me log in, and I'm mystified because I know what password I used. I had to use an alternate ID to post this.
I recently learned how to plumb a little. Now I can do minor household plumbing fixes without having to hire professional help. A very useful skill indeed. I know it's a demanding activity that requires more than reading a book and knowing how to hold a wrench, so I know to stay away from the serious pipes and stick to little fixes.
"Can you explain to me how Michael Bloomberg would be better at his day to day job of leading the largest city in the USA if he woke up one morning as a crack Java coder?"

If anything should trickle down, it would be the joy and satisfaction of acquiring a basic competence.
New Squarepusher album
The <picture> approach also has a sort of solution for degrading gracefully in older browsers. You can nest an <img> in your <picture>. Newer browsers are supposed to ignore it, older browsers would ignore the surrounding <picture> element instead.

I think there are other good reasons to prefer the srcset approach, but not this one. The email here provides motivation: <http://lists.w3.org/Archives/Public/public-whatwg-archive/20...;
Exactly - everyone should learn basic plumbing! Not the best analogy he could have used.
There is also the HSM (hierarchical state machine) extension of this concept (by the same author, not sure it's in the same book) where a given state either handles an event or returns a pointer to a "superstate" that handles it.
This kind of "behavioral inheritance" allows for a much more compact code.

Compact and efficient state machines are immensely useful when working with small microcontrollers that don't even run an OS.
I completely don't see the "commit early, commit often" idiom working. It may be a viable method of deployment, but I honestly fail to see how it would improve commits.

For me, the "atomic commits" strategy is still the way to go. Whether it's early, or often, doesn't matter to me. In that regard, nothing has changed since I've switched to DVCS. I might even go so far as to say, if you've changed commit strategies since switching to DVCS, you weren't using your centralised VCS correctly.

The "branch early, branch often" strategy is an entirely different matter though.
Screen PPI (in physical pixels per physical inch) is not the relevant consideration - device pixels per CSS pixel being something other than 1 is the case you care about. And the browser needs to know the intended resolution of the image so it can tell whether to downscale it.
Spice M-5600 Flo Dual SIM Price in India, Features and Specifications
Spice M-5600 Flo is the low price Dual SIM Smartphone in the country to have the MT6252 Chipset. Embedded with an impressive set of features,the all new Spice M-5600 Flo makes a great buy. This compact device has weighs of 110gm and the stylish and glossy finish adds to its appeal. The Spice M-5600 Flo is a good entertainment phone as it includes audio player, video player, FM radio with recording and has MT6252 Chipset, instant messaging, Live TV and other social networking applications. The 1.3 Megapixels Camera offers good picture quality and video recording. That's not all, the Spice M-5600 Flo also incorporates high end connectivity features like Java games, WAP, WAP 2.0, Obigo Browser, Bluetooth and GPRS. The Spice M-5600 Flo is indeed a very innovative and affordable GSM Dual SIM mobile phone.
There are plenty of houses in Tracy, CA, about 50 mins east of SF. You can get a 4 br 3 ba house for around $250k. It was also one of the "ground zeroes" for the housing bust, because those $250k homes were going for $650k in 2005.

You can drive 20 mins west to the Dublin BART and be in SF within 30 mins. My commute was 50 mins every day without traffic, so it ends up being comparable.
I get what he is saying, not everyone can or should be a programmer. But if you take 'learn to code' as a euphemism for learning how to build an excel spreadsheet properly, how to write a macro to automate your job, something like that, then, well learning to write a bit of code isn't a bad thing at all.

We all benefit when we learn a little bit about another profession, whether it is painting or plumbing, bricklaying or baking. In that context demystifying coding for the average person isn't a bad goal. Just to clue people in that tough solutions they have might be easily solved is a good thing. Getting people to wrap their heads around logical thinking is definitely a good thing.
AMD unveils Trinity chipsets to challenge Ivy Bridge
There are certainly other ways to do it, but this particular way won't work. <img> was historically a "void element" in past versions of HTML, and past browsers, so it can never have child elements.
We cannot change the way <img> is parsed. See e.g. http://software.hixie.ch/utilities/js/live-dom-viewer/ for the tree you get with that markup. It's not what you expect.
"After you identify the process listening on port 53, run sudo kill -9 with the process id."

-9 as in KILL? I don't do Python, so I cannot comment on the quality of the project. But this FAQ should be changed. People that know how to stop a process don't need a FAQ entry. People that don't know how to do that shouldn't be trained to think that this is a sensible way to stop a program.
OrientDB v1.0 released.
Best Entrepreneurship Posts of last week - in my non-humble opinion
I applaud 'Learning to code' if it defined as:

* taking problems and reducing them to a sequence of repeatable instructions and decision points (branches)

.

I think 'LtC' is irrelevant if defined as:

* I wanna make iPhone apps / Facebook plugins / Instagram ... Where do I get the Magic Handshake for the Mega $$$ ?
The thing is, programming can help automate basic tasks. Anyone who uses a computer regularly can benefit from this fact. Sometimes, these tasks are just throwaway scripts - but they save time.

I mean, even learning Excel and it's various functions is a form of programming and undoubtedly a valuable skills even for a politician.
Not all of their regular post offices, just some.
If you understand how to code you have a much better idea of what's achievable by code and what's not.

(incidentally given Michael Bloomberg has a degree in electrical engineering and he founded a multi-billion dollar tech company in the 80s I'm pretty sure he can code already; even if only in fortran)
I'd like to make 2 points as a fan of Mike Bloomberg:

* He is one of the great technological innovators of our time.

* I may be wrong, but he doesn't draw a significant salary from the city, being a billionaire and all.
What it's representing is not necessarily an intrinsic property of the image but rather the intended pixel density for presentation. Say I have a 600x200 PNG which fits my design for normal resolution displays where 1 CSS pixel = 1 device pixel (which is most current laptop screens, for instance). But then I'd like to take advantage of the extra resolution on a device that displays at 1 CSS pixel = 2 device pixels, such as a retina display iPad. So then I get a 1200x400 version of the same image (perhaps both downscaled from a super high res original) and serve it as the 2x image. It will take the same logical space in the layout but provide extra quality on a higher resolution display. There's no need to do anything special to the PNG.
Ok, I didn't read that right. I had to look up what preliminary injunction means and it's clearer now.

http://en.wikipedia.org/wiki/Preliminary_injunction
I doubt Bloomberg uses eight grade chemistry, biology or physics in his day job either. We still teach the sciences -- if nothing else than as a way to entice kids to continue studying it and keeping a steady influx of engineers in to society. There is nothing different about computation, per se. Instead of a teacher droning on to kids about how to surf, let them learn how to do webpages, or robots. Get them excited about CS and try to disspel the notion that the machine they're sitting by is in any way, shape or form magical and archaic.

As for Bloomberg at this phase in his life picking up coding, probably not. On the other hand, he made his fortune in part via hardware and software, so I doubt he's completely clueless about it even now.
Black Ops II Rumours
See also: https://etherpad.mozilla.org/responsive-assets for some other proposals.
I respectfully disagree. Learning to read is a necessary skill where most of the world's information is written - but to be productive, to create, to contribute, you have to learn to write. Code is the same: whether that's a good thing or not, more and more of your surrounding, of your environment will depend on - code. Fortunately, a lot of services have made it very easy to contribute to this augmented world without coding yourself, but you will not be able to understand the basic mechanics of this augmented environment without basic code literacy.

Why should a mayor learn to code? Well, I don't expect him to be a Java nut, but I do expect leaders in politics to grasp the basics of privacy, security, productivity, cost and benefits of the coded world surrounding us.
Keeping your family safer with Windows 8
Too bad no consumer cares for that kind of gold.
I don't think it's a Stanford problem, or a university problem, or even an academic problem. It's a people problem. I've seen just as many industry sheep as I have academic ones :-)

The sort of folk who are going to just jump through the academic hoops and nothing else are exactly the same sort of people who jump through similar industry hoops. They do what they're supposed to do and not a lot else.

The people who see the degree certificate as the goal are the same sort of folk who see the promotion or the parking space or the corner office as the goal. They see the what, but not the why.

People seem bent towards that particular approach to life long before they get to work or university.
You BASIC example would be okay. Learning old-school BASIC could be a week-long set of workshops.

Plotting a graph, old school style can be useful.

10 HGR

20 HCOLOR=12

30 HLINE 100,100 to 100,200

40 FOR X = 1 to 300

50 HPLOT X,0.01XX

60 NEXT X

Doing operations on text files can be useful -- I have a nice program for processing my web-site log files. It has to be custom, absolutely.

What's one week of workshops?

God says...
C:\Text\BIBLE.TXT

ter: 14:7 And he shall
sprinkle upon him that is to be cleansed from the leprosy seven times,
and shall pronounce him clean, and shall let the living bird loose
into the open field.

14:8 And he that is to be cleansed shall wash his clothes, and shave
off all his hair, and wash himself in water, that he may be clean: and
after that he shall come into the camp, and shall tarry abroad out of
his tent seven days.

14:9 But it shall be on the seventh day, that he shall shave all his
hair off his hea
XCode : open the app store, search xcode, click install. Done.
I don't like this post and what it implies.

If tomorrow you want to learn to cook, how would you feel if a master chef told you "No, don't. You'll never be as good as me. If you're hungry, come to my restaurant instead".

I think there's nothing wrong with learning a new skill, whoever you are, whatever you do.

Learning new skills is what makes us human.
Learn Metonymy. And it's use in marketing an idea.
Follow an email’s journey with Story of Send
Size Matters: Handling Big Volumes Of Data
Is beautiful usable?
The Font Wars: A Story On Rivalry Between Type Foundries
I would hope that someone who has tried their hand at creating a working program might appreciate, even in a very limited way, what kinds of issues face those of us who have to create these systems for a living: the difficulties of gathering requirements, the non-obvious relationship between the apparent complexity of a bug/feature and what it will take to implement/fix etc.
The date of the meeting mustn't depend on the display preferences of one of the participants. The meeting itself has to be anchored to a time zone.
An Introduction to Application Development with Catalyst and Perl
Are you ready for HTML9? Responsive Boilerstrap JS will make your head explode
You should still be using something like TestFlight. Emailing builds arounds is nice but reaches critical levels of headache after the 5th or so beta.
NEWS OF WORLD EDITOR CHARGED WITH PERVERTING COURSE OF JUSTICE
Almost all of these arguments can be applied to a large majority of our school curriculum. If you are arguing that people shouldn't learn to code for the sake of learning to code, you are correct. If, however, you don't actually think learning to code translates to solving problems, or has any real world benefit, you should also be insisting we remove all of Math from our school curriculum, because who uses anything beyond basic algebra? Hell, who uses anything beyond basic arithmetic now that we have calculators that can do algebra and calculus for us? Why teach kids anything?

I should also point out that, the more politicians know how to code, the less politicians treat computers as black boxes that "the nerds" need to perform magic with. It won't go away, certainly, but its a step in the right direction.
Corporations are tax efficient, billionaire investors are no different. Eduardo Saverin is a Brazilian, who has settled in Singapore. The only reason he'd retain US citizenship one presumes would be for patriotism or the safety of living in a developed nation. Neither are relevant to Eduardo Saverin.

This piece raises a point raised in Europe a lot regarding tax avoidance (not evasion). Sadly this piece is pathetically vile and borders on xenophobic. It paints the author, zdnet and Dell (the sponsor) in a poor light. It's the sort of comment I'd expect in right-wing reader comments on UK sites like the Telegraph or Mail :-(
It's strange he made that point about plumbing, then later said you should learn how things work to solve real problems.

He seems to have confused an initiative among some people to learn a new skill in their spare time with a totalitarian injunction that we all become programmers.

To me it's no different to an initiative among people to learn a foreign language. It may be a somewhat qiuxotic spare-time hobby, but the prospect of acceptable failure is partly what part-time hobbies are for, right?

Learning a bit of coding will give one an insight into how hard it is to get right, which will make one appreciate which bits are easy and which bits are hard. What's wrong with that?

The little plumbing I've learned on my own initiative has taught me similar, and I'm less likely to get ripped off as a result.
That's like a mathematician saying "people shouldn't learn maths!". Of course they should, it teaches you other skills on top of learning maths. Are most people going to go on to learn cryptography or crack one of the Unsolved Puzzles of Maths? Of course not, they'll leave it where they are and have new skills and new ways of solving problems.

Of course they could be one of the minority and go on to solve one of the big problems and create huge amounts of value. Which would be terrible.
This is a depressingly philistine perspective.

A basic grasp of computational thinking has never been more important. It's become a prerequisite for making informed decisions about the world we live in.

The world may or may not need more working programmers (or mathematicians, novelists or plumbers), but why wouldn't we want to teach these elementary skills to as many people as possible?
Nope.

Xcode and the entire stack behind it do not run on Windows or Linux. It would take a team of engineers months to pull it off, then another team to continuously support it. In those months, the feature set of Xcode and the compilers will have improved again and there would never be a stable version for a different platform.

Porting Xcode to Windows or Linux would probably be the worst idea Apple ever made.
Most of us use most of a lifetime of knowledge in our day jobs, and machines are magical.
He did say that everyone should learn some basic concepts of programming, which I think we could all agree with. Perhaps everyone shouldn't know how to create the next Gmail, but surely there's an advantage to us all knowing how for loops work and how to write a bit of simple code (perhaps just doing math and text basics in Ruby). Many schools already teach this as a standard part of their curriculum using Basic.
I wouldn't compare algebraic topology to algebraic geometry. In my opinion the later is much more difficult both one the conceptual and technical side.
Reasons people still uses Google:

(Perception of) better results: until proven otherwise - why would you use an alternative/inferior SE - unless you value other things like privacy more than the content of the results - this doesn't apply to most people

Fast/it just works: give me a compelling reason to switch. "Privacy" really isn't enough for most people.

It's default: the default FF SE? The default homepage for a bunch of people? Default search in Chrome? Check. Check. Check

Network effect: Remember the expression "Nobody ever got fired for choosing IBM" (that might be too old for a lot of the readers here) - but the same thing applies - "nobody ever got in trouble for choosing Google"
2.6 million join Free Mobile’s French revolution - uses Wifi where available