skysight-inc/HackerNews huggingface dataset:
Well it depends on if you can run the software in an isolated network. I can trust client software a lot more that can run on a machine isolated from Internet access. If someone pitches a product like that to me, then I can proceed without really having to trust them.
> It's not that it's confusing, rather it's unnecesarrely cumbersome because it's explicit and because you have to put it as an argument.

I don't feel the same way. To each their own I guess.

Regarding your example, I don't see anything wrong with the second version. Anyone who reads the code will easily be able to tell what it does and where the variables come from. In your third example, how is anyone supposed to know whether or not `x`, `y`, and `z` are class variables or global variables? Kind of defeats the purpose of namespacing, I think.

> What I find worse than that is that you have to specify self in the parameter list.

This is really one of Python's implementation details. Methods can be bound or unbound. Without going into to much detail, just know that a bound method can be used as a regular function. Here is some code to illustrate what I mean:

>>> class A():
... def a(self):
... print('hello')
...
>>> A
<class '__main__.A'>
>>> A.a
<function A.a at 0x7fc4009381e0>
>>> A.a()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: a() missing 1 required positional argument: 'self'
>>> A().a()
hello
>>> b = A()
>>> A.a(b)
hello
>>> class B():
... pass
...
>>> b = B()
>>> A.a(b)
hello
>>> class B():
... def a(self):
... print('goodbye')
...
>>> b = B()
>>> A.a(b)
hello
>>> c = A()
>>> B.a(c)
goodbye

Self does not have to be the same class it's called on. It can be any class. However, if you try to access a class attribute that doesn't exist, you get an attribute error.

>>> class C():
... x = 10
... def a(self):
... print(self.x)
...
>>> C.a()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: a() missing 1 required positional argument: 'self'
>>> C().a()
10
>>> a = A()
>>> a.a()
hello
>>> C.a(a)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 4, in a
AttributeError: 'A' object has no attribute 'x'

Since bound methods need to behave like regular functions, it is improper to not pass the object instance to the function.
GIF MD5 hashquine
Basic SEO tips for your website
Totally agree, high risk processors who charge 15%+ on top of interchange exist.

Those competing against PayPal? Not so much.
It all depends on your ability to model things.
In the case where that ability is perfect (which may not exist,) all the "macroscopic" elements of reality you recognize are as true as their "microscopic" elements. That is, if your model of a fluid is perfectly correct in respect to individual atoms, then proving something about atoms automatically proves it to a fluid. If you prove that atoms exist then fluids exist (if your model is perfect.)
This problem is already tackled by science. In physics, models are known to be limited and target only a simplification of reality, and they become greatly wrong in special cases and thus unacceptable. For example, modelling a ball thrown in the air neglecting air resistance may be "correct" enough when it is a lead ball, but will become apparantly unacceptably "incorrect" when applied to a ping pong ball.
>Of course, many do in fact.

No mainstream cc merchant account bank and payment processor will accept 1%+ chargebacks.

That type of account is categorized as "high risk" and you have to resort to processors that specialize in that area (e.g. adult, gambling, etc). One example says they can handle up to 3% chargebacks.[1] They will definitely make you pay for that privilege in multiple ways: higher setup fees, higher monthly service fees, higher transaction fees, higher reserve, longer hold times before releasing funds to you, etc.

I'm frankly astounded that PayPal was willing to let a 2% chargeback go on as long as you said they did. All my previous reading about PayPal's contentious relationship with VISA/MC network & member banks was that they do not want to be associated with "high risk" accounts.

[1] https://www.emerchantbroker.com/blog/need-a-payment-processo...
>everything is stupid if you dont understand it.

Some things are stupid even after you understand them, and JS has plenty of those, as its creator and its greater evangelizer both admitted.
No comms. The internet is the backbone of changing that, but it's messaging apps and smartphones that have connected even the guys living on a mountaintop in India with everyone else. Now the guy who liked to make some oil for knife hits with is buddies out in Cali, posts a story about that. Viral amplification leads to interest, research, which is made possible by the internet.

Now however, you've seen it go from kids with butane cans blowing themselves up, to an industry involving CO2 extraction and lab-grade fractional distillation of individual terpenes. This would simply not have been possible without the ability to rapidly share information between people all over the world.
It takes a certain minimum amount of education and money to attempt the crossing. Poor yokels who try it get caught or die in the desert.

It also takes a minimum amount of ambition; lazy slobs can't be bothered. Fearful people don't want to risk being robbed or spending weeks out of work to end up deported and gaining nothing.

My relative's wife made the crossing because her husband was abusive and beat her and her son; he threatened to kill them both and had the connections to get away with it.
>random individuals coming together, learning new things, and working >towards a common goal

You gotta be kidding me
I said that -- "process with network access".

If I'm running your software, and there exists any channel by which that software can talk to you, then ultimately you can access whatever that software has access to.
Holding onto things in a multiprocessor world [pdf]
Could you give a quick explanation for the non-biologists among us? The wikipedia article goes a little over my head.
NVIDIA is making a big bet on GPUs being the right abstraction layer for research/production, and is nearly pivoting the entire company around this. The software/developer tools layer is really important too. Custom AI chip makers (e.g. Nervana) hope to compete with NVIDIA despite having fewer resources. What are your thoughts on how a small AI chip company can best NVIDIA/other competitors?
Don't forget good old fashioned religious fury... you know the people who think 9/11 was "Cuz of the gays" and god "lifting our protection".

There are so many flavors of bastard it can be hard to keep track of them all.

Edit: To be clear, I don't mean to offend anyone religious, and am not saying this is the usual run of how religious people view the world. Unfortunately, there are many millions who do, and they tend to be loud, and politically organized.
Gofundme for the Family of “Pay What You Want” Creator and Other Inventions
>I don't think it's that productive to judge a language on the worst features and edge cases that most teams will be able to easily reach consensus on avoiding

Only those edge cases merely expose functionality that can burn programmers on an everyday basis, like coercion rules.

It's not something that you have to get out of your way to get.
Would love to learn more, how can I get in touch with you?
Is it feasible is the real question.
Troubled covert agency responsible for trucking nuclear bombs across America
European businesses will be punished with the sane terms as well if they use a service which is non eu compliant.
So they can only use compliant services.
In Botany of Desire, Michael Pollan notes that the potency of marijuana did in fact increase tremendously from the 1960s through the 1990s (when the book was written). As did the growth rate and yield, and as the time-to-harvest fell.

Selective pressures, biological or otherwise, are ... a hell of a drug.
I wouldn't call that a low powered machine. I started learning to program with a Gateway Netbook (sub 1ghz single core processor with 1gb ram) just a few years ago. It was so painfully slow to load anything other than a REPL and Vim (with no plugins - I tried compiling YouCompleteMe but all 3 times the machine ran out of memory). That's what I stuck with, and I'm glad :D
>Of course, many do in fact.

Which?
I tried this back in 2012 after seeing Max profiled on Ars Technica. As someone who never had a FB account I was after my 'shadow profile' data.

Facebook emailed back stating:

"There isn't a Facebook account associated with the email address from which you are writing. This might be because you don't have a Facebook account or because you already deleted your account. In either of these cases, we do not hold any of your personal data."

I didn't ask for data attached to an email address, I asked for any personal data they had collected on _me_ and their answer was evasive and non-responsive. I didn't pursue it any further but I know they are bullshitting me, and I had to move on to other things.
"use strict" will save you from some of the foot guns but not all of them. E.g. it still allows the double equal comparisons I mentioned above, which have been the source of some frustrating debugging sessions ever.

If you want a safe language on the front end, use Elm.
The Hidden Economics of Ideas
Actually you don't have to write such a thing to get the same BS behavior, and it's not a strawman at all.

It's just a side-product of JS god-broken coercion rules and types, and those affect every statement one writes, down to the suggestion to use === instead of == for the most fundamental thing any language does: equality comparison.

The example is just meant to showcase how far the brokeness can be taken...
Why would we need to know how much was burned in a 24 hour period?

For the purposes of this article, it would be sufficient to measure how much fuel you transferred during a calendar year, and that's about as much as you consumed. The particular level of the day tank can be ignored as it won't even make a 1% difference to the total amount
> Linux honestly just needs to adopt zfs. Period.
> But because of the Linux license that may be all but impossible now.

Hammer2 might be an option, once it gets finished.
Something I use quite often, to create a new Maildir under $HOME

mkdir -p ~/Mail/{cur,new,tmp}
C programming tutorial
PilBox – Building Mobile Apps in PicoLisp
I remember reading of another example like this on reddit where they referred to this kind of thing as "weaponized autism". In that example they had looked at training videos of a terrorist training camp and managed to get the physical coordinates which were passed to the military for an airstrike.
The underlying issue seems to be that we confuse the empathy we should have with victims and their families, for reverence. We spend so much time listening to their advice, which is pro tanto going to be the most emotionally charged advice you can get. When policy is formed through pathos, nothing good can come of it except purely by chance.

It's not just drugs. At all levels of our justice system and society, we confuse the need to listen to victims and respect them, with a need to let them control policy. Of course the mother of the girl who is raped and murdered wants nothing more or less than such behavior to end. Of course the person who takes drugs and spends years in hell because of them has a very particular view of them.

We should listen to those views, incorporate them into policy, but they should not be the oracles of policy.
Also the biggest issue - it defers the question of valuation. That is a huge thing in pre-product/pre-traction stages when valuation is what you believe in.

99% of first time entrepreneurs have a simple question - "how do you value an idea, an early stage startup": It completely eliminates this question.
That's the thing, identifying the problem on the filesystem level is useless if you can only correct it on another level. Unless your filesystem is distributed and self-healing, it's not a place for checksums, it must remain a thin predictable layer on top of a disk.
I find that an implementation detail that most people don't care about in their use of prototypes.
Wow. This brings back memories. I think I used this after I used fvwm2. Sigh.
Have you tried medical cannabis for the pain? My wife has an autoimmune disorder and uses the raw cannabis - which has THCA, a precursor to THC, which doesn't get you high but greatly helps her pain and inflammation caused by her over active immune system
Some automated test suites are inherently badly written: automated UI tests, for example, when the UI is rapidly changing. "Tests should be written so they would indicate breakage early and address unstable, complex, but highly used parts of program." Yes: if your UI is changing every two days your automated UI tests break every two days, with no knowledge gained!

For library code I'd use TDD, though.

UIs are more suited to human testing (though cost pushes towards automated testing once the UI is stable enough), APIs are more suited to automated testing. And if you're doing prototyping or usability testing you might not need either (you might not even need to write code, sometimes).
>They said that about the EU, and it didn't exactly pan out like that.

Well, the EU never really opened its borders.

>Sure, there's immigration, but it's not like we all speak Polish.

That's because Poland has seen significant increase in local opportunities and no instability recently.

Not the same as most parts of the world people want to immigrate to the EU from...
How should our kids play at recess? Alameda schools offer lessons
Perhaps more elegant, but at the price of increasingly complicated tooling and complex ecosystem. The startup cost for a new user arriving into today's JS world is pretty high.
If you focus on business apps/sites, you might only need "low-code" tools like outbrain and mendix, which combine domain level focus, mostly visual tools, and maybe some code. Those tools are starting to become pretty successful, and it seems some of the big cloud guys also go in that direction.

And who knows, maybe some of those companies will adapt their platform to fit consumers.
In case anyone is curious about why this was problematic:

https://paragonie.com/blog/2016/08/crypto-misnomers-zero-kno...

Zero Knowledge is something you're most likely going to find in an authentication protocol, not an encryption protocol.

While I have mixed feelings about "No Knowledge", it's at least not a collision with a different concept.

Good on SpiderOak for the effort here. It shows they do listen, at the very least.
The analytics might be buggy but the user experience is still great compared to so many "responsive" website.
Dozens of new drugs, like what?
Saying it's unnecessary is incorrect, and I don't agree about it being cumbersome either. On the first point, how would you disambiguate between reading from an attribute and reading from a global (or non-local) variable? How would you disambiguate between assigning to a variable and assigning to an attribute? You'd have to explicitly declare all your variables (making other things cumbersome instead) or accept that the semantics of your program could change during run time, depending on the contents of outer scopes (which I doubt you'd find an acceptable option). This is the main reason the 'with' statement is deprecated in JS. C++ can get away with implicit 'this' because it has static dispatch and all variables are explicitly declared anyway. But truth be told, I'd remove it from C++ too if I could. I like the clarity of knowing at call site whether something is a function or a method call without having to look it up. Paying for it the price of having type a few more characters has never bothered me.

And I somewhat like that I can name my 'self' argument whatever I like instead of having to resort to obtuse workarounds like 'var that = this;'. Not that I've ever had the need to take advantage of that possibility in Python, but it's comforting to know it's there.
So no international consensus then.

I disagree that editing viable human embryos is unethical.
A quick sampling of probable files in the repository suggests no CUDA that I can see.
Location is the big difference.
Ask HN: How do you develop secure communication for connected devices (IoT)?
Connected devices are nowadays almost all new products in several different areas (white goods, vehicles, industrial equipement, medical devices, etc.) and the so called Internet of Things is an engineering knowledge that software and hardware developers are required to master regardless of the product they're designing.

I'm curious to learn how design engineers are making choices for being sure that communication of devices with the Internet is secure enough: encryption, identification for a TCP/IP based communication channel originated by a limited-resources device (assuming that it can't run Linux, only some simple RTOS).

The other partner of the communication can be viewed as a unlimited-resources entity (the cloud) but most of the products we're asked to design with connectivity on board used to have limited funcionalities until yesterday, and we're lucky if a 32 bit (ARM Cortex M3/M4) is already part of the design.

Best practices are clear and known, but what's your experience in adopting them? Any cultural/technical/financial limitation applies usually?
I'm pretty sure using the phrase "worse for global warming than carbon dioxide" for something that actually causes acid rain instead is the thing that narrows and distorts understanding.
>That just doesn't happen enough in real life to design around.

On the contrary, I think it does. Especially for web, enterprise and application programming, 90% of the logic is the same tired data transformations.
When you give money to a bank, it's no longer yours. It's registered on the bank's books as its own asset, offset against a liability to pay the money back when you ask for it. If the bank goes under, you're just another creditor.
What is wrong with returning an IO error (e.g. EIO) if the data read from the disk is corrupt?
(Sorry I was in a hurry and miswrote! English is not my native language. I edited my post to clarify.)

What I meant to say is that Bitcoin eliminates chargeback fraud, because payments are irreversible. That plus Bitcoin eliminating the need for a payment processor who may freeze your money are 2 real problems that Bitcoin solves.

Theft is also solved by storing bitcoins in a hardware wallet (or 2 for a backup) like Trezor, Ledger, etc. To date no credible theft of coins stored in a hw wallet has ever been reported.

And I don't recommend to only accept Bitcoin payments. As you point out this would severely limit sales. At least sabslaurent could accept it as an additional payment option, which would provide an extra revenue stream not subject to Paypal's risks.
This is simply not true for all tech companies. I've had instances where I said no due to asks being not in line with company policies and we changed course to tackle the problem another way. I work at Microsoft and there's severe rules against retaliation should your boss penalize you for something like this.
I encourage you to try RAW medical cannabis. The precursors in the raw plant to the cannabinoids that get you high, such as THC, are the acid form, such as THCA. They don't get you high but have been very pain relieving for my wife's constant inflammation. The heated form (where THCA is converted to THC) is also helpful, but id you really dont want to be high, find strains that are low in THC/A and richer in e.g. CBD/A Also it can be done at a low temperature in the oven or in a canning jar on the stove (called decarboxylation).

I don't know your pain but it's been super helpful for my wife.
> Paypal's anti-money laundering rules comply with the rules set by each state that money transmitters are required to follow

It is complicated. For example, New York's Department of Financial Services "interposed no objection to PayPal offering certain of its payment processing services to New York customers without being licensed as a money transmitter" in 2002 [1]. These rules are complex alone, complex in their interrelations and subject to competing regulatory interests.

I work in a regulated financial forum. I've seen, or been relayed through regulators, accounts concerning money transmitters needing to hold funds for more than 180 days to finish an investigation per their internal policy. At that point, the contract doesn't matter--statute trumps. This might be unique to New York, but I doubt we're the only state or territory with these rules (usually, our laws are the most cutting).

If it's customer versus compliance, the customer almost always has to engage regulators or sue to make progress. When using money transmitters like PayPal to not only move funds but also hold them you're giving up a lot of the regulatory protection and venue-provisioning you get with more sophisticated services. If a business relies on PayPal, its management needs to talk to a lawyer and do more research.

[1] http://www.dfs.ny.gov/legal/interpret/lo020603.htm
> The top 0.1% control most of the wealth

So what? I can still make millions and so can anyone else.

The top 0.1% of anything control the most coveted aspects of that thing.

Really? And this is a revelation how?

This manner of victim thinking is defeatist. One thing has nothing to do with the other.

Here's a perfect example of a guy with a very simple idea that, as of 2012 (can't find current data), developed a SIX MILLION DOLLAR business. With a freaking paperclip. No code. No computers. No need to learn Python or ever touch a server. A freaking paperclip was his development tool. Here, read it:

https://goo.gl/mqUbts

I'll repeat what I said a few times now: Opportunities in the US have never been better. Anyone can reach for the stars. Yet, it does require taking risks and being willing to work hard and smart in order to succeed.

What the wealthy do is utterly irrelevant.
Why has Intel not released this tool before? EFI rootkits have always been a threat...
Except that also occurs when both things are very low - not a compliment either.

Best to steer clear of 'ratio' if praising two traits, sum them or something, don't divide by one of them.
This. Making rules and taxes for ships registered under your flag has no effect other than to have ships registered under other flags.

Regulating ships in open waters is difficult. If US environmental rules became too much of a hassle companies would ship to Mexico and into the US by rail, or the cargo would be transferred in nearby ports to ships that complied with regulations.
Don't forget the talent aspect. Already right now there are not enough capable people and by opening their software the tech giants are lowering the entry barrier. Furthermore it is the vast amounts of data that really differentiates them.
Excellent article. A pragmatic approach to testing is usually needed to get a good cost/benefit ratio imo. This may include testing different parts of the system in different ways and also test differently over time. For example, it can be worth skipping automated tests altogether from start and then revisit a month later to add tests to parts that have now "proven" themselves to be useful and central.