skysight-inc/HackerNews huggingface dataset:
So when writing Windows applications with Win32, would you use UTF-16 internally and read/write UTF-8 files or use UTF-8 internally and convert to/from UTF-16 at the boundaries to Win32 functions? My company currently does the first, UNICODE is defined, TCHAR=UTF-16.
Am I missing something or is the F3 button in Mavericks not a good switching experience?

I do agree with your Launchpad comment and just drag Application folder into the right side of the Dock (settings Sort by Name, Display as Folder, View Contents as List) along with Utilities, Documents, and Downloads (Sort by Date Added).
Swedish Intelligence Service Spying On Russia For US National Security Agency
Ask HN: How do I show employers that my grades are much higher than they appear?
I have a 3.43 overall GPA, because of classes I took over 6 years ago while I was a history major. Since starting school for CS in the fall of 2012(at a decent public research university), my grades have been much higher than the rest of the class in every class I've taken--I usually end up with grades around 10 points higher than the next highest grade in all of my classes.

All of my professors last semester added a few points to shift the grade distribution over a bit, but since I was the only person in the class who had anywhere near a perfect score without the curve, my final numerical grades ended up like this.

System level programming - 116

Data Structures - 107

Computer Org (Assembly) - 107

Calc II - 100

One of my professors told me that no one has every made a 100 on all of his tests, but in the end I got an A and so did the people who made 20 points lower than me.

How do I show on my resume that I've made perfect scores in every class I've taken since starting back in Fall 2012?
I'm replying to myself to provide a bit more context for those asking questions about the games I was trying.

I'm very capable of debugging library and video driver problems. In this case, it seemed to be actual game-internal issues from a recent update. The specific game was built on the Unity platform, and they seemed to have resolved the issues for Mac and Windows but not yet Linux. I'm not annoyed at Steam or the developer (it's reasonable that Linux issues aren't their priority if it's only a tiny portion of users).

My intent was not to say that Steam on Linux is generally broken, just to share my own mildly-amusing experience. :)

On a positive note -- after the initial frustration, I eventually bought Counterstrike and it worked great. I think it's amazing that Steam supports Linux at all, so I wasn't really upset when things didn't work perfectly. I was happy to risk throwing good money after bad, I'm sure I'll be able to play those other games some day.
Well, it is like a game that you can play with your eyes closed. Imagine that you close your eyes and then somebody gives you a large toy made out of LEGOs. And you figure out what this toy is, with your eyes closed! That's what he did.
UTF-8 is variable length in that it can be anywhere from 1 to 4 bytes, while UTF-16 can either be 2 or 4. That makes a UTF-16 decoder/encoder half as complex as a UTF-8 one.
For me, year of the Linux desktop was 2003. Year of Linux desktop on my laptop (wifi and battery were an issue for awhile) was 2007.

For my wife, year of the Linux desktop was 2011.
> It is always the way with military projects. Well, not quite always.

There were a few generations of military projects that, while very expensive and subject to many of the same distributed-construction politics, did seem to turn out well in the end. More recent ones (meaning the last 10-20 years) seem not to be doing as well. The F-16 program, for example, was led by the U.S. but pulled in several NATO allies from Europe as part of the program, and as part of that deal the construction was also split up between the partners. But all the partners were generally happy with the end result, and the F-16 is well regarded. Something vaguely similar was tried with the Joint Strike Fighter, but that one doesn't seem to be going as well, and a lot of the non-U.S. partners are now starting to regret having signed up for it. I don't know enough to explain why the F-16 process worked, though.
We are hiring full time for Perl in Greenwich CT about 45 min from NYC
https://careers-interactivebrokers.icims.com/jobs/1114/oo-pe...
Relevant discussion from a few weeks ago: https://news.ycombinator.com/item?id=6912229
1. Ya it's hard.
2. err unknown ,but sometimes when customer delay payment and wanted to prolong the contract quite hard.Some cheater also.

Conclusion
Be friend with all people not just computer geeks friend.
> It's plausible that on a badly configured network this port could be exposed to the Internet.

It's also plausible that an attacker could find one of these in the local coffee house or any other place that offers public wifi and get at it from the internal side that way, or war driving for access points using weak passwords or WEP, or small office corporate networks with mischievous employees, or an attacker compromising a single PC on the LAN and then using this to change the DNS handed out by the router's DHCP and compromising the others, ...
TwitHack: This can't be real, right?
I'd be surprised if he didn't
I believe I remember seeing one of the LCS in the Great Lakes a few years back? It was some weird Navy ship, anyway.

Historically, this blew my mind when I learned about it a few years back: http://en.wikipedia.org/wiki/USS_Wolverine_(IX-64)
Her — a writer falls in love with his computer's highly advanced OS
Not only that, but it's the original "open" format.
Generally the advice is to breakout GPA by major courses and overall (e.g. 4.0 GPA in major, 3.43 overall).
> I'm used to minimizing applications to get them out of the way, and alt-tab on windows restores the window you want.

Use Hide (Cmd-H).
Unicode domain names are no more dangerous than HTML emails, which can also be used to fool people into clicking links that look like one site but go to another.

Unicode or not, if you type in apple.com on your English keyboard, you will go to the website of Apple, Inc. (Unless your DNS cache has been poisoned.)
It's a joke. Sorry for the Quora link, but this answer comes straight from the source.

https://www.quora.com/Whats-the-story-behind-Javelins-hilari...
You must live in a museum. :-)
'Command' + '~' switches windows in the current app.
26 amazing startups you need to watch in 2014
> Even worse, you may not even know it fails above the BMP, because those characters are so rare you might never test with them.

I don't think this is too relevant because anyone who claims to know UTF-16 should know about the surrogates. And if you are handling mostly Asian text (which is where UTF-16 is more likely to be chosen), then those high characters become a lot more common.
That "pocket grip" on the bottom is "prior art-ed" by old mountaineering equipment, as any climber or alpinist would be aware. ! [1]

[1] The "pocket grip" is literally a pocket for grip sewn into the round cylyndrical shape of old sleeping bag stuff sacks (similar in shape to a bucket, but with a sinch lid). The purpose is exactly the same...to hold the bottom of the round cylender when you manipulate the open end. The only delta here is the soft textile is replaced with a hard-plastic and the pocket is molded not an actual pocket.
Calaba.sh - Automated Acceptance Testing for iOS and Android Apps
It's wishful thinking

I'll admit such a view is simplistic, yes. However, I think it played more of a role than you appear to believe it did.

Much trade was with other socialist countries, for one.

I'm not sure this makes much difference, since those other countries were just as messed up. (I also have a hard time taking any numbers that can be found for this at face value anyway, just as I am skeptical of pretty much any numbers that were internally generated by Eastern Bloc countries. Not that Western countries' numbers are miracles of accuracy either, but at least they get a lot more independent checking because the underlying data is more easily available.)

And although Western countries received few Soviet manufactured goods

In other words, you agree with me that this was not a significant factor. Ok.

they, then as now, imported large quantities of Soviet commodities, particularly oil and natural gas

I agree that the West got large quantities of oil and natural gas from the USSR; the question is, at what prices? And at what prices did we sell them grain and other foodstuffs in return? I suspect that the respective answers are "high prices" and "low prices"; the trades were not ordinary free market trades because of the political factors involved.
NSA spyware gives agency full access to the iPhone – report
I use steam on Linux extensively with a lot of more 'Indie' type games like Awesomenauts, Anomaly 1/2 and Guns of Icarus. Mostly no problems.

The thing that's always surprised me about Steam for Linux is how close the numbers are to those for Mac users.
AT&T have not forced me to use a specific modem with their DSL service.
Why don’t economists like Bitcoin?
I use spotlight exclusively to launch applications. Launchpad I used exactly once before unpinning it from the dock.

OS X widgets turned out about as well as every other attempt to make desktop widgets. Banishing them to their own virtual desktop solves the problem of it being impossible to use them due to that there's always windows in the way, but it doesn't solve the problem that apparently no one actually has any ideas for desktop widgets that are more than mildly useful.
> the key has to go somewhere on the keyboard

Or, you could have a separate power button somewhere else like every other laptop in existence. Or all the previous iterations of Apple laptops.
A real world AI would almost certainly have to learn the rules of it's environment rather than being hard coded with arbitrary human designed rules. Machine learning is getting better and better at doing this.

If we ever got them as intelligent as the robots in this story, we'd have no way of programming them with abstract high level goals (i.e. "do good", or "don't hurt humans", etc.) Except by giving them examples of robots hurting people and robots not hurting people and hoping they infer the pattern we want them to from it.

This is an (extremely) simplified argument for the dangers of AI.
> AVM is a very nice company and you should not accuse them without proof.

You shouldn't accuse anybody without proof. But since this is Hacker News I'll disagree with the first part of that sentence. AVM is probably the least hacker-friendly company I've ever come across. For example, they're so hell-bent on violating the GPL that they've taken it to court (and lost) [1].

1. http://fsfe.org/activities/ftf/avm-gpl-violation.en.html
I want to agree with you, because what you say is eminently reasonable. But I've never, ever, ever accidentally hit the power button. And I don't consider myself a particularly good typist.
This is a very cool!

I wish something slightly similar could be done to eliminate road kill.

One idea I've thought of to eliminate roadkill/keep them in the woods is to have some type of high pitched sonar attached to the outside of your car. You turn it on and or it activates itself based on location. Animals would hear it coming from a quarter mile away and run in it's opposite direction.

HA that's probably not the greatest solution, but road kill is costly and unpleasant. It would be neat to see someone come up with a good solution!
Why use Launchpad or any kind of mouse picking for Applications/Utilities? You already know what you want to launch, and a letter or two typed in to Spotlight will get it.
I've never found running businesses alone particularly stressful. Normal employment was worse to me.

Everything that can be automated is automated: backups, database cleanup, lifecycle e-mails, dunning for clients with past-due bills, accounting, bill payment, etc.

I do all my "checking on" things in the morning (e-mails/tickets, tweaking ad campaigns, server status and checking for security updates, etc). Afterwards, I put a few hours into something on my TODO lists which I manage in Trello; some days I choose to work on a new feature, sometimes on bugs, sometimes on new marketing or seeking out new partnerships, sometimes I just pick a side project to work on. Whatever gets done gets done, and some days it gets done in the afternoon and some days at night.

I don't keep a schedule. I don't stress about how much progress was or wasn't made on a daily basis. There's no boss making me stress over things, and I've always managed to move forward anyway without any external motivation. I only look back on it over the span of months; "that was a productive summer".

Financial security helps a lot I suppose. I use the profit from one project to bootstrap the next. The only time I haven't had enough in savings to pay at least 6 months of expenses was the very beginning -- when I was 18 with $0 and started college on federal loans. I didn't need loans for very long, as I started my first businesses back then (ad sales and a subscription web stats service). I plan on new ventures being profitable from the first customer as much as possible.
pipelight is available for fedora 19 (but also works on 20).

http://fds-team.de/cms/pipelight-installation.html
Never mentioned once in my curriculum at all...
Technically, it's not that it can be passed through tools intended for ASCII only. It can be passed through tools which assume an ASCII compatible character set (character set for which ASCII is a subset), which are 8 bit clean, and which don't make incorrect assumptions about being able to truncate strings at arbitrary points and be left with two valid strings.

Which is actually generally true of any tools which had been internationalized with legacy, pre-Unicode character sets like the ISO 8859 series.
$800/$1600 isn't it?
LoL xD
I have 2 different buckets downstairs and they both have a molded grip on the bottom.
One reason for disabling pinch zoom on mobile is that it allows click events (taps) to be registered immediately. When zoom is enabled, there is a 300ms delay to see if it was a double tap: if a second tap happens during that 300ms, then the browser zooms the page instead of firing a click event.

(Unfortunately, there is no way to disable "double-tap to zoom" while keeping "pinch to zoom" enabled. It's all or nothing.)

Some people don't notice it, but I do and I find that sites do feel more responsive when zoom is disabled.
Sometimes I wonder if they moved the power key there just because they couldn't figure out anything else to do with the now-defunct eject button on optical-drive-less machines, as opposed to there being any problem with the old location just above and to the right of the keyboard.

I don't really like it either.
I would never use anything except UTF-8 for a general text file – for the efficiency reasons listed above – unless there was a strong reason otherwise. General text files are the biggest source of problems because they have no metadata indicating what encoding they actually contain.

For everything else, it really depends what your data is for.

If your data is only ever going to hold a file path that you need to pass to the Winapi, then there's no real problem with UTF-16. Although needing to have multiple paths for your text handling can become an issue.

I write multi-platform C++ programs and even on Windows I use UTF-8 for all internal strings – including those that will eventually be passed to the Windows API. It just makes string handling simpler.

However, I use a range of abstraction classes around all OS calls that transparently converts to/from UTF-16 as needed. A good example is boost::filesystem for paths and file I/O which internally stores UTF-16 on Windows but abstracts the need for me as the programmer to know or care about that detail – instead I can use UTF-8 everywhere and let the abstraction handle the encoding.
So you agree devaluation would be equally effective and easier.
Note, the stickers refer to the previous $60 or so product which provided some overlays on the magic trackpad.

They apparently launched the new product site (not the product itself) on Jan 1, 2014.
That's weird, I've been using MacBook Air 11 for three years and remember hitting the power button only once by accident. I also have pretty big hands and fingers.
I'm pretty sure it's due to http://es5.github.io/#x10.4.2 section 1A.

Calling eval like that causes it to be an indirect eval call which results in it being executed in the global context.
I've been using my new Dell Venue Pro 8 (Windows 8.1) on the holiday break and although I've found technology boring for the past two years, I found myself quite enjoying this new little tablet.

Now, if only Windows 8.2 or 9 focused some needed attention on large form-factor ("desktop"), I'd be very happy.
Google Plus has the same deal now. Search for +Pepsi on Google and it takes you to Pepsi's Google Plus page.

I'm certainly glad they stopped treating + as a search operator so we could get that feature in return.
If the easy questions were saving the time of that many people I wouldn't expect them to be re-asked so often. And the tricky expert-needing questions can teach you something about the language/platform/etc. even if you never encounter that specific problem. The 'fish' questions don't do that so much.
Most people probably have no idea what they're voting for, which is a shame, but they are given the option to decide their own fates, and they can only blame themselves if things go to shit. Direct democracy can be self-correcting - if people realize things are going to shit they can change it - this can't happen with a government of rogue politicians taking bribes left and right, and where these elite groups live under a separate rule of law to the rest.

What I find absurd is the belief of some that we live in a free or equal society, when the whole concept is based on "You're too stupid to decide for yourself, serf". The obvious undemocratic thing about our alleged democracies is the absence of "None of the above" on the ballot, or the failure to count non-votes as a legitimate position - of not supporting any party or person, but oneself.

I honestly don't expect many people to elect themselves are their own representative - most people will not have the time, nor the patience to do research (like any politician, really), in order to make informed decisions.

I'd expect instead, a system where one can delegate their own decision making power to some third-party representative they can trust will use those votes in a sane way, but the most important requirement for such delegation of voting power is revocation ability (effective immediately rather than in 4-5 years or through violence), so that if said representative is taking bribes, or backpedaling on their promises, they can switch to someone else. We could probably build something like this with public-key crypto.
He addresses that idea in the article.
TeaGschwendner http://www.tgtea.com "Earl Grey No. 69", best damn tea, ever.
It seems to me that if a card can directly debit funds from your bank account, it is by definition a "debit card."

The value of a credit card is that I get to choose to pay the bill each month. If something goes wrong, the card issuer has to sort it out before they get my money.
ChimpDB - revolutionizing machine learning one step at a time
That link goes to mobile version. Here is print version which is probably ideal: http://www.bloomberg.com/news/print/2013-12-31/what-if-the-2...
I don't know what "the right way" of "using" the domain name is. But I don't think sitting on the domain without actually using it is the right way.

Who is worthy of the domain? At least the one actually intend on using it is more worthy than the one intending to sit on it to ask for rip-off money.

Squatter are scums.
The Winapi (aka Win32) is the only commonly used API that
regularly requires something other than UTF-8

Sadly, that's not really correct. Core Foundation and Cocoa on Mac OS X use UTF-16. Qt uses UTF-16. Java uses UTF-16. JavaScript uses UTF-16. Many of these APIs have easy methods for converting to and from other encodings, and offer a certain amount of abstraction over the underlying encoding, but it still shows through in that string length and character indexing work via UTF-16 code units, not Unicode code points.

the Mac class NSString or the C# String class use UTF-16
internally, you don't normally need to care what they do
internally since any time you access the internal
characters, you specify the desired encoding.

While it's true that they do abstract over the encoding somewhat, and they offer conversions, the abstraction is fairly leaky, as string length and indexing all happen in terms of UTF-16 code units.

I'm a huge fan of UTF-8, and I agree that new APIs should generally favor it, but there is a lot of legacy code that has a lot of UTF-16 assumptions baked in that you can't really say that only the Winapi uses UTF-16.
Elapsed time until someone used this article as an excuse to complain about the author, derailing the thread into non-struct-related flaming: about two hours.

That's longer than I was expecting! I think 2014 is going to be a good year!
One of the biggest ways I became a better programmer in 2013 was essentially the opposite of this advice from item 3: "Don’t be afraid of your code. Who cares if something gets temporarily broken while you move things around? A paralyzing fear of change is what got your project into this state to begin with."

I was formerly working in an environment where no one was really responsible for making sure that features worked consistently or that new features didn't incidentally break old features, and the result was a huge amount of frustration and wasted time. Learning to spend some time and effort up front to make sure that new features and small-scale redesigns won't break old code has really clarified my thinking about system design. Taking it for granted that no one really cares if things are broken for a bit while you refactor really presumes a lot about the problem domain you're working in.
"Frontiers in Scatology"?
Bewiser Car Insurance
Bewiser car insurance understands all these, that's we focus more on getting you the right offer to suit your need.
You don't need to take a lot of time in researching to get the right kind of insurance for you, let our insurance
professional protect your automotive investment for a price you wouldn't believe.Learn more at
http://www.bewisercarinsurance.wordpress.com/
I have confirmed this (or something similar) is present in the Netgear DG834N as well.
I agree. Unfortunately, the fact that they include the moment you were born in your timeline makes me feel that they don't want us to easily curate our profile.

I might be a pessimist though, I hope they add the feature.
New Image compression method from UCLA outperforms JPEG
Isn't this why the world love FOSS?
Unfortunately I don't have time to read the complete thesis, but I skimmed it a bit. My general impression is that this sets up a data dependency graph and uses that to inform the engine of which DOM updates to do, right? Isn't this what Knockout does implicitly and Ember does explicitly? If so, our observation of real-world workloads is that the overhead of maintaining this graph negates the wasteful work, since the wasteful work is actually quite cheap and can be constrained by hints to the system.
No, there's also that guy with the xeon-lights case Alienware branded gaming PC back there.