skysight-inc/HackerNews huggingface dataset:
I've never understood that either. Those are just Win32 windows, right? So you change a window-style flag, and it should become resizable, right? I'm tempted to go mess around and see if I can hook into those windows with COM somehow and twiddle some bits...

Maybe the rest of the dialog controls are all fixed dimensions and non-autosizable.

Still, that seems like the kind of thing you could unleash a platoon of interns on and modernize, though.
Working at Blizzard is awesome - you will love it there.
Which is weird because it used to. But ~/.MacOSX/environment.plist (easily edited in the plist editor) got deprecated and isn't used any more.

Edit: Don't know if you know this, but you can use "launchctl setenv key value" to set environment variables that get used by GUI programs. Unfortunately there are 2 huge caveats: 1) it's not persistent so you need to make something that load them at boot time, and 2) if you load them too late, they won't be part of the Dock or Finder process and you'll need to restart those processes to get your custom env vars in there. When you click something from the Dock, it inherits the environment from the Dock, so it's important to get your vars into the Dock itself.

I've now grown used to running a script manually at boot time and then doing "killall Dock" so that when I launch Emacs or XCode I get the right PATH. If someone has a smoother solution, I'd love to hear it.
One thing to keep in mind is that employers in 'creative' (film, games, etc) industries often treat their tech employees worse than employers whose main source of income is the tech itself. I haven't worked at Blizzard specifically, but I've spent time at other game shops and VFX shops, and my experience is that you are expected to work for longer hours and for lower paychecks than your friends writing REST apps for web oriented startups (let alone established players like Google, Facebook, or even Apple).

Are you interested in Blizzard because you only see yourself developing games and games alone? Are you interested in graphics and '3D math' and find Blizzard appealing because they need those skills? Will you be happy being a 'tech' employee without the tech paycheque?
> You don't need complex sentences to express complex ideas.

I think that precision and clarity are top concerns, but I don't conflate precision and clarity with simplicity or colloquialism. It's strictly true that you don't need complex sentences to express complex ideas, but I think that complex sentences provide more precision and clarity for complex ideas. As always, know your audience—I don't dispute that there will always be demand for simple digestible explanations of extremely complex ideas (e.g. theoretical physics).

> When specialists in some abstruse topic talk to one another about ideas in their field, they don't use sentences any more complex than they do when talking about what to have for lunch.

No, but I suspect that when they need the utmost precision and clarity, they write, and I suspect they write rather complex sentences. I saw a recent interview where a U.S Supreme Court justice mentioned that a huge portion of the work that goes on while deliberating a case is written, even though the justices are presumably on speaking terms and are quite capable of getting together and discussing things verbally.
They exist to make life easier for their customers, which is usually directly proportional to the amount of effort being exerted by the company...
Good point, but the idea with the fine isn't restitution, it's to create an honest-to-God disincentive for bad behavior. Zeroing out their ill-gotten gains merely teaches them not to be caught. If the fines are 20x, 100x or 1,000x the provably ill-gotten gains, it stops making sense to even try.

It's also important to note: (1) the higher fines could be easily supported by the individual without him leaving the top tax bracket, and (2) the activities are illegal even if you don't make money off of them, so limiting it to a multiple of earnings is a bad/wrong framing.
If you're constantly working 12 hour days in a tech company, either you or your manager are doing something wrong.

Disagree. We have 4 people. We have the money for 4 people. We have the workload of probably 8 people. If I don't put those hours in, things don't get done that need to for us to stay alive.

I'm wasting my time right now responding to this because I think it's an important discussion. That just means I'll get 4 instead of 5 hours of sleep tonight.

I have two 15-20 slide decks to finish tonight: 1 for our board meeting tomorrow and another due tomorrow morning for an Angel pitch on Wednesday. I also just hung up from a technical call, cause we are trying to push a new release to the app store tonight. I still have to review some cards in leankit and respond to a handful of emails from today.
Thanks for this, every time I try to get a project started with hardware I'm usually looking at $80, which is a big reason why I just stick to software. Since alot of things you can imagine in software can be built cheaply, initially.
Very fluffy. Why did they "work around the clock"? Were they trying to beat the Nazis?
Applications are spawned by launchd, which is why changing shell environments doesn't get propagated to GUI apps. Use:

launchctl setenv MYVAR myval

to change the launchd environment and those of the launched apps. These changes are lost after a reboot, unless you configure launchd via a plist file with these values. And there's a graphical plist editor for those that really like guis for these things.

That said, OS X is fairly hostile to the use of environment variables as required settings for GUI apps. Personally, I can't really blame them...
A lot of these WiFi chips are sold as modules, already soldered to a small PCB with built-in antenna and covered with an RF shield. These are usually already FCC certified by the module maker.
The Secret of Google and Amazon’s Most Successful Employees
And, bizarrely, the keyboard shortcut to copy marked text is Enter.
I specifically decided to not talk about the camaraderie aspect because I just don't see any equivalent in the business world. There really is nothing that compares to an A Course or BUD/S - or even a doolie/plebe year - in the business world, which is the starting point for all of that.

Agreed also on variability between Tier-1 units morale also. Hell, it's variable between teams, which is really where my distinction between having a high speed culture vs. having a terrible commander/boss would be made.
There's no need to guess whether 1.5X would be enough, or you need 10x or something. Instead, start with a fine that would make the expected profit of the scheme zero, then add some more as a tax for being a sociopathic asshole, and then tack in some more for good measure.
Understanding Routing and Navigation in Ionic
8 hours days in a toxic environment can lead to burnout way faster than 12 hours a day when everyone believes in the mission and feels supported by one another
I've wondered why they didn't fix this so many times over the years. Every time I saw that one inch wide, unresizable text input for the PATH or other variable, I got that feeling of exasperation you get when you know a company doesn't listen to its customers. It would have been the easiest thing in the world to do and yet it took over a decade to do it.
I feel like Blizzard would have been really sick to work at when WoW was actually a growth business
And yet tens of millions of people do it every year in the US. It's all about priorities.
No more rectangular console text selection? I've got to find a way to turn that on, I guess. My Win10 box is still doing the same old thing.

Also, seriously, is there a way to get the console to reliably remember the size and layout settings between launches? At least half the time I launch something with a console window, it's smashed into a 80x25 window, with the ridiculously low 300 line scroll history.
Good points, and the OS X command key is easier on my hands for regular GUI tasks. You should try mapping the caps key to ctrl. It makes a lot more sense and is almost as easy to use as the command key on Mac keyboards. See http://capsoff.org/history for reference.
Externalities.
Important detail: the fines mentioned in the article are from the exchanges, not the government.

On one hand, this sort of trading probably exacts some amount of reputational toll on said exchanges, at least to the extent that the practice becomes publicly known. On the other hand, it definitely provides them with material gains, as the fees they charge are typically on a per-share basis.
I think the nativity is clear, and while I don't assume stupidity I don't rule it out. The posters entire screed is lifted from any number of anti-feline polemics that have come out after a study in Nature found in a relatively small sample group cats killed things. Shocker. And the study pointed out that it was mostly "free-range" cats, not your house cat doing the killing.

http://www.nature.com/ncomms/journal/v4/n1/full/ncomms2380.h...
Echoing a law of video games: "nobody looks up"!
Absolutely. In fact, that's the next piece of advice in that blog post. Excerpt:

"The best-friend heuristic has another benefit: If a user is ever frustrated or annoyed or hostile, put on rose-colored glasses and willfully reinterpret their tone as helpful and constructive -- something your friend would say because they genuinely want to help you improve -- and respond with the appropriate tone of gratitude."
Spoiler alert: this represents a huge upside for wolf spiders.

Every time I see a big wolf spider running around my house, I pause for a moment, shoe in hand, and wonder whether I'm better off adopting a live and let live approach and letting it live as a domesticated exterminator, or just offing it due to the instinctual spider aversion I possess. The verdict: as long as they stay away from my sleeping quarters and clothes, they have carte blanche.

I also wonder in a century or two, in the suburbs of America, if Hogna aspersa will be as common and as beloved as the house cat.
Ha! Mine's not strong enough to say, though I suspect it would only be 3-4 words ('with-thanks-to .. for-the-reading-of' if you see what I mean).

I didn't mean that sentence amused me for uneconomical English, but that it was funny to think about a piece titled 'write like you talk' going through multiple draft stages.
Theres also a difference in training and deployment. Training really is by definition "eat the young". It's meant to be dog-eat-dog wash-out etc... On a deployment however, you're all on the team, it's safe, no one's getting cut, everyone's paid their dues to be there. Assuming your leadership supports you theres no need to dime someone out unless they really don't belong/are violating the core Army values/etc..
I've heard a lot of enthusiastic talk of entity-component architecture from those interested in game-dev. The way of modelling seems very appropriate and well-suited to C++. Things like holding each entity in a component class's static member array and calling the static method to, for instance, update the health component of every health-having entity is just too elegant not to appreciate. Immediately the problem is mapping each component across threads and just trivial to make parallel/concurrent.

To start though you need multiple inheritance likely to get this to work idiomatically. C would also do fine, as would Java, except the Java would look like C because of the lack of multiple inheritance/mix-in, while the C code could result in some type insanity -- although components can be implemented as simple structs in structs for entities, except the whole construction/destruction phase of life.

As an outsider looking in, C++ seems filthily well-suited to game development.
It's really not.

CISA is a vehicle for the distribution of Indications of Compromise and other standard infosec threat intelligence between Government entities as well as the public and large corporations. The liability protections are completely reasonable if private companies were going to participate at all. The privacy protections built in are also much more thorough than I was expecting in a bill of this nature.

Really the only thing that really worries me about is that the things that the Government is allowed to do with shared information includes "identifying the use of an information system by a foreign adversary or terrorist". Which seems a little too broad for my tastes.

In fact, I was on the CISA hate train but after reading it I feel that it's an entirely inoffensive law and my outrage has fizzled into indifference. I'm not going to lose sleep if this passed nor if it isn't but likening it to a Letter of Marque is not warranted.

Here's the text for anyone interested: https://www.congress.gov/bill/114th-congress/senate-bill/754
Hmm, I don't know much about it either and it looks like you're right. I don't believe that querying it is nearly as fast as querying a GIN index (or as easy) still.

With Postgres I just do this and it gives me a result in a couple ms:

SELECT * FROM things WHERE ARRAY['tag1', 'tag2'] <@ tags;
I would also add that a largish company isn't one place, it is many smaller places that only looks the same from outside.

Once you're past that 150 number or so, you will have multiple cultures and environments. There will be the small hot next thing, the big incumbent, the team everyone is waiting on, the hasbeens, the guys in the corner no one knows what they're doing, the guys everyone has to work with even though no one knows why, etc. Some traits will be the same, but environment varies a lot.

See recent discussions on Amazon for instance. Some people disagree completely on their experience.
How to set up cron job for Membership Manager Pro?
Sure they do. They think we all look like characters straight out of _Hackers_, writing funny glyphs and doing crazy things really fast - and they know sure as hell the programs they end up using don't look like that.

I guess what I'm driving at is that if you told my little brother that "Github is a program-sharing service" he'd think be thinking it was an app store.
How I Would Launder Money with DraftKings
Bravery Is at the Heart of Entrepreneurship
Not buying the HN gospel that it's literally impossible to be productive for more than 8 hours a day eh? :)
Valuing a Data Breach Victim
You are absolutely deluded, if not stupid, if you think that a worldwide collection of software engineers who can't write operating systems or applications without security holes, can then turn around and suddenly write virtualization layers without security holes. --Theo de Raadt
New iPhone 6s Ads Boast Jamie Foxx and Steph Curry Cameos
I don't understand why other market participants can't adapt to spoofing.

I agree that fines won't work because it's just another variable influencing the value of the spoofing strategy and if you get extreme about it you're punishing legitimate parties.

Maybe the real problem is the culture of finance. I'm sure this guy isn't all too embarrassed about what happened and there are plenty of people who would love to hire him
Henry Rollins: I Am Basically a Vinyl Cat Lady
What's completely inexplicable is why it took 23 years to do this.
Consider this:

(1) It's self-contained piece of UI code. It's not like this change will permeate effects throughout the OS.

(2) It's a few man days of work. Let's say that as a super-exaggerated-extreme estimate, it is still only a few months of work.

(3) Nobody was dependent on the current behavior.

(4) Everybody hated the current behavior. Programmers jumped through hoops like copying&pasting the strings into an editor, making a change, and pasting it back.

(5) They had at least 23 years to fix it (since at least Windows 3.1).

There are more plausible explanations about MH370 than there are about Microsoft's thinking here.
In Windows 10, you can use Ctrl+C to copy and Ctrl+V to paste. If they don't work, right click the command prompt titlebar, select Properties and then the Options tab, and turn on "Enable Ctrl key shortcuts". In this same properties page, you may also find "Enable line wrapping selection" and "Extended text selection keys" useful.
how does it charge your phone without a battery inside the bracelet?
The Muse (YC W12) Is Hiring Account Executives and Sales Reps
Find Out Which Note Taking Method Works Best for You
Baseless argument. Windows also splits the environment between the HKLM and HKCU hives. It just gives you a handy window to edit both at once.

.profile is a login script, not the recommended place for setting variables although historically it has been because /etc/environment and ~/.pam_environment are relatively recent additions to Linux. (Why didn't distros adopt the ~/.env though that other Unixes, like AIX, use?) But there Windows also has the profile login script and I don't know if it's possible to export environment variables from it but that serves the same purpose of ~/.profile.

So all those things you say are bad about Linux exist on Windows.
> What's completely inexplicable is why it took 23 years to do this.

I don't think it's inexplicable at all. "It wasn't considered to be an important enough change to be worth developer time by the people who owned that chunk of the codebase." Maybe it became important enough, or maybe somebody decided to make it their priority to push the change through, but random sharp edges show up in enterprise products, and persist, all the time.
The other place you'll see it commonly used is French ;)

For instance, Noël.

David Gay
For the text selection, see my other comment in this thread and turn on the "Enable line wrapping selection".

For the command window size and scrollback buffer, I've always had good luck - in Windows 10 and older versions - by setting the options in the Layout tab of the command prompt property pages. I also use the Font tab to select Consolas.

It is true that some programs that open their own command window don't follow these settings, but I usually open cmd.exe and go from there.
I have been very happy with how will this has worked over the last few years. These days it's a rare surprise when I download software and it doesn't compile easily. Of course I much prefer to use an up-to-date binary from the package manager, if one is available.
Request For Startup: Personal CRM for Grown-up Friendships
Perhaps it was because MS didn't want manual PATH alterations to be easy or they suspected too many people would have made their program only work if there was a manual alteration to it.

The DOS prompt being terrible for 20 years might have similar justification. In 1995 MS would have many developers who would have just shifted their DOS apps to the command line if they could have gotten away with it.

The OSX finder may have been made similar ideas in mind.
Relevant (explanation of "150"): https://en.wikipedia.org/wiki/Dunbar%27s_number
If you just let it be won't it eventually have hundreds of children?
Quite often, I'll have run through a whole series of variations on the probable avenues that a conversation or meeting could take. If you deal regularly with the other party in the conversation, you can often predict with pretty good accuracy what they are going to say. Most spoken communication is just trudging through the same well-established ruts, and throwing out the same sound-bite loops.

Eventually you get to the point that you know that when subject X comes up, Bob is going to deploy his well-worn chestnut that you've heard 147 times before, and you can damn-near repeat it word-for-word.
If the command is lauched from a link, right click on it, click Properties, edit the config, hit OK.
The mammal dislike of arthropods goes pretty deep. Most people enjoying seeing live hawks, cats, or other predators, but the percentage of people whose reaction to spiders can only be described as 'visceral' is substantial.
Nice. Two questions:
1. How long do you retain the code snippets for
2. How is this different from the many many options out there
3. Why not have an 'Email This' button?

Good going on the simplicity of the page and also on the no-registration-needed system
I like doing 50-state math on this. 1.5 billion land birds killed each year. 50 states. That means in a middle of the road state, like Iowa where I grew up, 30,000,000 birds are killed. But I grew up in a middle of the road county in Iowa, which has 99 counties. So in my county, that's around 300,000 birds killed per year. 365 days in a year. I'd have to believe that 821 birds per day were killed in my home county. That's insane.

(Adjusting: 900 square miles in my home county. Even distribution of cats, each feral or roaming cat is covering a square mile and eating about a bird per day. But the cat distribution is not even, and there aren't cats roaming corn and soybean squares. So I suspect the estimate is off by a MINIMUM of an order of magnitude, more likely by two orders, at least.)

Sincerely,
Fermi Problem Lover

Edit: math and commas
FWIW, that ~$80 worth of "stuff" is pretty much reuseable. Most of my ideas end up being not-as-useful-as-I-expected, so ratting the previous project for its now-unused Arduino/RaspberryPi/ZigBee/breadboard/orbital-death-ray is a really common way to start _new_ ideas/project for insignificant amounts of money...

(Also, as much as I like to support Arduino/RasPiFoundation/3DRobotics/whoever-pioneered-thing-de-jour, all those bits are available much less expensively ex China fro DealExtreme/GoodLuckBuy/AliExpress/GearBest et al.)
I hope this means that somebody also fixes KB329308, which I'm pretty sure was still around in Windows 7 (unless it already got fixed in 8/8.1) [1]. It's pretty easy to get bitten by this when setting up Java build tools on Windows.

[1] https://support.microsoft.com/en-us/kb/329308
Quote "a device that can imbue medical gear with video­conferencing and data-transmission abilities so a patient can leave a hospital and use the machines at home".

Some of the patents mentioned sound trivial. It seems to me this guy is focused more on quantity than quality. Is he a borderline patent troll?
The concept itself is something I have certainly considered.

The reality of it may be that there are just too many possible vectors to cover and they might not work as intended especially if scaled up. There's really no guarantee you will appear as noise to any sufficiently advanced algorithm and even as noise you will be run through algorithms shaped and molded by the behavior as everyone else which could backfire horrifically.
The way I see it, spiders in and around the house are alive and well because they're eating something, and that something is probably way less desirable than the spider.
> I didn't claim that teachers take their stress out on students. I simply claimed that if they did, they are horrible and unprofessional.

Maybe there is misunderstanding around the phrase "take out on" (it doesn't imply intentionality to me), but how could stress not affect a teacher's performance in the class room? It doesn't mean they're horrible and unprofessional, it means they're human!
Are they cannibalistic? If so, problem solved. If not, their progeny die because they've solved the silverfish problem and there's no other food.

Kind of a cats and mice thing, was my point.
Doesn't ConEmu allow for this?
20% productivity is better than 0%