News for hackers. Stuff that matters.

grault

Re:Answers from 2017 Common Lisp experts on Tuesday August 22, 2017 @07:41AM (#15071412)
You don't have to reinvent a thing, just use some ffi (foreign function interface) implementation and call into whatever you want.
Re:My biggest mistake as an F1 engineer on Thursday June 22, 2017 @07:43AM (#14611508)
Iinteresting.. Lynx/Curl gave me the page straight away, Chrome though keeps redirecting me to the "register or login" page.

edit --

It's some Javascript based redirect, I can see this in curl: ... "baseRedirect":"https://www.linkedin.com/uas/login?session_redirect="}--> ...

I'm not investigating further.

Re:My biggest mistake as an F1 engineer on Thursday June 22, 2017 @07:33AM (#14611454)
Linkedin demanded me to log in to read.. I'd be happy to read this w/o logging in / registering. Are you aware of a non-Linkedin link?
Wrt search, I guess it's seen as an orthogonal problem and meant to be dealt with by indexing / search services..
Re:Show HN: Skov – A visual programming environment on Saturday December 03, 2016 @05:37AM (#13095217)
I'd expect to see something like this in the FAQ section: How is it possible to diff/merge Skov program soucre trees?

Just asking, it's definitely possible. I used to work at a CAD company, they did some dev work to do these with building models...

I'd be in favor of having some standard "code review markup language", which could contain review comments and workflows. Then you would be able to put these in files and make those files part of your repository (ie commit/push).

Then, you could build various frontends to handle these in a user friendly way if you like. But also, would be accessible and editable in your favorite text editor.

Re:A Taste of Haskell on Tuesday October 25, 2016 @07:35AM (#12786990)
Re:Vim Anti-Patterns on Wednesday October 05, 2016 @02:00PM (#12646186)
Personally, I NOP-ed all arrow keys _and_ hjkl also, after I found myself keeping j pressed to get to an area at the bottom of the window. Which would be an L. Then NOP-ed, bit by bit, many other things which could be done faster. 90% of my movements are search, BWtf{} and some scrolling with zt zz zb. The only case I found the lack of hjkl problematic so far is in block visual mode.

Another anti-pattern I did was Da and dWi, NOP-ed them and forced myself to start using C and cW respectively. Not much of an achievement, but feels better :) Same for x, I deleted whole words with x, then pressed i, I removed the mapping of x.

Conclusion: in case you think you have an anti-pattern, just NOP the mappings. In case one or two turns out to be too much of restriction, you could always remove the NOP mapping later.

Re:Vim Anti-Patterns on Wednesday October 05, 2016 @01:41PM (#12645987)
I started combining {} with zt zz zb. I feel like it mimics physical handling of a scroll. This requires some empty lines though. In case I work with dense text, I usually switch to H/M/L also (combined with zt zz zb).

I have to mention that for navigation purposes, f/F is only useful with ;, otherwise you could find yourself looking through the line for a suitable character which slows you down. With ; it's enough to pick a "rare" character on the line which is near to/in the desired object.

Next to c2f, ci" (and ci) etc) could be really useful when you end up being in the middle of a string literal and just want to change the whole thing. Or in the middle of an expression in parens - http://fuckyeahvim.tumblr.com/image/122373002741

Re:Vim Anti-Patterns on Wednesday October 05, 2016 @01:19PM (#12645787)
ct" or even ci" (or ci) ci] etc) is really useful to reset the inner contents of text delimited by ")] etc.. I use these a lot - http://fuckyeahvim.tumblr.com/image/122372862496
Re:FastMail app for iOS and Android now available on Wednesday November 12, 2014 @04:04AM (#8594591)
In FastMail you could already search based on some of the email headers, like from:thatpurplecompany.com (or has:attachment, https://www.fastmail.fm/help/receive/search.html) and then you could save the search.. It's visually not that rich, but it solves your problem.

Tagging (for me) is more about ad-hoc grouping. As giving it a thought right now it's even hard for me to come up with a realistic use case.

Re:Freelance or job? on Thursday February 27, 2014 @06:58AM (#7311683)
Me too.
I've been using it for 1.5 yrs now, they're pretty good. Switched from Gmail. They don't have a calendar yet (it's on their stack though).
Re:Kofi Annan: Stop 'war on drugs' on Wednesday November 06, 2013 @12:19PM (#6683806)
Makes sense. It could be difficult to raise money for prevention and rehabilitation purposes from the tax approach. Although maybe wealthy recreational users would happily "fund" the education / rehabilitation of the poor. Or maybe I'm just completely wrong here :D

I agree with the other points you've discussed.

Re:Kofi Annan: Stop 'war on drugs' on Wednesday November 06, 2013 @11:11AM (#6683380)
My idea would be: make them legal, tax them high (or make them accessible only after certain educational exams), from that money educate people, help them recovering. Teach them basic game theory and the term what trap is, what is it like to be the frog in the boiling water, etc.

I'm confident I missed many aspects here, although really interested in: What are the problems with this model?

The article is accessible without registration: http://www.cs.kent.edu/~jmaletic/papers/ICPC2010-CamelCaseUn...
Re:Git is Not a New Subversion on Thursday October 17, 2013 @11:59AM (#6566208)
I'm still interested in something which tracks "moves" well. Moving a big block of text/code into a different file is still lacks the easy-to-see guarantee that the disappearing and appearing two blocks are the same. Do you know any techniques for this?
Re:Cockroach farms multiplying in China on Wednesday October 16, 2013 @02:47AM (#6558364)
Maybe the bid-ask spread in that area for USD is that wide :D You might see something like this

        BUY       SELL
  USD   6.1538    13.3636
And it makes sense immediately. You have USD3.25, you buy 20元 for that. Pay for various resources, get back 150元. Well, you can get only USD11 for that.
Re:Ask HN: Why dont my upvotes work? on Tuesday October 15, 2013 @08:54AM (#6552916)
Hereby I report that it started working on that post! Yeeha.

Edit: it seems to work in general.

Re:Ask HN: Why dont my upvotes work? on Tuesday October 15, 2013 @08:36AM (#6552844)
I go to https://news.ycombinator.com/item?id=6547669, vote to e.g. 0, button disappears, reload page, I get the same points (and buttons) back.
Re:Ask HN: Why dont my upvotes work? on Tuesday October 15, 2013 @08:11AM (#6552746)
My upvote doesn't work either. Never did (tried a few times) -> I just don't upvote.