skysight-inc/HackerNews huggingface dataset:
ATIccelerator - Easy GPU overclock for mac
I don't agree that aesthetic features have little purpose in a desktop application - they are a major part of the user experience. In this case the transparency feature is clearly something that a lot of people consider worth having.
Static - Static Site Generator in clojure
A cleaner version:

^site1^site2
Are you aware there was a Premium version of XNA for AAA studios?
The only thing that is keeping me from 100% zsh is that zsh is not everywhere and bash is. When you switch companies, sometimes admins/IT are not flexible in allowing zsh to be installed on build/vnc servers. Can anyone share some tips on how to manage dotfiles for zsh with backwards compatible bash so that you can truely have a portable config?
Actually it's my proxy server that failed, didn't realise it was an animated GIF and I have it set to deanimate images by default. Ooops!
Guy With Ultra-Rare Sega Console Prototype Refuses $15,000 Bid For It
Only through zsh did I find out about tab auto-complete.

When I used bash, whenever I needed to uncompress a tarball I downloaded, I would type in the full, ~50 character filename. Only through zsh did I find out about tab autocomplete, and when I had to use bash on a friend's Mac, to my surprise, autocomplete worked.

I still use zsh, though.
Bizarre sounds you've probably made without knowing it
Yes, here in the socialist Germany I can enjoy my free time after 4:30 pm and if my boss wants me to stay longer I get paid overtime.
Not sure if the artistic pun was intended but his signature can probably be expressed as a bezier curve as well :)
what would you like to know @notahacker? i'm trying to be as transparent as possible.
People who pay $90k for a car to commute back and forth from work every day don't care about saving money on gas. It's just a status symbol like any other luxury car. But I hope it takes off, because it will finance the expansion of Tesla into cheaper cars.
Where do they stand on same sex marriage?
I've tried a dozen different note taking tools, the only one I've stuck with is Workflowy[1]. I think it just suited my style of note taking/todo list making/hierarchical lifestyle right from the start. I would like to see better Android app support(3rd Part/Web only atm), but apart from that it's perfect for me.

[1] https://workflowy.com/
In the post above:

> Imagine them as Debian testing installs that are very stable
How does markdown preclude WYSIWYG editing?
First off the courts and police have nothing to do with health care. Secondly, the courts don't dispense "justice", and judges will tell you that first thing as you arrive for jury duty. They dispense the law.
As much as I have qualms about Java, if there is one thing that it perfectly nailed, it's enums.

The Java enums can be as concise as the C/C++ one but since it's also a class, you can add all kinds of interesting stuff to decorate it such as constructors, getters, type converters, etc... Really a pleasure to work with.
http://stackoverflow.com/questions/83073/why-not-use-tables-...

http://phrogz.net/css/WhyTablesAreBadForLayout.html
Hi @jarsj--I do have relevant business/finance experience.

would love to chat!
thanks @ibudiallo
The spellcheck isn't even on by default.
To me, the next power of two after 4 is 8, not 4. If you prefer, you can add a line to simply return the input if it is already a power of two:

http://en.wikipedia.org/wiki/Power_of_two#Fast_algorithm_to_...

(Edit: You forgot to subtract one before setting the lower bits and incrementing. If you omit that step, both these algorithms give the same result.)

Actually this algorithm is faster for smaller numbers too, because it always performs less operations in the loop -- one shift as opposed to a shift and a bitwise or.
> no-bullshit explanation

Hah! Not really possible, especially considering that the project used to be called windows emulator:

http://www.faqs.org/faqs/windows-emulation/wine-faq/

I'd say they've changed the meaning so they can reinforce that it's not just another virtual machine ( and that it's faster than one).

Which is true, it doesn't emulate another hardware architecture's calls, just the kernel and OS magic needed.

In that regard, think of say a console game or arcade game emulator on a computer- that will have to emulate the whole architecture of said game system as well as the game.

Contrast that to a game program for the the x86 architecture, but not for windows- you could run it natively on windows providing you change everything the game asks for that's part of the Gamesystem380 system into something windows understands, and vice versa.
(Sorry, my first line was wrong.) You set all of the low bits to 1 for N - 1, not N. So 4 becomes 3 becomes 3 becomes 4; 5 becomes 4 becomes 7 becomes 8. In Haskell you'd write:

nextPowerOf2 N = fill_bits (N - 1) + 1;

Mansour Moufid indeed gets the wrong answer when N is a power of 2. To rectify this, you'd replace the last assignment with the ternary `if w == N then w else (w << 1)`. You could then probably cook up an input where Moufid's algorithm is slower; if half the samples were powers of two and half weren't, a branch predictor would go nuts.

The real problem is that we're doing all of this in the context of primitive integers, not lists of integers making up a BigInt. Moufid might be on the right track for optimizing for such lists; rather than:

nextPowerOf2 N = fill_bits (N - 1) + 1

which performs 3 operations which involve each element of the list of the BigInt, we're replacing it with:

nextPowerOf2 N:Ns = if (powerOfTwo N) && (arrayOfZeros Ns)
then N:Ns else (onlyMSB N):[0 | n <- Ns]

This passes through the list once if the list is a power of two, and somewhere between once and twice if the list is not.
Freelance all-female devs back in the 1960s? Amazing, absolutely amazing. How sad that Steve Shirley, like so many other founders, first lost control of the culture and then of the company.

Thanks for posting this, jgrahamc.
Clearly, you're a big proponent of Enums needing to be in Python (I would estimate that you've made several hundred emails, comments, and posts on the subject).

You and a couple other vociferous proponents completely drown-out the early commenters who valued language compactness and learnability over a pervasive new construct that solves a somewhat unimportant problem.

The fact that some large projects may have a use for Enums wasn't balanced against an impending avalanche of Enums being sprinkled in beginner code, small projects, recipes, etc. I expect the use of Enums will become pervasive simply because they're there, not because a given snippet of code actually needs it.

As a person who teaches Python to engineers, I dread adding yet another have-to-know construct to the cirriculum. Python is no longer a small language.

Also, there is a lot of machinery behind Enums (killing a mosquito with a cannon). So, we should expect that people will hack it, abuse it, twist it into knots, subclass it, invent tricks will it, develop funky idioms, etc. IMO, none of this is worth it. The "problem" wasn't that important to begin with.

That said, the discussion is moot. There is no need to defend the proposal any more. Guido has accepted the PEP and it will enter the language, for better or for worse.

If we had to have a Enum, the one that was accepted was a reasonable choice. For the most part, the discussion did a nice job of considering existing recipes, possible use cases, and being as Pythonic as possible.

My only criticism of the process is that handful of enthusiasts (Eli, Ethan, Barry, etc) launched an avalanche of implementation and api-choice emails that buried and ignored the posts suggesting the language would be better-off without Enum. AFAICT, there was no honest discussion of simply establishing best practices using existing tools.
Perhaps I shouldn't have used "iceberg" as that implies some upcoming inevitable disaster, which I don't think is true of this situation. The GNOME devs could certainly end up very successful.

I happen to disagree with the course, but it's their right as developers to choose a different direction. At some point as a user you have to come to grips with the fact that their vision and yours have diverged. There are undoubtedly many other users who prefer this different direction and they can't all be right.

Find the boat going the direction you want to go and climb aboard and help out.
Switched to vim and dvorak same day five years ago. Default mapping is very natural - left hand (qwerty "c" and "v") used for vertical movement, right hand (qwerty "j" and "p") for horizontal movement.
> Does anybody at all on HN think that pulling credit reports on candidates is a reasonable thing for hiring firms to do

I would if the evidence suggested that a credit report was a good indicator of the risk of the candidate committing an offence, and that the candidate is applying for a position where they have the ability to do such.

I suspect that the probability of either event is small, and that it's worthless and discriminatory. My major concern is that the practice turns into a catch-22--you need a job to get out of debt, but you can't get a job with debt.

I worked at a major financial institution where a pre-requisite was drug, credit, and background testing (even running fingerprints) for everyone. The whole thing seemed a big waste of time.
I lost an argument about this years ago. In Uni I learnt that you could create GIFs with more than 256 colours, but when challenged I could find none. And all references in the net mentioned just 256. I was sure but I ended up believing I just had a brainfart or was lied to in class.

This is ~10 years late to my argument :(
I took a screenshot so interested people can see how badly images can be mangled by the proxies used by some mobile companies.

(http://i.imgur.com/DYbVSbj.png)
It allowed you to access services like yellow pages, weather, directions through text messages.

For example I could text google (466453) "directions chicago, IL to San Francisco, CA" and it would text me a full list of directions in response. Or I could text "weather" and it would respond with a 3-day forecast. Or I could text "taco bell miami, FL" and it would text me a list of taco bells in miami with their addresses and phone numbers (limited to a page of 5, with the ability to request more.)
Independent repairmen drive from job to job all day long. They could easily exhaust the range unless there's a breakthrough there. Ditto delivery drivers, etc.
> > What would you expect a Pythonic enum to look like?
> >
> > class Colour(Enum):
> > red
> > green
>
> Hell no. I mean, even Go isn't that implicit, you still have to use the iota there.

No, Go just provides plain boring wannabe enums.

Pascal(1972), Modula-2(1978), Ada(1983), and many others:

type Color = (red, green)

ord(red) = 1, ord(green) = 2

len(Color) = 2

succ(red) = green

pred(green) = red

red < green

type colors = array [Color] of int;
I think it's a fad but I don't think I'm ignorant. I do wish I had bought in at $5 and sold it at $200, but I'm not particularly mad about it; I tend not to invest in currencies or commodities.
Ha! Too much Go for me. It does actually, my bad, I expected the variable to be ignored (and the range creation isn't a big deal usually as it's just a generator).
No, I am Satoshi Nakamoto.

Look at the evidence:

1. Requisite level of cryptographic knowledge. I have a doctorate in computer security from Oxford and studied mathematics there as an undergrad.

2. Male, 40s.

3. I am fluent in English and often write in a mixture of British and American spellings as does Nakamoto.

4. My father worked at high level in banking

5. The first version of Bitcoin was worked on from 2007 to 2009 while I was self-employed and living abroad. Nakamoto's involvement in Bitcoin fades at the same time I went back to full-time work.
The difference here is that Rachel had extremely good reasons behind her answer, and she explained why in the bug. She wasn't a jerk, but Christian shows that he is with his response.

I've never been a big fan of jerk developers. Even Torvalds. But at least Torvalds explains why he does something.
Using the following got rid of a lot of my correction woes:

alias sudo="nocorrect sudo"

That is why you were getting the .aptitude one, you can use it for other commands that it gets the corrections wrong often.

I've since moved to vanilla bash+bash completion since it is everywhere and zsh completion seemed to annoy me more than help me.
I am actually frightened how accurate you describe me. Do I know you?
Ask HN: How do I learn me a Business Intelligence?
Title pretty much says it all. I am a programmer with an alright handle on math. I want to learn the best way to apply those skills to generate valuable data for a business. Any recommendations for books, websites, etc would be appreciated.
Which just means you didn't read the comment to which you were replying...
That's what we did with Konsole for KDE 4. KWin integrated compositing with a software fallback in case GL wasn't available, so there was simply no need to maintain the KDE 3.5-era fake transparency.

Nowadays GNOME Shell simply requires a compositor, or so I thought, so it seems like you could assume one is present.

The one issue is supporting the case of running gnome-terminal from non-GNOME environments that also don't have a compositor, but I think it would be fair to give up entirely on supporting that use case.

However you might still want to handle the case of the compositor crashing (I think one of the dev's comments in this thread mentioned that), which is admittedly going to be annoying since it involves dealing with X.
The point is that if you render the image in blocks of 16x16, there can only be 256 colors per block, so there can be as many colors in the image as there are pixels. This 217*217 image has some duplicate pixels in the lower and higher values but gets fairly close to that maximum.
I apologize, I did confuse you with the other commentator.

Everyone agrees that using w to move a word at a time is better than llllllll. No one is arguing with you about that. So in that sense, we all agree that for certain movements, hjkl really is worthless compared to alternatives.

But if you want to move a few characters, there's no better option than hljk.
Second best are the arrow keys. But there's really no reason to move your hand out of position just to move one character when your finger is already on the key which will do it.

So, I don't think it's at all accurate to say in general that hjkl is worthless compared to other means of navigation. They have their place, and they're quite valuable there since all other means of navigation are almost worthless compared to hjkl when moving a few characters.
We organize an OpenHack out here in Boston. It's language agnostic and we have pizza. Happens once a month.

http://openhack.github.io/boston/

Sign up link:

https://guestlistapp.com/events/162957
What do you hate about project management software?
Im looking at what makes a good project managment software and what do most softwares lack.
I think you're jumping ahead a least a few decades. Most electricity in the USA is generated from coal, though increasingly, natural gas. And we simply do not have the residential electrical infrastructure in place to support significant numbers of households charging one or two cars at night.
Freicoin has built in "income redistribution". I think the drama is justified.
Hardly. It was his job to resolve the issue, that's what he was employed to do. That wasn't Rachel's job, and in fact she went out of her way to explain to him how to resolve the issue.

What would you have her do? Do the fix herself? If so - phooey to you, that wasn't her job and she shouldn't have done so. If you don't think she should have done the fix herself, then the only other recourse here would be for Rachel to not give any help at all and let them struggle on themselves.

The developer attempted to push out a change that Rachel had already said wasn't acceptable, then made a massive fuss to his managers and attempted to make her look bad. Then Rachel explained, in detail, why she said no - developer got transferred due to his own incompetence. I can't feel any sympathy for that developer!
It's unethical (and stupid) to use IQ tests for hiring decisions because they have very little predictive power with respect to job performance. If a measure has such predictive power, it's not necessarily unethical to use it just because it also correlates with race.

I don't actually know whether bad credit is predictive for job performance, though the story for why it might be is easy to imagine.
As an ex-MS employee I always feel obligated to point out that MS has well over 50,000 employees spread out across countless teams and divisions. One employee's experience is never indicative of the company as a whole. I never went through "calibration time" while at MS or anything even close to it.
The intro course is also worth taking a look at.
To be honest, it kinda reminds me of the chiptune, fingerdrumming, controllerism deparment. When you DJ, your main job is to match two beats up so that they don't conflict, everything else (like scratches or effects) is soundactic sugar.

It's not coding the program, it's making them cross compatible.
The interesting thing about Twitter is that the length limit is artificial (as opposed to text messages where I gather it's more a fundamental limitation of some underlying protocol), and it will allow you 140 characters regardless of how many bytes each character uses. So one can actually pack quite a bit into a tweet using CJK languages.

My observation is that English tweets tend to be a single sentence or at most two, maybe with some tags on the end, but Japanese tweets are often complete paragraphs with 4 or more sentences, sometimes more like little mini-essays—and I hear Chinese tweets can border on the epic...
Send me an email: will@willholloway.net
So if it's a duplicate bug report, mark it as such. Do just type in "No." as your answer and close as WONTFIX. Point the reporter back to the original bug!

How is that hard to do?
Flat in dollars is regressive in welfare. It does pay to be clear about which you're speaking of, though.
If a potential employer decides not to hire you based on a credit report, they are required to notify you of that fact and the fact that you have a right to get a copy of your credit report.

This sounds like a juicy area to start suing employers that don't follow the law.

https://www.emplscreen.com/Notice1.pdf
Obama Launches Competition for Three New Manufacturing Innovation Institutes
Ask HN: Top Python/Django Shops in NYC?
What are some of the best Python/Django web dev shops in NYC?
Self hosted workflowy would be something I'd pay for.
I think it's just binary transparency as is widely mentioned by commenters around the web. I found this in the spec:

"viii) Transparency Index - The Transparency Index is such that when encountered, the corresponding pixel of the display device is not modified and processing goes on to the next pixel. The index is present if and only if the Transparency Flag is set to 1."

http://www.w3.org/Graphics/GIF/spec-gif89a.txt
You want a user case? To read code, check API information or shortcuts through the window you're working in. My screen estate at work is severely limited. Also, it just looks better, and that matters, because I spend a lot of time in terminal windows.

I haven't been a Gnome user for many years though... Exactly for reasons like this. They have removed a few features too many. IIRC, last time I tried to log in with a Gnome session to see if anything had improved, I couldn't turn off cursor blinking in the terminal.

I've been using Linux since way before Gnome existed, and it does piss me off that (from the perspective of a power user) it's less usable now after all those years than it was in the first few years of its existence. Gnome turned on its own users long ago, and I think the year of the Linux desktop might be further now than ever, especially for the Gnome project in its current form. It's an illusion to attract new users if even the old ones don't want to use it anymore.

I wish the Gnome project good luck, but they are clearly sailing a different sea.
Qtile 0.6 released – pure Python tiling WM
That's where I personally am disappointed, same as you, I wish I had got in on it back in 09'...but the same can be said about equity in Apple or Telsa. -quacker
I'm sorry, I didn't think about it that way. It's not that the docs are bad, they are both very complete and approachable. However, it really doesn't suit my way of learning or using the editor. Unfortunately it's similar with available tutorials and other resources.

While the docs are really impressive in terms of coverage, they are both structured in a way I don't like and use far too many words for descriptions of single thing. They are intended as a book, not as a cheat sheet, and I strongly prefer the latter.

The docs assume no prior knowledge about anything related to editing text. That makes it discuss many boring and not that important things and the problem is that one has no way of knowing at a high level which chapter will be important and which won't.

That's also true for tutorial, which makes a huge undertaking from learning to jump to the beginning of next word. That's ok for someone who used notepad earlier, but irritating for me.

Whatever cheat sheet-like tutorials there are, they are incomplete instead. I would like to have a list of all possible commands and elisp functions in one flat document. There is probably no such document or at least I wasn't able to find it.

And then there's an issue with some of the Emacs users, who are a bit more enthusiastic than they should. It's not hard to find answers that say that what someone wants is not the emacs way and that it should stop wanting it. A page or two down the thread there is code posted, no doubt, but that somewhat kills the pleasure of learning.

In short: I prefer short references in the cheat sheet format for learning an editor. Instead of grouping by topic, such reference should group by importance. There is probably nothing like that in Emacs docs or other materials. I guess that interactive game or tutorial would be like that, because probably the most used shortcuts for the game would be the most important ones. And so I asked.
Funny. The Gnome guys got rid of desktop icons too... took me a while to find how to add it back with Gnome Tweak.

Gnome developers are like that: they like to remove useful features.
Who takes 30 minute rest stops? I think you're reaching.
Your "informal poll" evidently didn't include the userbase.
I'm surprised no one mentioned Joey Hess's ikiwiki yet.

"Ikiwiki is a wiki compiler. It converts wiki pages into HTML pages suitable for publishing on a website. Ikiwiki stores pages and history in a revision control system such as Subversion or Git. There are many other features, including support for blogging, as well as a large array of plugins."

http://ikiwiki.info/
Because Bitcoin offers a paradigm-level improvement over fiat, whereas other cryptocurrencies would not offer any such improvement over Bitcoin.
I would recommend familiarity with linear algebra before cracking EoSL open.
> ... the next power of two after 4 is 8, not 4

But he says the power of two not less than N. That's not the next power of two that's strictly greater than N.
Yes, I was wondering why it wasn't mentioned. While it may be quite different structurally it still counts as an alternative to Bitcoin IMO. Would love to see some analysis or arguments for/against it.
I just keep a folder of markdown files in Dropbox. It syncs to all my devices and I can use any text editor.