HN user

skept

272 karma
Posts20
Comments21
View on HN
www.sciencemag.org 5y ago

Further evidence supports claim: SARS-CoV-2 genes can integrate with human DNA

skept
11pts7
www.usatoday.com 5y ago

New York launches nation's first 'vaccine passports'

skept
7pts0
www.statesman.com 5y ago

'Economic disaster': Samsung's Austin fab still quiet 3 weeks after Texas freeze

skept
15pts3
www.kxan.com 5y ago

After years of work and $3M spent, Austin pulls plug on new website effort

skept
4pts1
htmx.org 5y ago

Htmx 1.0.0 Release

skept
107pts58
www.theverge.com 6y ago

Tesla will build Cybertruck factory in Austin, Texas

skept
1pts0
medium.com 6y ago

Making a Case: Rust for Python Developers

skept
1pts0
www.currentaffairs.org 7y ago

The World's Most Annoying Man

skept
2pts0
www.reuters.com 7y ago

A climate problem even California can't fix: tailpipe pollution

skept
1pts0
neurosciencenews.com 7y ago

Researchers Create New Font That Helps Boost Memory

skept
1pts0
www.aeracode.org 9y ago

Towards (Django) Channels 2.0

skept
3pts0
nytimes.com 9y ago

Obama’s Secret to Surviving the White House Years: Books

skept
3pts0
www.scala-js.org 10y ago

Announcing Scala.js 0.6.6

skept
1pts0
techportal.inviqa.com 12y ago

Graphs in the database: SQL meets social networks

skept
6pts0
stackful-dev.com 13y ago

Cuisine: the Lightweight Chef/Puppet Alternative

skept
3pts0
www.anandtech.com 13y ago

AMD Will Build 64-bit ARM based Opteron CPUs for Servers, Production in 2014

skept
124pts35
www.pcmag.com 14y ago

Flickr Getting New Look, HTML5 Uploader

skept
1pts0
www.bbc.co.uk 14y ago

Apple surpasses Exxon to become most valuable US firm

skept
3pts0
www.appleinsider.com 14y ago

Apple hit with lawsuit over over quick-boot patent first owned by LG

skept
1pts0
www.bbc.co.uk 15y ago

Cuba launches online encyclopaedia similar to Wikipedia

skept
2pts0
Signal Is Back 6 years ago

If you're still having delivery issues in any of your private conversations try "reset secure session" from the chat menu. It worked for me with a couple of my contacts.

I had a very similar experience last month. I ordered this toaster[1]. When I received it I noticed that in their user manual they were offering a "gift" in return for an Amazon review. Although to be fair they didn't explicitly demand that the review had to be positive. I submitted this 4-star review [2] to Amazon:

I received the toaster not too long ago. It looks just like in the advertised pictures and works fine. But the language on the last page of the user manual (see picture) makes it clear that LOFTER is offering customers a "gift" in return for leaving a review. Perhaps they're within their right to do that but it makes me not trust the rest of the reviews on this product.

A few days later I got an email from Amazon identical to the one in the submitted blog post[3]. I've stopped trusting positive reviews on Amazon. These days I only look at the negative reviews to see if there's a consistent complaint about the product.

[1] www.amazon.com/dp/B07S3TXD9H/ [2] https://cutt.ly/lhLZQ5o [3] https://cutt.ly/JhLZTjZ

For a basic company wiki Nuclino is another option. It doesn't have all the features Notion does, but I loved the incredibly fast page loads and search. Notion feels pretty sluggish by comparison.

Me too. I've seen it happen on more than a couple of occasions while visiting Trello.com and YouTube.com. Firefox isn't my primary browser, partly for this reason.

MBP 2013 with integrated graphics, running Mojave and the latest stable public release of Firefox. I haven't messed with about:config.

Rust 1.37.0 7 years ago

Python is over 20 years old and got async/await only 4 years ago. I think most people would still consider Python a fairly stable language.

Dynamic power is quadratic with voltage and is work-load dependent, i.e P = c * AC capacitance * Freq * V^2. Static (i.e. leakage) power has an exponential component (P = AVe^(k*V)), although k is typically pretty small. I'm not sure about the static vs. dynamic power breakdown of Apple's designs.

On OSX you can use Cmd+` to switch between the windows of the active app. The Cmd+Tab behavior on OSX was annoying to me too when I first started using a Mac but now that I'm used to the Cmd+Tab and Cmd+` combo I actually prefer it to the way Alt+Tab works in Windows.

Django Advice 15 years ago

Thanks for that tip. What I'm really curious about though is if there's a way to set PyCharm's Python interpreter to something not on the local host (e.g. the Python interpreter on the Vagrant VM). I'd be surprised if this turned out to be possible but thought it wouldn't hurt to ask.

Edit: I just found out about the remote debugging feature in PyCharm which may actually do what I want:

http://blogs.jetbrains.com/pycharm/2010/12/python-remote-deb...

Django Advice 15 years ago

Vagrant looks very interesting. For writing code I prefer Vim but I also use PyCharm on OSX mainly for its excellent debugger and code browser. Does anyone know if there's a way to get PyCharm or perhaps other IDEs (running on OSX) to run the Django dev server through Vagrant?

There's a nice NumPy-based Python package called Tabular (http://www.parsemydata.com/tabular/index.html) that makes this super easy:

  import numpy as np
  import tabular
  
  # CSV with Region, City and Sales columns
  data = tabular.tabarray(SVfile = 'data.csv')
  
  # Calculate the total sales within each region
  summary = data.aggregate(On = ['Region'], AggFuncDict = {'Sales':np.sum}, AggFunc = len)
  summary.saveSV('summary.csv')

For serious data analysis and CSV manipulation work in Python another library to check out is Tabular:

http://www.parsemydata.com/tabular/

It's built on top of Numpy so it's very fast and plays well with the rest of the Numpy/Scipy ecosystem. I've been using it daily for the last couple of weeks on relatively large data sets (>300MB) and have been very pleased with how elegantly and efficiently it handles things like pivot, join and aggregation.