News for hackers. Stuff that matters.

pwf

Re:Better Gaussian Splatting in Julia on Thursday August 13, 2026 @12:31PM (#49288438)
do you know how gaussian splatting works?
Re:Terminating Service for 8Chan on Monday August 05, 2019 @08:16AM (#20613468)
The 'hero' graphic/screenshot says 'Thrusday', heads up: https://standups.io/static/media/app.130e8c9b.jpg
Re:Django Newbie Mistakes on Thursday June 28, 2018 @02:59PM (#17419533)
The stuff we used Go for was the right choice for Go for sure, but I don't think the API would have been any easier in Go (though I haven't used those frameworks before...).

We also could have done Django a lot better. And all of the Celery stuff probably should have been Go, especially with the Cassandra driver we were using. Still, I'm using Django today and as long as you don't abuse the ORM and nested DRF serializers too much, it's very scalable. I think as long as you make separate services in other languages at the right time for the right use cases, it's a very valid choice for rapidly building an API.

50k seems like a low bar to start losing messages at. If this was done with Celery and a decently sized RabbitMQ box, I would expect it to get into the millions before problems started happening.
> Of course you design it in such a way, that you can change one of the inputs, which will by definition invalidate the tokens.

I was looking at using JWT to avoid a database read when authenticating a request, but in order to get some sort of variable per-user value I'd have to hit the database to get it, no? Doesn't that kind of defeat the purpose?

Re:Just press go: designing a self-driving vehicle on Wednesday May 28, 2014 @12:47PM (#7811304)
I use car2go in Austin, and already love the system. A car2go that could drive itself to my door would make my commute perfect.
Re:Just press go: designing a self-driving vehicle on Wednesday May 28, 2014 @12:44PM (#7811274)
I imagine this working a lot like car2go, which I've used to commute in Austin. The cars are rarely at a central depot except for maintenance. They're left wherever you last used them until someone else gets in. This could only be better than that, as users won't have to walk to find one.

There's no reason for the cars to drive back into the city every evening. They could charge themselves while you're at work if they had to charge daily.

Re:How to Write a Spelling Corrector (2007) on Friday March 28, 2014 @11:23AM (#7487801)
That makes sense, thanks!

I should learn to read...

Re:How to Write a Spelling Corrector (2007) on Friday March 28, 2014 @11:15AM (#7487757)
Is there a bug in the train function? Using 'lambda: 1' for the default dict along with '+=' means that the first time a feature is encountered, the value is set to 2.

  In [1]: from collections import defaultdict

  In [2]: d = defaultdict(lambda: 1)

  In [3]: d['foo'] += 1

  In [4]: d['foo']
  Out[4]: 2
A relevant quote from 'Snow Crash':

Gargoyles represent the embarrassing side of the Central Intelligence Corporation. Instead of using laptops, they wear their computers on their bodies, broken up into separate modules that hang on the waist, on the back, on the headset. They serve as human surveillance devices, recording everything that happens around them. Nothing looks stupider; these getups are the modern-day equivalent of the slide-rule scabbard or the calculator pouch on the belt, marking the user as belonging to a class that is at once above and far below human society.

Re:Xbox.com Is Down on Thursday November 21, 2013 @06:36PM (#6778345)
I thought titles were only edited to be less... editorialized.

Who the hell added 'Microscrood'?

Re:Outlook.com DNS records disappeared on Thursday November 21, 2013 @06:20PM (#6778248)
Cmd+shift+4 on a retina MBP. Not sure why it does that...
Re:Outlook.com DNS records disappeared on Thursday November 21, 2013 @06:16PM (#6778228)
I was unable to resolve any hostnames from my Azure machines from 4:20-4:40 Central time. I'm assuming this is all related.

This about sums up how I feel about Azure: http://i.imgur.com/ESakkWk.png

Re:Xbox.com Is Down on Thursday November 21, 2013 @06:11PM (#6778204)
Applications were running, but I couldn't resolve any domains from any of our Azure machines.
Re:KitKat’s primary interface is Google Search on Friday November 01, 2013 @06:24PM (#6656920)
The launcher already was an app, right?
Re:Apple unveils 64-bit iPhone 5S on Tuesday September 10, 2013 @03:24PM (#6362658)
Sorry, it's not scary, and mentioning Guantanamo Bay is extremely paranoid and way out of line. If they're really out to get you they don't need your fingerprint.
Re:Apple unveils 64-bit iPhone 5S on Tuesday September 10, 2013 @02:27PM (#6362052)
Why? What are they going to do with your fingerprint?
You don't have to make a call to register with the tower. I would imagine that sitting directly between two towers would cause lots of renegotiations as one signal gets stronger or weaker.
Re:White House Had Advance Notice on Heathrow Detention on Monday August 19, 2013 @04:24PM (#6239547)
> "the use or threat is designed to influence the government"

So this basically includes all lobbyists?

Re:Why is truth() faster than bool() in Python? on Tuesday August 06, 2013 @04:44PM (#6169042)
For those wondering what the hell truth() is, I think they're talking about this phenomenon:

  python -m timeit "if bool(1): x = 1"
  1000000 loops, best of 3: 0.187 usec per loop

  python -m timeit "if 1: x = 1"
  10000000 loops, best of 3: 0.0266 usec per loop
Re:The San Francisco Rent Explosion on Thursday July 18, 2013 @07:02PM (#6067135)
He's not talking about Leslie (as far as I know): there is another.
Re:Show HN: I made a simple persistent counting API on Monday July 15, 2013 @06:38PM (#6048977)
GET should never modify data. I would recommend changing that to a POST before something indexes it and decides to crawl it every 5 minutes. See here for more reasons: http://stackoverflow.com/questions/705782/why-shouldnt-data-...

I realize this isn't supposed to be highly accurate, but it's something to keep in mind if it continues to grow.

Re:Stop Paying For SSL Certificates You Don't Need on Thursday July 11, 2013 @06:42PM (#6029762)
The only reason I've personally bought an SSL certificate was to make the payments page of my website PCI compliant. Pretty sure this doesn't get me around that.

More people do need to know this kind of stuff though; I'm using it at work to great effect.

Re:Ansible Simply Kicks Ass on Wednesday July 03, 2013 @01:02PM (#5985904)
You can do that with Salt via the Salt Mine: http://docs.saltstack.com/topics/mine/index.html

I haven't used it myself, but I've been reading up on Salt quite a bit in hopes that I can replace Chef with it soon.

Re:Zynga Confirms Xbox Head Don Mattrick As New CEO on Monday July 01, 2013 @05:07PM (#5973556)
Even then I find myself asking how much fun games that EA was heavily involved in were...
Re:Zynga Confirms Xbox Head Don Mattrick As New CEO on Monday July 01, 2013 @04:55PM (#5973491)
What does the head of the Xbox division have to do with the fun factor of the games? I would understand this comment if we were talking about the head of Bioware or Blizzard, but this guy seems pretty far removed the actual games.
Re:Edward Snowden Q&A on Monday June 17, 2013 @03:17PM (#5895285)
"The framing of this is right off the bat aggressive, casting him in the light of a criminal." Ignoring any moral aspects, isn't he technically a criminal? This certainly seems more neutral than your suggestion. Calling him a traitor would be out of line, but I do believe it was against the law to do what he did.

It IS only 'purportedly' him; why do you expect CNN to report what it cannot confirm?

The quotes around 'abusive' are suggestive, but it is also how you indicate that the word came from someone other than the author of the article. If you expect neutrality, expect the writer to segregate their words from their subject's.

Your summary is far more emotionally charged and subjective.

Interesting, I did not know (b). That certainly makes me feel a lot better.

Older »