HNHacker News
TopNewBestAskShowJobs

Psyonic

1,372 karma · joined June 3, 2007

Software engineer working to perfect his craft and improve the world.

psyonic (at) gmail (dot) com

submissionscomments
Psyonic··on Hiring Against Humanity, or How to Wreck a Startup Community
Wow; I hadn't seen this Horowitz post til now. His attitude has no respect for his employee's personal agency at all. Thanks for writing this Bryan. Hopefully this will make a difference.
Psyonic··on Elasticsearch: The Definitive Guide
They are. Filters are going away in 2.0.

https://www.elastic.co/blog/elasticsearch-2.0.0.beta1-coming...

Psyonic··on Boto3 – AWS SDK for Python
Redundancy is not the same as backup. You may not lose files due to machine failure, but a code error, some data scientist deleting the wrong folder, etc, could easily delete the files. Having a backup that isn't automatically tied to the s3 bucket can help prevent catastrophe in these cases.
Psyonic··on Missed call
So this is what people did before Yo...
Psyonic··on Apple Releases new MacBook Pros with Force Touch Trackpad
http://dictionary.reference.com/browse/few?s=t

"not many but more than one."

Psyonic··on Announcing Rust 1.0
Congrats! This is awesome. Been waiting for 1.0 to really start digging into Rust. Now's the time :)
Psyonic··on Ask HN: Java 8 or Scala?
I assume you mean Paul Phillips, the co-founder of typesafe? It's true that he admits scala is too complicated; but it's also true he keeps working in it and himself admits he hasn't found a suitable replacement.
Psyonic··on PyPy.js: A fast, compliant Python implementation for the web
Are you using source maps? If so, you can actually put breakpoints in your other source and Chrome will still break on it. I've even done this with Scalajs.
Psyonic··on Consider Static Typing in Ruby
Scala has a Dynamic type that is used occasionally.

http://www.scala-lang.org/api/current/scala/Dynamic.html

Psyonic··on Nim Programming Language 0.11.0 released
Welcome to the "NodeWebkit" world. Where wanting to open a file bigger than 2MB is considered "unreasonable" and an app taking 200MB of RAM to show a few small files is normal.
Psyonic··on How long since Google said a Google Drive Linux client is coming?
When I was there, that's exactly how it worked. Obviously not the case if you were doing OSX or iPhone dev, but otherwise no code on your laptop.
Psyonic··on Marilyn vos Savant and the Monty Hall Problem
I may be wrong about this, actually. Guess that goes to show you that precise terminology matters here.

This python gist appears to simulate the situation correctly, and shows that it becomes 50/50.

https://gist.github.com/ecdavis/da8f67258860e9f35620

That said, I'm not sure I completely agree with this solution just throwing out cases where he opens the winning door, without replacement. I feel like at this point we're calculating a different problem where we haven't precisely defined what it is we're measuring, so you could tweak things to get either answer.

Psyonic··on Marilyn vos Savant and the Monty Hall Problem
"Hence in the Monte Hall Problem, there is no advantage to switching if Monte selects the unchosen door to open at random, and it happens to be a goat. That situation is consistent with the description, but perhaps not the 'feel' of the game show setup."

This isn't quite right. Obviously if there's a chance Monty might open the car, it screws up the gameshow, but it doesn't actually change the odds in the situation that he opened a door with a goat.

The knowledge in Monte's head doesn't change the odds.

To simulate this properly, you'll need to change the problem statement somewhat... you'll either have to throw out cases where he opened the door with the car, or state the problem such that we're only look at cases where he randomly opened a door with the goat. But you'll still get 2/3.

Psyonic··on How One Stupid Tweet Blew Up Justine Sacco’s Life
It would be a sad world if you needed commercial endorsement to be relevant about anything.
Psyonic··on Borderlands Books is Closing
Ever heard of amazon? Go much over list price and people start buying on amazon while they browse your store. People want to test-drive bikes, and shipping a bike back is a pain. Not really comparable.
Psyonic··on Argentine President Arrest Warrant Discovered at Dead Prosecutor's Home
Mistake? or Advertisement?

Assuming nothing happens to him, he's just broadcasted what happens to those who come after him.

Psyonic··on $2.25 Lyft line rides in SF
Walnut Creek
Psyonic··on Ask HN: Does anyone actually hire from 'developer bootcamps'?
I work at Radius (http://radius.com/) and we've hired a few different bootcamp graduates from HackBright and HackReactor that we're very happy with. We've also turned down quite a few in the interview process though.

Also, my girlfriend teaches at Zipfian Academy (http://www.zipfianacademy.com/), a data science bootcamp, and so far they legitimately have a 100% placement rate. I'm sure they won't keep that up forever, but they do a great job preparing their students. Theirs is a little different, however, as they expect some prior programming and a fair amount of math, so it's fairly difficult to get into.

Psyonic··on Kill the Comments, Save the Girl
This is really sad.

When I was younger, I used to visit slashdot and skip directly to the comments without bothering with the articles. The meta-discussions were generally the most interesting part. Not all sites are youtube.

Psyonic··on CD-Loving Japan Resists Move to Online Music
It's not prevented. You don't even need to go that far -- there are programs that will get the ogg files directly from Spotify. I'm not going to link to them, but I trust you'll find one with sufficient google-fu.
Psyonic··on If I ever design a first course in compilers, I'll do it backwards
Good to see other Utes on here :)
Psyonic··on Scala – A post-functional language (2010)
I assume you were referencing this, but just in case: http://www.scala-lang.org/api/current/index.html#scala.Dynam...

Used quite pleasantly by Rapture JSON: http://rapture.io/jsonSupport

Psyonic··on The optional “else” in Python loops
While in theory this is useful, it's one of the least intuitive parts of python for me. I avoid them whenever possible because I feel "else" conveys the intent very poorly. (And I've been writing python for years.)
Psyonic··on Career Path of a Programmer
If anything, those numbers are low. I don't know a single engineer in SF who makes < 80k, and I know several junior level engineers.
Psyonic··on Fear of Macros
A good example, clojure logging. https://github.com/clojure/tools.logging

They look the same as normal logging function calls, but entirely avoid the issue of "logging guards."

I'll point you at a good link, but basically if you have a lot of calls to logger.debug, logger.trace, etc, and they involve a lot of string conversions, you pay the penalty for those string conversions all the time even when you're logging at warn or higher. This leads many java developers to do the following:

if (LOGGER.isDebugEnabled()) { LOGGER.debug("last node was: " + node); }

... which makes logging significantly heavier visually.

With a macro you are essentially adding syntax, so you can bake the guards into your log statements.

Logging guards: http://www.kdgregory.com/index.php?page=java.logging

Psyonic··on Sugar Love
While you may find it annoying, the upside of this is awareness. More people are aware of gluten intolerance than ever before, and for people with celiac's and serious gluten intolerance, life is now much easier.
Psyonic··on 2+ coinbase accounts hacked, 20k+ stolen, coinbase offers no help
UPDATE: CoinBase eventually concluded that my API key may have been exposed due to a security flaw that they've since patched. They decided to refund me, and my coins have been returned. Thanks CoinBase!
Psyonic··on Dogecoin now accounts for more transactions than any other cryptocurrency
Sure you can start aarondfcoin: http://www.coingen.io/.
Psyonic··on 2+ coinbase accounts hacked, 20k+ stolen, coinbase offers no help
Dude, what are you talking about?

This is an iPhone (non-jailbroken.) Are you saying the official CoinBase app had a trojan? Or Authy, the most widely used 2FA app?

If you're actually curious what I think they should do, we could talk about it, but I don't think you care beyond blaming the victim.

What I don't understand is why you assume I MUST have done something wrong. Do you really think it's impossible that this was a weakness on their end?

If 110 million credit cards can be stolen from Target, maybe it's possible API keys can be stolen from CoinBase?

Psyonic··on 2+ coinbase accounts hacked, 20k+ stolen, coinbase offers no help
Ya that's the biggest issue for me. They have all the evidence. They haven't even given me the IP used to make the transactions.
← PreviousPage 4 of 33Next →