News for hackers. Stuff that matters.

mhansen

Re:Profilerpedia: A Map of the Software Profiling Ecosystem on Friday October 08, 2021 @09:19PM (#28806135)
Thanks, I've gone through and added these HPC tools to the spreadsheet.

FYI I'd consider py-spy for profiling Python+C extensions: https://github.com/benfred/py-spy#can-py-spy-profile-native-...

Re:Profilerpedia: A Map of the Software Profiling Ecosystem on Tuesday October 05, 2021 @05:19AM (#28757048)
Author here; thanks for sharing, the HPC world is a real blindspot for me and I think we're probably missing some of their insights when profiling regular applications. I'll research these and add them to the database
Re:Profilerpedia: A Map of the Software Profiling Ecosystem on Tuesday October 05, 2021 @05:18AM (#28757042)
Author here. You're probably already aware of this, but you can convert the `perf record` format to a format Clang understands: https://clang.llvm.org/docs/UsersManual.html#using-sampling-...

I expect the problem is somewhat political; profiler and compiler teams release different features, at different frequencies and don't want to be tied together.

Re:Profilerpedia: A Map of the Software Profiling Ecosystem on Tuesday October 05, 2021 @05:17AM (#28757028)
Author here. Yeah, Chrome Trace Format + Perfetto is great and so easy to output. Anyone wanting to trace software could get some very quick wins by outputting Chrome Trace Format.

For converters, I'm trying to map those too, here's the tab of the spreadsheet tracking converters: https://docs.google.com/spreadsheets/d/1cVcHofphkQqk1yGeuBPV...

Re:In 5 Minutes, He Lets the Blind See on Sunday November 08, 2015 @02:46AM (#10527875)
Re:Gender Bias 101 For Mathematicians on Sunday February 10, 2013 @05:51AM (#5196044)
You might be interested that this is such a common way to derail conversations about privilege that it's made part of 'Derailing for Dummies'.

http://birdofparadox.wordpress.com/derailing-for-dummies-goo...

Re:Mars 360-degree panoramic view from Curiosity on Friday August 10, 2012 @01:48AM (#4365089)
Have a look in Google Earth. It has street view from generations of rovers ;)
Re:Yes, I was hacked. Hard. on Saturday August 04, 2012 @05:56AM (#4338084)
Re:Treating JavaScript like a 30 year old language on Wednesday July 04, 2012 @11:49PM (#4201667)
Nowhere are abbreviations forbidden by the Google Style Guide.
Re:Yeoman.io - Quickly build beautiful web applications on Thursday June 28, 2012 @06:30AM (#4170979)
Yeoman was launched today at Google IO.
Re:Blazing fast node.js: performance tips from LinkedIn on Monday June 25, 2012 @07:42AM (#4156039)
Yes.
Re:Bacon Ipsum, because Unicode is hard on Monday June 25, 2012 @04:23AM (#4155605)
Feature request: RTL. :)
Re:AngularJS 1.0 released on Friday June 15, 2012 @03:19AM (#4115447)
Angular doesn't include JSON parsing any more.
Re:AngularJS 1.0 released on Thursday June 14, 2012 @10:38PM (#4114684)
Sorry, what I meant is that when the application rerenders (digesting changes that have been made) it will re-evaluate the function to check if the result has changed.

Polling the function for changes, contrast with how e.g. knockout.js pushes changes. (I could be wrong, please let me know if my understanding's not reality)

Re:AngularJS 1.0 released on Thursday June 14, 2012 @09:02PM (#4114418)
Yes, it polls. Most functions are quite fast, and fine to just poll, and it's quite convenient to be able to bind to functions when needed.

But it's all tradeoffs - in our app we have a few that aren't - for those, we profiled to find them, and added a bit of code to the functions to cache the return value.

Re:AngularJS 1.0 released on Thursday June 14, 2012 @08:58PM (#4114410)
[Googler here]

There's little overlap between Closure Library and Angular.

Closure Library is a grab bag library full of useful functions that you can pick and choose from and integrate into your own code. Kind of like a standard library.

Angular is a client-side MVC framework that gives you two-way databinding and custom views and dependency injection.

Indeed, in our angular project, we use both - Closure Library for useful functions and advanced compilations, and angular for MVC.

Re:AngularJS 1.0 released on Thursday June 14, 2012 @08:54PM (#4114398)
Angular's agnostic to which testing framework you use. We test our angular app with a headless v8 running http://code.google.com/p/google-js-test/.
Re:AngularJS 1.0 released on Thursday June 14, 2012 @08:52PM (#4114391)
I work at Google, but not on the Angular team. Our team has deployed angular.js: places.google.com/manage. Angular's also used extensively in internal projects.
Override Backbone.Sync, and you should be sweet.
Re:Fish: Finally, a command line shell for the 90s on Wednesday June 06, 2012 @07:25AM (#4073215)
I use fish (http://fishshell.com/), and it's amazing. However, they're missing the most important feature from their front page: Syntax highlighting!

Valid executables are colored green, as you type. Invalid commands are red, as you type. Valid files are underlined, as you type.

Like the carpenter who can feels the feedback of the grain of the wood through the handle of his plane can adjust his technique as he planes, fish shell lets me 'feel' the programs and files I'm working with through the shell.

And that makes me happy.

Re:RJSON: compress JSON to JSON on Tuesday June 05, 2012 @09:34AM (#4068546)
I don't believe that browsers let uploads be gzipped, as it can't be sure that the server supports gzipped requests.
Re:Python vs. Processing as a First Language on Sunday May 20, 2012 @11:17PM (#4001095)
pygame works well for this.
Re:Firefox 15 now supports in-content preferences on Friday May 11, 2012 @10:15AM (#3959256)
I daresay by now users are more familiar with web-based UI paradigms than traditional OS paradigms.

I think they'd spend more time interacting with web-based applications than traditional OS applications.

If that's the case, then Firefox is actually adapting to people's expectation of the UI.

Re:Firefox 15 now supports in-content preferences on Friday May 11, 2012 @09:44AM (#3959128)
It makes it easier for contributors to hack on if the code is HTML/JS/CSS.

It'll let them iterate faster - just change code and reload. No recompilation needed.

Re:Log Everything as JSON. Make Your Life Easier. on Monday April 30, 2012 @06:39AM (#3908685)
Thanks for the very enlightening reply. :)
Re:Log Everything as JSON. Make Your Life Easier. on Friday April 27, 2012 @06:13AM (#3898374)
I like jsonpipe better - then you don't have to remember all the command line flags, and you can compose pipes with your familiar unix tools.

https://github.com/dvxhouse/jsonpipe

  $ echo '{"a": 1, "b": 2}' | jsonpipe
  /   {}
  /a  1
  /b  2
  $ echo '["foo", "bar", "baz"]' | jsonpipe
  /   []
  /0  "foo"
  /1  "bar"
  /2  "baz"
Re:Modern Web Development on Monday April 23, 2012 @11:11PM (#3882242)

  Android, instead of making the web a first-class citizen,
  has in fact set the mobile web back by years.
I don't know how you can come to this conclusion. Android has made an excellent mobile web browser available to over a quarter of a billion people.

And how is the web not first-class? Google even started Web Intents to interoperate web apps with native apps.

Re:Modern Web Development on Monday April 23, 2012 @10:21PM (#3882119)
They're reimplementing it because Firebug is an unmaintained mess.
Re:Learn to read the source, Luke on Monday April 16, 2012 @08:57PM (#3850390)
Windows Research Kernel. It's an almost-complete source code of Windows ~2003. There's a few omissions, like the TCP/IP stack.

https://www.facultyresourcecenter.com/curriculum/pfv.aspx?ID...

Re:Show HN: Meteor, a realtime JavaScript framework on Tuesday April 10, 2012 @09:14PM (#3825417)
It would be more helpful for people reading this comment if you gave reasons beyond "It's taboo".

I'm sure you have good reasons, I just can't see them here.

Older »