HNHacker News
TopNewBestAskShowJobs

gary__

276 karma · joined July 30, 2011

submissionscomments
gary__··on Oracle Said to Be Leading Anti-Amazon Lobby on Pentagon Cloud Bid
Yeah, they came up with the "DeWitt Clause" and it has made its way into other database EULAs as well. Benchmarks aren't everything though, and they do have their limitations anyway.
gary__··on Oracle Said to Be Leading Anti-Amazon Lobby on Pentagon Cloud Bid
I'm told Oracle's RDBMS has top notch performance at scale - I'd be interested to hear some informed discussion on the topic.
gary__··on Front-End Developer Handbook
I can't relate to this line of thinking at all.

Your one big method interview example - so you think had they not been able to reply on static typing for refactoring in their previous work they would have gravitated toward cleaner code? That just seems wildly speculative as a counter to me. A fair amount of projects don't get the refactoring they need in the first place, so developers working on those don't get the experience to begin with. Developers who write large functions often have reasons like "if you use multiple functions you have to jump around to see whats going on." If i'm attacking a straw man, its unintentional.

Anyway having unit tests in a projects would encourage smaller units more, you can have tests easily in static languages - so you get the best of both worlds - smaller units and the ease static typing brings to refactoring.

The go-to sources on writing good code in c#/java land are proponents of keeping methods and classes small as well - that's where i learnt from. (Not to start any wars on over use of design patterns)

Your comment assuming we'd all agree choosing a static language is a bad choice for a small example is also very strange to me. When i'm under pressure id go with what i'm most familiar with, likely C#. Though, with JS and PHP being my dynamic alternatives, i may just be sounding like a very bad programmer to you ;)

I've seen plenty of very long functions in javascript (and c#), and dont think it has anything to do with static typing.

gary__··on Ask HN: Connecting with other developers on side projects?
Used to peruse this every now and again, been a few years, https://builditwith.me

A hn user also launched http://www.weekendhacker.net which got a bit of traction at the time.

You have also reminded me of the Startup or Shutup thread someone started in 2012.

https://news.ycombinator.com/item?id=3394844

Some of the discussion is here...

https://groups.google.com/forum/m/#!forum/startup-or-shut-up

I recall the live document linked in the hn thread having activity at the time too but its not working anymore.

gary__··on Ask HN: What are you hacking these holidays?
Related in a limited fashion:

https://docs.microsoft.com/en-us/dotnet/framework/data/adone...

Then there's this write-up of someone replacing rethinkdb with postgres for live queries - (including a link to some code)

http://blog.sagemath.com/2017/02/09/rethinkdb-vs-postgres.ht...

Have you any plans already of how you will go about this?

gary__··on Ask HN: Do you use SSIS (sql server integration server)?
We struggled with code reviews, the bids diff tool caused crashes so we couldn't even use that. Merges were a huge pain, our packages at the time were too big but I've heard the gripe around the net a bit too. Then there's that PITA SCD task that looses all config each time it's opened. Believe there is at least 1 commercial equivalent for that one. Maybe 1 that pushes more of the work to the database would be good.

Reliability would be the big consideration for moving from ssis to a 3rd party product as main editor, support for future versions etc

BIML looked very interesting and seemed to be getting a lot of traction as well.

I'm mostly out of data work now, but id be curious to hear what your thinking of doing here?

gary__··on How to Improve a Legacy Codebase
Extreme planned refactoring perhaps:

"Many teams schedule refactoring as part of their planned work, using a mechanism such as "refactoring stories". Teams use these to fix larger areas on problematic code that need dedicated attention. Planned refactoring is a necessary element of most teams' approach - however it's also a sign that the team hasn't done enough refactoring using the other workflows."

https://martinfowler.com/articles/workflowsOfRefactoring/

gary__··on Is GraphQL the Next Frontier for Web APIs?
Have you got a link to Fowlers new thoughts on Rich vs Anemic Domain Models?
gary__··on Ask HN: What problem in your industry is a potential startup?
I bookmarked a few gmail apps for this a while back, though have not used them myself. Does either of these look like what you are after?

https://www.wizy.io/solutions/gmail_workflow.html https://kissflow.com/how-it-works/

gary__··on Ask HN: People who had built Lead System, what was your experience like?
May I ask, why are you building one? Are you solving someone's problem? Is this just a random idea for a startup?
gary__··on Visual Studio Code 1.5
VS Code Initial release: April 29, 2015 Xamarin Acquisition Announcement Feb 24, 2016
gary__··on Ask HN: What C# books are highly recommended for professional .NET developers?
I wanted to learn about DDD too, read reviews on various books and noted your sentiment about Eric Evans' book repeated a lot. Eventually I settled on "Patterns, Principles and Practices of Domain-Driven Design" by Scott Millett and Nick Tune, which I'm part way through.

It's mostly easy to comprehend and examples are in C#. The subject is complex though, so I'm not even sure a single book is enough.

https://www.amazon.co.uk/Patterns-Principles-Practices-Domai...

gary__··on Ask HN: Non-tech books that have helped you grow professionally?
An acquaintance recommended Peter Drucker's "The Effective Executive" as a first book to read about management. I found it very interesting and it changed my outlook on the value of tracking time, focusing on strengths and what contribution matters. (I am not a manager myself.)

https://www.amazon.co.uk/Effective-Executive-Classic-Drucker...

gary__··on Ask HN: How many professional developers contribute to open source?
Have you asked? I had a similar contract and when I asked if I could contribute to a large open source project they said yes.
gary__··on Ask HN: Immutable data structures for the back end?
See the event sourcing pattern for an example of immutability at the backend.

http://martinfowler.com/eaaDev/EventSourcing.html

https://msdn.microsoft.com/en-us/library/dn589792.aspx

gary__··on Seldomly Used SQL: The Bool Aggregate Functions
Since SQL Server 2012, you can use the lovely IIF statement, which is translated into a CASE behind the scenes.

So:

CASE WHEN SUM(express_delivered) = 0 THEN 0 ELSE 1 END AS ever_been_express_delivered

becomes:

IIF(SUM(express_delivered) = 0, 0, 1) AS ever_been_express_delivered

https://msdn.microsoft.com/en-GB/library/hh213574.aspx

gary__··on Building a Home Lab to Become a Malware Hunter – A Beginner’s Guide
Back when I took an interest in malware analysis I got the book Practical Malware Analysis and must say it really was brilliant. Analyzing malware requires knowledge of a range of different technical areas, and the book introduced them well. The best thing though are the malware samples supplied for analysis after each chapter so you can test your new skills, and then the detailed walk-throughs of how each should have been analysed in the appendix.

You might need some additional help with assembly. Personally I looked at the "megaprimers" on securitytube.net and then the Intermediate Intel x86 series of video lectures on opensecuritytraining.info.

Proper study of the material takes time and I never got through it all. Perhaps I'll get to return to it.

gary__··on Inside Amazon: Wrestling Big Ideas in a Bruising Workplace
Did you see people crying while in work?
gary__··on Assembly Language Megaprimer for Linux
It comes with a follow up for windows as well http://www.securitytube.net/groups?operation=view&groupId=6
gary__··on Linux Assembly How To: “Hello, World”
Securitytube.net has some assembly 'megaprimers'

Linux: http://www.securitytube.net/groups?operation=view&groupId=5

Windows: http://www.securitytube.net/groups?operation=view&groupId=6

Some good resources here too http://www.opensecuritytraining.info/Training.html

gary__··on What if you could make other ideas work but stay focused on the challenging one?
Reminds me of the early part of this guys story... http://tylertringas.com/storemapper-store-locator-bootstrapp...
gary__··on Ask HN: Can you share your favorite short stories on sci/tech/hacking topics?
This book comprises of a series of short stories describing various technically sound accounts of fictional security incidents from the 'hacker's' point of view. The chapter about the malware analyst is my favorite.

http://www.amazon.com/Stealing-Network-How-Own-Box/dp/193183...

gary__··on Is SQL pronounced "s-q-l" or "sequel"?
and because of a trademark dispute over the acronym SEQUEL, it was changed to SQL
gary__··on Ask HN: What are some good, lightweight reads on computing?
The Soul of a New Machine by Tracy Kidder, the classic book following the development of a new minicomputer in the late 70s.

http://www.amazon.com/Soul-New-Machine-Tracy-Kidder/dp/03164...

Stealing The Network: How to Own the Box. This is a collection of fictional accounts of "hacking" written by hackers. Real world techniques are described though its in lightweight detail, the aim of the book is more to give an insight into how an attacker thinks. It's quite an enjoyable read too.

http://www.amazon.co.uk/Stealing-Network-How-Own-Cyber-Ficti...

Kingpin: How One Hacker Took Over the Billion-Dollar Cybercrime Underground by Kevin Poulsen. This one's a true story.

http://www.amazon.co.uk/Kingpin-Hacker-Billion-Dollar-Cyberc...

Code: The Hidden Language of Computer Hardware and Software By Charles Petzold. I still have to read this one, but I expect it would fit in with what you're after quite well.

http://www.amazon.com/Code-Language-Computer-Hardware-Softwa...

gary__··on This Tech Founder’s Blind Spot: Building Over-Generalised Products
Interesting take that this is down to software developer sensibilities. My initial thought was that it was due to shooting for as big a market as possible in the hopes that it would increase chances of success and non tech people would fall just as easily into the 'trap'.
gary__··on Runnable Wants To Become The “YouTube Of Code”
I think you need to gain some perspective. They just didn't respond to your email. It happens. Fwict, it was outside of the expected communication channels for proposals anyway. It would have been more respectful if they contacted you, I can understand your frustration waiting for the reply, but you've completely overreacted. IMO what's most unprofessional about the incident is you taking such a minor grievance to a public forum.
gary__··on Ask HN: Should Richard Dawkins Open Source his software?
This is interesting too http://www.youtube.com/watch?v=gQp1QaW_onk
gary__··on Ask HN: which are some good self-help books?
Your Brain at Work http://www.amazon.co.uk/Your-Brain-Work-Strategies-Distracti...

It uses the short stories from the work days of a senior manager and software consultancy owner to explain how and why the brain reacts the way it does in challenging situations and gives advice on how best to mitigate its limitations.

gary__··on Ask HN: Which Low-Cost Micro-controller is the Best for Learning Assembly?
My answer relates to experiences getting started in malware analysis rather than microcontroller assembler, but it might be useful to you :)

I took an interest in malware analysis last autumn and cant recommend the book Practical Malware Analysis enough. It introduces the subject to a beginner including the wide variety of skills required and tools used. One of the best things about the book is the malware samples supplied for analysis at the end of each chapter and then the detailed walk-throughs of how it should have been done.

The book focusses on windows malware and thus discusses x86 assembly, both an introduction to and identifying the constructs of higher level languages on dissassembly.

I immediately looked to supplement the information on assembly however. First with the Linux Assembly and Windows assembly "megaprimers" on securitytube.net, then with the Intermediate Intel x86 series of video lectures on opensecuritytraining.info. The quality of the latter was very good, so much so that I may go back and watch the introductory x86 lectures as well. I'm not usually a fan of video tutorials, but I thought the format suited the topic quite well.

I've stopped looking into malware analysis for now due to work, part time college and side projects that will hopefully lead to better work in the short term. I do look forward to picking it up again in the future though, its really quite fascinating.

gary__··on Is it ALT.NET or Progressive.NET and who uses it?
fyi ##csharp on freenode is a decent place to talk about things .net
← PreviousPage 2 of 3Next →