Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 9y ago · link · parent

> zkms 10 hours ago | parent | on: Performance notes

If I typo the card number and there's no JS code to tell me that, I need to submit the form, wait for it to error out, have to re-enter all the billing address information, re-enter the card number, and try this whole process again. I've resorted to re-typing the card number in the "find" box and making sure that it matches the number in the form's field, just to avoid this crap.

That doesn't necessarily have to be the case. If done correctly, the page could come back with errors and the form already filled out. If the connection is secure enough to fill out the form - it must be secure enough to return your data you entered.

comment 9y ago · link · parent

I think you've been down-voted because your humour is too subtle.

>White males are certainly paid too much! They should make half of what minority employees do!

It certainly feels like this won't stop until that's the case.

comment 9y ago · link · parent

>I'm using a Nexus 5, which was launched almost 4 years ago, that uses 4G. A reliable, widespread 5G network is at least 2 years distant, probably more. Barring breakage, and changing the battery, the Nexus 5 could almost certainly be used 6 years after launch, and still work well. The barrier for that sort of lifetime is software, not hardware.

My prediction for the communications modules not lasting is also trying to take into account that the rate of developments is likely to speed up - not stay the same or slow down.

>There are a substantial percentage of people that are more worried about the UI changing underneath them than whether or not they're using 3G or 4G.

I'm talking about simply being cut off from the rest of the world. Many Countries have now fully retired 2G networks. In less than 5 years, I can see the same likely to happen for 3G.

>Secondly, even if 10 years is unlikely, the prospect of being able to run a functioning device indefinite ly allows the lifetimes to increase by more realistic but still significant amounts, 10 years is niche but 4 or 5 isn't.

I think phones should at least match laptops - there's no reason why not. I think we should encourage a few things:

* Standardization of battery sizes - why is every LiPo pack completely different? If think this might even be arbitrarily pushing up the market value of the packs.

* Expansion ports - why is there no expansion port on a phone? Something just big enough to plug a small PCB with a standard connector. That way you could add something onto the internal bus to add functionality. For even common users, this could be slightly more battery, secondary processor, increased RAM, additional GPU, AI chip, VR chip, better camera, louder speaker, new communications, etc. Looking at the Intel Edison, if you can put an entire computer into an SD card [1], you surely could add value to your phone, either immediately or in the future.

* Unlocked - you should be able to easily load your own OS onto your phone with no consequences. This is the same with most laptops. Maybe somebody can't make a phone OS to last for 10 years, but I'm sure there will be some OS in the next ten years. Is it unreasonable to be able to swap your OS?

Completely unrelated, but another thing I would like to see is the use of colour e-ink displays for phones [2]. Video is something that needs to still be solved [3], but I think we pay too much energy for viewing static content on a phone display.

[1] https://software.intel.com/en-us/iot/hardware/edison

[2] http://www.eink.com/display_products_triton.html

[3] https://www.youtube.com/watch?v=24srQXX81Oc

comment 9y ago · link · parent

I guess Uber is no longer the popular tech company to rip into. I've seen some articles surfacing about Facebook, they'll probably be the next people to hate for a little while.

Everything about this is so wrong. It all comes down to laundering money out of Google, thinly veiled with this false idea of "justice" from incorrectly used statistics.

comment 9y ago · link · parent

Asians are apparently "paid too much", so er, docking wages for being Asian, anybody?

comment 9y ago · link · parent

>And pardon my only partially feigned ignorance, but if you're paying them based off the position and not gender, why do you need additional wage data?

Aren't Asians "overpaid" in the US tech industry? Any investigations into this? Of course not. This stinks of hidden agenda.

comment 9y ago · link · parent

Disclaimer: I'm fully behind this idea, but I think there are some issues to be ironed out.

I don't think the OS is really the bottleneck here. I think getting a mobile device's hardware to run for this long is. There are a few things that make this difficult:

* Batteries - These currently only have so many cycles. A 10 year phone would need to provide a largish battery holding area allowing for two wires of varying voltages to be supplied. It would then in turn need to be able to charge at these various voltages through those two wires. I think voltages ranging from 1V to 24V would be a reasonable guess at where future battery tech would stay. Any person could then feasibly change their battery for some future tech.

* Connectivity - In just a few years, we've gone from only really having 2G to having just 3G/4G. In 10 years time, I think it wouldn't be unreasonable to think that maybe 4G will be switched off. I think it's unlikely that WiFi will remain for the next 10 years too. You need some robust connectivity module that hackers could connect to an arbitrary home-brew hacker's module. Something like UART/Serial/I2C/SPI.

Other things could burn out over time, but replacing those things becomes way too difficult. The processor, GPU, RAM, case, buttons and screen are just things I think that need to be the core phone.

Another place that could be interesting to explore is converting old, arbitrary phones into useful everyday devices. For example, I'm looking at converting my old HTC wild fire phone (the screen is small) into a permanent low-power alarm clock. It'll sit on the WiFi and if it sees my laptop/phone on the WiFi it will schedule the alarm, otherwise not.

I have another slightly newer phone with a larger display, so I was thinking or either making some notification board for my office or some very cheap VR headset for watching YouTube videos in bed without holding my phone up.

That said, there's no reason why all of these new "smart" devices couldn't reuse old technology. I think a small technology company that recycled old mobile devices into new smart devices would be pretty awesome. People pay loads for a recycled pencil for example, why not a recycled electronics device? On the far end of the scale I've seen some awesome coasters made from old motherboards.

I would love to see offices and schools buying more second hand kit too. There's no reason why thin client software can't run on an old mini-intel board, or even a semi-old smart phone. Kids don't need this year's laptops to write a report in Word. I think there's a big space for reuse here.

comment 9y ago · link · parent

>but doesn't bother using JS to implement genuinely useful things like validating the credit card checksum (https://en.wikipedia.org/wiki/Luhn_algorithm) in JS on the client before submitting the form.

That's interesting, because that's a case where I would consider it not needed. I've seen some interesting behavior from a network provider where they test "password security" - despite a password I generated meeting all of their rules, the JS fights me because of some bad implementation.

Either way, the server must validate the data regardless. From a design perspective, it makes sense to me to have validation done in one place, rather than several. It just seems that they may become out of sync, or lead the back-end developers into a false sense of validation security on a web form.

The cost of memory is less in this case (no JS in RAM). The CPU time is probably about the same in total. The energy is probably slightly more. The network usage will be about the same (form submission vs JS validation code). We're talking small amounts here, though.

The other thing is that basic HTML is very well nailed in all browsers, whereas JS reliability seems to change depending on the features used, etc. A wake up call for me was when using a slightly older IE browser and using the kindle experimental browser. Both had JS enabled and ran, but ultimately caused the JS rendering to fail for a website I had built in a destructive way (they did half the job of swapping out elements).

My current design philosophy is to avoid JS at all possible costs. Minimalism spruced up with CSS.

comment 9y ago · link · parent

>Again, depends on the site, but many people now have (effectively) supercomputers, so why not leverage some of that?

I agree, but seems ridiculous that my ("super") computer at current is using 7.4GB of RAM and 7% CPU for just FireFox alone, for what is mostly static content.

>One of my side-projects is an HTML5/JavaScript games site. If somebody disables JavaScript they'll get a nice message explaining why they need to enable it to play the games, otherwise what would my fallback option be? Flash? Bleurgh! No thanks.

That's an edge case, of course, that requires client side computing. The alternative is exceptionally infeasible for everybody involved.

comment 9y ago · link · parent

Yes!

I have gone even more aggressive these days - just stop running JS on client machines at all. Every time a page is slow, breaks, tracks, etc, there is almost always one culprit.

My rule is now that if you can't load your page in lynx - it's broken. There are few exceptions to this rule in my eyes.

comment 9y ago · link · parent

Any harder than implementing IPv6 in hardware? I'm talking about an adjustment that would keep older machines talking to older addresses, whilst newer machines could implement extended IPv4, for example. From my potential ignorance, I'm not sure how that would be more difficult?

I think it's theoretical of course, I don't believe there is a reserved bit in the IPv4 range.

comment 9y ago · link · parent

Thanks, I wasn't really aware of this. Class E wouldn't add too much to the IP address space if I understand this correctly?

I was thinking more along the lines of a bit being flipped would mean the next 8 bytes are an IP and not four, for example.

From my limited understanding, I don't think they reserved a bit in the address space?

comment 9y ago · link · parent

Yep.

comment 9y ago · link · parent

Would have been awfully nice to have a reserved bit in hindsight. 7 bit ASCII was an amazing accident. (Maybe it wasn't, time to brush up on my history...)

comment 9y ago · link · parent

I think whilst it's nice to have that barrier, it's prevention rather than cure anyway. There's no substitute for secure devices :)

comment 9y ago · link · parent

Would love to read this, but no scrollbar. I don't like websites dictating to me how I should consume content.

comment 9y ago · link · parent

Why not just take the least significant bit and build the random stream from that?

As the comment from matt_walfeck suggests:

> couldn't the exact same results be achieved with a simple USB webcam

Random radiation flipping the least significant bit of the CMOS sensor should be enough. If you're really worried about randomness, you can combine several streams (XOR) and get an even distribution of bits.

comment 9y ago · link · parent

Apparently solar cells larger than a calculator one can give about 30mA, 5V at peak power output [1]. We really need to know surface area and lumen to know how good this thing performs.

[1] https://www.amazon.com/53X30mm-Micro-Power-Solar-Panels/dp/B...

comment 9y ago · link · parent

Seems the sight is already suffering from a KoD, internet archive here: http://web.archive.org/web/20170507192155/http://www.insight...

comment 9y ago · link · parent

@Sreyanth: Internal tools of a given type? Perhaps. Sounds payment orientated. You need to put this in the title.

I would also like to point out that you're asking people whether they want to be an early "adapter" of a product you haven't described or referenced. "I think I just developed" doesn't install any confidence into startup wanting to adopt your mystery software, either you have or you haven't.

Opinion: What you're describing sounds like a large API. I think you may struggle to get adoption if you're looking for money from this software.

comment 9y ago · link · parent

Exactly. A program that solves this problem could probably also program the external tools too.

comment 9y ago · link · parent

Didn't see this, thanks.

I didn't get an email from the email checking website - I assume they haven't disclosed a database of emails with him.

comment 9y ago · link · parent

Possibly, it's worth resetting to step on the side of caution. Good to occasionally rotate your passwords anyway!

comment 9y ago · link · parent

I'm not saying that at all?

comment 9y ago · link · parent

They know their email and ID - so it's targeted. Without this information it is generic and easily spotted. Quoting your repository is a lot more personal and believable.

Additionally you can use the previous warning emails to really target somebody as one of the few that need "further recovery/security" steps. This is a security issue.

comment 9y ago · link · parent

They have their email and their ID, added with the knowledge they are compromised. That's enough to build a spoof password reset email and get them to type in an old/new email.

comment 9y ago · link · parent

@troyhunt: Have you seen the latest leak by Atlassian?

I got an email on 4th April, 2017 that reads as follows:

    Hello,
    
    This weekend, our Security Intelligence Team detected an incident
    affecting HipChat.com that may have resulted in unauthorized
    access to user account information (including name, email address
    and hashed password). Atlassian ID is used to manage access to
    your HipChat.com account and other Atlassian services you use.
    The password is encryprted using bcrypt with a random salt. In
    our security investigation, we found no evidence of unauthorized
    access to financial and/or credit card information. We can also
    confirm that we have found no evidence of other Atlassian systems
    or products being affected.
    
    As an added precaution, we have reset your Atlassian ID which is
    used to access all Atlassian services, including HipChat. Please
    go to https://id.atlassian.com/login/resetpassword and enter your
    email address to trigger a password reset email for your Atlassian
    ID account. If you have been using your Atlassian ID password on
    other sites, services or online accounts, we recommend that you
    immediately change those passwords as well.
    
    Please refer to the HipChat Blog at http://blog.hipchat.com for
    additional information about this incident. We regret any
    disruption this may have caused and appreciate your immediate
    attention. If you have questions, please do not hesitate to
    contact HipChat Support via our support portal or by sending email
    directly to support@hipchat.com.
    
    – Ganesh Krishnan, Chief Security Officer
Nice of them to provide links to reset your password - anyone quick on their feet and with access to that database could have got people's passwords.

I think if you tweeted at them they would release an email list to you for updating the https://haveibeenpwned.com/ website. I imagine there's still a lot of people that are unaware that their details are out there and that their accounts are vulnerable.

comment 9y ago · link · parent

I got the same result, but my site weighs 0.01MB apparently (it's actually lower at 6kB according to webpagetest.org).

I think small sized sites weigh next to nothing. This is more intended for people with much bigger sites.

comment 9y ago · link · parent

They actually override all DNS lookups if I remember rightly. It's not my connection, so I can't change that fact - I just think it's a naughty thing to do.

But it's a bit off topic!

comment 9y ago · link · parent

Getting a 503 error for the entire site...

Just went to find the page of internet archive:

    web.archive.org has been blocked by Sky Broadband Shield, which lets you choose the websites that can be seen in your home.
I hate ISPs. If someone could update the link, that would be grand!
1
707172
78