skysight-inc/HackerNews huggingface dataset:
I would be super interested if the os/exec change bites you. I've never seen any definition of how programs should handle duplicate environment variables, and there doesn't seem to be consistency in the wild either.

We went with the bash behavior (latest one wins), which also means all the code previously using:

cmd.Env = append(os.Environ(), "KEY=newvalue")

... now actually works reliably. Previously, if KEY=oldvalue was already defined, what you got depended on your luck with the child program. Either old, new, or random.

File a bug if you see a regression.
> Other considerations are utter crap and should be made fun of in a cruel fashion

> Most of us don't make fun of others in a cruel fashion

Highlights mine. I think you missed that rather important distinction.
would you mind elaborating a bit? you say the process moved random neighbors closer to each other, but what do you mean by neighbors? i'm assuming you don't mean particles that are directly adjacent. if the method for selecting which particles to move together is distance-dependent then it's possible an inverse-square law got baked into it just by virtue of the shape of euclidean space.
Well..thank you for this very informative conversation :)

Lordy.
Yeah, that's great if you're NT and all that, but if you're interviewing someone who is anxious about the situation this might only add to the pressure, creating a melt down situation making it impossible for them to think.

In a normal work environment where he or she is left to think freely the the same candidate might excel.
> ...the environment variables SSL_CERT_FILE and SSL_CERT_DIR can now be used to override...

I presume that those environment variables override the defaults at runtime, but it would be good to call that out explicitly since we are talking about a compiler release and there are compilers that can evaluate environment variables at compile time to allow for more flexible constant runtime values.
You can even set the precedence of your new operator in Haskell, and confuse everybody. Maybe beyond +, -, *, and /, you should have to use parentheses.

Here's C's operator precedence.[1] All 15 levels.

Think of the maintenance programmer who will have to fix this.

[1] http://en.cppreference.com/w/c/language/operator_precedence
How Much Are Frequent Flier Miles Really Worth?
Delays Aren’t a Bad Thing
one of the ideas that came up was a decent one:

create a startup that offers financing for weddings.
The precursor to the Matrix it seems!
Well, there were plenty of other Homo that, if my understanding is correct, we "took care of" :)
To clarify: C says it's UB, C++ rounds up to 1.
they didn't flush any money down the toilet, 21.co mined a lot more then 120 million in bitcoin, they mined at least 75,000+ BTC
Thanks, this explains it perfectly.
Assets - (External) Liabilities = Equity
Yeah, I'm going to have to find a way to monetize this lol. Slightly more effective than monkeys on a typewriter perhaps?
I think this might be a boost for modular housing and also including rent as part of salary, something similar like healthcare offered by employers.
Rewarding Failure – Why SF Infrastructure Is So Expensive
SV is an outlier. For everybody else the goverment salary with defined pension, health care and job security is a very good deal.
Not exactly the same market as Arduino, and it'll continue to matter about as much since semiconductor manufacturing isn't getting any cheaper.

You know what I'd love to see? An Espressif with a gaggle of RISC-V cores in it. I don't know how much they pay Tensilica. I think they could do a lot with that.

Xtensa is a bit of a mess on the toolchain side, seems to require compiler flag customization for any given model, or it might not even run. For example, endianness is configurable at the architectural level.
There's a good side to that, since thymidine isn't a dietary sugar.

Should we use dietary sugars for any other end than human consumption, we will risk coupling the surge in that commodity 's price to food prices. Like biofuels - mass production of corn for biofuel at the current level of demand for fuels would probably mean, in the worst scenario, that popcorn would become prohibitively expensive.
FWIW in almost 10 years of living in half a dozen apartments between 2 states, I've never had the option to pay by CC. It's always check or money order, and if you miss a payment, cashier's check.
True. I am not sure if I want to take the risk though. I don't want to be a friend or tell jokes but i want to be able to talk technical stuff.
why is there no search feature on this site? perhaps they should start a bounty for that first before submitting to HN .. smh
Doesn't this entire discussion demonstrate it ain't so? If the company has a revenue of $1B and pays the CEO $1B then it has zero profit. So how does the contractual obligation work out here? If you don't get a say on whether the CEO gets $1B in salary then what exactly is going on here?

There are other situations like the company taking on debt, issuing more shares, bankruptcy, acquiring other companies, share buybacks, dividends. If you don't have control there are ways for the company to "steal" your share of the profits.
I think it will be decided by the committee whether she gets the Pulitzer or not. Certainly there's a lot of paper out there around uber that contributes to the impact. But her commentary also has larger implications and in some sense reflects for better or worse society at large. We see it in the Senate confirmations and in the Congressional inquiries where members of Congress and the Senate are accused of being hysterical or otherwise out of order. We have a president who bragged about sexual assault. So it doesn't matter if she's a journalist or not.. she brought a spotlight to bear on an issue we largely ignore which is about the treatment of women.
She didn't reform it at all.

She wrote about her experience, which was incredibly brave and hard to do. She put her future career on the line. And she was the right person at the right company at the right time (or wrong, depending on how you look at it).

She didn't investigate much at all. She didn't uncover much at all. She certainly hasn't reformed uber, but caused a spotlight on uber that has caused reform to happen.
Across browsers, Safari is stock, Chrome has maybe a million extensions but nothing that would affect LI, FF is mostly bare but a very old version (42?) due to a work requirement.
https://np.reddit.com/r/EngineeringStudents/comments/6h76kn/...
When you say "side project" how large are we talking? If it has $15~$25k a year of profits or so, consider talking to FEInternational -- I sold both of my companies through them.

At the "few hundred bucks a month" level you're probably looking at either Flippa or finding someone through personal networks.

You might consider posting on e.g. the Indiehackers forum or HN if you're looking for entrepreneurially interested people with technical skill, FWIW. There have been far less obvious places where business deals started.
Philip Terrone (spouse of Limor Fried, founder of Adafruit, poster of the above link and this article link) is embarking on a back-room campaign to actively assassinate the character of the Arduino.org people (the .org people are associated with Dog Hunter). This isn't his first outing in this department.

The .org people (Federico Musto) are different than the Arduino.cc people (Massimo Banzi). Terrone seem to have some sort of personal vendetta going on here causing him to repeatedly lash out at them and spread rumors.

I don't know exactly why, but take this post in the broader context of what has been going on. I know people who have worked with Terrone. His reputation is not so great either, he is an arrogant dude.

Further evidence of this fun campaign:

In the article where Federico Musto is reported to have faked his background, it says at the bottom that Philip Terrone is the source of the tip about Musto's educational background (Link: https://www.wired.com/2017/04/arduinos-new-ceo-federico-must...).

"With this evidence in hand, Fried and Torrone emailed Musto, who replied that it was a mistake, and that he would correct the matter. But his various internet bios kept citing the credentials. So the pair contacted the media."

So take this post with a grain of salt, it is part of a smear campaign that Terrone is going about online.
Here is a good reason to think that people would help others less even when everybody is in agreement:

https://www.youtube.com/watch?v=mwzBJF5Q7Vw#t=3m29s

This is Dan Ariely describing "The public goods game" and the instability of 'cheating'. Cheating in scare quotes because the conclusion stands -- in fact is enhanced -- even when the 'defect' choice is regarded as a choice that members of society are free to take (in fact that is the case he discusses).
I agree with you, but this is in principle a separate issue. We would like to aim for a system that has both the security of Bitcoin AND the "efficiency" of, in this example, VISA.
I think the advantage is that the phone screening is much shorter than an hour, for everyone.

And "you haven't passed this interview" is less suspect than "I ended this interview early"
its becoming such a hot job right now due to the incredible rise in data companys are accumulating
In college when my future mother-in-law called to ask if I knew where her daughter was I absently replied "Just a sec, let me finger[1] her." It wasn't until the extended silence on the line did it occur to me that a my use of jargon may have been misinterpreted.

[1] For you who don't know, the finger(1) command and protocol would return you the status of someone logged in and what they were working on (if they had set their status). Sort of like Google Chat used to do before they ruined it.
I can definitely say that I've been guilty of seeing a subtle but not deal breaking bug in third party open source software and then failing to file a report because there's just so much to do in a day that it's easy to forget. It's on all of us to be good open source citizens.
not enough problems yet for search. hopefully soon!
Oh wow, I was so close to embarking on a Python task queue the other day because Celery was driving me nuts. I just wanted various apps/processes to be able to fire and listen for events, something that AMQP with a topic exchange seemed great for[1]. The thing that really tripped me up was the overlap in terminology between the AMQP protocol and Celery. Sometimes a queue means a queue, but sometimes it means an exchange. How do task names and routing keys interact? Why does the celery worker die when you listen to more than 3 queues on python 3.6 [2]?

Don't get me wrong, for basic stuff celery is great, albeit with a bit of a learning curve for the beginner. (And who knows, maybe I'm just missing something when it comes to more complex applications.) I also think the devs have done a great job and are super responsive. I think they also made a wise choice to chop features a little while back.

What I would really love to see (create?) is a cut-down python task queue which deals solely and specifically with some kind of AMQP (or similar) broker. Also with a task scheduler with a UI, that is something I'm loathed to lose.

Maybe this seems ridiculous, I get the impression that everyone is talking about microservices, ZeroMQ, service discovery, billions of messages per picosecond etc. I'm talking about medium size projects where a maybe a dozen apps just need to coordinate a bit. I feel like this middle ground lacks solutions.

Sorry for the ranty comment. I suspect I'm just trying to talk myself into creating this at some point.

[1] https://www.rabbitmq.com/tutorials/tutorial-five-python.html

[2] https://github.com/celery/kombu/issues/675
Right now it is true that there are a variety of cryptocurrencies, but I think the authors' point is valid that, due to network effects, in the future competition will be harder as existing players become more entrenched (no matter how flawed they may be).
Yea, I'm thinking about cases similar to HTTP parameter pollution, and what the program expectations are. You'd be right to argue environment variables should not be user controlled. :)
Wow the scrolling on the page on mobile is horrible
>I believe there's a case that funding MDMA research has very high dollar/impact returns - or at least that it's likely enough that it's worth a thorough exploration.

Sort of? I'm sure there's potential, but you pay a lot of your grant money to DEA licenses. Also, MDMA might be neurotoxic.
I wish there were links for sound files in the article...
I don't care about this really. All I want is just a fluid, fast desktop app that won't make my MBP overheat. Is that too much to ask? =(
I would also accept paying more for a Linux version if the port is done correctly.
The Crab Nebula:
https://www.nasa.gov/sites/default/files/images/430453main_c...

described in a journal article 30 years ago: http://adsabs.harvard.edu/full/1988ApJ...327..853R
> After all, as nerds, we should have an idea what it's like to be bullied.

Nerds being bullied seems to be a predominantly US phenomenon that is generalized far too often.
That sounds awful, you are actively sabotaging someone by ruining their concentration while they're trying to solve a bug in unfamiliar code under time pressure. This is like having a manager requesting status updates every 10 minutes when you're trying to fix a production failure.

Even if I solve the problem I'm walking out of that interview with a very negative opinion of your company.
sounds like you know what's going on, maybe you can answer the questions on the email?

ps. it's only a smear campaign if the accusations are false.
There are lots more, here's a more systematic study from Fidelity:

"
The average investor lost money in the Fidelity Magellan fund under Peter Lynch’s tenure during a period of time when the fund returned around 29% annually."

http://www.innovativewealth.com/wall-street-wisdom/individua...

It's easy to look back and say, wow, if I had invested at that time, I'd have $x m/b, but the temptation to "lock in gains" or "diversify" is really strong. And sometimes it is right!
Yes. A parrot could tell him: "You won't believe what a Japanese great tit just told me..."
Suburbs in most places = medium-low pay but fairly cheap housing
country = cheap housing, no [tech] jobs
Metro areas (more dense than suburbs, less dense than cities...e.g. most of the Bay Area) = expensive housing, medium or high pay
Cities = extremely expensive, high pay (for tech jobs)

Pretty much every scenario seems to be "optimized" to have techies paying 30-50% of their monthly income to housing. You can't really win, but you can attempt to maximize the real dollar amount you end up left over with with each month. Working remotely is "cheating the system" and is therefore largely disallowed, or "work from home" is allowed only to quell some degree of outrage. Literally the industry that invented video chat doesn't [want to] understand how to use it to work remotely.
big jumps in the domain are rare, but bifurcations can easily be the result of little jumps in the domain. The map of genome to organism is not "differentiable".
You don't have to spent any money testing and developing trading systems
I've done a few of your lessons and I feel they only scratch the surface.

The format works well for learning high-level concepts, but anyone planning to "go from 0 to coder" with this app is fooling themselves.
Browsers have a native crypto API? Last I heard, websites requiring client side crypto used libraries written by other people. There's even a Node.js module for crypto.[0]

[0]: https://www.npmjs.com/package/crypto-js
On what do you base this claim? If you grant rights to someone, in what legal way can you simply revoke those rights?

Real question. I am not a lawyer, but would assume arbitrary revocation would essentially be a breach of contract. (But I guess it's not technically a contract since it's one sided?)
How to Get Your First 2000 Subscribers on Your YouTube Channel FAST – Seo Quick
Best advice ever, wish someone gave it to me 20 years ago. the is the best life stile business, location independent, no employees, no clients, no bosses
WSJ article:
https://blogs.wsj.com/cio/2017/06/14/element-ai-raises-102-m...
If your looking to talk this through live with someone and bounce ideas about career and such, I do coaching for lots of job seekers (also resume writing, bios, etc.) and have worked with a number of HN'ers over the past few years. Much of my coaching is just asking the right questions to help clients arrive at their own conclusions.

If interested, my contact info is in my profile.
The GPL is non-revokable: http://www.groklaw.net/article.php?story=2006062204552163

This is explicit in GPLv3: "All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met."
Mm, your comments is unrelated to the issue being talked about in the email. I don't particularly care about who sent the email as much as the source code being available.
I'd also suggest that you create a waitlist (or "interest list") for the linux version.
Very smart people are in CS and IT as well, so we don't have to touch a keyboard because of it?
Could you be more specific about what you mean?

The relevant (i.e. when it isn't premature optimisation: benchmarks have been run) alternatives here are

1. always risk memory unsafety, fast

2. crash on conditions that would trigger memory unsafety, slow

3. use 1 in release builds and 2 in debug/testing builds.

This is effectively having an in-code sanitiser. You can definitely argue that using an actual sanitizer might be better/less error prone, but this scheme allows flagging more general invariants than what sanitisers currently understand, and, can/should be used in conjunction with sanitisers (more checking of `unsafe` is always better).

Of course, poorly implementing the abstraction might lead to behavioural differences between the two modes, but one has to be careful when writing unsafe code anyway. Additionally, typically these abstractions can be small and even written in ways that make it clear that there's only extra checking, returned results are the same (i.e. the only code difference in the abstraction's public API is some extra debug_assert calls).
Well, try this for me, especially that you didn't use searchable terminology,
so it's hard to confirm what you're saying. And then tell how much of that is
important for typical code.
I don't think verbosity helps that; I means, to me that's clear, idiomatic Python code except that “for i, _ in enumerate(tuples[0])” would more clearly state it's intent as “for i in range(len(tuples[0]))” [0] which, unless I miscounted, is actually one character shorter.

I'd also break the list (outer) comprehension into two lines for readability, but that doesn't really affect verbosity.

[0] replace range with xrange in Python 2.x to avoid allocating an unnecessary intermediate list.
Is it really time to transition to React Native?
Its fairly easy to see how this correlation breaks down. It is almost a truism that someone who is good at communicating with a wide range of people, is likely to make that wide range of people think they are more technically competent than people who aren't good at communicating with a wide range of people. Especially given the virtually random nature who you will communicate with during any given interview cycle.

But, its quite possible for people who are not naturally able to communicate with a wide range of people to be able to communicate with a smaller subset (say people they are more comfortable with, or people working on similar problems to them).

The more interesting question is, could those people who communicate less broadly, in a situation where they do communicate well, perform technically at the same level (or better) as people who are more natural communicators?

Another way to say this is, evaluating interviews is fairly prone to bias towards people who interview well. As someone who is hiring I'd be much more enthused about their results if it correlated to job performance, not hiring results. Its almost gospel at this point that there are people in software who interview well who do not make good hires, but the methodology of this article doesn't talk about this at all.

All told, nothing about this research is persuasive to me on my opinion of "interviews are largely worthless in determining who will be a good hire".
Are you guys out of your minds?!

She was someone that couldn't even last a year doing a job she was hired for, went to Graduate school during that time (PAID by Uber), had time to write a "best selling" book, had time to go to speaking events, based on her own self-admitted assessment needed to prove herself in the position she was hired for, and clearly instead of actually doing her job, had spent most of her work day sending emails to HR, and then wrote a he-says she-says OPINION PIECE WITH ZERO FACTUAL EVIDENCE.........

And now she's some kind of martyr or a hero?????
What is wrong with this world that we live in?????
this is my view towards subscriptions, particularly now that i use an iphone app to manage them.

in fact there are (at least) a couple of start-ups focused on subscription (recurring payment) management. The one i use is Trim.

this app is useful and paid for itself by a factor of 10 just in the first month

but here's the thing: a very large number of vendors have made their subscriptions resistant to cancellation by these "subscription managers"--even after Trim contacts them, the response usually something like "only cancel the following the tedious manual steps" which even after you do it, you have to check again next month to be sure your cancellation request was honored
How impactful spending $ is should be measured by the outcomes and whether there was a cheaper/faster way to spend $ to achieve a similar outcome with a similar level of risk, not by whether achieving that outcome required spending $ on necessary compliance.

Re neurotoxicity - neurotoxicity should definitely be explored, though more important seems to be does it negatively impact someones life - are the less happy, less smart, etc.

https://pubs.niaaa.nih.gov/publications/10report/chap02e.pdf

> Studies clearly indicate that alcohol is neurotoxic

Though apparently alcohol has minimal consequences in safe doses. Same thing appears to be true of MDMA.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3053129/

> In a study designed to minimize limitations found in many prior investigations, we failed to demonstrate marked residual cognitive effects in ecstasy users.
Or have to abandon your cloud photo archive that you've been happily paying full price for despite not even uploading any new photos because "we don't support Windows Server 2003 any more" (even though everything continues to run perfectly fine). (Crashplan, if you're wondering.)
lmao cry more dude
I hadn't looked at the planned changes for go1.9 until now and I have to say I'm really happy :)

- net.Resolver.Dial allows doing all DNS resolution myself, right in the same process (via a localhost port). And nice it can do both UDP and TCP.

- SyscallConn providing access to the underlying file descriptor is super useful too.

- monotonic time is very useful in network protocols.

- concurrent.Map is nice too.
> Are we talking about the POSIX interface to files

Those give you these atomic ops and optimistic or cooperative locking: https://rcrowley.org/2010/01/06/things-unix-can-do-atomicall...

Multi-file transactions can be built by moving whole directories over symlinks to the previous version. The linux-specific RENAME_EXCHANGE flag can simplify this.

> or is there a new transactional API

CoW filesystems give you snapshots and reflink copies via ioctls. Under heavy concurrency this can provide cheaper isolation than locking.

> and makes the writes always durable (sync; not fsync)?

For durability fsync is sufficient if you do it on the file and the directory.
To combine atomic and durable you can do the write, fsync, rename, fsync dir dance.

https://lwn.net/Articles/457667/