HNHacker News
TopNewBestAskShowJobs

whatnotests

479 karma · joined June 10, 2015

submissionscomments
whatnotests··on Ask HN: Best one liner to install bash script
try this:

curl https://example.com/file.sh | bash

If your shell script needs sudo access, just:

curl https://example.com/file.sh | sudo bash

whatnotests··on Cicada – Unix shell written in Rust
It's been 16 years.
whatnotests··on Fastly Global Outage
They provide DNS and possibly more for Rubygems.org

Gonna be a bad day for a lot of folks if that goes down too.

whatnotests··on The Bottom 100
The website should fix its rendering so the items at the bottom don't just sit and spin while the items on top are loading.
whatnotests··on Why Are Some Immigrant Groups More Successful Than Others?
Because the other folks living in their new nation of residence are less racist towards them.
whatnotests··on In Towns Already Hit by Factory Closings, a New Casualty: Retail Jobs
When I worked retail (1996-2001) as a manager in an outlet mall, I could afford rent and food, but not much else, and this was in Colorado.

I can't imagine calling retail "middle class" since it pays so little.

whatnotests··on Ask HN: How to prepare for Google/Facebook SRE interviews?
FB has a pre-selected list of questions about netcat, lsof, df, free, lsblk, mount, ifconfig, who, last, ulimit, grep and nohup.

I talked to them twice on two separate occasions, different people and got asked the exact same questions.

This was over one year ago and things may have changed since then.

whatnotests··on 32TB of Windows 10 internal builds, core source code leak online
Links or it didn't happen.
whatnotests··on pREST – A fully RESTful API from any existing PostgreSQL database writting in Go
Yes, I didn't even click the link.
whatnotests··on pREST – A fully RESTful API from any existing PostgreSQL database writting in Go
If you're putting REST in front of your database, you're gonna have a bad time.

Performance suffers, and transactionality is a non-starter.

Best to forego this style and instead go with more of an RPC system.

whatnotests··on An all-in-one beginner's guide to modern React application development
Hey this looks great, and I'd like to read it now, but something is wrong with the scrolling-- I can't make it to the bottom of the first gist on my iPhone 6 / chrome.

Hope to look at this on my laptop later.

whatnotests··on Why Python Is Not My Favorite Language (2016)
Oh wow. FactoryBoy doesn't appear to handle relationships but ModelMommy does.

Thanks for sharing!

whatnotests··on Ask HN: What are the most interesting take home coding challenges you have seen?
My favorite was the Mars Rover challenge.
whatnotests··on Why Python Is Not My Favorite Language (2016)
After starting with about 10 years of Perl, then 6 years of Ruby on Rails, and finally entering the world of Django I see the following problems:

++Lack of Consistency in Project Structure:++

* The Django way of "several applications are in your application" creates many folders, each with either a models/ folder or models.py.

++Django ORM:++

* Writing a model which generates a migration, prefixes table names based on the "sub-application" name in my application is just awful. The default names for these tables is just another layer of cognitive load to bear.

* Implicit relationships between tables, vs allowing me to specify has_one/has_many/belongs_to/has_many_through/etc relationships.

* I miss FactoryGirl. Specifically I miss FactoryGirl's feature of allowing me to declare associations between my factories, then creating upstream objects in the proper order. Without this feature, I get a lot of repeated 'setup' code in my unit tests, which makes my tests brittle, and lowers their value.

++Django Testing:++

* Writing unit tests without the describe/context/it style feels like I just took a bus back to 1998. Combined with the lack of FactoryGirl, I see test suites that barely test the "happy path", let alone any "sad path" cases.

* Due to the brittle boilerplate setup code in unit tests, minor changes to the code tend to break tests badly, further slowing down the pace of development.

* The alternative to constantly fixing broken tests is to have fewer tests (or no tests) which is even worse IMO, since only your customers will test code code.

* The Rails way of writing a migration, making factories, making model specs, then controller specs (and finally features for end-user acceptance tests) seems to have gone completely off into an unknown future from the perspective of Django, who was left behind, frozen in time at the end of Bill Clinton's last term in office.

whatnotests··on Things to know before using AWS’s Elasticsearch Service
Wow WTH Amazon? Take the training wheels off already or fix the defaults for this service.
whatnotests··on How does magma spend its time before it erupts?
Chilling, mostly.
whatnotests··on Get Your First Customer: $1k ARR waiting for a 'medium for academic papers'
Why not just use Medium for academic papers?
whatnotests··on Show HN: Vexlio – Create precise, beautiful diagrams
Looks great.

Is the scripting language in the gif example Ruby?

whatnotests··on 6 Bootstrapping lessons from a 20-year veteran business owner
Some advice like this from the real world would do well to penetrate the virtual world.
whatnotests··on Ask HN: Best way to handle user authentication for a high volume Node.js App
If you're using bcrypt for authenticating passwords, that may end up being the most compuationally-expensive part of your entire application.

Consider running your authentication service as a separate node server so it can scale independent of the rest of your application.

whatnotests··on Do you include the org name in the repository name?
If your org has "docs" for more than one project, then "OrgName/ProjectName-Docs" is fine.

If your org only has one project, then "OrgName/Docs" is great.

whatnotests··on Show HN: Customer service reinvented. Bye bye old tickets
Looks great -

I have questions:

1) I have a 2-person startup and would like to use Scup instead of Olark. How to proceed?

2) I have a 80-200 person company. We use OTRS for customer issues. How to migrate to Scup?

3) I have a SaaS offering. How to integrate it with Scup? (like I can with Slack)

whatnotests··on 10x engineers take long naps
I've always considered the Dunning-Kruger effect from the perspective of "too dumb to know I'm dumb" not "too smart to know I'm smart".

Interesting to think it goes in both directions!

whatnotests··on Show HN: Verifying integrity of a website using the Blockchain and JavaScript
Interesting but I'm curious how this would work for somewhat dynamic websites?
whatnotests··on Individual behavior in clonal fish despite near-identical rearing conditions
A bit corny but worth watching.

Also, (spoiler alert) -- Man in the High Castle.

whatnotests··on Face-detecting systems in China OK payments, open doors, track criminals
> track criminals

No, they track everyone, not just criminals.

whatnotests··on Many Colleges Fail to Improve Critical-Thinking Skills
Do what you're sold^H^H^H^Htold.
whatnotests··on Don't post a GitHub issue unless you have contributed code, or donated $50 cash
Many issues I've submitted are simply bug reports based on my observations during usage.

Simply by saying "hey you may not have noticed X but when you do Y then this happens..." it can help the author(s) know:

* that a problem might exist in the code.

* that there's no problem but the docs made something unclear which led to the problem I reported.

* how others are actually using their software.

These are worth paying for on their own.

whatnotests··on Titanium: Project to prevent criminal use of the dark web and virtual currencies
Will they require some kind of license to purchase and/or sell crypto currency?

This de facto criminalization ad then licensing the privilege (nay right) to utilize these tools is a step in the wrong direction.

whatnotests··on Going for the 5 hour workday
* "Compiling" static assets (CSS/JS) on a JRuby-on-Rails project from 2012.

* docker build -t whatever -f some/Dockerfile .

* aws cloudformation update-stack ...

← PreviousPage 3 of 10Next →