ks
ks on Hacker News
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.
Posted by
ks on Saturday September 14, 2019 @03:50AM
from the aeon.co dept.
According to the page, it was Amazon that made the original claim, so they would have the necessary sample size.
But there's no guarantee that it will apply for all pages.
Actually ARM also has an office in Trondheim, Norway that is behind the Mali GPU (700 million processors sold in a single year)
> 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.
Posted by
ks on Saturday March 14, 2015 @05:02PM
from the youtube.com dept.
> Map<String,User> userIdMap = new HashMap<String,User>();1.7 introduced a simplified version:
Map<String,User> userIdMap = new HashMap<>();
You recommended a Javascript library that was maintained for 8 years. I consider that a good recommendation. Backbone and Angular have only been around for half that (yet)
Or the web server could be configured to return text/plain for *.lsp files
Posted by
ks on Tuesday March 25, 2014 @02:41PM
from the games.usvsth3m.com dept.
* 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.
Posted by
ks on Saturday February 08, 2014 @03:43PM
from the thecodist.com dept.
To put things in context. The oil industry is producing 20% of the total GDP of Norway and 50% of all exports. It's very important and it will be painful when it ends, but Norway will not be much worse than other European countries when the oil runs out.
Posted by
ks on Sunday January 19, 2014 @03:54PM
from the vanillajava.blogspot.no dept.
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.
I use HBO Nordic and can confirm that all of the content is in the original language (usually English) with optional subtitles.
If you have a flat structure (similar to rows in a database table) nothing is simpler and faster to process than a tab delimited file (or CSV).
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 is open sourced under Microsoft Public License:
https://github.com/BabylonJS/Babylon.jsAccording to the Free Software Foundation, it is a free software license but not compatible with the GNU GPL.
I imagine that it's still a very threatening experience for teller. Much worse than logging on to a computer and discovering that there are money missing.
Robbing a bank in person is a completely different crime. Many victims suffer mentally for years afterwards with PTSD and other issues
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 :-)
Posted by
ks on Tuesday July 30, 2013 @03:58AM
from the thecodist.com dept.
Posted by
ks on Thursday July 18, 2013 @04:37PM
from the vanillajava.blogspot.com dept.
Posted by
ks on Wednesday June 05, 2013 @01:25AM
from the thecodist.com dept.
Posted by
ks on Monday June 03, 2013 @04:05PM
from the digital.cabinetoffice.gov.uk dept.
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.