HNHacker News
TopNewBestAskShowJobs

dean177

544 karma · joined May 27, 2016

https://github.com/Dean177
submissionscomments
dean177··on LightSpeed: Rewriting Messenger’s codebase for a faster, smaller, simpler app
> We extended SQLite with the capability of stored procedures, allowing Messenger feature developers to write portable, database-oriented business logic

I wish the article was a little more fleshed out, I'd be interested in finding out more about how and why they went down this path

dean177··on Assange Hearing Day 2
> “Are you suggesting, Mr Summers, that the authorities, the Government, should have to provide context for its charges?”

The judge, Vanessa Baraitser, said that.

dean177··on Assange Hearing Day 2
> but probably not hugely different from the treatment of many prisoners

It is, particularly for non-violent prisoners

> maybe prisoners of his nature are routinely interned in Belmarsh.

Its often used in high-profile cases.

> And maybe being in your cell for 23 hours a day is routine

It isn't. 60% of the cells at Belmarsh are multi occupancy and inmates at have access to education, workshops and gyms.

You seem to be casting doubt on a lot of claims, without putting in any effort to challenge your own assertions.

dean177··on Assange Hearing Day 2
"Torture means any act by which severe pain or suffering, whether physical or mental, is intentionally inflicted on a person for such purposes as obtaining from him or a third person information or a confession"

Yes, it is exactly torture.

https://apt.ch/en/what-is-torture/

dean177··on Programming a space invader in OCaml and OpenGL: lessons learned
There is no layer above, it’s not like coffeescript which compiles to another language. It’s literally an alternative syntax.
dean177··on Ask HN: How do I learn JavaScript?
> I believe this is possible (and maybe not even hard) as I only mean the language itself

Javascript doesn't exist in a vacuum, and focusing on becoming an expert on just the language is IMHO a misguided effort.

The language is a means to an end and the most useful bits are exactly in the API's that the runtime provide, be they the browser or something like node / react-native.

The advice I often give for "how do I learn ___" is find something you want to make, do what you need to do to arrive at the most basic version that you possible can, then iterate.

If you have someone who can help direct you when you get stuck, or can point out ways things can be vastly better with minimal effort that will be a real boon to your efforts.

Focusing on arcane corners of the language just isn't productive. If you have a mission, you can deal with those when they come up (which due to their arcane nature, will be rarely if at all).

dean177··on "This community is available in the app"
Anyone care to explain why they downvoted this?
dean177··on Tests Should be Specific [video]
You can test properties of the result without an assertion of the exact result:

Take adding two integers, you can test 3+18= 21 or you can assert that, when both arguments are positive, the result is greater than each argument.

dean177··on Ask HN: How to explain job gaps on the resume?
I don’t understand why people are concerned about this, why would a gap be interpreted negatively?

Are people just assuming that a gap means prison?

dean177··on Restack: Full-Stack ReasonML
What do you mean the type system is primitive? Compared to what?
dean177··on Restack: Full-Stack ReasonML
Kinda, but with less hassle. You don't need to output ocaml files as both the native build tool (dune) and the js compiler (Bucklescript) support it out of the box.
dean177··on Better protecting kids’ privacy on YouTube
> prey on his peers with unboxing videos

How is an unboxing video predatory?

dean177··on Philosophy as a public service
Care to explain why you think that?
dean177··on In U.K. Vote, Online Disinformation Is the New Normal
> I think, given that both sides are complaining about being attacked, the media probably aren't actually that biased overall.

This is a very “Judgement of Soloman” type stance to take, as it ignores the merit of the complaint each side is making.

dean177··on Tesla Cybertruck
I think it looks incredible. I love it.
dean177··on “Why We Sleep” Is Riddled with Scientific and Factual Errors
> No, not every living creature generates a circadian rhythm

> This is false. Brewer’s yeast (S. cerevisiae)

I don’t think most people would consider yeast a “creature“

dean177··on Elephants Rarely Get Cancer, Now We Know Why (2015)
Why not have a read and find out?
dean177··on Simplify: move code into database functions (2015)
The motivation for this idea was to make it easier to rewrite everything else. > In 1997, I started in Perl. In 1998, I switched to PHP. In 2004, a rewrite in Rails. In 2007, back to PHP. In 2009, minimalist Ruby. In 2012, client-side JavaScript.
dean177··on Perfectly Cropped
It’s incredibly hard to make a great user experience look great.

Lots of people can’t tell the difference between something looking awesome and working well.

dean177··on The Ever-Present Glow of LED Greenhouses
Because it’s cheaper to make the lights brighter than the reflective shutter system you are imagining
dean177··on NASA engineer's 'helical engine' may violate the laws of physics
You need “downwards” acceleration for a swing. The vacuum bit isn’t important, it’s the gravity. They probably meant 0g rather than vacuum.
dean177··on Apple of 2019 is the Linux of 2000
> Does vanilla macOS even have keyboard-based window management yet?

For anyone struggling with this, Spectacle is free and open source: https://www.spectacleapp.com

dean177··on I tried to hack my insomnia
I used to do this but with chess videos. Most commentators don’t vary their tone much which probably helps.

Since then I have been: - Trying to exercise every day - No screens after 10:30.

Seems to be making a big difference for me.

dean177··on Estimates that mineral levels in vegetables have dropped by up to 90% since 1914
This is nonsense. Perhaps you mean something like “less bio-available compared to...”
dean177··on Write your own Excel in F# (2018)
This isn’t really true.

You can do: let ( + ) a b = ...

Just fine

dean177··on Is working on Outsystems platform good for developer's career?
> working as ReactJS developer, which is my top choice

Why didn’t you go for it?

dean177··on Launch HN: SannTek (YC S19) – Breathalyzer for Cannabis
How is being able to accurately tell if someone is drug driving a bad thing?
dean177··on If you want developers to adopt your software, make it less risky (2017)
That isn’t how statistical significance works at all:

https://www.surveysystem.com/sscalc.htm

dean177··on US proposes barring tech companies from offering financial services
The title is incorrect.

“A large platform utility may not establish, maintain, or operate a digital asset that is intended to be widely used as medium of exchange, unit of account, store of value, or any other similar function, as defined by the Board of Governors of the Federal Reserve System,”

Its specifically targeted at currencies (libra and perhaps things like xbox points?). Not all financial services.

dean177··on Fork: A fast and friendly Git client for Mac and Windows
The Mac version came first and later they decided to port it to windows.
← PreviousPage 3 of 5Next →