|
How to send email programatically from Java to easyname's SMTP server
-
www.databasesandlife.com
-
12 years ago
-
eng
If you want to send email then it’s best to do it over the email server that is the authoritative one for the sender email address. If you are using easyname and want to send email from a Java program from an easyname-controlled email address via easyname’s email servers, this is how you do it. Update: Thanks to AndiT. RobinK, DavidZ for pointing out that a better way to do this would be to install a local mail server (MTA) e.g. pos..
|
|
One of the most liked feature of the newly launched HackerEarth profile is the accounts connections through which you can boast about your coding activity in various platforms. Github and StackOverflow provide their API to pull out various kinds of data. The API documentation of Github and StackOverflow can be found here. Github : https://developer.github.com/v3/ StackOverflow : http://api.stackexchange.com/docs But what do we u....
|
|
I was recently trying to run some benchmarks against Apache Cassandra on EC2 since unfortunately the servers I had in our machine room were destroyed in a fire. For all my local testing, I used a single instance running on my desktop machine, but I wanted to ramp things up for the real benchmarks and use three nodes. Since my workload is read-only and the dataset is fairly small, I also wanted a replication factor of three so each node ....
|
|
Ever since I wrote reptyr, I’ve been frustrated by a number of issues in reptyr that I fundamentally didn’t know how to solve within the reptyr model. Most annoyingly, reptyr fundamentally only worked on single processes, and could not attach processes with children, making it useless in a large class of real-world situations. TTY stealing Recently, I merged an experimental reptyr feature that I call “tty-stealing”, which has the potential ..
|
|
Ever since I wrote reptyr, I’ve been frustrated by a number of issues in reptyr that I fundamentally didn’t know how to solve within the reptyr model. Most annoyingly, reptyr fundamentally only worked on single processes, and could not attach processes with children, making it useless in a large class of real-world situations. TTY stealing Recently, I merged an experimental reptyr feature that I call “tty-stealing”, which has the potential ..
|
|
I tweeted a link to this piece right before I left for Canada, but it bears repeating once more in a more formal fashion here: on August 1st, Linus Edwards made a brief reappearance on VintageZen with another installment in his ongoing article series, this time titled The Daily Zen #17 “how to be Creative in One Simple Step” . If you, like me, have become disillusioned with the creativity racket , and especially if you have not yet real....
|
|
Un viaje por el camino de la memoria Hace un par de años atrás, cuando TinyPic estaba cerrando sus puertas, proveí de un pequeño script en PHP que permitiría a quienquiera poder bajar las imágenes de TinyPic que aún estaban disponibles, sólo que TinyPic no te dejaba accederlas visualmente, a menos que conocieras la URL directa. Entre truco y truco, encontré una solución que programé para que los usuarios del ahora difunto TinyPic pudieran..
|
|
At one company I worked at, we had “customer care agents” who would answer requests from users, e.g. emails and telephone calls. I always thought the name was a bit strange. I suspected it had been created by someone who wasn’t a native English speaker, or perhaps I am just disconnected with the world of business terminology. (I am aware that James Bond is “secret agent” but I had never heard of “customer-care agent”.)
|
|
Speaking of the Mercedes-Benz Unimog , a modified version of the versatile chassis has been making the rounds lately in the form of a vehicle its creator, Bran Ferren, dubbed the “ KiraVan ” after his four-year-old daughter, Kira. For those of you more inclined towards this vehicular monster’s technical specifications, Gear Junkie has a nice rundown ; for everyone else — for everyone, actually, because it explains the projects origin..
|
|
One of the main project my company works on is analyzing mobile phone bills for companies – a company gives out mobile phones to all its employees, then they get a huge bill every month, often delivered by post and printed on (perhaps literally) many reams of paper. We analyze all such files electronically. That’s what we do. I was analyzing a new file format the other day, using live data from one customer. One service used by an emplo..
|
|
I’ve been working on demos for JavaZone and built something small that has been asked a few times. Some developers were looking for URLImage support in image viewer but that’s not a very good approach since URLImage expects images to be at a specific resolution and is thus very bad for images with unknown dimensions. However, ImageViewer thrives on showing and zooming full sized images.
|
|
Getting to Know Fiddler: Part IV: Simulate responses by engaging Fiddler's AutoResponders
-
joshuarogers.net
-
12 years ago
-
eng
Last week we figured out how to use Fiddler's breakpoints to let us edit traffic at will. While it is a powerful tool, if we are making the same edits each time, it can become as tedious as it is useful. And with that rather painful segue, we get to the AutoResponder. Fiddler's AutoResponder is represented by yet another tab hiding away in our detail view. When enabled, it can, among other things, automatically return a response for a given..
|
|
No really, that’s what it’s called: shortly after World War II, Erhard and Sons began manufacturing Albert Friedrich’s vehicle for primarily agricultural use in post-war Germany until Mercedes-Benz took over the production process in the early 1950s. Since then, the Unimog has fostered quite the fanatical fan base, not unlike that of its counterparts across the world, the American Jeep, British Land Rover, or Japanese Land Cruiser. And lo..
|
|
A file recently turned up from an external partner. Our software was having problems parsing it. I opened it up in TextPad (text editor for Windows) and everything looked fine. Obviously I consider our software to be perfect so I was a little perplexed as how this file could be causing problems… It turned out there were newline issues. Opening the file in a hex editor revealed the file used \n\n\r for newlines, i.e. 3 bytes.
|
|
For some reason, Oracle blocked the installers to run only on a fixed OSX version range with a nice and explanatory error message. This range doesn’t include Yosemite, which makes sense, since nobody running Yosemite will ever want to write some Java. Anyway, here is how to fix it.
|
|
As humans, we navigate our lives largely by the recognition of patterns. These patterns include the sound of a mother’s voice, the appearance of a dangerous animal or poisonous food, the familiarity of kin, and the attraction to potential mates. Accurate pattern recognition is key to an animal’s survival and progress, and has allowed humans to become the socially complex and advanced species we are today.
|
|
We are often taught to see prejudice only in individual acts of meanness, not in invisible systems conferring dominance on the privileged groups. So one of the great privileges many of us have is to be oblivious to our own condition of privilege.
|
|
Are you solving problems that don’t exist? It’s number two in our list of nine major risks to innovation. Being successful at innovation requires an understanding of the identified risks and having the ability to deal with them. Let’s take a look at Risk #2: Solving non-existent problems.
|
|
I have decided to publish this a day early this week, as I leave for Canada in just a few hours and waiting any longer would make this impossible. Until I return on the sixteenth, then, enjoy this final installment of my ongoing series, This Week in Podcasts. I look forward to coming home and finding a host of shows awaiting my arrival almost as much as I anticipate writing this piece’s successor. Permalink.
|
|
Once again, I’m back with some stellar cabins from around the world. This time, however, unlike past articles in this series and upon request by Gianfranco Lanzio , I have bundled images alongside the appropriate paragraphs in an effort at more easily conveying the beauty of these structures and their accompanying sceneries. I hope you all like the result just as much as I do, and maybe — just maybe — even more. Permalink.
|
|
The other day, I accidentally printed a ton of binary data to my terminal. Upon doing so, my computer started to beep incessantly.
|
|
The other day, I accidentally printed a ton of binary data to my terminal. Upon doing so, my computer started to beep incessantly.
|
|
It seems like a stupid question – obviously, we read in order to process written material until we understand it.
|
|
Hello friends. Yesterday I finished the 5th level! It took much longer than anticipated because it's actually 10 separate maps connected together. It includes some simple but hopefully interesting puzzle mechanics. It also advances the story through notes and several text conversations scattered throughout. It's hard to see in screenshots, but I added a subtle cloud shadow effect as well. It doesn't respond to the actual cloud..
|
|
I’ve found that a lot of people don’t know how powerful the Chrome Developer Tools are, especially when paired with the Ember Inspector. I recorded this short screencast to show a handful of tricks you can use when debugging Ember.js applications: The source code to the Bug Tracker project is on github .
|
|
JavaZone just released their traditional annual clip which is especially amusing for fans of the Song Of Ice & Fire series (or the Game Of Thrones TV adaptation). If you haven’t seen the clips from these guys before you MUST check them out here , including spoofs of house of cards and breaking bad (not to mention years of hilarious clips)! Very cool.
|
|
As I followed along with the 9.4 release of Postgres I had a few posts of things that I was excited about, some things that missed, and a bit of a wrap-up. I thought this year (year in the sense of PG releases) I’d jump the gun and lay out areas I’d love to see addressed in PostgreSQL 9.5. And here it goes: Upsert Merge/Upsert/Insert or Update whatever you want to call it this is still a huge wart that it doesn’t exist. There’s be....
|
|
As I followed along with the 9.4 release of Postgres I had a few posts of things that I was excited about, some things that missed, and a bit of a wrap-up. I thought this year (year in the sense of PG releases) I’d jump the gun and lay out areas I’d love to see addressed in PostgreSQL 9.5. And here it goes: Upsert Merge/Upsert/Insert or Update whatever you want to call it this is still a huge wart that it doesn’t exist. There’s be....
|
|
Hi, This is similar to my post around Azure Storage Integration testing just with a mongo twist. I’ve been working with mongo and didn’t really like the debugging workflow: Do something, start mongovue and manually check the item changed in the way you thought it would. I’ve written a set of extensions to allow a nice set of declarative fluent assertions about the state of the MongoDB after an action has been performed.
|
|
Comment on Redis Sentinel at Flickr by ObjectRocket Adds Fully-Managed Redis Service - Web Hosting Blog
-
code.flickr.net
-
12 years ago
-
eng
in the open source community. It is deployed at scale at several major companies, including Flickr, which uses automated Redis master failover for an important subsystem, and Pinterest, which uses Redis for its following model and interest […]
|
|
The key abstraction of information in REST is a resource. Any information that can be named can be a resource: a document or image, a temporal service (e.g. "today's weather in Los Angeles"), a collection of other resources, a non-virtual object (e.g. a person), and so on. In other words, any concept that might be the target of an author's hypertext reference must fit within the definition of a resource.
|
|
A few weeks ago at lunch I had the opportunity to catch up with a company in the current YC batch, building something very similar to dataclips. While we talked about a lot of things from what we’ve learned from dataclips, marketing, and other areas. One area we talked about was product and when to ship vs. when to kill things and I realized I hadn’t talked on my fairly simple but clear view on this publicly, so here it is. A large credi....
|
|
A few weeks ago at lunch I had the opportunity to catch up with a company in the current YC batch, building something very similar to dataclips. While we talked about a lot of things from what we’ve learned from dataclips, marketing, and other areas. One area we talked about was product and when to ship vs. when to kill things and I realized I hadn’t talked on my fairly simple but clear view on this publicly, so here it is. A large credi....
|
|
Most software development teams break work down into four distinct phases: Analyze → Develop → Test → Release. As projects grow in scale, traditional development teams grow each of these phases without changing the sequence or frequency. Each phase happens once and only after the previous one is completed. This model has worked for generations for building physical goods and people just assumed it would work for software as well. It didn’t.
|