skysight-inc/HackerNews huggingface dataset:
My wife and I walked into our Sears for the first time in forever. We were looking for a dress shirt for our son.

The place was almost completely empty of product. The shelves were bare, there was almost no racks to place things, and nobody was in the store to shop.

We both said to each other that there is not much time before it closes.

There is no reason to shop there since there is nothing there to buy.
I noticed it on my SE as well. The WWDC keynote from this year highlights some of the performance improvements that iOS 12 brings to old phones. Something about ramping up processor activity and quickly ramping it down when you don't need it..I don't remember the details.

The end result is that with iOS 12, apps launch twice as fast, camera app opens 70% faster, and the keyboard comes up twice as fast too.

https://developer.apple.com/videos/play/wwdc2018/101/
it's because i am not that deeply familiar with python and the article is not clear itself on this. what is he complaining about then if they are identical in what's returned? is it simply because the REPL returns <lambda> instead of the function name? why does the REPL do this? are they different in some subtle way?

the point was in something like f#, lambda creates a function which can then be bound to a name if you want. if you do so, this is identical to the "normal" function definition because that is really just syntactic sugar for creating lambda functions and then binding it to a name.
The Coming Crime Wars
Before you get downvoted by the group-think, I just want to say yes & I agree.
Eurodollar University
Hey! I'm using basically a Bootstrap-like syntax for my own "framework" at work. We've been running it for almost 4 years so I'd love to respond to everything your saying:

1. it does actually happen but more often than not, individual buttons need some changes.

2. absolutely but that's why we use SCSS to help "cascade" those changes. Unfortunately, those large changes, again, require individual tweaks in some tricky areas.

3. adding classes is always the safer approach. One thing that has helped us is to make sure classes hold little (but valuable!) responsibility.

4. this is an awesome question. So, for us, those little adjustments specified in the post (small margins and so on) were tweaked at component-CSS level while large-changes were kept to our SCSS framework

5. It's basically CSS-in-HTML

So my own experience has taught me a general approach of my own:

1. create a framework for your site in SCSS. This includes basic styles for buttons, input boxes, colors, typography, tables etc. but stay away from more complicated styles (like trying to create CSS for a "profile card")

2. keep "component" CSS inside a component. Profile card CSS goes in profile.component.scss

3. overrides/hacks belong to where those overrides/hacks need to happen.
Not quite the same thing, but: https://www.amazon.com/Allwood-Eagle-Vista-1336-Cabin/dp/B07...
>All Elon had to do was keep his head down and not pick twitter fights....

Do you mean, act like the CEO of a public ally traded company and not publicly make unsubstantiated material statements?
The decentralization is that anyone can participate, and anyone can be the bank. There is no authority and you do not need to ask permission. You do not require any large investment because the resources require to run the node are minimal, and you can even do it with some level of anonymity through the Tor network.
> How do other companies made money when they are selling it for $0.99 or $6.99

Private Whois, Email, Hosting, SSL, etc offered as up-sells

Article actually addresses this:

"With a good idea on how to build a more secure registrar we asked our customers what they hated about their current registrar. Two phrases kept coming up: "bait and switch" and “endless upsell.”"
PDF: https://assets.documentcloud.org/documents/4950588/SEC-v-Elo...
> Also I think knowing data structures is essential cos you are using them ALL the time you just don’t know it cos you never bothered to learn them. But they are corner stone of every program.

Disagree.

Most data structures fall into four categories:

1. Basically a list/array/set

2. An association (map/hash table/dictionary)

3. A struct/record

4. A union/enum/choice amongst finite options

It is only in specialised algorithms and when strictly necessary that one must deviate from these (and the second two aren’t even really data structures). In such situations it can be useful to have other things known but even then I think a lot can be done with some combination of:

1. Binary tree

2. Trie

3. Hashing and Bitvector magic

4. Canny

I don’t think much is lost by getting stuck and needing to research in such cases.
This is a serious deal. The rest of the year is going to be a real test for Tesla! It'll be real interesting to see if they can rebound from this.

I wonder if the Tesla board is thinking of doing an Uber and replace Musk with a more calmer executive! Wouldn't be surprised if he gets fired after this.
The paranoiac in me is pondering that Google would probably have wanted to do something fun and goodwill-promoting toward their brand on their 20th birthday... and, if I was a rival to Google, I would do everything I could (e.g. astroturfing) to generate as much temporary resentment toward Google as I could, to make running that PR campaign look like a bad idea.
Yeah. As opposed of acting like the leader of the country
>if I've doesn't already exist, that would make it problematic.

This is not coherent English, and I think all HNers would appreciate it if you proof-read your comments. The internet has become a complete incoherent sesspool, and I hope we can prevent the same from happening here.

It seemed like you might be making a sound (if wrong, IMO) point.
> Your examples don't seem that great, to be frank.

they weren't intended to be great or mind blowing. they were just examples to make the point that in a good language, it's clear what is going on.

the operator thing is an extension of that. in f#, the "infixness" is just a syntax thing. the semantics is that they are functions and can be treated as such. it seems operators are something weird in python.
Sure, it's a value judgement. But it's value judgement about the code not the author. It's just like science. We can't say: let's skip the whole rocket thing because it was invented by a commie and a nazi.

Also value judgement doesn't mean totally arbitrary judgement. If code doesn't work it's not good, if it's not maintainable, it's not good. There are qualities of good code that programmers tend to agree about. Being written by wonderful human being, is not one of those qualities.
> they're identical.

Does that mean that test1 == test2 will return true?

Personally, I have found it very useful for debugging that function objects in Python carry their name. That makes it much easier to find out where something is coming from.
Because he made short sellers look like idiots? I think not. I just bought more.
If I had to guess, it's providing VPN endpoint/relay services to scammers (CC fraud, etc) who need actual residential IPs to buy things from. Or to use to set up accounts/sockpuppet accounts for things like automated reddit vote manipulation.

It's obviously located "inside" the residential end user's router/NAT, on their wifi, so it'll have something like an openvpn or ipsec daemon on it that initiates a connection to an endpoint elsewhere on the internet, building a tunnel for the botnet operators to control it remotely. Or via tor to a tor hidden service somewhere, like many purely software trojan botnets for win32/win64, but in this case it will have the vpn or tor binaries running on its own dedicated raspberry-pi class device.

If you have a botnet of several thousand devices which can be made to look indistinguishable from legitimate "ordinary non technical user sitting at home on their comcast connection with their laptop or tablet", you can do all sorts of things. Relay http/https traffic for a click farm in Bangladesh where people are upvoting reddit comments en masse to promote a product, sockpuppet facebook account comments for political campaigns and pushing political agendas (russian internet research agency, anyone?), etc. The goal here is to make the traffic look like legit single end user residential internet traffic and not traffic that's coming from netblocks of major colocation/dedicated server/VPS/VM hosting companies, whose ARIN/RIPE/APNIC space is all documented as such.

There's fraud detection systems which will trigger if you're trying to buy something like amazon gift cards from a /20 netblock of an ISP in Bulgaria, but are less "suspicious" if your traffic and useragent, etc, are all coming from a Frontier, Centurylink, Comcast etc netblock in a major American city. Stuff like the maxmind geolocation data correlating closely with the billing zipcode/shipping zip code of what you're trying to buy with a stolen credit card, or other identify theft type scams.

If you're doing some variation on a massive vote manipulation service, there's also fraud/botnet detection systems which will trigger on large volumes of upvotes (or similar manipulation) all coming from the same geographical location and netblocks. Your traffic look more like legitimate end users if it is geographically distributed across many states and provinces, many english-speaking countries (AU, NZ, CA, UK, etc), and across many ISPs and several different common end user browser useragents (edge, chrome, firefox, etc). Imagine if you threw 500 darts at a map of the USA on a wall and distributed all your botnet devices randomly around the map, vs having 300 devices all on the same network in the Chicago metro area, for instance.
There really isn't.

According to the case [1]. On Nov 23rd, 2013 Telsa filled Form 8-K with the SEC that Elon's twitter account was a means of official company communication.

So they can't say this wasn't Musk or Telsa's responsibility, or that the statement was unofficial. It was an official company statement meant to deceive investors.

I think the best he can hope for is a plea bargain, or that the SEC made a clerical error.

[1] https://www.documentcloud.org/documents/4950588-SEC-v-Elon-M... page 4 section 13
This rootkit can only infect Intel hardware older than 2008. The approach is incompatible with secure boot.

Are security researchers a decade behind the attackers?
I don't believe so. I have been a Tesla owner and investor for a long time now. I know where Elon comes from, what missions and goals he has stated for years now, and what he is trying to accomplish.

I promise you, Elon legitimately thought there would be an opportunity to go private again. He's said he wanted to do so in the past, and even has said they never wanted to go public, but were left with no choice. I don't think any part of Elon was trying to commit fraud or security manipulation. He made a mistake, we all do. He said something that should not have been said at that given point of time. I'm sure he was excited. He even said he typed that tweet in the car after leaving SpaceX.

Should he be fined? That is up to the SEC.
Will I and many other investor lose trust in what Elon's mission is? Absolutely not.
There's a lot of stuff in space that isn't in a deep gravity well of a spherical body. For instance mining asteroids enough to have a self sustaining manufacturing base at micro-g could allow for the earths manufacturing and power generation needs to be met somewhere that's not on the Earth, decreasing pollution.
Ideally we would be better with increased decentralization. It could be a problem if they colluded and attempted to censor or double spend. Chances are they won't, because it will probably negatively affect their own bottom lines (reduced confidence in Bitcoin leading to reduced value of their own assets).

Secondly, any blatant attack on the network could be countered by the participants forking in a change in the algorithm used to do the proof-of-work. This would bankrupt the attacker because they would be sat on enormous amounts of now useless mining hardware.
On one hand, the $420 tweet was just blatantly obviously a bad idea and he should have known better.

On the other hand, it feels... strange somehow that a joke (if a slightly deadpan one) has consequences this severe. It affected the markets and it obviously wasn't without real-world consequences in any case, but something about this all just feels a little off somehow.
If Elon Musk is removed as CEO at Tesla, Tesla is over.

I find it curious that an innovative American company pushing to help our carbon problem by going electric is so lambasted, shorted, constantly under attack. It cannot be argued that Tesla pushed forward both electric cars and self-driving vehicles as a major force (original self-driving push was a DoD X-Prize)

Personally I like when American companies succeed and push innovation forward. I would have zero hope of that happening if they bring in some generic C level executive like back in the day at Apple when they ousted Steve Jobs and brought in John Sculley.
> “In truth and in fact, Musk had not even discussed, much less confirmed, key deal terms, including price, with any potential funding source,”

Interesting. How do they know? Did someone from SEC called Musk and he said: "Nah, we're just in talks with investors, nothing lined up yet".
SEC sues Tesla’s Elon Musk, alleging he lied to investors
"As my code gets more complicated or deeplier nested"

OMG will someone please tell college professors about Clean Code? Perhaps it takes years of writing deeplier nested code before you even know what Uncle Bob is talking about.
> All Elon had to do was keep his head down and not pick twitter fights....

I'm pretty sure that's about as likely as Trump not tweeting his thoughts
It seems like if you want the expressiveness of the simply typed lambda calculus, higher order functions are more than just syntactic sugar.
This past weekend on Saturday morning I woke up with a numb right thumb from the finger tip to the first joint. It's a sensation very similar to when your foot falls asleep. The skin feels sort of "dumb" or almost swollen but not entirely without feeling. Like it has been filled with sand.

During the course of the day, it will sometimes shift to a more pin-prick feeling. Touching things - forks, pens, my phone, the keyboard right now - feels really "icky" and sometimes even hurts. And now at times it'll have a hot flash as if it were setting on fire.

I got a wrist brace shipped to me on Tuesday. I've not noticed any perceptible change.

I'm going to see the doctor on Monday. One thing I have learned is to not Google "numb thumb". You wind up on sites offering the worst possible theories, and none of them help your stress level or mood.

I hope this doesn't mean surgery, but I do wonder.

This article hit me hard when I stumbled across it. "At least I'm not alone," was the first thought that hit me.
Miners attemptig to change anything against the broad consensus would find themselves using their expensive mining hardware to mine worthless blocks accepted by no-one.
https://news.ycombinator.com/item?id=18088118
Grammarly?
I think [0] is the article in question; just search the page for the namecheap comments.

0. https://news.ycombinator.com/item?id=18059792
Guido van Rossum was explicitly against functional programming (well, in the Python language anyway). It's an imperative, object-oriented language that eventually threw functional programmers a bone with map, reduce, and filter, and that's about it.
or time for proper network security?

port-security and disabling unused ports works great in these cases, especially if you are the sole user of the network.
I'm ashamed to say yes. I cut meat out years ago but do still consume dairy and eggs. More recently the vegan alternatives at local grocery stores seem to be getting better and better, so I'm starting to consume less of those as well. Hopefully in the near future I will be able to honestly answer "no" to this question :)
Mine was blood test (checking infection), palpating (to see which parts of my gut hurt), and ultrasound. I now feel like I've missed out.
It's a feature in both cases. This is a philosophical difference: people like you want reversible transactions, and people like me don't. That's okay. You take your risks, and I take mine. Simply comparing rates of fraud isn't enough to change my perspective (I'm not speaking for GP), that's a quantitative difference. There are qualitative differences too.
It's not shorted because of its mission, its shorted because of the negative cash flow. Musks' public persona doesn't exactly give off the aura of a man who has his companies operating expenses and profitability under control.
Is there any evidence the short sellers have ever caused the price to move at all?
You can always generate a new key pair though. I don't necessarily mean a cert signed by a CA. More akin to use a key pair for SSH.
Wow.. feel bad man
> I wonder if the Tesla board is thinking of doing an Uber and replace Musk with a more calmer executive! Wouldn't be surprised if he gets fired after this.

I would be. They have stood by him so far, this isn't going to push them over the edge. Besides, who would they replace him with?

If the SEC fines him, he'll pay the fine and get on with his life.
I very rarely shop for clothes, but even then, Sears would probably be way at the bottom of my list when it came to dress shirts.

I can name at least 5 department stores that I'd check before even thinking about Sears when it comes to clothing. It is simply not their specialty, and it's weird to expect the selection to be good there.

I will, however, echo your sentiment that the store looks very bare and very few customers. It looks closer to a warehouse than a retail location.
Close enough, he blogged about it https://www.tesla.com/blog/staying-public
Things have changed in recent months. Right now the typical BTC fee is single digits or less.
Lighthouse (now the Chrome dev tools "audits" tab) makes it really easy to trim down your site to the bare minimum. I've using on my personal blog, it's actually quite fun to work within constraints :)
Looks like they concluded that having the compiler automatically choose an appropriate region but silently leak the memory when that fails doesn't work well? Kind of like GC by reference-counting without a cycle collector.

Couldn't the compiler just reject code that would need to allocate in the global region, unless the programmer explicitly annotates it to make it global? It says the SML type system is too weak for this, but perhaps Nim's type system is sufficient?
This is meta, but I know you enjoy meta dredmorbius/Cat with the Glasses.

All the debates we have are internal debates.

We are Westerners. They have three schools of thought in politics. The Left, the Right and the Liberals. These may be compared to a three set Venn Diagram - related but different.

Everything we think is inside the three school paradigm - that is our Western Orthodoxy.

We have got something from the fundamentals right or we wouldn't be, and it's amazing this isn't stated for the bare fact it is more often - the largest and most successful human civilization in human history by every metric there is.

The problem is of course we are likely wrong about something that will prove our undoing. The question is: what are those things?

The natural tendency is to promote our preferred school over the others but this is a weakness. You can imagine the Romans or Chinese looking at their civilization's decline in retrospect - giving their just-so-story of why it happened. In most cases it is going to be blaming the usual suspects aka the failure modes of competing schools and that isn't enough to explain something systematic. I expect that Joesph Tainter's way of thinking is closer to the mark in getting to real answers - which should be possible.

This may not be a specific answer to the question "what will undo us?" but what jumps out at me is how all Westerners presume their school of thought to be a universal as the monotheistic religions have of their beliefs but there is nothing easier than to show Leftist/Rightist/Liberal dogma does not hold relevance in other times and places. Why didn't the Greeks invent the Industrial Revolution? Maybe they weren't looking for the kinds of answers that would have taken them to new forms of energy and transport because they placed importance on other things.
This is an underrated comment, and if you're planning to maintain a large web site this is the way to go, in my mind.
"I find it curious that an innovative American company pushing to help our carbon problem by going electric is so lambasted, shorted, constantly under attack"

I'm not sure if you're being tongue in cheek, but that is precisely why he's being attacked.
Congratulations for no autorstarting the miner.
It was. Technically the convict was a senior citizen, so maybe that had something to do with it.

I also like that the judge went on a tangent about the injustice of senior officials getting lighter sentences for more serious perpetrations of the same crime.
> To me those are candidates for obvious obstacles to try to clear. They are the sorts of things that numerous women probably were deterred by.

I'm skeptical of this sort of claim. The sexism barriers in medicine and law were much higher, yet women persevered and achieved gender parity despite them. I don't think women are so easily deterred as you seem to imply.

That said, of course it's still worthwhile to eliminate overt sexism of the sorts described in the article, but I don't think for a second it will change the gender ratios by very much. The sort of sexism described is unfortunately everywhere.
Musk brought this on himself. All he had to do was not make false financial statements on Twitter.

For that matter, he'd be better served if he didn't libelously call people pedophiles, try to start a war with the media, subject his factory workers to unsafe working conditions, and engage in union busting. Ultimately, these are all going to bite him in the ass, and he will have brought it all on himself.
Re: use of map / filter type stuff.

Yep. Had a coworker like that recently. Loved “simple” code, chock full of mutable data everywhere, where everything was written out a good 3 or 4 times longer than I would have liked to see it.

I call that sort of “simple, explicit” (repetitive) code “My Summer Vacation” code, after a bit in an old Cheech and Chong skit where the highschool kids have to read their essays to the class.
I tend to agree, but it’s a double-edged sword. Without Musk’s cult of personality it’s unclear whether sufficient capital can be secured to bridge Tesla to a sustainable future. Of course given his recent behavior it may not matter either way.
Hell, yeah. Get into hosting next. Destroy the whole internet. It's what the 'competition' deserves.
It means I have been using Google for 20 years! It changed lots of aspects of my life. Thank you Google!
I think it's the subs moderators that cut off new posts. I think that's something they do quite frequently when something has been identified to a reasonable level.
Runtime and libraries for creating distributed applications on top of conflict-free replicated data types. For projects that have to share state between multiple nodes.
SEC Sues Tesla’s Elon Musk, Seeking to Bar Him from Running Any Public Company
Lenses SQL for Your Intrusion Detection System
City Manager of Lafayette resigns, citing housing concerns
I wonder if they will be able to demonstrate that any damage was actually done. The $420 tweet had a reverse effect in the end, not what most people would expect from such a tweet.
I think this advice is meant for the kind of person that uses CSS frameworks. You seem to be describing problems that don't come up if you're using, say, bootstrap.
I think producing atomic css classes falls should be done by a computer. [Styletron](https://github.com/styletron/styletron) and [CSS Blocks](https://css-blocks.com/) comes to mind.