Hacker Newsnew | past | comments | ask | show | jobs | submit | sargram01's commentslogin

Exactly, one of our teams in China decided to use a popular Chinese web framework, and when the rest of the team out side of China and customers looked at it, the English was grammatically confusing, code had Chinese comments, GitHub was mixed English and Chinese. We ended up replacing the framework for this reason.

Here you can see what looking at issues is like: https://github.com/ant-design/ant-design/issues


I find I spend most of my time debugging R, which is astoundingly difficult since it doesn’t report line numbers on errors. Most of my code is in C++, so that helps, albeit it’s still overly complicated to start up R in gdb. Amazingly Julia isn’t much better when it comes to error reporting either.


  # cat /tmp/test.R
  x <- 1:10
  y <- 1:20
  plot(x, y)

  # R --quiet
  > source("/tmp/test.R")
  Error in xy.coords(x, y, xlabel, ylabel, log) :
    'x' and 'y' lengths differ
  > traceback()
  8: stop("'x' and 'y' lengths differ")
  7: xy.coords(x, y, xlabel, ylabel, log)
  6: plot.default(x, y)
  5: plot(x, y) at test.R#3
  4: eval(ei, envir)
  3: eval(ei, envir)
  2: withVisible(eval(ei, envir))
  1: source("/tmp/test.R")
If you mean the lines in the packages you used, I think you'll see the lines if you build them with keep.source=TRUE


It's so crazy easy to start R in gdb:

  R -d gdb
that's it!


You might find this package useful https://github.com/robertzk/bettertrace


  options(error=recover)


All the design brief said was get started anything beyond that is a change request


It’s figurative, but unfortunately people do kill Buddhas, and continue to try and do so today. From physically attacking them, to poisonings, little has changed in 2000 years.


Yeah exactly, I think a small percentage of people do and they lead the innovation. The overwhelming majority don’t understand even the most basic reasoning behind almost anything since they never rest and reflect on what they’re doing, but follow the buzz as a career path — which works to a degree better than if they were coming up with their own ideas at least.

I have a client that I tell folks frequently they need to rest and reflect in order to improve their leverage and understanding how to better manage their growth, since they’re just exhausted and do stupid stuff all the time as a result. So the simplest observations I offer they think I’m a genius for.


> Unexpected issues – in addition to routine suffering, long distance live transport can also result in fires, delays or sinking of livestock ships causing the suffering and death of large numbers of animals.

Apparently sinking ships with live stock is not uncommon?


Has anyone ever been able to make a reservation on that site? Anytime I look at locations they’re either closed, or booked, or you have to plan a half year in advance.


The popular sites are booked within minutes of opening up. [Thus the complaints about bots.] That said, many of these sites have a limited number of spots reserved for walk-ins. So, have a couple of back up options if you're going to try your luck at a popular site.

Sites that don't have electric or water hookups may be easier to get since they're less popular with RVs. And the folks with RVs are experts at campsite reservation.

That said, go off the beaten path. Less people make for a more enjoyable experience. Some of my best car camping experiences have been on the side of a forest service road, especially one accessible only with a high clearance 4x4.

Sites that are accessible only by foot, even a half a mile in, are usually not that crowded. But you'd have to backpack in everything you'd need for the stay.


As long as you don’t have more than one person picking up produce from a bin at the same time you can just measure the change in weight from the bin it’s taken out of. That has to be super cheap technology at this point.


Seems complicated. Even if you're resetting tare on the bin regularly, fruits and vegetables can have significant changes in weight due to dehydration, and most markets are doing things like misting chilled produce with water, which will introduce constant and somewhat unpredictable changes in bin weight.


The tare would be reset each time a customer picks something up. The total bin weight doesn’t matter, just the delta between before and after the computer vision system identifies that a customer removed some of the bin’s contents.


>The tare would be reset each time a customer picks something up.

This would run afoul of commerce laws in pretty much every US state. Tare must be set from zero, not relative to whatever happens to be on the scale, and certainly not on the fly.


Interesting, at my Trader Joe’s they always ask, and when I do say I couldn’t find something they just shrug and apologize. Ironically this is the TJ’s up the hill from the new Go store mentioned.


So when does Yelp see spikes in traffic needing a custom Autoscaler? I guess just the daily time zone based sine wave type load?


I guess there are also spiky offline jobs, like Apache spark as mentioned on the article. Likely for things like search indexing, training ML models, etc.


Usually around dinner time in our big metro areas :)


That makes sense, do you have any annual spikes too? Like Uber has Halloween, which I wouldn’t have guessed as being the worst.


Mother's Day was a surprising one for me! A lot of people take their parents out for brunch. Same goes for Valentine's Day.


Not everyone does, the UnrealEngine doesn’t for example, you can see project code words in the commit history.


Not as sensitive as accidentally dropping information about your internal network. then take the long-troll method of infiltrating an upstream provider to attack a juicy target (build system of fortune 500? yes please)

or maybe catching wind of some dev keys that really are root keys..

many reasons to sanitize git history before open sourcing. in fact many organizations i have worked with still maintain two separate repos, one internal and one open source using fancy magic (either with git or with additional tools) to sanitize and sync commits between the two. i've seen code commits to a large organization that are then packaged up and inspected for license and security violations in an untrusted environment.. many reasons to keep two (or more) running copies


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: