Better HN
topnewbestaskshowjobs
Log inSign up

joncampbelldev

335 karma · joined Jul 28, 2015 (11y ago) · 158 submissions

Submissions

comment 9y ago · link · parent

same here, so glad I found out about buildkite, has been amazing to use.

comment 9y ago · link · parent

Thats a good one, from his "Simple made easy" talk[0]

[0] https://www.youtube.com/watch?v=zPT-DuG0UjU

comment 9y ago · link · parent

Now imagine how awful a chatbot made by that same web developer would be...

comment 9y ago · link · parent

He doesn't advocate for or against either position. He's stating the current (awful) facts about side projects when you've signed a contract, and telling people to be careful.

comment 9y ago · link · parent

YMMV, my opinion etc etc:

For me its a huge advantage, massive ecosystem of existing libraries to fill any gaps in the clojure ecosystem and an extremely fast garbage collector + JIT.

Stack traces are annoying though, but fixing those is waayyyy easier than replicating the JVMs advantages.

Fast, bulletproof GC is beyond essential when using persistent data structures.

comment 9y ago · link · parent

Am I misunderstanding or are you implying that Joel would disapprove of side projects?

comment 9y ago · link · parent

perhaps I haven't felt your pain of rigid static designs because i mostly work in clojure, ymmv

comment 9y ago · link · parent

that sounds a lot like sharing code by inheritance as opposed to composition. which is unrelated to dispatching by the type of the first (or implicit) argument.

i personally would prefer to code to interfaces and keep hierarchy separate from behaviour

comment 9y ago · link · parent

polymorphism is very good, but not handcuffed to OOP.

Clojure protocols, Haskell typeclasses (and many other examples I'm sure) provide the same functionality "a la carte" without the rest of OOP's features coming along for the ride (to paraphrase Rich Hickey and Stuart Halloway). More eloquently explained details in this talk at around the 21 min mark [0].

[0] https://www.youtube.com/watch?v=cidchWg74Y4

comment 9y ago · link · parent

I'd be happy with regulations as basic as:

- use HTTPS

- no hardcoded security tokens in your requests

- any personal data stored is inaccessible to the outside world without AT LEAST a password

- minimum password length for users

just anything to slow the shitstorm combination of incompetent developers and corner cutting executives.

AND such regulations are reasonably easy to enforce, anyone can check network traffic to verify protocol and api tokens or setup a new account with a short password, port scanning would catch most public databases.

comment 9y ago · link · parent

Performance wise I've never encountered a problem:

- protocols have the same performance as interfaces but with significantly more power (solving the expression problem by default prevents so many headaches when you have to add more functionality later)

- loops and other binding constructs can have type hints to allow java-speed numerical operations

- immutability by default does have a cost in memory and cpu, but the ease and safety of concurrency it has enabled in my codebases more than makes up for it, e.g. "oh i've got a large (>100000 elements) of data being processed here in various ways (map, filter etc), lets parallelise that and give it a thread pool"

I feel that if I were truly performance constrained in clojure its likely I would have performance troubles in java, the difference is just not big enough.

BUT if such a situation came up, theres nothing to stop me coding up my super duper ultra performance needed code in java and just calling it from my clojure codebase. Interop is very nice.

YMMV but its never been an issue in my day to day work (mainly involves analytics, visualisation, web services)

comment 9y ago · link · parent

Java dev here, excluding legacy code, very little reason.

I find clojure a significantly better language, and theres always kotlin / scala if static typing is your thang.

People tend to conflate the not-so-nice java language with the good parts (libraries and JVM). The performance of the JVM and the same massive ecosystem of existing libraries are available in clojure, scala and kotlin.

comment 9y ago · link · parent

Java dev here, just to add that coding in clojure is bringing joy back to my daily working life. I've introduced it into a couple of projects, the simplicity and flexibility are an amazing productivity boost.

Some of that comes from clojure specifically, but the lisp syntax and macros are a big part of it.

comment 9y ago · link · parent

As an aside, you can get pattern matching in clojure as a library[0], though I'm not familiar with erlang so I can't say if clojure's implementation is a complete match in terms of functionality.

[0] https://github.com/clojure/core.match

comment 9y ago · link · parent

It sounds like you mean that stopping the vast numbers of lesser attackers other than Mossad is so much less important that its worth ignoring.

Most people's day to day experience of vulnerabilities is someone getting access to their password or (for the techies) their private server. Stupid actions aside (like leaving a database open to the internet), it'd be nice if things like heartbleed weren't so prolific.

Perhaps when we're living in a dystopian facist state we will wish we started out by fixing the hardware vulns, but until then it'd be nice if, for example, a person who has setup ssl correctly can assume it won't leak data all over the place.

comment 9y ago · link · parent

yes I feel that scala or clojure already offer all these advantages (depending on your preference of static vs dynamic typing) and have great java interop.

comment 10y ago · link · parent

A funny different take on the code generation usually done within lisps, away from macros and back to string manipulation :p As an aside: this work turned out to have a negative impact on JVM optimisations which can be seen in the jira issue linked within the post.

comment 10y ago · link · parent

anecdotal, but visiting china and seeing the level of integration and support wechat (just one app) has in everyday life is way past the paltry "ooh look you can use apple pay in this store now" we have.

comment 10y ago · link · parent

doesn't many instances with low thread counts equal a high overall thread count? there is still only one database instance

comment 10y ago · link · parent

My CI server is inside an amazon VPC, accessible via an ssh tunnel. Only certain people can access the production VPC and everyone's keys have a strong passphrase ... why trust your CI tool's security when you can rely on much more robust things like SSH?

comment 10y ago · link · parent

I'm not sure if its completely favourable for cloud sql to perform worse than aurora when the thread count goes above 16. Seems like two different use cases are being targetted: Aurora for consistent performance as concurrent users/queries increase (but sacrificing speed at the small scale). Cloud sql for high performance on less concurrent workloads.

comment 10y ago · link · parent

Totally agreed about the not letting mistakes be an option.

I was building an admin ui to configure basically a fancy slideshow for employee performance metrics (gamification). We originally had planned a few days work to put proper validation and error messages in, but then flipped the task around and made it so that every field had a sensible default, and no mistaken values were possible to be filled in (e.g. number fields with automatic limits, date pickers instead of free text).

It turned out to be much less work and the user never sees an annoying "hey you've not filled in this field in the way one of our devs wanted you to".

comment 10y ago · link · parent

A mandatory grammar test for his writing based company seems sensible, but for a company that doesn't rely heavily on writing would be going too far, I think other qualities will start to come into play. Although I can agree with his general point that good programming requires attention to detail, but I'm not sure thats related to knowledge of grammatical minutiae.

What I cannot understand is how anyone is so careless to submit a CV or cover letter with spelling and simple grammatical errors. Spell check + proof reading from someone else, its not hard.

comment 10y ago · link · parent

People can (and do) change accounts for many reasons. It's also quite common for people to just read articles/comments without commenting themselves, therefore no login is required.

Did these possibilities not occur to you?

comment 10y ago · link · parent

Yep, second this. Company I work for uses S3, EC2 + Opsworks + VPC, RDS (aurora), elasticache, route53, cloudwatch (for logs) for our stack, I found it easy enough with the docs and various online guides.

I cannot understand how any half-competent startup dev team would find it difficult, most of it can be done with point and click UI, especially for setting up your basic load balancer + web servers + database stack.

comment 10y ago · link · parent

I don't think he's trolling, he's proposing spec due to issues he personally sees in type systems whilst acknowledging that clojure without types or spec or whatever is definitely missing "something" ... it's just that something doesn't have to be types. Given his comments here he seems well aware that not everyone shares his views on type systems and that is fine: https://groups.google.com/forum/#!msg/clojure/DUKeo7sT4qA/TU...

comment 10y ago · link · parent

Same as peer comments, this does not occur for me on any of my google accounts nor on an anonymous search. I think you may have adware.

comment 10y ago · link · parent

My personal preference for a single multi-tenanted schema as opposed to 2000+ schemas is: Unless you require per customer customisations (which is a fast way to ensure you have an upper limit on the number of customers you can support) there is no need to duplicate. Use a single schema where every table with per-customer data has a tenant id column.

Most decent RDBMS have a good way to ensure isolated locks across tenant ids e.g. MySQL partitions.

comment 10y ago · link · parent

Taking bets on if this is the chinese government testing out GreatCannon v2.0.0

comment 10y ago · link · parent

I think you have misunderstood me, or I wasn't clear enough. We're not looking for people who work endless overtime or spent every waking moment on open source projects.

The text you quoted says "a 9-5 job that they only do because they must", which I believe would exclude anyone "extremely passionate about programming and learning and problem solving". I'm talking about people that have no passion for it, regardless of what their other passions are.

Our new hire arrives at work at 9:30am and leaves at 5pm.

With regards to hobbies, families etc. Thats understandable if they don't have time to complete the test even though they are job hunting. However, I'd rather miss out on a good hire than risk a bad hire. My company can more easily survive spending a bit longer recruiting in our reduced talent pool compared to living with several bad hires.

123456