|
Pop quiz: What will be the output of this little program? public class DateFun { public static void main(String[] args) { long hours = getHoursOfDay(LocalDate.now(), ZoneId.systemDefault()); System.out.println(hours); } private static long getHoursOfDay(LocalDate date, ZoneId zoneId) { ZonedDateTime startOfDay = date.atStartOfDay(zoneId); Duration duration = Duration.between(startOfDay, startOfDay.plusDays(1)); return duration.toHours(); } ..
|
|
When Adam and Nathan talked about this article during episode seventeen of their podcast Five More Things , 50 Cent is Actually Brilliant , I recognized its potential value but dismissed it as largely uninteresting, and sent it away to Instapaper. Now, however, a few weeks later, I wish I had sat down and read it as soon as it came to my attention. My only complaint is that I wish it were longer: 50 Cent had some fantastic advice and shar..
|
My experience at Startup Weekend Adelaide building Lend A Skilled Hand, a platform matching skilled volunteers with organisations
|
My experience at Startup Weekend Adelaide building Lend A Skilled Hand, a platform matching skilled volunteers with organisations
|
My experience at Startup Weekend Adelaide building Lend A Skilled Hand, a platform matching skilled volunteers with organisations
|
|
The first commit auto-tweeted from the @gastropoda_ twitter account yesterday was actually the last commit dedicated to the Laravel port reimplementation:
|
|
Beautiful pictures from a remarkable place; I would love to take a long trip out here someday. Permalink.
|
|
About a month ago searchcode.com managed to sit on the front page of Hacker News (HN) for most of a day and produced a lot of useful feedback for me to act on. You can read the full details here searchcode: A source code search engine Between the HN feedback, some I received via tweets and from republished articles I got a list of things I needed to work on. The first and main change requested was over the way searchcode was matching ..
|
|
APRS is a tactical digital communications system used between amateurs radio, to exchange positions & messages, here I blog my experience decoding/encoding APRS with a small Arduino as it may help some of you too. Some transceivers are incorporating this functionalities but most of them don’t, a lot of new technicians start with cheap Baofeng radios (30$) which don’t provide advanced functionnalities but here is a way to solve that.
|
|
Getting to Know Fiddler: Part II: Simulate client side requests without needing the client side
-
joshuarogers.net
-
11 years ago
-
eng
Last week we started looking at the web proxy Fiddler, or the “Fiddler Web Debugger” as it unfortunately bills itself. While the name is accurate, I can't help but feel that it is a bit of an understatement, much like calling the Hulk “somewhat tempermental”1, or MacGyver “good at assembling things”. Sure, Fiddler is a debugger, but it's less of a simple tool and more the web equivalent of a swiss army knife that contains an entire Home Dep..
|
|
A more apropos title, I feel, might read something along the lines of “Entitlement in the Age of Abundance”. Between that, and Ben’s actual title, I’m sure you can get a fair idea as to the subject matter of his article. And his closing point: the cliched “you never know what you’ve got ’till it’s gone”. I find it remarkable how many love to hate companies like Google, yet have no problem crawling back to them when they finally realize how ..
|
|
It’s no secret that I harbor a strong dislike of The Verge: perpetually vying with public radio for the title of my most hated news institution, I make no bones about sharing this disgust with others. And so, because of that, when the news first broke that Josh Topolsky — a writer I have no great love for — was leaving Vox for Bloomberg, I barely took notice; however, a lot of other people have, and this has since become quite the new..
|
|
This week, thanks to Carl Holscher and Daniel Ignacio, I have discovered two great new podcasts. Alongside these two shows, I once again present my list of the best podcasts I have had the privilege to hear over the past seven days. These are the best of the best, folks, and as such I hope you will spend some time checkout out each and every one of them. I promise: it will be worth your time. Permalink.
|
|
I’m still on the Laravel migration. It’s going pretty well, except for last night. Last night I was porting racing.
|
|
This article is dedicated to the ExileOffice team - revolutionizing the way we run our business in Exilesoft. As applications move more and more of their business logic to the client side, it falls upon us to simplify what’s left on the server to avoid distractions. My previous article shows how I get rid of lot of the boring and noisy code. There is one thing that the server will always be responsible for: Security.
|
|
What's that you say? You didn't even notice the absence of Screenshot Saturday last week? How convenient. Let's pretend it never happened. Or rather, pretend that it did. Whatever. MGDS was a huge success! There was almost always a line to play the game, and I got a ton of useful feedback. Here are some pictures: Most of the feedback was related to level design. I came home with a phone full of "todo" items. Here are some sc..
|
|
I just released XCat 0.7 , the companion tool to this paper. XCat is a command line tool to automate the exploitation of Blind XPath Injection Vulnerabilities , utilizing some pretty cool techniques. The most interesting technique is that xcat can automate out of band attacks to massively speed up e...
|
|
I just released XCat 0.7 , the companion tool to this paper. XCat is a command line tool to automate the exploitation of Blind XPath Injection Vulnerabilities , utilizing some pretty cool techniques. The most interesting technique is that xcat can automate out of band attacks to massively speed up e...
|
|
Sam Dogen had another thought-provoking post over at Financial Samurai recently, this time looking at the very interesting difference between the way that Americans and Europeans in particular view money. I encourage you to read the entire thing: How Europeans See Money Differently From Americans . Most interesting out of this entire piece, though, and definitely the most impactful statement for me, was that of his conclusion: “Remember th..
|
|
It all started with a cool little PHP script that someone posted on /r/gamedev this morning to publish completed Trello tasks easily to a change log of sorts.
|
|
Worth linking to again, courtesy of Dave Pell’s The Next Draft this time around on the forty-fifth anniversary of Apollo 11’s historic mission: the speech President Nixon plan to give in the event of a moon disaster. Incredible, and remarkable chilling: “Fate has ordained that the men who went to the moon to explore in peace will stay on the moon to rest in peace.” Permalink.
|
|
Enlarging an LVM partition on a linux machine is trivial. You only need one command to do it and it can even be done when the partition is mounted. lvresize -r -L +20G /vg1/lvm1 This command enlarges the LVM lvm1 to 20GB . Assuming you use an ext, ReiserFS or XFS filesystem on the LVM -layer it gets enlarged, too (with the -r -switch. But if you need to shrink an existing partition it can get ugly. It is possible to shrin....
|
|
Note: this hybrid management technique is being demonstrated in the puppet-ipa module for FreeIPA , but the idea could be used for other modules and scenarios too. See below for some use cases…) The error message that puppet hackers are probably most familiar is: Error: Duplicate declaration: Thing[/foo/bar] is already declared in file /tmp/baz.pp:2; cannot redeclare at /tmp/baz.pp:4 on node computer.example.com Typically..
|
|
Note: this hybrid management technique is being demonstrated in the puppet-ipa module for FreeIPA , but the idea could be used for other modules and scenarios too. See below for some use cases…) The error message that puppet hackers are probably most familiar is: Error: Duplicate declaration: Thing[/foo/bar] is already declared in file /tmp/baz.pp:2; cannot redeclare at /tmp/baz.pp:4 on node computer.example.com Typically..
|
|
Rust is an in-development 0 systems programming language with a strong focus on no-overhead memory safety. This is achieved through a powerful type system (with similarities to Haskell), and careful tracking of ownership and pointers, guaranteeing safety. However, this is too restrictive for a low-level systems language, an escape hatch is occasionally required. Enter the unsafe keyword. Poking holes in memory safety Rust aims to be m....
|
|
I don’t do this often, but for all the help Tuts+ gave me as I worked to expand the functionality of this design over the past few weeks, I can’t let it slip by without note. When I build a site, I prefer to do everything humanely possible with CSS rather than outsourcing it to JavaScript. Due to this perhaps irrational desire, everything — including device detection — but the ability to enter dark mode and save that preference across mul..
|
|
Throwing somebody under the bus ( ref ) is a cowardly act, and one that particularly irks me. Nobody likes to be humiliated in front of others. I’ve seen this happen countless time when a developer will point out a bug or error of another developer and use it as an excuse for not delivering on their own work. “I couldn’t load the data because of a bug in Johnny’s code”. Bullshit. If you were a team player then you would have pulled up ..
|
We, at Wingify, handle not just our own traffic, but also the traffic of major websites such as Microsoft, AMD, Groupon, and WWF that…
|
|
Hi, [Update 03/21: Azureite local emulator is a good one to look at in this space too. More details here. ] I recently set about writing a solution that’s heavily reliant on Azure Blob storage. I found my debugging cycle wasn’t nice, I’d spin up the code then spend ages in Azure Storage Explorer to work out what had happened. I also new I’d want some integration tests for the future. So I did some research set about writing a quick..
|
|
July is when Sweden goes on holidays. Businesses are closed for the summer (quite a few of them, anyway), people take time off work, the weather doesn’t suck. Usually people tend to go away to other countries, which to me is ludicrous because after all that snow and cold these months are finally when Sweden gets warm and sunny. I guess I’m kind of fibbing - I get it. You want to get out and see other places during your vacation.
|
|
Regardless of your own personal opinions regarding Christianity and religion in general, I think we can all get behind Sid’s overarching sentiment: it is important to remain true to yourself even when doing so means standing alone alongside an unpopular opinion. For in the end, with what will we find ourselves left? It is to these convictions we hold and must hold strongly that we will return; without them, we have nothing. Stick to your ..
|
|
Nearly a year ago I put together an hour long presentation on PostgreSQL to provide an overview of all of the benefits it provides you over other options in the database space. In hindsight, that wasn't nearly enough time because it has the capability to replace almost your entire application stack outside of the web server. In any case, here is an attempt to summarize all of the amazing functionality that you're cheating yourself out of by..
|
|
Getting to Know Fiddler: Part I: Capture and debug traffic from a mobile device
-
joshuarogers.net
-
11 years ago
-
eng
If you've done any amount of web development on Windows, you've probably used a program called “Fiddler” a few times. Fiddler is a small proxy server that allows you to see all of the requests made by your system. Sadly, for most people, I'd guess that that is all that Fiddler is. It's a shame because Fiddler offers up so much more power than that. So, let's fix this. For the next several weeks, we're going to explore some of the under noti..
|
|
Debugging Reactive Extensions can sometimes be a bit tricky. When you have a few stream to watch, pinpointing failures is time consuming…
|
|
Absolutely hilarious video, courtesy of John Gruber — with the choice line taken as an excerpt: “Magellan Was an Explorer. Chuck Yeager Was an Explorer. You Guys Have a Fucking Camera on Your Face.” I was rather bullish on the widespread reaction to Google Glass the other day when I wrote Thoughts on Glass , but I can still appreciate some great humor when I see it. Very well done. Permalink.
|
We are excited to announce our sponsorship of The Fifth Elephant - a popular conference around the Big Data ecosystem. The conference will…
|
|
Building a Model in Blender From Multiple Photographs
-
blog.raymond.burkholder.net
-
11 years ago
-
eng
|