HNHacker News
TopNewBestAskShowJobs

user111233

67 karma · joined August 20, 2018

submissionscomments
user111233··on Rust can be difficult to learn and frustrating, but it's also very exciting
If you define work as not throwing an error. You can't just put anything in to a function and have it return a useful result. Thats why typed language programs like haskell programs often define datatypes that are just an Int because user_id is not the same kind of data as product_id even if they are just an int.
user111233··on Rust can be difficult to learn and frustrating, but it's also very exciting
I have never felt a typed language slows me down. In a dynamic language you still have to mentally understand what the type of a function is. You can't just throw any data in to it and have it work.
user111233··on WebAssembly’s post-MVP future
Having the URL system also makes them so much better for sharing. Imagine being able to share a link that someone could click and it would open up your shared image inside of photoshop.
user111233··on WebAssembly’s post-MVP future
From what I have seen it looks like Mozilla and Firefox are really leading in WASM. All these detailed posts explaining it in easy to understand terms are amazing as well.
user111233··on Rust can be difficult to learn and frustrating, but it's also very exciting
Maybe. I also tried Haskell and Yesod but had the same issues. It seems the size of the userbase for a language/framework massively impacts how fast I can do things. With haskell I was posting multiple questions on stack overflow every day but with ruby I find almost everything I need already answered.
user111233··on Rust can be difficult to learn and frustrating, but it's also very exciting
I had a play with rust at the start of the year while I was evaluating if it would be good for the api backend for my new website. I was using rocket as a framework. The language itself seemed quite ready for use and the book was very helpful but I found all the libraries I needed were half finished and didn't have the features I needed or if they did they had docs that assume you will read the source code and work most of it out yourself. I spent ages trying to work out how to set up postgres with it and got stuck on stuff about connection pools and multithreading.

I ended up just using rails in api mode which is a shame because it chews up the limited memory on my server.

Most of these issues would go away if I was a rust pro and I could just write my own libraries and read the source but it really didn't feel like rust was helping me become productive fast like ruby did.

user111233··on GM’s data mining is just the beginning of the in-car advertising blitz
And then the car disables itself because the security chip detected an unauthorized modification.
user111233··on Fake review factories that run on Facebook and post five-star Amazon reviews
Bitmessage had this and it would burn up my laptop cpu trying to send a text message but spammers with gpu farms could still take out the whole network with no troubles.
user111233··on Fake review factories that run on Facebook and post five-star Amazon reviews
I got a bike light on ebay and after a few months the battery failed. Even though legally I have 1 year warranty I just can't be bothered arguing with a seller for days and then having to pay return shipping which is almost as much as the light is. I ended up getting a light at the store. Cost me a little bit more but the quality is soooo much better and the battery can be replaced rather than having a sealed plastic casing.

If I ever have a problem with this light its only a 3 minute ride back to the store to return it and I know they won't try and dispute it.

user111233··on Google Exposed User Data, Feared Repercussions of Disclosing to Public
Maybe 20 actual users but google+ is filled with accounts from google users and automatically posted with content from other sites like comments on youtube.
user111233··on Police to Seattle’s techies, streamers: Sign up for our anti-swatting service
It literally says in the article that they will not ignore calls to locations on the list and they will only keep the information in mind when responding.
user111233··on Police to Seattle’s techies, streamers: Sign up for our anti-swatting service
> wonder how a normal person won't get shot because they make some weird movement.

They do all the time. I saw a video where American police were yelling confusing instructions at a drunk guy clearly trying to do what they ask but unable to work out what they want and when he fell over they opened fire at him because he made a quick movement.

But its almost justified. I have seen videos where someone moves their arm just a bit and the police start shooting instantly before I even know what has happened and a gun falls out of the dead targets pocket.

Thats just what happens when any random stranger could be carrying a gun. Its almost unheard of for someone to be wrongly shot by police in Australia (Probably has happened but its no where near like America)

user111233··on Sales engagement startup Apollo says its massive contacts database was stolen
It's probably kept secret because if we knew how easy it was to steal their data that would be bad for their image. Most companies have little to no security other than "no one will think to request this url". Could be a past or present employee who knows all the unprotected systems and wanted to make some extra money selling the data.
user111233··on SSH known_hosts hash cracking with Hashcat
You could just run `history | grep ssh` and look at all the domain names that show up.
user111233··on How to Build a Low-Tech Website
Let nginx handle it https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentica...
user111233··on How to Build a Low-Tech Website
For developers it always seems like a good idea to use the system defaults but then you push it out to users and find out they all have insane defaults that work like crap.

I had someone complaining to me that my mailto: link doesn't work but actually its just they had the wrong mail client set as default on their system.

user111233··on How to Build a Low-Tech Website
Isn't the etag just a hash of the content?
user111233··on How to Build a Low-Tech Website
> just some common-sense SQL optimizations.

Thats probably it. Some beginner has written an n+1 query and the page is slow as shit now.

user111233··on How to Build a Low-Tech Website
There is a lot of user submitted 90s style content though.
user111233··on Google Maps won't let you save home address without allowing all Google tracking
User error. Don't use your phone while driving.
user111233··on Google Maps won't let you save home address without allowing all Google tracking
People are paying $1000+ for Pixel phones. I think that should cover the cost of an alarm app.
user111233··on How WhatsApp Destroyed a Village
SMS costs a lot in 3rd world countries. We are probably seeing these issues now because this is the first time these people have had access to cheap and easy communication. The rest of the world was eased in to it with email and the web but these countries are being dropped in to the deep end.
user111233··on How WhatsApp Destroyed a Village
So we should just ban the internet because some village in india couldn't use it right?
user111233··on How WhatsApp Destroyed a Village
In many cases is genuinely is the technologies fault when it uses UI patterns to shape behavior and algorithmic sorting to selectively show ideas to the user. But that is not the case here.
user111233··on How WhatsApp Destroyed a Village
There are multiple organizations trying to find ways to stop misinformation but it seems next to impossible. What is the truth? Who gets to decide what is and isn't the truth? No doubt Google will come up with some API that reports if a statement is true or not and all algorithms will use it to hide any information google says is false.
user111233··on How WhatsApp Destroyed a Village
If the government thinks the locals are unable to handle the internet then it should either educate them or restrict the usage.
user111233··on How WhatsApp Destroyed a Village
I haven't used whatsapp but from what I understand it's just an IM app. I'm not sure how an IM app can be responsible for this behavior. It simply lets users send messages to each other. There are no algorithms sorting what you see or promoting certain kinds of interactions. It seems that maybe some societies are far too trusting of baseless rumors and can't handle the fact that they are now able to share rumors incredibly fast.
user111233··on Decentralisation: the next big step for the world wide web
>What we need is a framework, or a backbone, that allows people to easily create new federated-native apps ("dapps") without thinking about consensus issues, protocols versioning, and with native laws compliance.

This is really needed. There are endless great tools for centralized apps that make it trivial. I could build a usable forum website in rails in a day. I have no idea how to do that in a decentralized and secure way.

user111233··on Electric Scooters in New York City? They Just Might Work
I own an ebike as well as a bunch of non ebikes and while I love riding regular bikes on the weekend, the ebike is just so useful for getting to work fast and sweat free. I live in a very hilly area and the ebike makes it like riding on flat ground.
user111233··on Electric Scooters in New York City? They Just Might Work
And cars. Also trucks. The pedestrian crossing near me has a warning sign stuck up by someone telling you to look behind you for trucks running red lights while turning.