HN user

ks

1,192 karma
Posts41
Comments236
View on HN
aeon.co 6y ago

We need worms (Gut worms may be a cure)

ks
2pts1
www.youtube.com 11y ago

Introduction to Arduino for Lego 9V Trains [video]

ks
1pts0
games.usvsth3m.com 12y ago

Amateur Hacker Simulator (browser game)

ks
2pts0
thecodist.com 12y ago

Your Progress As A Programmer Is All Up To You

ks
206pts65
vanillajava.blogspot.no 12y ago

Sun.misc.Unsafe and off heap memory

ks
1pts0
thecodist.com 12y ago

Things in IT You Never Want To Hear I've Actually Heard

ks
4pts0
vanillajava.blogspot.com 13y ago

C++ like Java for low latency

ks
4pts0
thecodist.com 13y ago

Interview Programmers Like Your Pants Were On Fire

ks
3pts0
digital.cabinetoffice.gov.uk 13y ago

Benefits of diversity [gov.uk technology stack]

ks
1pts0
secure.onlineprocessing.biz 13y ago

Netflix To Launch In Norway, Denmark, Sweden And Finland In Late 2012

ks
7pts0
www.digitalarti.com 13y ago

Water Light Graffiti

ks
1pts1
thecodist.com 14y ago

Interviews Can Be a Terrible Way to Identify Good Programmers

ks
126pts103
www.eweek.com 14y ago

Microsoft`s Open Source Subsidiary Releases First Deliverable (Redis)

ks
32pts10
www.cjr.org 14y ago

Teletext Lives On in Scandinavia

ks
2pts0
thecodist.com 14y ago

Too Much Specialization Is Making Programming a Poorer Experience

ks
4pts1
blog.ketyov.com 14y ago

Why we don't need a brain

ks
123pts21
blog.qt.nokia.com 15y ago

Nokia and Digia working together to grow the Qt community

ks
2pts0
www.guardian.co.uk 15y ago

European customs ordered to seize PlayStation shipments in legal dispute

ks
5pts0
parleys.com 15y ago

Joshua Bloch: Performance Anxiety [video]

ks
2pts1
www.youtube.com 15y ago

The Difference between the UK, Great Britain and England Explained (video)

ks
4pts1
www.youtube.com 15y ago

3D projection with coordinated light on a 3D surface [video]

ks
2pts0
www.ted.com 15y ago

David McCandless: The beauty of data visualization (video)

ks
2pts0
www.informit.com 15y ago

Exploring JDK 7, Part 4: New I/O: The Next Generation

ks
7pts0
www.opera.com 15y ago

Opera serves 11500 pages per second from their data center

ks
2pts0
code.google.com 16y ago

Stab-language (JVM based language similar to Java/C#)

ks
7pts0
www.rooftopsolutions.nl 16y ago

What happened to HTTP authentication?

ks
76pts34
skillsmatter.com 16y ago

Making every millisecond count. JVM performance tuning in the real-world (video)

ks
13pts0
www.ibm.com 16y ago

Things you didn't know about java.util.concurrent, Part 1

ks
32pts4
schneide.wordpress.com 16y ago

Verbosity is not Java’s fault

ks
22pts67
smoothspan.wordpress.com 17y ago

Bad User Experience Is Cultural

ks
5pts0

A company I worked for in 2001 used chucked streaming to provide search results. The search results were collected by performing live searches in parallel (server side) with multiple partners and then aggregated into a single stream of chunked content. Basically the HTTP connection was kept open until all searches were complete, which would take a few minutes. The results were pushed incrementally to the browser as soon as they were available

This worked surprisingly well. They started with almost pure HTML with the results split into multiple tables to produce what looked like a single table of results. The only drawback was that the columns needed fixed width so that they would align properly.

After a while they switched to a Javascript based solution with dynamic filters. They used the same backend streaming engine to output chunks of Javascript code inside <script>-tags, which called a global "addResult(...)" method to update the state. If the search was cached, it would first render HTML code server side, which was then "hydrated" by the javascript code if needed.

Later it was replaced with a standard XHR polling mechanism.

It is interesting to look back at what we had to do that is trivial with today's technology.

If you use their vals IntelliJ will syntax highlight it as an error in red for the simple reason that it's non-compliant with the Java language spec.

There's a free plugin that adds Lombok support to Intellij. You will be able to use getters/setters/builders etc. as if they were compiled.

Java for Everything 12 years ago

Map<String,User> userIdMap = new HashMap<String,User>();

1.7 introduced a simplified version:

Map<String,User> userIdMap = new HashMap<>();

* Navigation menu using GIF buttons. Often animated, including the rotating "@" symbol for sending mails

* Creating gradient text using one <font color="..."> for each letter. http://jsfiddle.net/A2VCE/

* Putting text in <noscript> and <noframes> tags to support old browsers

* Add "lowsrc" attribute to <img> because the larger image would take too long to load.

* List detailed hardware specs for the web server on the "about us" page.

From the article:

"Sir, are you sure you want stack loaves of bread here at Trader Joe’s? Yes, I really do. Well, we’ve decided to hire the 24 year-old woman with purple hair and nose piercings instead."

He tried to get more traditional jobs, but they don't want him.

You should look into caching. If you are talking about webvet.com it looks like a perfect site for using something like Varnish. Most of the content probably doesn't change often so you should be able to have a long TTL.

It seems it's more common in TV-series. Examples are Continuum, Doctor Who and Primeval. Star Trek Voyager probably also had some time travel :-)

A missile would probably be seen long before it reaches its destination and could be shot down. There's no way of hiding in space unless you develop some sort of cloaking device.

"Aircraft carriers in space" makes sense to me. I assume that warping space requires a lot of energy that requires huge reactors that don't fit in small fighters. They would depend on a "mothership" for long range travel.

"And that is that. Every lead brought me not to Bill Gates but to a dead end. QDOS was absolutely not copied from CP/M, and MS-DOS showed no signs of copying either. Kildall’s accusations about Bill Gates were totally groundless."

This article has a refreshing view of the story with lots of details. Instead of the classic "Bill Gates took advantage of Kildall" story that is often repeated, this is more about the many poor business decisions on Kildall's part. If this story is accurate, it would seem that Microsoft saw an opening when Kildall couldn't close the deal with IBM and took it. I don't see anything wrong with that.

I have always hoped that marketplaces such as iTunes, Google Play, Steam etc. are something that will only be necessary until consumers get used to buying stuff online.

A better future is one where each content producer would just publish meta data in an open format that others could redistribute. In the meta data there would be a link to a web service using a standard format for buying/downloading the content.

Publishers could provide affiliate programs as an incentive for creating innovative ways of distributing the content. There would still be room for iTunes as an aggregator or a service for payment/downloading, but we would not rely on a few gatekeepers for our content. By providing the meta data in an open format it will enable anyone to distribute content. We could have a "Hacker Movies" where people submit movies and vote them up or other possibilities that would be up to others to imagine.

> Do you have a source for that?

The article I linked says the following:

"The study, which was conducted between November 2010 and November 2011, found that globally, 56% of Opera users and 43% of those who use another browser only access the Internet via their mobile devices. In some countries, including Egypt (72%), Bangladesh (69%), Brazil (65%) and South Africa (61%), these numbers for Opera users are significantly higher."

> Granted, I'm in the US, which is probably very different from the demographics in Opera Mini's user base.

I can only speculate to why they prefer using a mobile, but I think that the infrastructure is so different from our countries that we shouldn't necessarily base our assumptions on what we would have done.