Better HN
topnewbestaskshowjobs
Log inSign up

quickthrower2

24,182 karma · joined Jul 22, 2017 (9y ago) · 14,302 submissions

Contact me at altsearch@altmails.com, which gets forwarded to my normal email.

https://hnbadges.netlify.app/?user=quickthrower2

Submissions

comment 9y ago · link · parent

How do you know though? That's ok if you interview only for big companies where there is a lot of open dialogue about their recruitment.

comment 9y ago · link · parent

That's a nice looking language. The inferred type system on an procedual / OO language with protection against nulls is something I had wished existed. I didn't know it had been done.

comment 9y ago · link · parent

That sounds useful. I didn't think of using an app but post it notes did do the trick!

comment 9y ago · link · parent

Cost of doing business

comment 9y ago · link · parent

To be clear I'm not saying functional is always better. I'm saying there are other possibilities and dogma is bad.

The Haskell community has its dogmas too. And it's fair share of "let's do this simpler" blog posts.

As an aside Haskell has many equivalents of dependency injection and sugars to help and you can "inject all the things" there too.

My point is to think of the problem you are trying to solve, rather than ticking off the SOLID / Martin Fowler etc. tick boxes.

Understanding OO patterns, SOLID etc is a good thing but being prepared to "break the rules" is good IMO too.

comment 9y ago · link · parent

This is the awe inspiring bit:

> One reason why the secretary problem has received so much attention is that the optimal policy for the problem (the stopping rule) is simple and selects the single best candidate about 37% of the time, irrespective of whether there are 100 or 100 million applicants.

Another example of how our intuitions are poor at probabilities.

100M! Might give that a Monty Carlo sim. Or even try it on a big DB table at work.

comment 9y ago · link · parent

On the positive side you dodged a bullet and wasted just a day. Imagine working for someone like that. Time you'll never get back.

comment 9y ago · link · parent

Because these tests become too detached from reality if you inject everything. A silly example to make the point:

IAdder { double Add(double a, double b) }

Test:

car mockAdder = ... // Mock 1+1=2 etc.

comment 9y ago · link · parent

How is static code different from other noninjected code, like stuff in a method. Taken to the logical conclusion we'll have thousands or classes full of max 2 operations per method.

comment 9y ago · link · parent

This is a matter of taste not fact. In functional languages the style is compositional with static functions everywhere. It works well. The keeping data and methods together thing is one approach. Sometimes it's great. Sometimes unnecessary.

For example would you argue against string formatting helpers? Or would they need to be written to an interface and added to myriad DI bucket lists?

comment 9y ago · link · parent

Might be like the modern SaaS - advertised as a monthly price but you need to pay for the entire year to get that price.

comment 9y ago · link · parent

I'd love to see the algorithm for that. It's creative to say the least. Simpler to just add 1, 2 etc to the end.

comment 9y ago · link · parent

The £ sign tells me you are trapped in the overpriced housing country, forced to watch Kirstie Allsop be all smug about house prices.

I wonder what if lots of people said f the rent, f the prices let's just go travelling, live in a caravan, enjoy life. Settle in an affordable country. Not be a sheep toiling away to pay for someone else's Ferrari.

comment 9y ago · link · parent

This is about households < 30k/yr. What can be done I wonder?

Social housing? Minimum wage increase? Rent assistance?

comment 9y ago · link · parent

Just a nitpick but a responsive design would be a good idea.

comment 9y ago · link · parent

"How we Bootstrapped Our SaaS Startup to Ramen Profitability"

Or as they called it in the 80s:

"How we Started a business"

comment 9y ago · link · parent

Yep you block me, I VPN. All par of the game.

comment 9y ago · link · parent

If you redefine juxtaposition as +

comment 9y ago · link · parent

Pdf pages are usually based on A4 size which is 210mm wide. Even at full size the writing is often tiny. Once rendered on a 10cm wide screen (landscape) it's pretty darn hard to read.

Also in general the mobile pdf reading experience sucks.

For example you have to download a file (rather than browse to) on Android and the hunt it down to open it.

The pdf readers I've used easily accidentally scroll you to a random page if you make a mistake in where you touch the screen. Kindles probably the best but then you have to email yourself the pdf which is a hassle.

comment 9y ago · link · parent

Because the negative externalities don't affect the balance sheets of companies. However the companies with the biggest profits can lobby politicians more effectively. They can also pick their favorite jurisdictions to operate from.

comment 9y ago · link · parent

Yes, it's that way in Sydney where I live. I remember loving it getting a taxi to a job interview.

I always thought, if you are rich don't bother with a car & chauffeur just get a taxi everywhere, and get their faster.

comment 9y ago · link · parent

They can't grok how they will get a higher paid job after once they reset the "years' experience" clock on their chosen stack.

comment 9y ago · link · parent

I now prefer knocking stuff up in my pet chosen MVC web framework. I can be more more productive when I need to tweak thing that way.

With output caching performance should be on par with static. Or can use one of those programs that downloads a website to convert into static files if required.

comment 9y ago · link · parent

I've worked for an online bookie. I've also worked for an outfit that bets (on horses mainly).

The online bookie will indeed ban or limit winning accounts or anyone they suspect of cheating or betting smartly. Anyone betting large amounts dumbly gets taken out to nice dinners etc.

The company that bets on horses bets using exchanges, because bookmakers would tend to kick them out. The abstract of this paper is pretty much 101 to those guys who do some advanced stuff I can't talk about to make predictions.

Good luck!

13915.

PureScript Unscripted – Free from Tree and Halogen VDOM(youtube.com ↗)

1 points · by quickthrower2 · 9y ago · discuss

comment 9y ago · link · parent

Unethical because guess what people who drive for Uber probably care a lot about losing $115 and will work their ass off: i.e. drive fatigued, perhaps kill someone ... to make sure they don't.

comment 9y ago · link · parent

Maybe they do need the cash.

comment 9y ago · link · parent

You summed up the 21st century. In a nutshell.

comment 9y ago · link · parent

Google Cloud Storage

I quite like that it comes with command line util so it's easy to sync up changes with one command.

It's also dirt cheap if you have modest traffic. I doubt I'll spend anything significant. Maybe a few cents?

As an aside: I am changing my opinion on static site generators.

They make things harder because you need to learn the generator syntax. The programming constructs in Hugo for example are woefully inadequate for anything serious. For example you can't parse a date as far as I can tell.

My solution for the next static project is to use the web framework I am used to (in my case ASP.NET MVC) and knock it up in that. I can use output caching and read from resource files to get the static site performance and not deal with a DB.

When I need to customize I will save a lot of time and frustration as I can just do what I need to do from experience.

1
463464465
477