HNHacker News
TopNewBestAskShowJobs

cottonseed

2,959 karma · joined August 22, 2011

email: <username first word> dot <username second word> at gmail
submissionscomments
cottonseed··on Ask HN: What is your experience with Scala?
> Scala doesn't have operator precedence rules.

That's not true. The operator precedence is determined by the first character of the operator:

  (all letters)
  |
  ^
  &
  < >
  = !
  :
  + -
  * / %
  (all other special characters)
Precedence is different than associativity.
cottonseed··on Ask HN: Who is hiring? (June 2016)
Strange! I don't remember. Something in Boston.
cottonseed··on Ask HN: Who is hiring? (June 2016)
> just come work with us for a few weeks and we'll figure things out from there!

Interesting idea. How do you recruit people who already have a job but are also open to something new?

cottonseed··on Samsung Demos Its First BGA SSD: 1500 MB/s Read Speed and Tiny Package
I made a Kintex 7 board in my homemade reflow oven and 2/2 worked. I had more trouble with the QFN I used for the core power supply than the FPGA.
cottonseed··on Functional Programming, Abstraction, and Names
> At this point, I didn’t have much else to say.

Maybe because I started studying pure math later in life and I had to be more conscious about it, I have thought a lot about what it means to understand and think well about mathematical concepts. I think the author misses the point of the question, "What is a group, actually?" after giving the formal definition of a group. The student was asking, "How am I to understand groups?" And more generally, understand mathematical concepts. Here are some tools I learned for understanding groups:

- The informal definition. What's a group trying to model?

- The formal definition.

- Standard examples. What's the simplest? What are the "canonical examples"? Mathematicians love this question. See, for example (more links inside):

http://mathoverflow.net/questions/3242/canonical-examples-of...

http://mathoverflow.net/questions/4994/fundamental-examples

- What happens if we remove parts of the definition? Inverses? You get a monoid. Identity, too? A semigroup. What if you add additional properties? You get things like commutative groups, rings, etc. You'll want examples of these other structures, too.

- The motivating history of groups. Who defined them, and why?

- When mathematicians encounter a new object, the their first instinct is to classify it. Can we classify all groups? (No.) Are subclasses of groups that can be classified? Yes! Finite simple groups, finitely generated commutative and Lie groups are all hugely important examples.

- Related to classification, what are the general properties of groups? What can you prove about them? This help develop an intuition for "how they behave".

- The goal of math is to prove theorems. What are groups good for? What can you prove with them? This sets group theory in relation to other mathematical subfields.

- As mathematical objects go, groups are relatively concrete, but for many objects, it can be a challenge to describe actual examples. How do you describe examples of groups? Tables, presentations (generators and relations). When do two presentations describe the same group? (Hard.)

- What constructions exist on groups? Products, quotients, semi-direct (twisted) products, free products, fibered products, etc. Category theory suggests we should study not only groups, but relations between them. Groups form a category. What kind of category? What universal constructions hold in the category of groups?

- What are the kinds of groups? Commutative, finite, finitely generated, Lie, matrix, simple, etc. All the above questions apply again! Canonical examples, history, informal definition, constructions, classifications, categories, etc.

cottonseed··on Ask HN: Oldest code you have written that is still in use?
Where else? :-)
cottonseed··on Ask HN: Oldest code you have written that is still in use?
I wrote the Oracle driver for the AOLserver web server in 1997. Last year I met a guy who worked at Zipcar who said they were still using it.
cottonseed··on Why I don't spend time with Modern C++ anymore
> Today the "Modern Technologist" has to rely on a new set of languages: Verilog, VHDL.

and

> all sorts of reconfigurable hardware are being deployed in the field. Intel is currently shipping Xeon CPUs with embedded FPGAs. IOT is going to become a multi-billion dollar market in the next five years, and it is largely propelled by little $10 FPGAs that will require an astounding amount of qualified technologists to program them.

I can't say I disagree (I wrote arachne-pnr [0] last year to learn about exactly these technologies) but I don't know how many people are going to be developing next generation of high performance systems in VHDL and Verilog compared to modern programming languages. I think there is a huge opportunity for tool development in this space.

[0] https://github.com/cseed/arachne-pnr

cottonseed··on Ask HN: What's the best way to get a good computer science grounding?
There's no shortcut: If you want a solid grounding in CS, you need to study CS. Go through a school curriculum without going to school. Most schools have curricula and program requirements online. MIT OCW is a good place to start. If you need more structure, you can find equivalent courses for free on Coursera, edX, etc. If you want to do this but don't know how to go about it, or want a "solid grounding" but don't quite know what that means or how to go about getting it, start with some of the various "learning how to learn" resources: Cal Newport's blog or books, Barbara Oakley's "Learning How to Learn" Cousera course and book, 5 Elements of Effective Thinking, etc.
cottonseed··on Hiring Is Broken – My interview experience in the tech industry
As someone hiring right now, I feel your pain and, while I hope I compare favorably to the interviews your describe, I wish I was better.

My one piece of advice: read Nick Corcodilos's Reinventing the Interview:

http://www.amazon.com/Ask-Headhunter-Reinventing-Interview-W...

The basic idea is demonstrate you can provide value to the company, and you have the skills to do the job. If you're stuck with a disinterested interviewer asking irrelevant questions, make it about the job you'll do and your ability to succeed in the job. He has concrete suggestions. I say, if they're not open to that and it is clearly not working, tell them you it is not going to work out and stop the interview rather than enduring another miserable experience.

cottonseed··on Aphantasia: How It Feels to Be Blind in Your Mind
Thanks for sharing.

I'm also aphantasic and the fun part of reading this was the differences between our internal experiences. I have a great sense of direction and I love navigating and exploring new places.

I don't really have a mind's ear, either, just the "milk voice" as he calls it, although when I started studying Chinese and learning the tones, I had this crazy experience where I heard a melody in my head for the first time. Now I'd say I have something like a speaker that sometimes plays music, but I can't really control it. (Great, now I can get music stuck in my head.)

I have a similar experience with episodic memory, which is strange, because generally I have a great memory. In high school, I could read a chapter of a book and remember it word for word the next day (but my memory was not photographic!) I've always been deeply unsentimental and, instead of being sad about it, my attitude has always been "destroy the past to create the future."

cottonseed··on Aphantasia: How It Feels to Be Blind in Your Mind
> I can tell you that when I am falling asleep there is a 'switch' that turns on in my brain and all of a sudden whatever I'm thinking about will appear before me in full detail, color, texture as if I were viewing an image of it.

Whoa, cool. Like the author, I rarely remember any dreams (last night, total blank) and they are never visual.

cottonseed··on Aphantasia: How It Feels to Be Blind in Your Mind
I always suspected my internal experience was atypical, but for a long time I just chalked it up to differences in how people talk about it. I realized I was aphantasic by going to a Tibetan buddhist meditation class. It's all about visualization and a few sessions in, I was like, "Wait, do you really see these things in your mind's eye?!" The teacher/monk suggested I try visualizing a stop sign or a white square. Nothing. I sit Vipassana now.
cottonseed··on Inside Pascal: Nvidia 's Newest Computing Platform
I just read that the Xilinx XCVU440 FPGA has >20B transistors, and that's one generation old (20nm, UltraScale+ is on 16nm finfet). Insane.
cottonseed··on Ravens score just as high as big-brained chimps on cognitive tests
AI has reached peak hype. I think it's time to start an uplift breeding program to create intelligent animals. I say we start with ravens or octopuses.
cottonseed··on Ask HN: Who is hiring? (April 2016)
Broad Institute of MIT and Harvard - Cambridge/Boston, MA - ONSITE, VISA

We're a small team of software engineers, mathematicians and computational biologists building scalable tools and methods for analyzing massive genomic data. We're growing and looking to hire a software engineer. We use Scala, Spark and the Apache big data stack, although we'll use whatever technology we need to get the job done. More generally, we're interested in applying machine learning to problems in biology. We organize the Models, Algorithms and Inference seminar at the Broad Institute:

http://www.broadinstitute.org/mia

Roughly we're looking for someone with a solid CS background, at least a few years of experience, a genuine excitement to learn new stuff and bonus if you have a experience with any of: Java/Scala, distributed computing, Spark, biology/genetics, statistics, machine learning.

Interested? Please apply here:

https://recruiting.adp.com/srccar/RTI.home?c=1131007&d=Exter...

Questions? Email me: cseed@broadinstitute.org

I posted before but we were still ramping up our hiring process. If you emailed me and I didn't get back to you, I apologize. We still want to hear from you. Please apply through the link above.

cottonseed··on AlphaGo shows its true strength in 3rd victory against Lee Sedol
The way to find out how strong AlphaGo is is to start giving handicap and see when the game becomes even. A difference in rank of 1 stone corresponds roughly to a 2:1 advantage. It is traditional in long-running matches to increase the handicap by 1 after one player wins three consecutive games. I haven't heard any talk of that here -- I'm sure Lee Sedol wants the chance to beat AlphaGo in an even game -- but it would be interesting. It would also be interesting to see how AG plays when it thinks it is behind.
cottonseed··on Trackers
There are some plugins that do that. Adnauseam clicks on every ad: http://adnauseam.io/, and TrackMeNot continually makes random search engine quieries: http://cs.nyu.edu/trackmenot/.
cottonseed··on Resources for Amateur Compiler Writers
Try ASM:

http://asm.ow2.org/

It is lightweight, well-documented and easy to use. It has an IntelliJ plugin that wills how you the sequence of API calls you'd need to make to create a given compiled Java class.

I still recommend reading the spec. You'll need to understand the JVM execution model and the meaning of the byte codes to successfully target it.

cottonseed··on The Huge, Bee-Decapitating Hornet That Can’t Survive Group Hugs
Same here, and same here.
cottonseed··on The Work of John Milnor, a giant in modern mathematics [pdf]
I like this variant: Complete this sequence: 1, 1, 1, ?, 1, 1, ...

If you said infinity, you're right! Number of exotic differentiable structures on R^n.

https://en.wikipedia.org/wiki/Exotic_R4

cottonseed··on Amazon is doubling down on lobbying
Only $10m? The sadist thing about American politico-capito-corruption is how little the players sold themselves for. Double digits is an great return on money. Lobbying returns 22,000%? [1] Come on, American politicians, you're better than this!

[1] http://www.npr.org/sections/money/2012/01/06/144737864/forge...

cottonseed··on Ask HN: Who is hiring? (February 2016)
Broad Institute of MIT and Harvard - Cambridge/Boston, MA - ONSITE, VISA

We're a small team of software engineers, mathematicians and computational biologists building scalable tools and methods for analyzing massive genomic data. We're growing and looking to hire a software engineer. We use Scala, Spark and the Apache big data stack, although we'll use whatever technology we need to get the job done. More generally, we're interested in applying machine learning to problems in biology. We organize the Models, Algorithms and Inference seminar at the Broad Institute:

http://www.broadinstitute.org/mia

I'm still working to get a formal job listing posted, but roughly we're looking for someone with a solid CS background, at least a few years of experience and bonus if you have a experience with any of: Java/Scala, distributed computing, Spark, biology/genetics, statistics, machine learning.

Interested? Email me: cseed@broadinstitute.org. Start the subject line with HN.

cottonseed··on China wants to become a semiconductor superpower, budgeting $100B to achieve it
Countries with cutting-edge semiconductor manufacturing capability ban export of such technology to China. If I remember correctly, the Netherlands was the main exception and China's manufacturing equipment came from there. I'm surprised the article failed to mention this.

"[T]he home countries of major semicon­ductor companies ban the export of leading-edge manufacturing technologies to China."

http://www.mckinsey.com/client_service/semiconductors/latest...

cottonseed··on Feeding data to 1000 CPUs – comparison of S3, Google, Azure storage
The OP is talking about running $0.027 worth of computation (1000 cores for 10s at 0.01/core/hr) and you think he should spend tens of thousands on hardware?

I'm not doubting a custom build will give him much greater bandwidth. I just doubt the workload has to be "extremely" spiky to make the cloud cost-effective.

Of course, he's going to get billed for 10m or 1hr minimum (Google or Amazon), so that's assuming he can amortize his startup across multiple jobs.

cottonseed··on Feeding data to 1000 CPUs – comparison of S3, Google, Azure storage
Because renting 1000 cores for a limited time is much cheaper than buying them outright?
cottonseed··on Want to Write a Compiler? Read These Two Papers (2008)
Yes. I co-founded a startup building optimizing compilers for high-performance telecommunications processors in the early 2000s (acquired by Intel). In any complex software system, building powerful, composable and modular abstractions is critical for managing complexity. Having many composable passes is exactly that. We were a small team (6 people) and a modular architecture maximized our productivity and made it possible to complete with teams many times our size. We used a unified IR throughout the compiler so it had a consistent semantics, but the IR could support various canonical forms or constraints that were managed explicitly by the compiler. Instruction formation involved three steps: fragment selection by tree covering (think of load with post increment or a SIMD instruction as multiple fragments), grouping of fragments into instructions, and grouping of instructions into issue slots in the scheduler (several of our targets were VLIW). In addition to constraint, we had properties like SSA vs multiple assignment, structured control flow vs basic blocks, certain kinds of cleanup, etc. A pass could declare its requirements (SSA, structured control flow, pre-fragment) and the compiler would check the properties, possibly running passes to create them (e.g. put in SSA form). Having separate cleanup passes meant transformations didn't have to clean up after themselves, often making things vastly simpler. Analysis passes (dataflow, alias analysis, various abstraction interpretations) were independent of the properties because the IR had unified semantics. That said, it is true our compiler didn't have the fastest compile times (multiple times slower than gcc on targets we both supported), but we were a highly optimizing compiler and our generated code was significantly faster than the competing alternatives (if there were any).
cottonseed··on Open Source FPGA Toolchain Builds CPU
Mouser has expected delivery date mid-January.
cottonseed··on Physicists in Europe Find Tantalizing Hints of a New Particle
Yes. The ATLAS Collaboration publications have around 3,000 authors:

http://arxiv.org/find/hep-ex/1/au:+Collaboration_ATLAS/0/1/0...

cottonseed··on Abstract Algebra: The Definition of a Group [video]
Lack of examples? What? Algebra is literally overflowing with examples. Algebraic structures generalize concrete structures you've probably already seen elsewhere in mathematics: from arithmetic, addition and multiplication, as the video explained, from discrete math, you can write down lots of interesting, finite examples, symmetry groups of geometric figures generate lots of interesting finite and infinite (Lie) groups, 1- and 2-dimensional wallpaper patterns are classic examples, etc, etc. In comparison, for example, it's quite non-trivial to describe a single interesting 4-manifold.
← PreviousPage 6 of 18Next →