News for hackers. Stuff that matters.

lukegb

Re:Northern California Cities Should Undercut PG&E Now on Tuesday February 11, 2025 @04:53AM (#43010877)
Open access rail operators are not permitted to compete with franchisees (on the same routes/proposition) - there's a test that is applied before granting a license to ensure that the services will be "not primarily abstractive" - that is, that the operator will generate new revenue rather than simply taking away from the franchisee.
Re:The Messaging Layer Security (MLS) Protocol on Tuesday July 25, 2023 @12:52PM (#36865361)
MLS is currently being adopted by Google Messages for RCS (https://security.googleblog.com/2023/07/an-important-step-to...)

(I'm a Google employee, but don't work on this, not speaking for the company, etc etc etc)

Re:For BSD Unix, It's Sayonara (1992) on Friday July 21, 2023 @09:32PM (#36822277)
It's still there, although it too got rebranded: https://sitereport.netcraft.com
Re:SolarWinds hackers were able to access Microsoft source code on Thursday December 31, 2020 @06:59PM (#25598802)
It does if it has to go through the Windows Defender check. Enough that sometimes I end up launching the same thing multiple times because I get gaslit into assuming I haven't launched it.
Re:Chromium Windows builds now use Clang by default on Friday July 28, 2017 @07:22PM (#14878364)
According to the first post in the linked thread, the switch to clang is transparent enough that the VS IDE-based debugging experience still works.

My guess (not being a Chromium developer myself) is that this is an exercise in consistency across platforms - I can imagine that using the same compiler on all supported platforms makes the language features supported consistent and removes the risk of one compiler generating much worse output for the same code. But I'm just postulating, I don't actually know for sure.

As long as the other application is Firefox, Safari, IE11/Edge, or Opera, then it probably has a HSTS preload list that is at least in part generated from the Chrome one.

Firefox have some scripts which go through and check to make sure everything still on the Chrome list is still announcing the preload headers, and will autoremove if that isn't that case, IIRC. I wouldn't be too shocked if Apple/Microsoft were doing something similar.

Re:How MTA shut down my app for Penn Station commuters on Wednesday July 12, 2017 @09:20AM (#14752237)
As an interesting, although unrelated aside: platform data is available in the UK's National Rail's feeds, but the terms and conditions[1] explicitly prohibit displaying platform numbers early, as mentioned in their developer guidelines[2].

I guess the wording doesn't technically ban you from displaying historical platform information, but that would likely be a bad-faith use of the data anyway...

[1] http://www.nationalrail.co.uk/static/documents/Terms_and_Con...

[2] http://www.nationalrail.co.uk/static/documents/Developer_Gui... "Occasionally Time-Bound Data will become available through NRE feeds before it is ready to be published to the public. [...] One such example of Time-Bound Data is platform numbers. Early display of platform numbers, particularly at origin and destination stations, can lead to platform overcrowding and/or staff not having sufficient time to prepare the train for oncoming passengers. In some instances, platform numbers will be available in Darwin before being displayed on screens in stations."

That might be because they're the CA underlying Cloudflare's automated SSL issuance - at least for free tier customers.
Google's also been looking to limit the maximum validity lifetimes in general through the CA/B Forum[1] in a ballot that ended up not passing (with hints[2] that Chrome would end up enforcing something similar itself even if it wasn't part of the Baseline Requirements).

This seems to be indicative of the general indication that Chrome wants to head in anyway[3].

[1] https://cabforum.org/pipermail/public/2017-January/009373.ht...

[2] https://cabforum.org/pipermail/public/2017-February/009746.h... - there was a more explicit post elsewhere but I can't find it in the archives right now

[3] https://twitter.com/sleevi_/status/829804370900426752

Re:Encrypted email is still a pain on Monday February 13, 2017 @09:53AM (#13635621)
Re:Google Posts on Friday March 04, 2016 @10:12PM (#11228251)
Here you go (from my mobile): http://i.imgur.com/X1M5YZn.jpg
Re:Google Posts on Friday March 04, 2016 @10:12PM (#11228249)
Someone else was reporting that it's not showing up - I use unlock Origin on desktop and it was appearing for me.

Screen cap from mobile: http://i.imgur.com/X1M5YZn.jpg

Re:Google Posts on Friday March 04, 2016 @08:55PM (#11228060)
Some examples of these seem to be:

https://www.google.co.uk/search?q=hillary+issues

https://www.google.co.uk/search?q=bernie+issues

I'm referring to the postings with the photo and the checkmark and the "On Google" text, not the ones pulled from news sources, like the ones for "trump issues"

Re:Ask HN: Why isn't Google's Polymer framework more popular? on Wednesday January 27, 2016 @05:56AM (#10979396)
From what I remember, Polymer before 1.0 had some severe performance issues on browsers that didn't have native Web Components support, because it shipped with a polyfill that tried to emulate the shadow DOM properly.

I suspect (but have no evidence) that this caused lots of people to dismiss it because of that, and they might not have taken another look at it since 1.0 released.

Re:Netflix is on Fire on Sunday January 03, 2016 @10:14AM (#10830832)
Only if the content is "live TV" or you record live TV, which Netflix doesn't fall under.

Source: http://www.tvlicensing.co.uk/check-if-you-need-one which I assume would have the broadest possible definition

Re:Show HN: SpeckJS – Comment Driven Development on Thursday September 17, 2015 @01:21PM (#10234736)
Interesting - reminds me of Python's doctest[1] module and all the associated caveats, though!

1: https://docs.python.org/2/library/doctest.html

Re:Your data fits in RAM on Thursday May 21, 2015 @09:38AM (#9582637)
The idea is more that when you process data, if you can fit it all in memory (and you don't need lots of CPU power, etc, etc, etc) then just use one machine and don't worry about "clusterising" it.

If you're expecting growth in the size of your dataset (beyond growth in RAM size availability), then, well, maybe don't just use a single machine. Same goes for a whole bunch of similar "it's too large for a single machine" considerations.

Storing data should probably still be persisted to disk, and backed up.

Re:Your data fits in RAM on Thursday May 21, 2015 @09:32AM (#9582590)
> There's no a single simple answer, but sure, whenever less computers are enough, less should be used.

This - if you're using this website as your sole calculation then something has gone seriously wrong.

It was more intended to provoke discussion and thinking around overengineering things which can easily be done with, say, awk or a few lines of <scripting language>.

If you have large CPU requirements then sure, use Hadoop/Spark/some other distributed architecture. If you have a >6TB dataset but you only need 1GB of it at a time, then, well, maybe you still only need one computer.

Re:Your data fits in RAM on Thursday May 21, 2015 @09:20AM (#9582504)
It wasn't intended to snark - I apologize if it was seen that way. I whipped this up super quick and perhaps should have expanded on my meaning.
Re:Your data fits in RAM on Thursday May 21, 2015 @09:14AM (#9582457)
Well, hate to break it to you, but you probably have some overhead associated with your data, like your operating system or structures related to processing your data.
Re:Your data fits in RAM on Thursday May 21, 2015 @07:10AM (#9581921)
Me too. The links are mostly to back up my claim rather than as a suggestion of servers to buy (or I'd have found some affiliate links!)
Re:Chartist – Simple responsive charts on Friday August 29, 2014 @09:45AM (#8242424)
Looks interesting - does this library do animation of states from old to new (e.g. adding new data) in the same vein as, for example, c3.js?
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute on Sunday June 22, 2014 @06:06AM (#7927411)
Yes, it looks like it - they would have completed the assignment last year.
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute on Sunday June 22, 2014 @06:01AM (#7927405)
I have to say, this assignment in general has been my favourite part of first year (my group extended our assembler to look enough like GNU as that we could assemble the output of GCC, so we could compile CSUD).

Nice work - love it (might play it at some point to see if I'm any good).

Re:Apple Claims Mogenerator's Methods on Saturday April 12, 2014 @05:18PM (#7579247)
That's not the point - the point is to stop them from updating to a new version and blacklisting the new method names. They already have a license that allows them to use the existing code.
Re:I challenge you to remove the gray ad using Adblock on Friday August 30, 2013 @02:37PM (#6303441)
Damn, you went for the same solution as me. I didn't think anyone else would so obtuse as to use a canvas to access the raw image data.

Here's my equivalent solution:

  var canvas = document.createElement('canvas');
  canvas.height = 1;
  canvas.width = 1;
  var twodctx = canvas.getContext('2d');
  var blockImg = null;
  var qs = document.querySelectorAll('img');
  for (var i = 0; i < qs.length; i++) {
    var img = qs[i];
    twodctx.drawImage(img, 0, 0, 1, 1);
    var imgd = twodctx.getImageData(0,0,1,1);
    if (imgd.data[0] == imgd.data[1] && imgd.data[0] == imgd.data[2] && imgd.data[3] == 255) {
      var badDiv = document.createElement('div');
      badDiv.style.display = 'none';
      document.body.appendChild(badDiv);
      badDiv.appendChild(img.parentNode.removeChild(img));
      break;
    }
  }

Older »