21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 10y ago · link · parent
This is basically the same as the nightmare scenario anti-2MB people describe with more centralization. By refusing to fix the protocol you are going to end up with a scenario where small players cannot participate in the block chain.
comment 10y ago · link · parent
After learning the keyboard shortcuts for "Jump to Symbol"," Jump to File", and "Jump to Class" my productivity increased maybe 3 fold. Why should I remember where stuff is when the computer can do it for me?
I'd recommend turning off tabs and using split views though. You can get a lot of mileage if you tweak PyCharm (especially for web projects, where the HTML/JS/Typescript integrations help a lot)
comment 10y ago · link · parent
If you're OK with having links to chats instead of the chat text itself, you can click the timestamps in a Slack chat to get a permalink . Sometimes I just copy the entire chat and paste it into Trello.
Which leads to "where". Most things I end up with are small tasks like bugfixes. Actionable tasks for the immediate. As much of that goes into Trello as possible. I'm not afraid of making multi-paragraph cards that copy the chat verbatim either (it's all 1s and 0s, right).
I also do the whole "screenshot" thing too. Take a screenshot and also paste it right into Trello.
Some stuff is important in the immediate but I'll throw away later. Temporary notes for things like user support. I use OS X's Notes app, which is basically notepad with tabs (I would likely use Notepad++ on Windows to accomplish this). It's all temporary notes, but still nice because it doesn't scroll up as other people start talking.
If I have something like a long-term reference, I try really hard to find a good place for it on a case-by-case basis. Usually that involves writing a text file (markdown) and putting it into Dropbox. On OS X I use LightPaper (a great little app), on Android I use Draft[1] (iOS has a thing called Drafts). Both apps are set up to point to the same folder, so I have these references on my phone too.
I also use text files for journaling what I'm trying to accomplish. For example, at work I'm working with a system that will physically mail documents back to me, so I wrote down exactly my operations so that when the docs get back to me I know what I did:
Sent two pdfs (located in Documents) on invoice `weFFEA123231`. One is Letter size instead of A4, another is A3 size.
Also sending Invoice `weFFEA123232` with just the letter-size page(`2015.pdf`).
A "user space unit" in PDF is 1/72nd of an inch.
Sometimes this log dead-ends, most recent entry: For compressor and source maps, thing that's likely needed is to rewrite the JS compressor.
An easy solution would be
-----
I also use my calendar! I'll also just paste random stuff into my calendar for information I'll need at a certain event (for example reservation confirmation numbers).This veered slightly off topic but tl;dr is: Trello for tasks, Notes for temp notes, LightPaper for reference+journaling, Calendar for time-sensitive information.
comment 10y ago · link · parent
I'll avoid saying "You should" beacuse everyone's workflow is different, but:
I like to treat Slack like e-mail. I'm also a fan of GTD(Getting Things Done), and a pretty big part of that (and things like Inbox Zero) is that _you don't leave important stuff in your inbox_.
If there's some info in slack that will be valuable for more than 15 minutes, it's likely that it belongs somewhere else!
When dealing with bugs, I copy the chat (well, a link to the chat) into a card in Trello. Same for basically any request that requires me to do something. I do use Slack reminders for calendar-based events.
I treat Slack like I treat talking to a person in real life. If I don't write it down, I'll likely forget it, so I better write it somewhere (not in Slack) quickly. You can probably accomplish some of this with pins inside Slack, but I've never accomplished it.
I think that this is one of those intractable problems where, because people work differently together and in individual workflows, it's hard to solve the "long-term coordination" problem without bogging down the "short-term coordination" problem.
Anyways, text is forever, but so are newspapers on microfilm. But we still make history books.
comment 10y ago · link · parent
When you're working with business clients who are not technical, a lot of support can come in, even if it's just to help onboarding. In a lot of B2B SAAS, the long term value of each customer means it's totally worth having support staff spend a day helping out.
Here it seems like they were trying the B2B SAAS route, and they decided against it, so are firing basically the team on that.
comment 10y ago · link · parent
And if you can get around the digital signage, you don't need the compromised OS.
Conway's technical interpretation of the Apple deliverables is right. There's a legal precedent which could cause reuse (and is rightly matter for debate/utter refusal of the FBI position), but if you just debate the technical merits Apple has been very misleading about the consequences.
comment 10y ago · link · parent
The gov'ts interpretation is that "If the court issues a search warrant, we can coerce third parties into cooperation." A specific usage of the AWA, which basically says "The courts can coerce people to do things to enforce rulings".
This leads to relatively non-controversial things like asking apartment landlords to open doors to the house.
The controversy here from a legal standpoint is that what's being asked of Apple is too burdensome. I don't really know the constitutional argument against burden (probably the 10th, limiting the power of federal government), but there seems to be some.
comment 10y ago · link · parent
So for example, here you could make a nice little EC2 DSL that would get your stuff (for the actual Haskellers: Free Monad):
spotPrices :: Region -> EC2 [SpotPrice]
spotPrices = GetSpotPrice -- DSL Leaf, executed by runEC2
spotPricesForAllRegions :: [Region] -> EC2 [SpotPrice]
spotPricesForRegions regions =
concat <$> MapM spotPrices regions
Your spot price update function becomes something even simpler now: runEC2 :: EC2 a -> EC2Config -> IO a
runEC2 = stuff -- this is where you call whatever EC2
-- lib is available
updateSpotPriceFile :: [Region] -> IO [SpotPrice]
updateSpotPriceFile regions = do
spotPrices <- runEC2 (spotPricesForAllRegions regions)
(myEC2Configuration)
writeToFile (toJSON spotPrices) "spotprices.json"
return spotPrices
I'm not going to port all of it, but with a more functional version you could avoid having to keep on making EC2 clients all over the place, and you could keep your config in one place.The problem is that it's pretty obtuse if you don't know the right design patterns. There's a myth in FP circles that design patterns are for OOP only ("we have functions, we don't need observer patterns!"), but it's a myth. But if you get good, you can write some pretty concise code + get all the goodies.
Haskell has the whole GHC thing, and also the issue of lack of good library documentation (or lack of libraries on certain stuff)...
comment 10y ago · link · parent
It's reactive, but hey you don't get a ticket for "conspiracy to speed".
There isn't a lot of piercing of the corporate veil happening in gov't agencies though. As in people getting arrested.
But at the same time, if you work at the FBI, want to try something, and your lawyers say it's legal... Should you go to jail? Should the lawyer?
Sending the person in jail doesn't really help much, but forcing the agency to adopt new postures could help more. We could do both as well, but what does throwing the person in jail really accomplish, apart from giving people a sense of vindication?
comment 10y ago · link · parent
If you're a well informed Tor user, you would not expect coverage from the classes of attacks described. The Tor project itself specifically said that Tor does not defend against things like state actors.
comment 10y ago · link · parent
This case is actually super with precedent, if you ignore the digital nature of things. Apple has keys to a safe (digital signage key for iOS updates), FBI has warrant to search safe, court orders keys to safe. Fourth amendment doesn't apply because Apple can't incriminate themselves by giving signage keys.
There is the whole "asking Apple to write the OS changes and sign it", instead of just "Asking Apple for the signing keys." I would call this a compromise ruling to avoid having Apple have to give the actual for real skeleton key.
Asking a judge to not force Apple to surrender the digital signage keys requires more subtle arguments about burden. Asking for any ruling on encryption itself is asking a court to legislate from the bench
comment 10y ago · link · parent
This works pretty well because you're usually close to a station so people wanting to use these facilities don't often require parking.
EDIT: A particularly clean example of this is 2k540 in Okachimachi. A bunch of kinda artsy stores, lots of lighting... kinda feels like a small mall except it's outside.
Some pics : https://www.google.co.jp/search?q=2k540&tbm=isch
comment 10y ago · link · parent
It's the whole "Memory is a process, not a hard drive" thing: Voice recognition as it is today is a slowly evolving graph from input data. You could in theory compress the graph and have it available offline. But it would be hard to chop it up in a way that doesn't completely bust the recognition.
comment 10y ago · link · parent
It was near-impenetrable, but it could have been inevitable if it weren't for the fact that Apple could push OS updates without user consent. They could have made it impossible for anyone to get in even if your pin was 1234, but didn't.
Kind of disappointing given their whole thing about the Secure Enclave. Bunch of big walls in the castle, but they left the servant's door unlocked.
comment 10y ago · link · parent
Expectation of privacy is kind of based around self-incrimination, and you lose a lot of those when you hand information to a third party.
Even if it's "public" (in the legal sense of 'not protected'), Tor can be useful against non-state actors, or against weaker state actors.
I'm not saying there isn't a colloquial expectation of privacy, but that the jurisprudence on privacy doesn't apply to Tor (or at least, that there is an argument that it doesn't).
comment 10y ago · link · parent
The expectation of privacy (at least in the US) is not necessarily about what the users actually think about their level of privacy, but of what a well-informed user might expect.
A well-informed user of Tor knows its handing the exit nodes a lot of information, and thus using Tor makes what you're doing semi-public.
comment 10y ago · link · parent
Many people have planes that fly about, drones or whatnot. So you could expect random members of the public to have ways of taking arial pictures of your house. Therefore those do not violate your right to privacy.
It's very unlikely for a member of the public to own a helicopter with an infrared camera, so using it without a warrant is a violation of privacy.
The basic example used by a court is binoculars. Most people have access to binoculars, and own them. So if you do something next to your window, police can totally look through your windows with binoculars and act on the information.
comment 10y ago · link · parent
Another thing is that Windows would put certain native widgets (like file selection) on a higher priority than other program code. Android, at least, tries to put as much stuff in userspace as possible, so you might be experiencing the reality if everything run at the same priority.
comment 10y ago · link · parent
I think the way to tackle a rust glibc rewrite:
Step 0 - write a code generator that just generates rust code that call the C versions of glibc symbols ( based off of the publicly exposed API in the library files). Get test suite to run
Step 1 - Make that rust code generate a 100% drop-in replacement fro the C symbols (maybe this requires injecting version numbers)
Step 2 - write the `getaddrinfo` replacement in Rust
???
Step 4 - have all of glibc ported
EDIT: Does anyone know of any gotchas with linking that would cause this to happen? Seriously considering taking a day off to do step O.
comment 10y ago · link · parent
By having a device ID check (combined with digital signage), Apple could publicly release the tool without fear of anything happening on any other phone. Plus people couldn't modify it because that would break the signature.
comment 10y ago · link · parent
The answers to these questions has some pretty deceitful phrasing....
>First, the government would have us write an entirely new operating system for their use.
Only "new" in the sense of not being exactly the same as the current one. Implies much more work than we know to be the case.
>Law enforcement agents around the country have already said they have hundreds of iPhones they want Apple to unlock if the FBI wins this case. In the physical world, it would be the equivalent of a master key, capable of opening hundreds of millions of locks.
The master key analogy falls apart because the order specifically calls for making a version that only works on a targeted phone. At best it would be the equivalent of Apple being asked to make many individual keys. Unless, of course, they want to make a version of iOS with the exploit that would work on any iPhone.
> Of course, Apple would do our best to protect that key, but in a world where all of our data is under constant threat, it would be relentlessly attacked by hackers and cybercriminals. A
This is implying hackers could do anything with a version of iOS that is made to only work on one phone. You could absolutely release the update file that the FBI is asking for and have no risk of compromising anything because (again) this is for a specific phone.
>Has Apple unlocked iPhones for law enforcement in the past? >No.
(The answer then proceeds to say "Actually yes we have, just not past iOS 8)
>For devices running the iPhone operating systems prior to iOS 8 and under a lawful court order, we have extracted data from an iPhone.
>We feel strongly that if we were to do what the government has asked of us — to create a backdoor to our products
Using a backdoor already existing in your product...
>One of the strongest suggestions we offered was that they pair the phone to a previously joined network, which would allow them to back up the phone and get the data they are now asking for. Unfortunately, we learned that while the attacker’s iPhone was in FBI custody the Apple ID password associated with the phone was changed. Changing this password meant the phone could no longer access iCloud services.
Seriously FBI?
I know this letter isn't for me. I want to be on Apple's side based off of how they present the case. But if you look at the court order, off of the fact that the FBI got a warrant for a specific device, off of the fact that they're asking for an unlock of a specific phone, off of the fact that its technically feasible to do this without compromising all iPhones thanks to digital signage...
My impression is that Apple's position is that its technically infeasible to make this exploit, which isn't really true.
There's the other "but with this, we'll have to do a bunch of phones" argument... is there a term for being overburdened with writs from the court? What's the constitutional protection against that? That feels like the only valid defence at this point for them (from a legal standpoint)