Earlier quoted context omitted.
There's definitely the overhead in re-loading where you were yesterday, although sometimes that's handy - "sleeping on it" does work. I find (in any work, not just the rare C work) that when I get into a juicy problem I just don't want to stop. It's nothing to do with the task switching / reload cost, it's that I'm interested in what I'm doing. So I think you're right that it's about what kind of developers a languag…
I started leaving my laptop hibernated with visual studio or gdb stuck at the break point where I was off. The feature to anottate variables and pin them also helps for when somebody bothers you mid debug session.
What programming languages are used late at night?
191–200 of 244 posts
Re: What programming languages are used late at night?
#192Earlier quoted context omitted.
I have a big distaste for bash, and am happy to copy paste anything similar from stackoverflow. Shame on me though!
My biggest concern with this is that there are a lot of really terrible bash script writers out there on the internet, and the quality of code between two different answers will vary wildly. I'm not going to claim to be a great bash script writer, but I'm better than 80% of what I see out there. Throwing together random fragments is going to cause nearly as many problems as it's meant to solve.
Re: What programming languages are used late at night?
#193Earlier quoted context omitted.
There have been a bunch of 20% projects; but only recently have they started any full-time Haskell work, as far as I know.
One of the biggest(.) Google projects with Haskell is probably Ganeti ( https://github.com/ganeti/ganeti ), which is a mix of python and Haskell and has been around since 2008ish (although Haskell was introduced later, iirc). We recently moved our main development to github so the repo seems a bit empty, we're certainly happy to get more contributors if you are interested, as the community is fairly small and special…
Is Ganeti related to Ganpati? Sorry, it's been a bit since I left Google. Memory is fading.
Re: What programming languages are used late at night?
#194C programmers start the day a bit later, keep using the language in the evening, and stay up the longest. This suggests C may be particularly popular among hobbyist programmers who code during their free time (or perhaps among summer school students doing homework). ... or they're the only ones stuck down a rabbit hole chasing some obscure memory leak that keeps bugging them until late in the evening.
Memory unsafety is terrifying, but not much of a time-sink in ordinary development. Only once in my career have I found a memory bug that was difficult to track down and fix (it was a stack overflow in a C++ program on an embedded OS).
The real problem with memory unsafety is that I nave no idea how many memory bugs I didn't find.
Valgrind a lot both with finding and diagnosing memory bugs. But it cannot solve everything.
Re: What programming languages are used late at night?
#195C programmers start the day a bit later, keep using the language in the evening, and stay up the longest. This suggests C may be particularly popular among hobbyist programmers who code during their free time (or perhaps among summer school students doing homework). ... or they're the only ones stuck down a rabbit hole chasing some obscure memory leak that keeps bugging them until late in the evening.
Every one of my worst-bug-ever stories starts with something stupid I did in C.
Re: What programming languages are used late at night?
#196Re: What programming languages are used late at night?
#197Otherwise written as "what programming languages are being asked about late at night." To me, who rarely pulls up SO, correlating SO questions and page views with usage is a bit biased.
Whoah! The big news for me is that there is a programmer who rarely uses SO. I use it constantly. Can you say more about: 1. What your programming set up is. 2. What you do when there is an issue? I didn't know there was a reasonable alternative. I do the Google -> SO a lot. The only time Google brings up a different page is if the question is REALLY basic like how to use a function. Edit: added this postscript: I ha…
For stuff like "are there optional parameters in .len()?", I always keep a tab or two on both the documentation of the language and the library I'm using at the moment. I really like how some languages come with specific tools for documentation (ri in Ruby, the `doc` function in Clojure) and I try to use them as much as I can when available.
Re: What programming languages are used late at night?
#198Earlier quoted context omitted.
One of the biggest(.) Google projects with Haskell is probably Ganeti ( https://github.com/ganeti/ganeti ), which is a mix of python and Haskell and has been around since 2008ish (although Haskell was introduced later, iirc). We recently moved our main development to github so the repo seems a bit empty, we're certainly happy to get more contributors if you are interested, as the community is fairly small and special…
I helped out a bit with the BCL pretty-printer in my day. (Mostly contributed in-depth code reviews.) Is Ganeti related to Ganpati? Sorry, it's been a bit since I left Google. Memory is fading.
Re: What programming languages are used late at night?
#199Earlier quoted context omitted.
The big problem I've had with Haskell is that even after gaining a pretty good understanding of the language (including monads and such) I still can't fathom how to do anything real with it. Exercises are great and all, but once I try to go past exercises, I start getting lost in layers of monad transformers, and I struggle to figure out the "right" way to do anything. It just feels like there are all these layers of…
Bonsoir, allow me to introduce Servant. http://haskell-servant.readthedocs.io/en/stable/index.html Servant allows you to write a type that describes a server/API, and automatically derives a specification for it. You can then write handlers for the different API endpoints, and it will only compile if every endpoint is correctly handled. That includes content types, status codes, and so on, everything is verified, and…
> This is equivalent to an API that defines these three endpoints:
It would be cool to use the text that follows this as the spec; i.e. write a converter from this description to Haskell.
> GET /position/:x/:y/ returns a Position object as JSON
Re: What programming languages are used late at night?
#200Earlier quoted context omitted.
I also don't use SO that much, I never have. Maybe I google a few things once in a while and sometimes I stumble upon a StackOverflow page, but never to actually solve errors. It's usually to get a bit more insight out of curiosity. Professionally, I work at Google and internally we have an extensive corpus of knowledge for various problems and programming patterns that really are tied to in-house technologies that d…
> I look at the logs, look at the code... This bears repeating. READ \ clap\ THE \ clap\ FUCK- \ clap\ -ING \ clap\ LOGS. READ \ clap\ THE \ clap\ FUCK- \ clap\ -ING \ clap\ CODE. I'm amazed at the devs who just scroll up in the logs to the first error they see, then copy-paste that into google or SO.