HNHacker News
TopNewBestAskShowJobs

domlebo70

244 karma · joined October 21, 2011

meet.hn/city/au-Gold-Coast-City

Socials: - github.com/dbousamra

---

submissionscomments
domlebo70··on Reflecting on Haskell in 2017
Compiling is ivory tower?
domlebo70··on Reflecting on Haskell in 2017
I'm writing a NES emulator in Haskell atm. It's still in progress, so please don't judge the code too harshly :P There's lots of nastiness I mean to fix up:

http://github.com/dbousamra/hnes

domlebo70··on How Rust Gets Polymorphism Right [video]
I think you can using GHC Pragmas.
domlebo70··on A collection of things software developers should know
It's not meant to be taken literally.
domlebo70··on React v15.5.0
> This has the incredible effect of making it a type error if you try to execute an action that doesn't exist.

I don't want to start a "JavaScript is bad" flamewar, but it's sad that there is an entire class of problems that we as software developers are solving, where simple type checking seems amazing

domlebo70··on Show HN: Keygen – A dead-simple product licensing API built for developers
Do any services exist that fill the niche of "I have built an API, and I now want to charge for it"? API tokens, billing, metrics, etc
domlebo70··on Ask HN: Who is hiring? (November 2016)
Cammy | Sydney, Australia | Full-time | Onsite (but flexible)

http://cammy.com/

We are a home security startup, a bit like Nest and Canary. We have 20 or so developers, with a total company size ~ 50.

Tech: AWS, Scala (purely functional, none of this Akka stuff), React frontends, DynamoDB, Postgres and ElasticSearch. We have big scaling challenges (we currently service 2 billion requests a month from 10000 cameras),

We are looking specifically for Scala developers and DevOps roles. Please let me know if you want to do coffee and chat :)

More details here: - Scala: https://cammy.workable.com/jobs/363355 - DevOps: https://cammy.workable.com/jobs/365927

domlebo70··on Why Angular 2 Switched to TypeScript
Interesting. Can you give me some more examples?
domlebo70··on Goodbye, Object Oriented Programming
What is OO about React though? You have data, and pure functions. Where does OO come into it?
domlebo70··on Why Angular 2 Switched to TypeScript
What is the cost? I mean, you are already working through the types in your head when writing code in a dynamically typed language. It's not like you get to just forget what type things are when you program.
domlebo70··on Why Google Stores Billions of Lines of Code in a Single Repository
Oh I don't miss Javascript/poorly typed languages.
domlebo70··on Migrating a 10,000-line legacy JavaScript codebase to TypeScript
Yeah, but at the end of the day it's a guess. Nothing more. The IDE cannot prove that it's change all instances of the "thing" being passed into a function, for it's just using names and heuristics to correlate them and derive meaning, not an actual mapping.
domlebo70··on Distributed Systems in Haskell
This was a great post. Really love how you walked through the example code.
domlebo70··on Ask HN: Oldest code you have written that is still in use?
Very interesting, thank you. What do you do now?
domlebo70··on Xamarin Open-Sourced
Sure. But ask in gitter first. You'll receive an answer suggesting you go read the README.md as it covers this info.
domlebo70··on Scala Center
I hear you. I wouldn't say you need to understand any cat theory. Just be able to read types, and you are fine. Problem is, people aren't used to that,
domlebo70··on Scala Center
Understanding for loops and if statements are pre requisites for many tools. Why is understanding some basic algebra, completely unreasonable. Cats and Scalaz allow you to represent things cleanly - surely that's a win. Can they be abused? Yes, of course. But please don't throw the baby out with the bathwater.
domlebo70··on Strategic Scala Style: Principle of Least Power
> If you don't know what can go wrong, use exceptions

Disagree. Exceptions are broken in Scala. I think it's better to do what was suggested in an earlier point, and return an ADT. You should wrap them and return an ADT constructor taking in the exception.

domlebo70··on How to stop functional programming
Or people could just learn the correct terminology.
domlebo70··on Faker.js – generate fake data in the browser and Node
Good idea. Can anyone comment on this vs traditional QuickCheck like tools? We use property-based testing as our default. It seems like Faker is a less composable version.
domlebo70··on Ask HN: Who is hiring? (December 2015)
Cammy | Sydney | Full time | On site only

About us: https://www.cammy.com/about/

Open positions: 2x Scala backend developer.

- We are a startup in the home security space. Cammy lets you keep an eye on your home using cheap IP cameras. Think Dropcam and Nest.

- We deal with a LOT of data (many billions of images a month) and have some fun problems to solve

- We work with a lot of Scala and FP, so if you are into that, you'll fit in.

- Have plenty of funding, and are growing almost too quickly.

Drop me a line on dom@cammy.com

domlebo70··on ScyllaDB: Drop-in replacement for Cassandra that claims to be 10x faster
Literally zero mention that in the event of a network partition they will just drop messages on the floor. This is fine as a cache, perhaps replacing Redis... but as a Cassandra replacement this is pretty scary
domlebo70··on BPG Image Comparison
> That's not going to happen as a charity or by weekend hackers. Linus isn't going to get frustrated at the size of video files and take a week off to come up with a better codec.

That's kind of what he did with Git.

domlebo70··on Ask HN: What are you working on and why is it cool?
We are working on Cammy (http://www.cammy.com). It's a cloud based security and monitoring platform. The idea being, you buy cheap IP cameras (20 - 40 dollars), put them in places you'd like to monitor, and they send images to the cloud, available for viewing via our app.

We are working on some useful features around alerting users when a camera detects movement, and you aren't in the immediate vicinity (I.e. an intruder etc), which will make it a good alternative to conventional alarms. Live view of camera feeds is also coming.

If you have a spare iPhone or Android device, you will also use those as cameras, rather than purchase IP cameras (not yet in production).

Best of all, the app is free. Any feedback?

domlebo70··on Neural networks in JavaScript
Let me warrant this by saying I don't know the first thing about how neural networks actually work, but can someone help me out and explain why the following isn't working?

I added an extra input to the training data for the XOR example:

  net.train([{input: [0, 0], output: [0]},
             {input: [0, 1], output: [1]},
             {input: [1, 0], output: [1]},
             {input: [1, 1], output: [0]},
             {input: [3, 4], output: [7]}])
But the result of running:

  var output = net.run([3, 4]);  // [0.987]
Is

  [0.9999823694382457]
which strikes me as odd. Shouldn't it be closer to 7?
domlebo70··on Nest is acquiring Dropcam
I work for a startup providing a similar product to Dropcam. The difference being we are free, and you can choose from a variety of supported cameras (we have ~ 30 supported cameras).

What do you guys think? http://www.cammy.com/

domlebo70··on Spotify Starts Shutting Down Its Massive P2P Network
Great post.
domlebo70··on Working on TypeScript 0.9: Generics, Overload on Constants and Performance
How are they planning on structuring the collections methods? Is map going to be on Arrays, and Maps and Lists etc? Or will they utilize some sort of typeclass approach and have them as modular as possible?
domlebo70··on 21 Nested Callbacks
Be glad. My forays into programming have been gitified. It's like these teenagers growing up with social media and cameras everywhere. They'll always have those years to haunt them :P
domlebo70··on Java 7 New Features
But all of those things are accomplished using plain Java (I.e. a Function1<InputType, OutputType>) and classes with static methods for objects etc. It's not done at a bytecode level. You can do everything you can do in Scala... in Java, it's just hilariously verbose.
← PreviousPage 5 of 6Next →