HNHacker News
TopNewBestAskShowJobs

ivirshup

184 karma · joined April 7, 2016

submissionscomments
ivirshup··on Advancing Excel as a programming language [audio]
Were you using excel to translate their data to the map, or some external script to create the file? If it's the latter, why not use a plotting library? If it's the former, how did you acquire this unholy power?
ivirshup··on Interfaces and Protocols in Python
The O'Reilly book cover for Twisted is a tangled ball of snakes. This seemed like an accurate choice from its reputation.
ivirshup··on Calling for benefit–risk evaluations of Covid-19 control measures
I think countries like Australia, New Zealand, China, Taiwan, Singapore, Vietnam, and South Korea show that lockdowns can be very effective at stopping spread. However, I think countries like Germany are currently showing us that just because it’s called a lockdown, doesn’t mean it’s effective. See also, California ending lockdowns while still having a high positivity rate.
ivirshup··on Calling for benefit–risk evaluations of Covid-19 control measures
Sure! Everyone was freaking out on Friday. But then it actually only lasted five days and the state government is taking steps to reduce risks of outbreak from hotel quarantine.

I agree lockdowns are awful. But what if we didn’t do the snap lockdown last week? I don’t think that would be better.

I also disagree with your statement about mental health not being taken seriously. I think it’s difficult to talk about, but I believe mental health resources have been made broadly available. I’m not really sure how much more seriously it can be taken without making mental health checks mandatory.

ivirshup··on Calling for benefit–risk evaluations of Covid-19 control measures
I’m sorry to hear that, that sounds very rough.

It sounds to me like an ineffective broader strategy by your government. I definitely wouldn’t be voting for those people again, and maybe legal action around their incompetence could be an option. I think the examples set by Australia, New Zealand, Taiwan, China, Singapore, Vietnam, and South Korea show that effective responses are possible. Lockdowns were an important part of these responses, but of course a lockdown by itself will not solve the pandemic.

ivirshup··on Calling for benefit–risk evaluations of Covid-19 control measures
I don’t think behavioral psychology counts as politics.
ivirshup··on Calling for benefit–risk evaluations of Covid-19 control measures
Living in Melbourne, Australia, where we went through some pretty brutal lockdowns, I think they’ll be viewed very positively. Life here is pretty normal now (I’m going to a concert with thousands of people this week), and there’s no vaccine resistant “Australian strain”. To me, these are good results from proactive lockdowns.
ivirshup··on Pattern matching accepted for Python
Strong agree that this is hobbled by being a statement.

Pattern matching is great for dispatch and overloading, but because it's a statement there's no way for users to add overloads.

There will have to be some `matches(pattern, object)` function in CPython. Why not make this available to users? Why make patterns syntax, not objects?

ivirshup··on Pattern matching accepted for Python
This is what code review is for though, right? I think any reviewer worth their salt is going to be pretty skeptical about a new language feature being the right way to solve a problem.

New syntax is often a bad idea, but sometimes it's a really good idea. It'd be good to allow experimentation in the wild, and potentially upstream these features later once they've been proved out.

This is why I suggested macros as the feature I'd like to see most in the last python developer survey. Most of the time, defining a macro is bad idea and is a code smell, but sometimes they add very useful language features.

ivirshup··on Software breakthrough radically boosts the speed of nanopore DNA sequencers
Could you share some links on this? I’ve heard talks on using Nanopore for pathogen surveillance, but they were mostly about the ability to spit out reads once you knew what they were. Also, I sit (depending on restriction level) next to a nanopore lab, and they’re pretty consistent about nanopore not being good for single base resolution.

Maybe this could be a case with a lot of amplification, so you have many squiggles to infer a consensus from?

ivirshup··on Software breakthrough radically boosts the speed of nanopore DNA sequencers
Who are the customers here? The waiting list for new nanopore sequencers is quite long at the moment. Our neighboring lab has been waiting on a promethION for about a year, and only just got it because their last one bit the dust putting them on top of the list.
ivirshup··on Software breakthrough radically boosts the speed of nanopore DNA sequencers
Nanopore isn’t great for looking at generic mutation rates (many will be single nucleotide polymorphisms) due to the high error rate. It’s much better at looking for splicing patterns and epigenetic modifications. Splicing patterns could conceivably change due to mutation, but that’d be a pretty dramatic mutation.
ivirshup··on Apple TV Was Making a Show About Gawker. Then Tim Cook Found Out
I saw it more as not wanting to hire/ give royalties to people you don’t like. “These people wronged me, don’t hire them”.

That said, seems morally upright compared to typical stories of blackballing in the entertainment industry.

ivirshup··on R adds native pipe and lambda syntax
I do think Julia is a far better language for numerics than python, but compared to DataFrames.jl, pandas can be quite fast. I know, "but it's easier to make it faster in Julia". Last I checked `sort(df, :col)` was significantly slower than `df[sortperm(df[:col])]`. Someone actually has to go through and make these libraries fast.

Second issue, in my field (bioinformatics) the script is still a pretty common unit of code. Without cached compilation being a simple flag, Julia often is slower.

ivirshup··on SpinLaunch is building a centrifuge to launch satellites into orbit
10,000g sounds pretty rough. Are there any existing electronics that we would expect to survive this?
ivirshup··on Aurora 7 Prototype – 7 Screen Laptop
I think you could safely outlast the battery, but you might lose circulation from the weight.
ivirshup··on Is carbon capture a viable solution?
The countries that I can think of which subsidize oil also produce it. Plus, it's easier to embezzle money than oil – so better to keep that.
ivirshup··on The new pricing model for Travis CI
All OSS projects are supposed to move to the .com domain by the end of the year. They plan to shutdown the .org domain on December 31st.

Source: https://mailchi.mp/3d439eeb1098/travis-ciorg-is-moving-to-tr...

ivirshup··on The new pricing model for Travis CI
Can anyone comment on how these changes are going to impact projects like conda-forge, which use the free compute time to build binaries? My reading is these projects are what's being targeted. Perhaps there are more egregious uses of their servers?
ivirshup··on Array Programming with NumPy
> If you are receiving a grant, you're not being paid to write software

In my (albeit limited) experience, software is a pretty common deliverable from a grant, at least in computational biology. This has also been my experience with more alternative funding sources like CZI and DARPA.

Taken more broadly, I think there is a huge disconnect between what academics are paid to do, and what takes most of their time. Review is unpaid. Grants are not dependent on which journal the results go into, but time could be saved by aiming lower. A salary can be payed from a research grant, while the investigator still has to teach.

ivirshup··on Apple acquires Dark Sky
This was my experience too. Perfect in Boston, recently great in Singapore, pretty much useless in Melbourne.

I’d like to know more about their modeling. How much do they need to specialize on region for accurate prediction or data collection? Are varying prediction qualities based on different climates, or is it from bias in data collection?

ivirshup··on What’s wrong with computational notebooks?
You can get a REPL attached to a notebook in jupyter. When you open a console in jupyter-lab you have the option of attaching it to an already running kernel. Using the notebook interface you can connect a console using `jupyter console --existing`. By default this connects to the most recent session, but you can also specify a session by passing a token.
ivirshup··on U-Haul to Implement Nicotine-Free Hiring Policy
How is this not discriminatory?
ivirshup··on How Untitled Goose Game became a real video game
Funding from the Vic government has made lots of cool indies possible. I'm pretty used to seeing their logo pop up at the beginning of a game now. It's really good to see such a successful arts funding program, and the thriving community that it's helped make in Melbourne.
ivirshup··on Another Book on Data Science – Learn R and Python in Parallel
I love Julia, but feel the interop story could use some work. If I want to have my python package depend on some Julia code, how easy is that? Last time I checked (a few months ago), it was pretty difficult.
ivirshup··on A Taco Truck on Every Corner, or Not?
Funny you should mention Singapore, as the government moved all of the street hawkers to "hawker complexes" and there is a lot of regulation around food hygiene[1].

[1]: http://eresources.nlb.gov.sg/infopedia/articles/SIP_1637_201...

ivirshup··on Apple Insiders Say Nobody Knows What’s Going on with Bloomberg's Hack Story
I don't think China planting malicious hardware is under question, whether Apple was breached is.
ivirshup··on Julia 1.0
That's pretty cool! I never had to much of an issue with the startup time for interactive computing though. It mainly has come up as an issue when I was writing short scripts that could be run a couple dozen times in serial.

The real question is how long does `using Plots` take in v1.0?

ivirshup··on Julia 1.0
I think the main two solutions here are introspection and a little TDD.

`methodswith` tells you all methods that been defined on a type. Since it returns an array of methods you can do some more introspection on that, if you're so inclined.

I've also just written a few test cases using the interface I'd like, then worked on methods until my tests pass (which can be just not throwing MethodErrors).

ivirshup··on Julia 1.0
I do love Julia, but start up and import time can make scripting a little rough. Hopefully PackageCompiler.jl will solve that soon.
← PreviousPage 3 of 4Next →