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 10y ago · link · parent

They develop their software in a waterfall like method because they develop their hardware the same. These are still core engineering companies that don't fully value software.

I asked one of these companies about security, apparently the major governments insist by law on weak encryption and they only have to stand up to 15 minutes of hacking... Pretty terrible right?

comment 10y ago · link · parent

I don't know about not expecting it, I think as a general rule all expensive technology will likely be cheaper in the future, or simplified so that it's accessible to the masses. It's difficult to think of a counter example?

comment 10y ago · link · parent

Not sure, a lot of my family is London-ish area English and it works well for them.

I think the detection algorithm will look past accent and probably do some deep-learning based technique. Google are probably smart enough to tailor the voice recognition algorithms geographically - if you spend time in Scotland it will probably use the Scottish trained net to detect what you want.

comment 10y ago · link · parent

Exactly, people take for granted the AI that drives Siri and Google talk - these are amazing advances. It's enabled family members who are dislexic to completely transform their ability to engage in technology and the world.

Of course driverless cars are s massive feat and I see more robots entering the house soon in less subtle ways.

comment 10y ago · link · parent

Because all house robots so far don't really incorporate the more advanced aspects of AI, such as neural networks / deep learning, empowerment and general research done into social robotics. Even with what we have, they still have the potential to really wow the world.

comment 10y ago · link · parent

It's humanity correcting the growth rate - it's been well overdue, it's just going to be tough for a little while but we'll manage. If anything, robots could make this a lot better for us. People are relatively content in the West and the rise in living costs are putting people off kids.

comment 10y ago · link · parent

Exactly and in the UK military (or military like structure), it's easy to get in if you have relatives in.

Also, just because the originator may be dead, it doesn't mean the work won't have knock on effects.

And finding a hole in security for old material may trigger a search through all newer ciphers - something I'm sure they don't want.

There are plenty of reasons, correct or not, why they may wish to keep this a secret.

comment 10y ago · link · parent

Don't you find they get updated, moved or renamed? I personally have to deal with scope creep in my projects, so things often change from a strict design. But I imagine a longer project doing the same?

comment 10y ago · link · parent

I didn't know how common that was. Its definitely interesting, I was speaking from personal experience with these packages.

I remember being offered chips with lower failure rates too, I can't remember the ratios but it was certainly worth considering. We ended up testing the different boards off the line before doing a larger assembly (and further testing of course) because of the component failure rates. If it wasn't the solder it was the chip itself - causing really hard to find bugs I might add. I remember having two boards off the same line together, one chip could do an operation and other couldn't. This bad chip was being used for software production too...

comment 10y ago · link · parent

I think perhaps my wording was misplaced, but a part that has been shown to reach high temperatures might be more preferable in a charging application - even if they blow up anyway.

comment 10y ago · link · parent

EDIT: There certainly seems to be different quality levels for this particular processor anyway [1], which I'm sure they'll want a premium for higher quality. Feel free to correct me though.

[1] http://www.ti.com/product/MSP430F2013/quality

comment 10y ago · link · parent

I know some processors (mostly of higher end processors) do but I don't know if specifically that processor does. I do know that at least some manufacturers will offer automotive and aerospace grade parts if requested (if not for the extra money).

There's also the fact that it's off the shelf completely because there are none left to buy because somebody else already has them. If I remember rightly it can have something to do with the component failure rate on a silicon slate.

I've also heard of stories where processors that have a co-processor by design fail for some reason and are sold for their larger processor capability only. I've seen this with an ARM chip.

comment 10y ago · link · parent

I'm not sure this model works, in at least my case. Where there is perhaps some circuit you need to validate actually works with some sort of code - it's often useful to write some bad display driver for example so that the hardware team knows what needs to be changed and that process is not blocked.

The code may drive a very dirty clock signal that tells them:

  1. Circuit works in the basic sense
  2. Some part of the circuit doesn't work
  3. Some other part of the circuit can now be added now that the basic circuit has been confirmed
It's okay saying "build the entire thing perfectly", but spending the difference between one and two weeks validating that something at least has the chance of working is massive. You can't afford to block every team that needs to know whether the part you are writing is even a valid concept.

This may come back down to design, but sometimes - especially with hardware, the manufacturer/API doesn't tell you the whole story and you need to know that as soon as possible to start compensating for it.

I think building a rough implementation and re-factoring it is way more agile than trying to build the correct version first time, possibly leaving some unknown problem to remain undiscovered for longer. It seems backwards to me when we're talking about anything that has an element of risk.

comment 10y ago · link · parent

How do you reference a particular bit of code? For example, when you're writing the code you are aware that a number of lines could definitely do with improving but will get you out of the clear for the moment and past the milestone/deliverable. How do you specifically reference the code that you know is bad in this system?

comment 10y ago · link · parent

I actually like that - perhaps that allows you to implement blocking as well, for example: "TODO: X cannot be improved until Z & Y is complete.".

The projects I work on tend to have a very quick life cycle, so there isn't even a ticketing system in place other than the occasional post it note. There just isn't the time and the team is tight.

comment 10y ago · link · parent

Background: I work mostly with projects that have <1 year delivery date.

It's always better to fix the code I completely agree - in reality there simply isn't always the time. In an idealistic world products aren't released until they are ready and bugs are never produced.

But... There's deadlines and there's certainly not time allocated to fixing code unless a bug appears there. Once a milestone or deliverable is met, as far as a manager is concerned it's case closed.

Whilst I agree with you from an idealistic stand point, for myself and my line of work I need to leave TODOs to fix the code if the time permits before the release time. Corners get cut and you need some way of knowing where those corners are.

comment 10y ago · link · parent

The price list at the bottom [1] isn't fair, a company like Apple usually pays more for it's components for "higher" quality (usually a probabilistic reduction in failure rate). Things are so bad in the industry that it's not possible to get some of the higher rated components because Apple has bought them all.

[1] List (from reference 19 on the site):

    Component                                          Cost
    MSP430F2003 processor                              $0.45
    MC33368D PFC chip                                  $0.50
    L6599 controller chip                              $1.62
    LT1460 3.3V reference                              $1.46
    TSM103/A reference                                 $0.16
    2x P11NM60AFP 11A 600V MOSFET                      $2.00
    3x Vishay optocoupler                              $0.48
    2x 630V 0.47uF film capacitor                      $0.88
    4x 25V 680uF electrolytic capacitor                $0.12
    420V 82uF electrolytic capacitor                   $0.93
    polypropylene X2 capacitor                         $0.17
    3x toroidal inductor                               $0.75
    4A 600V diode bridge                               $0.40
    2x dual common-cathode schottky rectifier 60V, 15A $0.80
    20NC603 power MOSFET                               $1.57
    transformer                                        $1.50?
    PFC inductor                                       $1.50?
On a side note... I've seen the case where Apple's standards for compliance are set using the components they buy the highest grade of - making it even more difficult for external companies to implement compliance. It was bad enough that the standard chip, recommended circuit and recommended testing tools failed to meet their requirements.

NOTE: Apologies to any users where the screen is stretched.

comment 10y ago · link · parent

I'm a regular at leaving "TODO" in the code. It's a reminder that the implementation wasn't great and requires another look at some point. If something breaks it's the first thing I fix in that related code. It's okay to simply not have time to write every piece of code to perfection - it's important to capture that fact though.

Another regular thing I use is "NOTE" for code that really is not obvious at all. If my code doesn't read easily, other programmers (or my future self) know to check it for in depth information.

If at the time of writing code you recognise it's difficult to understand or not completely correct then I think it's the perfect time to capture that information into the code.

comment 10y ago · link · parent

>Anonymous person (under a nickname) sent screenshot as a proof that they managed to gain SSH access to our production server. The screenshot is legit, information displayed in it could not be faked without actual access.

Could you upload a redacted version of the email? Get rid of anything that identifies you or the company - the community here might be able to help.

I agree with the majority of the advice here - get the server down immediately after preparing a new, security enhanced version.

Assuming the following:

  * You use a key for access and not a typed password.
  * You haven't done done anything to your distro to compromise security.
There are probably two likely routes of thinking here:

  * The key leak was internal to the company and you need to figure out who it was.
  * The software your company wrote introduced a security vulnerability.
For the first one, you need to devise a method of catching them out - you at least want to know if it was an internal or external source. Assuming this person is smart, they'll probably be using a VPN or TOR so tracking their IP will be useless. Try the following:

  * You could set SSH to only accept incoming connections from your company (and your home IP as backup). Allowing SSH connections from arbitrary places is generally not a good idea.
For the second one, it would be good to know what sever software/libraries you are using as well as versions. `sudo nmap -sA <IP>` your own server so we can see what you have running and possible entry points.

Also:

  * Patch SSH to send you all commands typed - if you've been compromised you at least want to know to what extent.
  * Assume whatever data was on the server is now compromised - databases, passwords, usernames, emails, bank accounts, etc. You need to inform your customer base if their details are leaked. Internal or external they've already copied everything (I would have).
They are just some initial ideas - no doubt somebody will shoot them down but hopefully you can find some use in them.

comment 10y ago · link · parent

It's shutting the door after the horse has escaped. All security measures have failed at that point - the least of a user's troubles in somebody installing a new OS.

As for physical access, somebody could install a new HDD or motherboard or computer - where do you stop?

Microsoft's justification of this "security feature" is borderline insanity.

comment 10y ago · link · parent

Like the physical borders that separate land, the borders of the internet are also being drawn in the form of applications, IPs, ports, protocols, etc. To me it's sad, it never had to be that way.

comment 10y ago · link · parent

> So you are saying that governments are doing their citizens a service by filtering the internet for them?

If it was a service, they would fund an Ad-Block like add-on that their people could install on their browsers by their own choice. They could offer opt-in filtering on an internet provider level. It's obviously not a service.

There seems to be some assumption that just because a majority may or may not want something in Pakistan, that they should suddenly enforce that on everybody.

> That's an interesting viewpoint, but not an easy sell to a delusional Westerner. We don't let our governments tell us how to think. That's the job of advertising.

In the UK, there is an advertising authority to ensure that advertising in the UK remains tasteful. In the UK, if you have some content that is sponsored by a company you have to make it clear from the start that is it so.

I think it's fair to say that in the UK, not even the advertising authorities are aloud to tell the people what to do. And the recent brexit supports the idea that the government doesn't either.

comment 10y ago · link · parent

You didn't use the word "evil", I wasn't quoting you. I'm not sure if you can call it pre-programming... I'm not sure how you deduce the rest of what you've said from simply echoing what is often said in non-Western Countries. I don't hold it against you though, a lot of people are the same regardless of where they are from.

> You guys have elaborate rules governing contact and treatment of indigenous people from the amazon to the serengeti.

The difference is, to the tribes - technology isn't beneficial and to Pakistan, it is. The tribes are so far removed from the world that it would take multiple generations to bring them up to speed. Pakistan wants to be more connected to the world but doesn't want to listen to what the world has to say. That's the difference.

> But for some strange reason you guys are totally incapable of understanding putting people in under developed/mostly illiterate societies in contact with the massive ever increasing noise that is the "free internet" is damaging in the same way as non regulated contact with indigenous people.

Pakistan is not underdeveloped - it's at the perfect time for growth, just like India currently is. Lying to the people (which is what you're suggesting) - you think will really help progress people's thinking on the world stage? Or do you think it will reinforce a culture that already hates difference? We're talking about a Country where in the villages, they kill people for "black magic", believe in ghosts and beat their women. I think they've had enough unchallenged thinking.

> thank god for the "non free regulated Chinese internet" cause there is a counter point to the western way of thinking about an unregulated "free" internet which is really irresponsible

Oh yes, I often forget that the Chinese Communist Party actually makes rules to better the world and not just it's own agenda.

By the way, for all that blocking in China - the Chinese are considered highly racist and rude by other Asian cultures, let alone the rest of the world.

comment 10y ago · link · parent

I would like to point out that I'm not American and am well travelled, but yes I am from the "evil" West. I've been to Muslim Countries, I have a rough feel for how the people think.

I understand there was a world before the internet and there will be a world without it. Not sure what your point was.

My point was, with it, it should be free, open and without bias. I imagine your household conversations would be rather different if political/religious leaders were in your house and watching every conversation about freedom you have.

Out of interest, why do you like Chinese way of life?

Also, for some context, where are you from?

comment 10y ago · link · parent

I wasn't clear, I meant more towards law and control. Each with their own agenda and waves of stupidity.

comment 10y ago · link · parent

In China the censorship was ridiculous using "Bangol" or whatever it's called there. I couldn't search for western products, animals, videos - anything (, until I used a VPN of course!).

But here in the UK I think it's much less than 1%, although what's worrying is what is actually blocked. It seems as if enough money and/or power will get you any blocks you want.

comment 10y ago · link · parent

The video that was censored in the blog: https://www.youtube.com/watch?v=SPpBzF20_7M

The Pakistani Government was a ridiculous situation. To me it was an example of how religion would literally cut off it's nose to spite it's face. Youtube offers them way more good than it does bad.

I think the moment Governments got involved in the internet was where things went wrong. It should have been just complete freedom, regardless of what ended up being put on there with all the consequences of doing so.

comment 10y ago · link · parent

Christianity is 72% in the EU according to Wikipedia [1], it's really high. Even if the figures are wrong or have changes, I'm willing to bet it's above 60% regardless. Makes me wonder about where you live?

What do you mean by "I hope you are not all talk and are yourself giving money to other religious entities."? I don't agree with religion in general, but I think the way forwards is to embrace it and it's cultures in order to move forwards.

[1] https://en.wikipedia.org/wiki/Religion_in_the_European_Union

1
7475767778