-22 karma · joined Feb 12, 2016 (10y ago) · 21 submissions
comment 10y ago · link · parent
https://gist.github.com/zelcon5/7dc42bf91ea958132a0d
- "padding" can go either left or right.
- generic function
- minimal lines of code
Wow so great, make me a dependency for Windows11, Apache, Firefox, and toasters.
comment 10y ago · link · parent
To answer your question, the judges should cite their own judgement.
comment 10y ago · link · parent
comment 10y ago · link · parent
That would be the American way. The Western European way is probably going to the welfare office and getting a 1000€ check.
comment 10y ago · link · parent
If a video file is served from cdn.example.com/video/?file=3w0rjwo, then have a DoubleClick ad serve from cdn.example.com/video/?file=0239fjad with phony HTTP headers including mime type.
comment 10y ago · link · parent
I love PL mental masturbation as much as anyone else, but stuff like this is equivalent to an oil spill in a freshwater lake with 20 endangered species.
comment 10y ago · link · parent
The main obstacle is that this introduces a middleman---so Google et al should only offer this service to the BIG money-makers (like nytimes.com) until they can ship something secure. Adblocking "problem" solved.
WHY don't Ad companies do this? I can see this as an Apache/nginx module or middleware libraries for whatever web server is used, without having to change anything else. How long would this take for the army of 140 IQ Google codemonkeys…like 1 day lol?
comment 10y ago · link · parent
Go makes it easy for third party applications to parse the language,so generics are possible with pre-processing/codegen; e.g., https://clipperhouse.github.io/gen/