skysight-inc/HackerNews huggingface dataset:
SEC wants to remove him from the head of the company: https://twitter.com/kadhimshubber/status/1045407900259295233
Some good suggestions here from Jeff Atwood: https://blog.codinghorror.com/programming-your-hands/
I'm sorry but this article is mostly not Scottish. Lambdas in Python are an old non-issue. They are what they are.

I like 'em because you can do "stupid python tricks" like Church numerals: https://en.wikipedia.org/wiki/Church_encoding

plus = lambda m: lambda n : lambda f: lambda x: m(f)(n(f)(x))
succ = lambda n: lambda f: lambda x: f(n(f)(x))
mult = lambda m: lambda n: lambda f: m(n(f))
exp = lambda m: lambda n: n(m)

c0 = lambda f: lambda x: x
c1 = lambda f: lambda x: f(x)
c2 = lambda f: lambda x: f(f(x))
c3 = lambda f: lambda x: f(f(f(x)))
c4 = plus(c1)(c3)
c5 = plus(c2)(c3)
c6 = plus(c1)(c5)
c7 = succ(c6)
c8 = succ(c7)
c9 = c3(succ)(c6)
c10 = mult(c2)(c5)
c11 = succ(c10)
c12 = mult(c3)(c4)
c64 = c3(c4)
c256 = exp(c2)(c8)
Whether it hits a nerve or not, there are more productive ways to express that you don't agree with an implementation. You acted like a bully and that's completely unacceptable.
We're going in circles and the pedantic comparisons don't help.

If you think it's pure luck, then that means building (this) business is no different than winning the lottery - which you specifically said wasn't the comparison before.

If it's not all luck, then that means success takes difficult work and odds only further show the challenge in getting to this scale, in which case it's perfectly fine to write about.

So which is it?

"a certain scale and type of success being impossible to predict, possessing exceedingly low odds, and being largely random within the pool of “people trying.”"

Ok...? This isn't relevant, it just shows thats its difficult to get there (with some luck required).
As a pilot and former flight instructor, I'm not terribly sympathetic to the recreational drone complaints. There are recreational kite fliers too, and they have FAA regulations that apply to them, I don't hear them complaining. There are model airplane pilots, they have FAA regulations, they have a community that is very serious about education, training, mentor-peer relationships and self monitoring and reporting.

I do not see this at all with the drone pilot community. It's a community of individuals. And even if it's less than 1% of the total drone pilot population, there is a real problem with this bizarre demand that they have a right to do what they want. They do not. This is shared space. Ham radio operators have more rules, testing, peer review and community than recreational drone pilots.
I've noticed on my SE that everything is running much much faster with iOS 12. It seems like the app store is actually really usable now. Does anyone have any idea what they did?
Makes me think of the South Park episode about staying off your phone when you're being President.
>Drones in the skies aren't necessarily easily concealable either

Drones can fly either high enough to not be easily seen (and they are too small to show up on most radars) Or they can be launched near a target and fly low.

>Both cars and drones are fairly easily transported by other vehicles.

But you need another licensed vehicle at that point to transport it. You can put a drone in a backpack and walk, ride a bike, take a bus etc...

>Drones are slightly easier to transport in that respect, but not enough that I think it makes a difference.

You think that a 2 pound drone is only "slightly easier" to transport surreptitiously than a 2 ton car?
We recently hired an outstanding engineer who graduated from a bootcamp and previously did not apply because we had an archaic requirement around "BS Computer Science or equivalent" in our job description.
Tbh, the AP exam does not prepare one for programming at all

That's why it's called the AP Computer Science exam rather than the AP Programming exam.

any self respecting university should not accept credit for passing it.

I don't think you appreciate what a CS degree means.
f# (and also ocaml and sml) have all those and much more. they are much more consistent and principled in their design, which makes things simpler to understand.

for example, in all three languages above, expressions are much easier to understand because they always return a value. this makes code easier to reason about. this is not true in python.

the languages i mentioned do have static typing but they have type inference. so you get the best of both worlds. you do need to type annotate at some points to clarify things, but this isn't a problem as it documents to both the user and compiler.

given your above reasons, you owe it to yourself to learn an ml. there is the programming languages course on coursera by dan grossman, which uses sml in the first part, and the ocaml mooc just started where you still have time to register and complete it.

https://www.coursera.org/learn/programming-languages

https://www.fun-mooc.fr/courses/course-v1:parisdiderot+56002...
Seems like a waste of time when you can just do style="background: red;". You're not adding anything to CSS you're just renaming and enumerating all the style attributes and values.

I think it makes sense in small doses but I think once you're using shell scripts to generate all these combinations you've lost the plot.
Just go with the flow. It's like this at most jobs. You have it better than most people on the planet.
It sounds like this formatter is sufficiently different in its approach (based on the prettier paper) that a PR would basically rewrite the existing one?
I'm curious, do you consume animal products? I appreciate you answering these personal questions, no stress if you're not interested in continuing the barrage of questions. :~)
Unfortunately, this isn't how Apple works. Both teams are more or less separate in this case. Sure, the Swift team can certainly send information over to the AppKit team, but they don't have the ability to make any decisions on naming conventions.
Your examples don't seem that great, to be frank.

The lambda syntax isn't that different from the syntax for defining functions, unless you're referring to the fact that it's different than anonymous functions in other languages.

I don't find the inability to pass around operators to be a hindrance, but the fact that getting into python requires understanding all of these dunder or magic methods is another story.

However, on map, filter, & reduce, I agree with you completely.

One of the worst aspects of python is the extensive use of bad practices, and ignoring functional programming principles is one of the top offenses.
It's clearly not good to have an unknown but presumptively malicious in some way, shape, or form computer on your home network. And I would be cautious about uploading the device's file system and strongly consider changing various passwords. But, yeah, it's not like the computer suddenly has root access to everything else on the network.
This is a lot of the underlying motivation behind the indieweb community, which is growing (and holding an event in NYC this weekend): https://indieweb.org

If it's important to your reputation, professional or otherwise, you should own it. Starting a self-hosted blog is easier than ever to do, and immediately frees you from these kinds of arbitrary actions.
That would be awesome. Gandi has this (5 inboxes), but at $12.
These are good reasons for why people might prefer python over other imperative languages, though basically all these points also apply to Haskell/OCaml/F#/etc., though some people would still say that a lot of things there look like line noise.

I think the GP's point was that functional languages give you similar benefits, but with more uniform and disciplined behavior of many language features. Why FP is not more widely used compared to imperative language is another topic though.
When the Food We Ate Was Literally Poison (Even More So Than Now)
Visa's reversibility is a feature, just as Bitcoin's irreversibility is a feature. They are quite different systems with different goals, and so comparing their properties in isolation such as transactions/second is not particularly illuminating.
Head Start Gains Found to Wash Out by 3rd Grade
>That clearly didn't work in that case, did it?

If you don't think that they were actually putting forward a tale to be believed in the first place, but were signalling that they don't have to bother, then it just doesn't even apply.

>Neither is a logical argument, both are abductive heuristics

Occam's razor is a logical position to take in an absence of further information, although sometimes wrong, especially in biology. Hanlon setting up malice and stupidity as an exclusive or gate, is not. Nor was it ever meant to be taken as such.

>Which is why nobody is willing to bet on making such stupid and dangerous mistakes on purpose as exposing your agents, exposing your leader's lies and making your country suffer retribution for assassination on foreign soil. And for what? To laugh the whole world in the face? That's insane.

Putin has been exposing his own lies for years on TV, usually with a smile. This is the guy who goes on his third ever scuba dive on the news and brings back museum quality amphorae. Lying barefacedly, with the audience knowing it is all lies, is a large part of his public persona. It is meant to both be funny and set an example that he doesn't need to bother with little things such as truth.

>The PM put on a diving suit and dived deep into the Taman Bay where, to everyone’s utter surprise, he managed to find two ancient amphorae dating back to the 6th century AD.

>Putin also told journalists that the Taman dive was his third-ever attempt at scuba diving.

https://www.rt.com/news/putin-amphorae-dive-archeology/
You say the shorts don't have any power to hurt tesla, but much of tesla's and elon musk's personal debt is backed by Tesla shares. If the price dips too low, it's potentially catastrophic for the company and him.
>The explosives are regulated.

given that fireworks and powder are easily available (re: Tsarnaevs) or relative availability of ANFO (re: McVeigh) and similar stuff or that just one visit to Home Depot allows you to buy components making for a pretty good explosive, i think the explosives are regulated mostly to avoid them lying freely around under the kitchen sinks and in the garages and to avoid being handled by clueless people, not to protect from terrorists.
It might be a feature if you're a consumer worried about having your card stolen.

If you're a business, it's a bug. Ideally, you would prefer to not even accept credit card payments and only accept cleared funds, but since you'll potentially lose out on business by not accepting credit card payments, you have to take the risk sometimes.

Reversibility does not reduce the incentive to commit fraud, it just enables it. People can use stolen credit cards to purchase real goods, and the seller usually ends up footing all of the cost.

Bitcoin puts business first. You don't need to depend on Visa doing their (useless) fraud investigations anymore. You take payment, and you decide whether or not to return it. Anyone who isn't willing to provide the money up front can pay the additional escrow fee.
I'm willing to bet the only thing that will come of this is a fine and a slap on the wrist.
a $40 micro drone is training. It's a completely harmless toy, even less harmful than a soccer ball. This is not a $1000 hobby grade drone (for which you definitely should undergo training). A $40 drone typically has extremely weak brushed motors. You don't need training to operate a frisbee but you definitely need training to operate a discus. This comment is an example of how the general public does not know enough about the subject matter.
Kind of disappointing that there is not much details... Does this tie in with their new manufacturing plant in the states [1]? I thought about buying a System 76 laptop two years ago or so. But I hear that there were some problems so stayed away (and that the laptops are just rebranded with additional software work). I currently use a X62 Thinkpad and it's already pretty "open sourced". The schematics are readily available online and the unit works flawlessly on Linux. Best part is that you have to build it yourself! If this new laptop is at the right price point and quality, I'll be pretty interested. It would be pretty awesome if it can be self built.

[1] http://blog.system76.com/post/175995780368/system76-new-manu...
This isn't really the context here. It's a tweet from 10 years ago. He wrote a tweet, lying about having secured funding to take Tesla private, even giving the weird price of $420. His tweet was not taken out of context or misconstructed, he did this tweet very willingly and this tweet meant exactly what he wanted it to say.
You shouldn't need to know what the exact visual style of the button is. That's not important. You have a button, it's the primary button. What else do you need to know when coding your HTML?
> We can't just turn every single locality into a Manhattan. Nice areas with sparse, bigger houses should be able to elect to stay that way.

Only if property owners want that. If a property owner wants to built a 4-story condo on their property, they should be allowed to do so. If their neighbors want the property to remain a single family home, they should buy out the property owner.
A short while ago (per my comment history), I asked whether Elon Musk should remain as CEO of Tesla.

I think, for my part, the answer is clearly no. He might be brilliant, he has undeniably had a hand in creating something awesome with Tesla and SpaceX's technology, but he's now a danger to the very thing he helped build. This is just one of the lawsuits filed against him or Tesla in recent weeks that have him as the primary cause. I want Tesla's mission to be achieved, I want them to succeed, and to me, Elon Musk is one of the biggest stumbling blocks in their way now.

Where does the buck stop? In my opinion, with Tesla's board, and Elon's ouster as CEO.

Edit: Worth noting that Elon's removal as CEO is one of the remedies the SEC seeks as well, and could thus be part of any settlement. (I'm not knowledgeable enough to handicap how likely that is.)

Another edit: Tesla has no D&O insurance, and therefore might be liable for whatever misconduct Elon is found to have done. That's a pretty big deal, and also a bad move on Tesla's part in not insuring against their (known quantity loose cannon) CEO. See https://www.dandodiary.com/2018/08/articles/securities-litig...
Well isn't the problem at hand that the 51% of the "larger" bitcoin network can actually, at this moment be controlled by only 4 pools?

https://www.blockchain.com/en/pools
...and irrepairable loss of investor trust
Are there any previous examples of someone doing something similar to what Musk did and the punishments they received? I don't normally follow SEC cases, but this seems like a pretty extreme potential punishment compared to the slap on the wrist that many people were predicting.
Armstrong said the Bitcoin paper came out in 2010, it actually came out in November 2008 and the first implementation of it was in January 2009 [1][2].

Bitcoin and cryptocurrencies correlated with the Great Recession so that added fuel to the desire to have a safe currency if a national fiat failed suddenly.

> The domain name "bitcoin.org" was registered on 18 August 2008. In November 2008, a link to a paper authored by Satoshi Nakamoto titled Bitcoin: A Peer-to-Peer Electronic Cash System was posted to a cryptography mailing list. Nakamoto implemented the bitcoin software as open source code and released it in January 2009. The identity of Nakamoto remains unknown.

> In January 2009, the bitcoin network was created when Nakamoto mined the first block of the chain, known as the genesis block. Embedded in the coinbase of this block was the following text:

> > The Times 03/Jan/2009 Chancellor on brink of second bailout for banks.

[1] https://web.archive.org/web/20140320135003/https://bitcoin.o...

[2] https://en.wikipedia.org/wiki/Bitcoin
This is a very good point. In particular kids wouldn’t be caught dead on a network their parents (and other elderly relatives) are on.

I suspect Facebook knows this and will keep acquiring new platforms when they can.
The actual complain: https://www.documentcloud.org/documents/4950588-SEC-v-Elon-M...
Okay now I get it. That's neat. I'm using tachyons but this approach is compelling.

For what it's worth, I don't think "What is Tailwind?" makes that clear (the "designed to be customized" section hints at it) and I had to read https://tailwindcss.com/docs/configuration to understand the difference after reading your comment. Thanks!
But don't you lose the whole decentralized thing at that point?
Involuntary bankruptcy is pretty rare in the USA, but Sears sounds like a good candidate for it. Kmart and Sears are obviously cruising towards Chapter 7 or 11. If I were a sizable creditor, I would rather get the company into bankruptcy court early, before the CEO was able to pillage all the cash holdings.

(Source: I'm a former bankruptcy lawyer)
I haven't said that he did, I just meant things probably won't be completely Orwellian.
The biggest change was ramping up processor instantly, and then back down to maximize performance. So for launching an app / scrolling, CPU reaches highest state, until that portion is over, and immediately get back to efficiency setting for preserving battery life. Previously CPU time would ramp up slowly.
Value and care for your hands. You can have troubles you never see coming.

I developed Emacs-Pinky (though actually from writing a butt-ton of PHP, not using emacs), though I didn't know it had a name at the time. My Hand surgeon couldn't believe I didn't injure myself through a trauma. It's really been a challenge for my career since then. Tried moving to python and it's helped some, but now that I've started down the bad path, Enter keys and everything else are issues.
Ask HN: Silicon Valley and being transgender
Hi everyone!

My name's Jessica, I'm transgender, and I'm seriously wanting to move to Silicon Valley. So I figured I would post here as a lot of people on this site hail from that area and have quite a bit of business acumen from what I've seen. I'm currently the CTO and lead software engineer at a small development agency in Australia, and my reason for wanting to move is to be somewhere I don't know anybody so I can be myself. With that, I have two questions:

1) Environment: I know San Francisco and Silicon Valley are generally regarded as some of the nicer and friendlier places towards the LGBT+ community, but with the rise of the alt-right and transgender being a hot button issue in America right now, how friendly and conflict-free towards people like me is it really nowadays? The Python community recently changed from "master" / "slave" terminology and the Linux kernel has adopted a code of conduct, and these have brought up some unaccepting characters in the community (particularly on reddit) some of which I imagine work in the area.

2) Risk: I have yet to undergo various surgeries that I need, which can put me out of action for weeks or months and overseas. Would companies, particularly startups or smaller ones want to hire me? If not, would anyone really want to hire me? I've worked at startups for most of my time since graduating university and love the close-knit and tight atmosphere, not to mention having to keep up to date, know and learn a _lot_ about different technologies and bizdev which I hear you miss out on in larger companies. An extension to this question: if my projects are sound, would VCs want to back a person like me if a) I have yet to undergo some medical procedures, and b) I am a public face of the company? I'm an entrepreneur and ideas girl at heart and would like to develop an idea or two in my spare time which I hope to grow and become successful.

Thank you all so much and I hope you all have a lovely day!
Jess
You know what’s cool? Turning down twenty billion dollars
Please don't F this up.
I don't think Sears had much control over the sockets they sent, I think they came direct from their supplier in China with no quality check by Sears before delivery.
The packaging was all in Chinese and was basically a bunch of random sockets thrown in a brown cardboard box, no branding.

They were the lazer cut Craftsman sockets with the bigger type on them which I like as you can see the size while grovelling around in the dark under cars, or at least sockets made with the same format. I still have 20 bucks of sears consolation money to spend online due to this debacle but it's hard to know how to spend it...
damning
> Then when the next PM wants this button to be blue, you make another utility class and end up editing HTML.

So you're suggestion that when the PM wants this button to be blue, you make another component for that button? You haven't changed the problem, or the amount of work, you are just using a different layer to implement it.
>Do you routinely stop what you're doing to listen to random people that claim that they're more of an authority on various aspects of your life?

Yes, regardless of what I'm working on, be it construction/maintenance on my house, basic electrical or plumbing work, driving my car, handling/transporting a firearm, and any other number of cases I have to stop and listen to "random people" i.e. cops, regulators, politicians, FAA, and whoever else regardless of how I feel about them because they are, unfortunately or not, the authority
Washington electric-scooter death could be first of its kind in the U.S
That destroys the point of the whole "decentralized systems" thing.

Crypto has always kind of looked like a solution in search of a problem, IMO. What is it solving that isn't some sort of political science question?
If you add your domain to Cloudflare now you'll get on the waitlist.
Show HN: 1 on 1 learning for people in tech (Built this in a week)
https://www.seattletimes.com/business/apxex-itt-executives-a...

https://blogs.wsj.com/moneybeat/2017/08/31/former-sp-executi... (though the SEC failed in this case)

https://www.reuters.com/article/us-sec-deeba-insidertrading/...

https://www.lexology.com/library/detail.aspx?g=c5c06de1-990f...
just one visit to Home Depot allows you to buy components making for a pretty good explosive

It also gets you a visit from the feds. Those sorts of purchases are tracked very closely since Mcveigh.
One of my filters when phone screening is to ask simple questions that the candidate should know given the stated experience. I try to use topics that will separate out someone who's "faking it" versus someone who has the deep (or shallow) knowledge that someone with XX years experience should know.

For example, (back when ARC was new,) I'd ask someone with 5-8 years objective C to explain how autorelease works. (If you programmed in Objective C without ARC and didn't know about Autorelease...)

Or, for Java and C# I ask some questions about exception handling. It's a very simple concept that a lot of novices screw up. (If someone with a nontrivial amount of C# or Java can't explain some exception handling basics...)

(Basically, my pattern is to get the candidate to discuss some well-known details about memory management or error handling in a language that the candidate states experience in. Any competent programmer should be able to do this.)

I then ask some more theoretical questions that are relevant for the kind of programming needed for the product. These are the kinds of things that someone who has the experience needed should know without thinking too hard about the question. If someone can answer with a lot of hemming and hawwing, that's okay too. Someone who just can't discuss this kind of theory really isn't capable of the job... Or learning the job.
this thread seems to have "won": https://news.ycombinator.com/item?id=18088118