News for hackers. Stuff that matters.

user111233

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.
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.
Re:WebAssembly’s post-MVP future on Monday October 22, 2018 @10:45PM (#18280367)
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.
Re:WebAssembly’s post-MVP future on Monday October 22, 2018 @10:36PM (#18280333)
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.
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.
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.

And then the car disables itself because the security chip detected an unauthorized modification.
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.
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.

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.
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.
> 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)

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.
Re:SSH known_hosts hash cracking with Hashcat on Thursday September 27, 2018 @12:46AM (#18082155)
You could just run `history | grep ssh` and look at all the domain names that show up.
Re:How to Build a Low-Tech Website on Wednesday September 26, 2018 @11:36PM (#18081987)
Re:How to Build a Low-Tech Website on Wednesday September 26, 2018 @11:21PM (#18081930)
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.

Re:How to Build a Low-Tech Website on Wednesday September 26, 2018 @11:01PM (#18081854)
Isn't the etag just a hash of the content?
Re:How to Build a Low-Tech Website on Wednesday September 26, 2018 @10:59PM (#18081841)
> 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.

Re:How to Build a Low-Tech Website on Wednesday September 26, 2018 @10:55PM (#18081824)
There is a lot of user submitted 90s style content though.
User error. Don't use your phone while driving.
People are paying $1000+ for Pixel phones. I think that should cover the cost of an alarm app.
Re:How WhatsApp Destroyed a Village on Monday September 10, 2018 @01:54AM (#17949677)
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.
Re:How WhatsApp Destroyed a Village on Monday September 10, 2018 @01:51AM (#17949668)
So we should just ban the internet because some village in india couldn't use it right?
Re:How WhatsApp Destroyed a Village on Monday September 10, 2018 @01:47AM (#17949654)
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.
Re:How WhatsApp Destroyed a Village on Monday September 10, 2018 @01:46AM (#17949648)
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.
Re:How WhatsApp Destroyed a Village on Monday September 10, 2018 @01:43AM (#17949639)
If the government thinks the locals are unable to handle the internet then it should either educate them or restrict the usage.
Re:How WhatsApp Destroyed a Village on Monday September 10, 2018 @12:51AM (#17949464)
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.
Re:Decentralisation: the next big step for the world wide web on Sunday September 09, 2018 @11:47PM (#17949254)
>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.

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.
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.

Older »