Better HN
topnewbestaskshowjobs
Log inSign up

scarboy

69 karma · joined Jul 19, 2010 (16y ago) · 25 submissions

Submissions

comment 10y ago · link · parent

https://www.foreignlaborcert.doleta.gov/performancedata.cfm on the Disclosure Data tab.

comment 10y ago · link · parent

http://www.giantbomb.com/arrival-by-crash-landing/3015-5658/...

Maybe someone should add Factorio

comment 10y ago · link · parent

The DNS don't change. It looks like you need to visit once every thirty days to stay on a whitelist.

comment 10y ago · link · parent

Go embeds paths to libraries and some temporary paths in it's binaries. Feel free to run strings and possibly find the user's home directory and skip deanonymozation of source code.

comment 11y ago · link · parent

Wow, never thought I'd see slowbeef referred to as a YouTuber.

I helped a bit with his work on Policenauts but we haven't kept in touch since then. Maybe I'll try to get involved in this.

comment 11y ago · link · parent

I'm glad that facebook fixed this solely for the fact that facebook open source software discussions will not be dominated by the contents of the PATENTS file.

comment 11y ago · link · parent

Writing a GC is an iterative process and the Go team are taking the steps to implement a modern GC. You don't work for 2 years and then throw it all in at once.

comment 11y ago · link · parent

I completely agree, I'm just stating the alternative. Sometimes standard freezer ziploc bags aren't even big enough. I was doing a large prime rib a while ago and has to use the larger size freezer bags that aren't normally available at my grocery store. If you used something else you would need a large amount of butter/liquid to get rid of the air.

comment 11y ago · link · parent

You can use mason jars if you are worried about plastic.

comment 11y ago · link · parent

I was looking for the quote and found an old hn post that has the cooking issues link and information: https://news.ycombinator.com/item?id=7631985

comment 12y ago · link · parent

It's no expertsexchange. I wouldn't bother changing it.

comment 12y ago · link · parent

Not sure if it was your intention, but your weekly update case will reset every time there is a manual update. I avoid time.After for recurring tasks in a select loop for this reason.

time.Ticker is great if you want to repeat the task at approximately the same interval. time.Timer is what I use when I want the task to repeat a certain time after the previous task has finished. You can also conveniently use timer.Reset(0) to trigger an immediate tick.

comment 12y ago · link · parent

Go is moving to contiguous stacks in 1.3.

comment 12y ago · link · parent

It's the principal. I live close enough to an airport CBSA office that it just takes an hour of my time and a few emails.

comment 12y ago · link · parent

You can decide to self clear at any point before accepting the package. It doesn't matter if they've made you an invoice or not.

comment 12y ago · link · parent

Next time you get a package from UPS just don't answer the door.

1) Call/Email UPS and request a commercial invoice and the depot the parcel is being held at. If it's not being held at a depot tell them you want to self-clear and for them to hold it. You may have to argue with them for a while to convince them this is a possibility.

2) Go to a CBSA office with the original receipt, commercial invoice and depot location, and pay taxes to get your B15 form. You shouldn't pay taxes on shipping.

3) Call UPS and ask them where you can send the B15 form.

4) Send them the B15 form with your tracking number on it and ask them to release your package.

comment 13y ago · link · parent

net/http/pprof/pprof.go is just some boilerplate around the built in profiling functions. Copy it into your application and use your own init function.

comment 13y ago · link · parent

I like this product, it appeals to a market where there isn't much money to spend and is probably effective.

The consumer air purifier market is a mess. There is so much misinformation and fake reviews out there that it's impossible to make a decision.

Each company runs dozens of smear sites against everyone else. All the Amazon reviews look fake. All the companies seem to have something wrong with them. It got to the point that when I was doing me research I just gave up and decided to not buy anything.

comment 13y ago · link · parent

You should be using map[T]struct{} for sets instead of bool. struct{}s use 0 bytes and there will be no confusion as to what the value is for.

comment 14y ago · link · parent

You can modify the state by using named return values.

  func ContrivedExample() (file *os.File, err error) {
    file, err = os.Open("something.txt")
    defer func() {
      if err = file.Close(); err != nil {
        file = nil
      }
    }()

    return
  }

comment 15y ago · link · parent

These renditions ignore illiterate or lazy shoppers who rely on pictures for their purchasing.

comment 15y ago · link · parent

I've been meaning to learn Prolog since I took an AI course that focused on theorem proving.

I can't help but notice that the webpage looks like one of the awful default Beamer presentation styles.

comment 16y ago · link · parent

I'm so glad I don't need to keep a Windows box around to have a GUI for IDA. Now if only they'd release a new free version that had the GUI.

comment 16y ago · link · parent

This looks like a neat piece of software to put on the web. It is, however, lacking usability. As a student learning digital design, you want circuit diagrams to be clear and results to be easily and quickly visible.

Wires between nodes are laid out automatically and can not be routed on a grid. In a big design (not that this is meant for that) things will get messy quickly.

You have to click simulate to see the results of your circuit. This is annoying. These circuits are simple and the output can easily be detected whenever a change is made.

Another useful feature is the have keys (0-9) mapped to switches. Testing, for instance, a four bit multiplier would be much easier if you don't have to operate the mouse so much.

I hate to recommend another piece of software, but I think the authors can learn a lot from it's features. Atanua (http://sol.gfxile.net/atanua/) is a cross-platform logic simulator that has all of the above features. It was a great tool when I needed to quickly prototype something for a class, and I still recommend it to students in a class I TA. It hasn't been updated in a while, the OSX version has to be run through Rosetta, but I can't see any glaring omissions the author made that would make it unusable.

Finally, it's 2010, this would make an awesome HTML5 app instead of being written in Flash.