News for hackers. Stuff that matters.

ludbb

    Traceback (most recent call last):
      File "/root/routes/game.py", line 395, in get
        audio_filepath = audioSubmission['filepath']
    TypeError: 'NoneType' object is not subscriptable

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.6/site-packages/tornado/web.py", line 1467, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/root/routes/game.py", line 445, in get
        user=self.get_current_user().decode('utf-8'),
    AttributeError: 'NoneType' object has no attribute 'decode'
so many wrong things with this..
Re:Faulty Reward Functions in the Wild on Wednesday December 21, 2016 @10:41PM (#13234599)
And I thought I was pessimistic. I must be missing something, how did we go from a faulty code, to KPIs, to Comcast paving the future of the AI?
Re:Git 2.11 has been released on Tuesday November 29, 2016 @05:13PM (#13066689)
Dates are available for some objects, see http://stackoverflow.com/a/39930978/1832154 for more details about what is/isn't available.

The issue is a different one, I believe you're considering one specific situation while there are others to ponder. What would happen if someone copy & pasted part of the hash, or had some tool that always reduced that output to the first few digits, or other situations like these, how would you be able to tell that the user was actually after the oldest commit? It seems much easier to indicate there's a problem, a conflict, and let the user solve it.

Re:Reimplement the Redis based on seastar on Tuesday August 23, 2016 @01:35PM (#12345603)
How does it compare performance-wise?
Re:DNS Outage at DigitalOcean on Thursday March 24, 2016 @02:42PM (#11355250)
How do you apply your rules considering what's available today? Which services are you using? It sounds like it would be a big headache to orchestrate the automation among all these different providers.
Re:DNS Outage at DigitalOcean on Thursday March 24, 2016 @02:32PM (#11355175)
And who monitors your company monitors? :)
Re:Is group chat making you sweat? on Monday March 07, 2016 @12:03PM (#11239942)
My productivity increases so much when I shutdown chat apps I can only wish people responsible for setting them up at companies would stop for a minute and read this. Only the fact that the app is running is enough to reduce my output since I'll switch to it regularly no matter what.
Re:OpenSSL Security Advisory on Thursday December 03, 2015 @10:28PM (#10674410)
I'm aware of that but it seems specially interesting that they decided to go with a specific old version of some files. I don't think this kind of decision was ever made public, was it?

The general clean up idea is mentioned all over, but selecting old versions of specific files is not.

Re:OpenSSL Security Advisory on Thursday December 03, 2015 @06:25PM (#10673508)
Interestingly, looks like LibreSSL avoided the BN_mod_exp bug.

OpenSSL history for crypto/bn/asm/x86_64-mont5.pl can be seen at: https://github.com/openssl/openssl/commits/d73cc256c8e256c32...

LibreSSL is using an old version of that same file found at http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libssl/src/.... LibreSSL is using a version (possibly with patches on top of it) that is at least before https://github.com/openssl/openssl/commit/cf6d55961cfaa00eb1..., which introduced the bug reported.

BoringSSL patched it here: https://boringssl.googlesource.com/boringssl/+/e701f16bd69b6...

So, why LibreSSL went with a 2+ year old version of that file?

Re:EC2 Dedicated Hosts on Monday November 23, 2015 @05:58PM (#10617967)
Are the hardware specs available somewhere? Is it possible I'm confusing this with an interface for launching EC2 instances at a premium disguised as being actual dedicated hardware?
Re:Ethereum Alarm Clock on Tuesday October 27, 2015 @06:58PM (#10461786)
I believe the reference is coming from http://docs.ethereum-alarm-clock.com/en/latest/overview.html...:

Guarantees - Will the call happen?

There are no guarantees that your function will be called. The design of this service is meant to provide the proper motivation for calls to be executed, but it is entirely possible that certain calls will be missed due to unforseen circumstances.

Re:Running the Let's Encrypt Beta on Tuesday October 27, 2015 @11:58AM (#10458840)
About the stats: by "specially about their deployment count and usage over time" I meant the number of certs deployed by cert type (DV, OV, EV) and how has their usage progressed over time? If the second part is not clear, let's say that 5 years ago EV certs represented 2% among issued certs, and today it represents 1.4% -- I'm looking for historic data about this.

Thanks about the warranty clarification, so it only protects you if the /CA/ does something bad to you? In that case wouldn't it possible to sue the entity for, possibly, an even larger sum?

Re:Running the Let's Encrypt Beta on Tuesday October 27, 2015 @10:04AM (#10458025)
I can't wait to see how this industry will change after LE is fully running -- this is amazing. Are there any stats about the different cert types, specially about their deployment count and usage over time?

One thing I don't understand about the guarantees given by CAs is the one about the warranty, like the "$1,750,000 Warranty" from Comodo. How exactly can they provide that? Or is that some sort of MUST have if you want to partner with an insurance company?

Re:Webwatch on Monday October 26, 2015 @09:28AM (#10451230)
I assume I'm jealous for a project that brings nothing new compared to so many other solutions and still grabs 76 stars (as I write this). It seems, after all, github stars are another way to say "I'm popular" and not so much that a project is good.
Re:DoJ to Apple: we can force you to decrypt on Friday October 23, 2015 @11:18PM (#10442288)
Right, my bad, I missed it.
Re:DoJ to Apple: we can force you to decrypt on Friday October 23, 2015 @10:09PM (#10442152)
Sure, that correction is correct ;) but it's not mentioned in that section of the mentioned documented. It leads me to believe that the restrictions described do not apply to them.
Re:DoJ to Apple: we can force you to decrypt on Friday October 23, 2015 @07:03PM (#10441694)
The more relevant part about passcodes (4 or 6 digits) is described on page 12.

It's not fully specified, but since the PDF mentions "iteration count" then Apple is using some sort of KDF after you enter your PIN to make brute force attacks harder to perform. It also mentions the following delays:

  Delays between passcode attempts
   Attempts       Delay Enforced
    1-4            none
      5            1 minute
      6            5 minutes
    7-8            15 minutes
      9            1 hour
There's also an optional setting you can enable so that after 10 failed consecutive attempts the device's data is wiped.
Re:Firefox Developer Edition vs. Chrome on Friday October 23, 2015 @06:32PM (#10441601)
Is there such a thing as "moving" to another browser for development purposes? You will have to use both at some point, at least for some sanity check.

If you're developing something with React, Chrome will provide a better experience since React dev tools plugin is only available for Chrome. I'm not aware of some tool that is exclusive to Firefox, so I don't have a reason to favor it.

Re:Swiss-Style Color Picker on Friday October 23, 2015 @01:49AM (#10437013)
Hey, thank you! So, if I'm understanding this a Swiss-Style <T> is a T that is simple and effective.

Your reply starts by mentioning color palettes based on Swiss design, but is that the case here? It seems colors individually are not part of ITS, but how they are used (and therefore all colors can be used on it, as long as properties of this design philosophy are observed).

Re:OAuth Has Ruined Everything on Thursday October 22, 2015 @10:56PM (#10436552)
I read it as "don't bother with details, just use this thing here that does a lot of other things but happens to have a lib that might do it".

I think it's absolutely a good idea to use battle tested code, but you need at least working knowledge on what you're doing to apply it properly. Same thing applies for crypto in general: you generally don't implement it yourself, you generally use battle tested code, but you need to understand what you're doing. The idea that you can eliminate any of these steps and have something working properly is wishful thinking.

Re:OAuth Has Ruined Everything on Thursday October 22, 2015 @09:40PM (#10436335)
Don't you see some contradiction between your two sentences? You're attempting to recommend something that supposedly "magically" works so people using it don't need to understand the details about authentication. Seems like the quickest way to end up with all sorts of problems.
Re:NSA panicked deprecation of suite B on Thursday October 22, 2015 @07:17PM (#10435823)
If this is sound, the theory that bitcoin is just the first cryptocurrency of its generation is now confirmed: bitcoin is dead.

If that website about bitcoin obituaries is around this update should be added there.

Clarifications as requested:

1) The article is about ECC

2) The article doesn't mention secp256k1, but it mentions EC curves in general and special those in the 256 bit field -- which secp256k1 is one of them

3) If NSA is able to crack 256 bits curves, what makes secp256k1 special to all this? Nothing.

Re:Swiss-Style Color Picker on Thursday October 22, 2015 @05:34PM (#10435251)
Sorry for my lack of culture, what is a Swiss-Style Color Picker? noise + 3 random colors shaped as a building?

Closest thing I found is http://www.smashingmagazine.com/2009/07/lessons-from-swiss-s... which includes a link to https://www.flickr.com/photos/20745656@N00/3053656134/ and looks similar to this.

Re:Why Decentralized Identity Matters on Thursday October 22, 2015 @02:46PM (#10434093)
There's a big gap in parsing the bitcoin blockchain vs parsing a local database.

The blockchain is a public ledger so any (encrypted or not) information you store there can be retrieved by anyone. Downloading it is very slow, and parsing it in a reliable way, i.e. using bitcoind's rpc, is even slower. So you'll want to build an index from it, which you'll happen to store in a local database. So after all that you end up with a local database and public information that anyone can access.

How is that useful for this purpose?

Re:Why Decentralized Identity Matters on Thursday October 22, 2015 @11:54AM (#10432920)
So, the linked BlockchainID, publicly stores all secrets in an encrypted format. Why would that be good, and even necessary for a decentralized identity?

It is trying to solve key storage and public identity at the same time. How could it possibly be a good idea to store secrets publicly?

Re:Show HN: Metabase, an open-source business intelligence tool on Wednesday October 21, 2015 @02:30PM (#10427490)
How do you configure to use Mongo with SSL? The mongod server is rejecting connections from metabase as it never tries to connect using that.
Re:Rollup.js: A next-generation JavaScript module bundler on Wednesday October 21, 2015 @02:24AM (#10423985)
So many things are next generation in JS that I can't tell what next generation means for JS anymore. For this package, does it mean I can't use today?

I say that because typical packages do not declare jsnext:main yet, so you need to pass them as a list of external packages to rollup. It seems rollup won't produce an actual bundle when externals are used, is there any documentation about this?

Taking react 0.14 as an example, rollup doesn't accept JSX so it doesn't work there either. Instead, you have to use a package that combines it with babel: rollup-babel (so now we are using a next generation next generation package). But running

rollupbabel --external=react,react-dom --format=cjs --output=bundle.js -- index.jsx

does not result in a bundle.js that bundles React. Is this too old for rollup?

Re:The Trading Game on Tuesday October 20, 2015 @11:29AM (#10419783)
It's a game, no real money involved. Could try finding some source on this, but the challenge can only be measured when you're not using play money.
Re:Let's Encrypt is Trusted on Tuesday October 20, 2015 @02:39AM (#10417758)
general availability means a certificate, that is accepted by all browsers, can be requested and fulfilled. Right now the closest thing we have is a waiting list + very few https servers answering with such certs.

Older »