skysight-inc/HackerNews huggingface dataset:
Can someone comment on how to get better colors on eshell?

The only thing that stops me from using it is that xterm-256color and ansi-color and all the articles on the web talking about colors ultimately say this - the terminal emulator that it ships with just cannot do better colors?

(Eg when you do a ‘cargo run’ for rust, the error colors aren’t even highlighted in eshell)
Agreed, I came to say something similar. I'm typically rather sympathetic to stories like this, but this implementation seems very much like a sledgehammer approach that Apple correcting was very much in the best interest of their users.
Tomato, tomato: ha ha. A war is a war, the losing side gives up, the winning side gets what the losing side gave

Annex: add (territory) to one's own territory by appropriation

Cede: give up (power or territory)
How is it possible that 2.5% of the workforce is a programmer? One out of every 40 people?
Building Transactionally and Horizontally Scalable Change Data Capture
>Why did they lie about the reasoning for the Trump Tower meeting if it was so innocuous?

Seems like a failed attempt to avoid adding gas to the burgeoning Russian collusion hoax. Why did the Russian attendees at that meeting meet with the firm hired by the Clinton campaign to find dirt on Trump both immediately before and after that Trump Tower meeting?

>Why would the campaign manager share internal polling with a Russian oligarch?

Because the campaign manager owed $20M to a mutually associated oligarch and wanted to show he was in a position to make good on his debts.

It's not uncommon for people's preconceived beliefs to outstrip their willingness to think critically about rationale for whatever specific, concrete evidence is available.
Exactly. To the tune of $120 Billion per year. That's a lot of people being artificially willing and able to pay higher and higher tuitions. The federal taxpayer guarantee on these loans is one of the strongest forces behind the dramatic rise in tuitions - if people can pay and pick the pricier institution, then universities will happily charge and spend more.

https://www2.ed.gov/about/reports/annual/2017report/fsa-repo...
I don’t think he’s exactly advising any particular action. Rather, data structures and objects tend to be badly conflated, and there’s a lot of value in clarifying the distinction between them. You’ll use each in different circumstances, for different reasons, by weighing the needs of the system against the design tools at your disposal.

In Rust, we keep the same distinction by modeling data structures as structs and enums, and modeling the “object” side by traits (whether static- or dynamic-dispatch). Traits decouple a consumer from the particular data and emphasize a behavioral contract, allowing any data structure to implement the desired behavior.
Agree with the sentiment here. Whilst I have all the deepest sympathies for the guy, it does seem like a hack to tunnel it through a VPN to get it working. One could argue, the right approach would be if Apple opened up the hooks to measuring app usage for any 3rd party app, but I don’t think that will happen any time soon.
Your post is an ad. You've also tweeted a link to this thread both from your company's twitter and your personal account. It's kind of desperate and embarrassing. Just don't.
You'd have to dig pretty deep to realize that the kernel structure is limited to just 17 entries, and then do the math with minimum packet sizes vs. header sizes.
Lean Manufacturing Addressed the Failures of Mass Production
It's First Direct https://www1.firstdirect.com/

It's a Telephone Bank in the UK, launched in 1989 and I became a customer a year or three after that. Because it doesn't have any branches its call centre staff have to be trained to handle absolutely anything - if they can't fix it then it won't get fixed.

I found it because my father used it, I have no idea why, he was not ordinarily a man to favour technologically sophisticated solutions, he never owned his own email address for example. Maybe as a working man he found it frustrating that other banks were closed after hours? First Direct is never closed, it operates 24/7. I have used other banks for some things, but I've always kept accounts with First Direct because of their truly extraordinary customer service hence I call it the "good bank". I actually know one of their Founders and apparently that commitment to customer service was key to their original vision for the bank, he led a strategy session for the start-up where I work now and it used that vision to give us a worked example. He was Chairman at another start-up I've worked for too. Small world.

For the buying a home part I do mean that I bought it outright by the way, there wasn't a mortgage or anything like that - so that's a lot of money, let's say six figures. I presume the precaution was triggered by the fact that I wanted to move this large sum (almost all the money I had) to an account I'd never sent any money to before. Sounds almost exactly like a scam.

I would _like_ to believe any other bank would have similar protections - but of course I don't buy a home every day, so I have no other examples to compare, and most of my contemporaries have a mortgage so the very large sums aren't involved.

The password when they call me thing was nice, to be honest they didn't proactively set that up. I suggested it off-handedly one day and they were like "Of course, yes, we can set that up". I presume it's not custom, just they didn't explicitly advertise it to me as an option. That happens a lot, I didn't want contactless on my new card recently, and they were like "Yup, of course, done. Replacements for this card will also not have contactless until you call to change that".
I enjoyed this write up by Langewiesche, but the one thing that bothered me was the credence lent to the depressurization event without disclosing what if any evidence there is that it happened? Is there some? In the article he simply says "circumstances suggest" by which I assume he means the climb to 40k feet.
Not for habitual watchers of broadcast TV, sure (I haven't watched broadcast TV in 15 years). But if you use TV for quality series and movies, and the occasional live sports, it's fantastic.
Apple could have just offered the app usage API, because it was obvioulsly lacking.
Genius Catches Google Copying Song Lyrics
"Dumb" TVs cost much more than these smart TVs cost, since they are able to amortize the benefit from all their tracking/ads and price the hardware competitively. Its a razor/blades model, only someone else is buying the blades...

That said, the easiest way to make a smart TV into a dumb one is to connect it to your local internet through a Pi-Hole or other gateway, and then block everything but the Netflix/Amazon domains needed to stream content. If the Smart TV can't phone home, it can't leak data.
Interesting.

Meanwhile, apparently Asian countries dump more plastic into the ocean than the rest of the world combined.

https://www.forbes.com/sites/hannahleung/2018/04/21/five-asi...
One thing people tend to miss is that all of those "obvious and incredible" benefits of touchscreens are applicable or should ever be applied top operating a moving vehicle.

And if there is somebody who does NOT fail at this, I'd like to meet them. They probably have a working perpetual motion engine, too.
I know lots of people on HN aren’t a fan of patents- either because of patent trolls or because they believe that patents harm FOSS. So knowing that, I expect a few people to disagree with what I say.

This is exactly what patents are supposed to protect you from. If you have a good idea, then file a patent and protect yourself. If it’s worth $500k per year then it’s worth having a patent lawyer help you do it right. Get the core stuff patented, not just the fluff. This way Apple can’t just pull your livelihood from you.

If you tried to patent your idea and it wasn’t patentable, then it’s probably not really your idea, and you can’t feel bad when Apple steals something that isn’t yours.

But you have to do this sooner rather than later. If you wait until your app has become a feature in iOS then it’s too late.

Want proof that patents are necessary? Just look at how many patents that Apple, Samsung, SpaceX, etc. have.
> how do you account for non-binary strength of connections between nodes

The adjacency matrix of a graph normally has entries only 0 or 1.

https://en.wikipedia.org/wiki/Adjacency_matrix

Generalize the adjacency matrices to include values between 0 and 1. Typically, you'd impose some normalization condition like rows and/or columns sum to 1.

Then compute the Kronecker product of matrices to obtain the graph tensor product.

https://en.wikipedia.org/wiki/Kronecker_product
Google and Facebook do not sell peoples data. They sell their eyeballs. That‘s where money is to be made.
I purposefully didn't give my Sony tv (android) my wifi password. A few weeks later it prompted me to install a firmware update, and I saw it was connected to my home wifi. How? Best I can guess is another android device shared credentials with the TV.

I blocked that stupid thing at the router. I don't need firmware updates for my TV.
VisiCalc is really cool. I think it was probably the earliest "killer app" — you would buy a computer literally to use VisiCalc.

As an engineer... I've always struggled with understanding spreadsheets. To me, it always seemed that writing code was strictly better. For example, as somebody mentions further down the thread, spreadsheets don't a) connect to external datasources easily, b) are very limited in terms of their UI (cells only!), and c) are impossible to manage, version control, and distribute.

It's why I started working on a project called Retool (https://tryretool.com). It's basically Excel, but every cell is a React component. And we don't store any data ourselves — we connect to whatever datasource you want to connect to — whether a database (postgres, mysql, etc.), or a HTTP / REST API (stripe, salesforce, etc.). And it's hosted by us on the cloud (or by you, in your own AWS), so distribution is easy: we handle deployments, authentication, authorization, etc. for you.

The goal is to let developers build a certain class of software really fast (for us, custom internal applications). Most internal applications are incredibly boring (tables, textinputs, buttons, etc.), and all do similar things (CRUD, basically).

It looks like there are a lot of hardcore spreadsheet users + engineers here... if you guys have any feedback, that'd be really appreciated. We just got started, and are looking for literally any feedback :). Thanks!
Freedom is the absence of coercive interference over one's life. Exercising self-defense with adequate tools is affirmatively more free than being forbidden from doing so.

Safety is not freedom. Both are desirable but conceptually there is no overlap, and in reality there is often a tradeoff. Conflating the two as though safety is a form of freedom is a pretty good shibboleth for authoritarians; let alone defining freedom as the feeling of safety, which is textbook doublethink.

The US has strayed in many ways, but we seem to have the most people out of anywhere who are still invested in actual freedom.
Cached version since the HN traffic seems to have killed the original:

https://web.archive.org/web/20190617200100/gopractice.io/blo...
Climeworks Active Carbon Dioxide Removal Webshop
The scene is fictionalized in the movie Fat Man and Little Boy with John Cusack performing the role of Slotin under a different name.

https://en.wikipedia.org/wiki/Fat_Man_and_Little_Boy
Is his argument wrong, though? It's unclear why we should automatically feel sympathy for the author.
This mis-states how electrical generation markets work and relies on the fallacy of "baseload", which is an artifact created by the past-grid domination of large thermal plants for generation.

In my market (Texas/ERCOT) there is no separate market for "firm" power. You either run or you don't on an every-15-minutes basis. You are either a price "taker", or a price "maker". In this market the NPPs are always, always, price "takers".
They absolutely compete with the price makers, which are always either wind, solar, or most commonly, natural gas.

Coal is always a price "taker" in this market as well.

Whether a generator is a "taker" or "maker" in terms of pricing is a function of the economic impact to it of not running in a given bid segment, and its ability to compete in the bidding for the "last MW" of the bid-price stack.

Large thermal plants like NPPs rely very much on the economics of being able to get premium pricing for every single minute of the day and night. In a competetive market they can't do that, because gas/wind/solar can under-price them by very large margins. So the NPPs become un-economic to run (if already running), and very much un-fundable to build as new capacity. The same market force applies to coal.
Yep, it didn't seem like a viable business model. It's also a major security concern since it's not specifically selling a VPN solution, so the laymen user might not comprehend how the app works despite the app attempting to inform the user. I personally think it's naive to claim Apple copied their idea, since this was already something iOS and Android had support for from their related power management stats tracker.
Ok. I won't debate your screenshot since this is totally off topic at this point.
FAA Announces New Supersonic Rulemaking
It's a middling role that pays circa £300k in London. It seems pretty sensible to call someone a VP if they make that much.

https://news.efinancialcareers.com/ru-en/311356/salaries-and...
> there's free (or near free) specialized education overseas and not domestically.

There's free specialized education available on the internet for anyone who is an autodidact.
This is BS title. Painted cycling lanes are an important part of the cycling environment. No, in themselves, they don't make me - as a cyclist - feel safe. But _without_ them, I will never feel safe. They need to be _added_ to by education from a young age and during driver training, as well as through cultural products such as TV programming, films, books, social media etc. And by "education" I mean the education to never swerve into bike lanes, watching out for bikers, never walking onto bike lanes as a pedestrian etc.

Of course, a hard separation of a bike lane from the other lanes increases safety; but that cannot be expected to exist everywhere, or in most streets even.
So basically mixins, right? Those were hard to use correctly in Ruby, because you might have multiple whose behavior clash because they can access the same data and were not written with each other in mind. I wonder how Rust solves that.
The damning part to me is not so much that Apple copied it, but that they copied it, then removed their competitor from the app store.
I'm not 100% committed to this idea, but VPNs all offer some trade-off between value and security, right? And, it seems weird that Apple, the company that continually finger points at Google and Facebook as invasive of privacy, would not support user choice here.

Their OS should permit VPNs and businesses running through VPNs, or they are in many ways doing the same thing that Google is doing with its changes to Chrome that break ad-blockers. In other words, they are removing options for users that want to have insight and control into their Internet usage.
I've recently seen an interesting documentary [1] about then-senator Al Gore asking the CIA to study the vast satellite image archives to figure out what was going on with the arctic. They half-heartedly started a project but it really only took off when Bill clinton became president and Al Gore vice president. They'd invited scientists of all disciplines to the CIA, gave them clearances in an accelerated process and gave them access to the images. They even went to russia to study their reports of the arctic. With Bush, the project was cancelled until Obama revived it and even established a dedicated office [2].

[1]: https://sales.arte.tv/fiche/ESPIONS_POUR_LA_PLANETE

[2]: https://www.cia.gov/news-information/press-releases-statemen...
"Can't wait for a cryptocurrency with the ethics of Uber, the censorship resistance of Paypal, and the centralization of Visa, all tied together under the proven privacy of Facebook."

https://twitter.com/SarahJamieLewis/status/11394299139229573...
This is the way I block such things on my own VM's (not at work) using iptables:

iptables -t raw -I PREROUTING -i eth0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m tcpmss ! --mss 640:65535 -j DROP

Here it is in action:

iptables -L -n -v -t raw | grep mss
84719 3392K DROP tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp flags:0x17/0x02 tcpmss match !640:65535

My settings may be a little aggressive and may block some old pptp/ppoe users. Perhaps 520 would be a safer low end. As a funny side note, this also blocks hping3's default settings (ping floods) as it doesn't set mss. This also blocks a slew of really poorly coded scanners.

For everything else at work, we are behind a layer 7 load balancer that is not vulnerable.

You may also find it useful to block fragmented packets. I've done this for years and never had an issue:

iptables -t raw -I PREROUTING -i eth0 -f -j DROP

If you have the PoC, then feel free to first verify you can browse to https://tinyvpn.org/ then send the small MSS packets to that domain, then see if you can still browse to it. I don't care if the server reboots or crashes. Just don't send DDoS please, as the provider will complain to me.

To see the counters increase, here is a quick and silly cron job that will show you the MSS DROPs in the last minute, that I will disable after a couple days: [1]

[1] - https://tinyvpn.org/up/mss/
I didn’t mean to imply scrolling should be done with two fingers :-)

But rather if you offer touch scrolling you’ll also want pinch to zoom.

“Spectacular failure to apply even the most basic common sense” is a pretty strong position. In my experience with actually using a fantastic touch interface for navigation, and having tried and hated using nav systems in expensive cars in the past, where I’ve had to resort to using my phone for nav, I am equally strongly of the position that proper multi-touch nav on a large screen (Tesla Model 3) is safer and easier than any kind of button based nav system.
Thanks, didn't know that. I think I'll just stop using Dropbox, though.
Yes, they are stock and not options, so you own them outright without needing to buy. So once vested you can sell, and owe tax immediately since they have real value.

Usually you’re given a number of shares when you join, and the value of those shares change as they vest. This can lead to some really overinflated comp packages if a person joins before huge growth that a new person would not get.

There’s often restrictions around when you can sell while still employ by that company to avoid insider trading laws, like you can sell right before earnings reports.
HN is no different from every other internet forum: Heavily moderated with very little transparency -- the perfect recipe for filter bubbles and groupthink.

The moderators can even apply permanent penalties to individual users (your comments will sink to the bottom where few will see them) without notice or justification. It's sort of like a shadow-ban but your comments are still visible.
Simple VM is about 30 minutes work.

A coding kata of mine is to implement an expression parser, evaluator, compiler and mini VM (a loop over an array with a switch, it's not hard at all) in 1 to 3 hours in new languages.
I have a model 3 and I'd like to know myself. AFAIK it's not possible..
May I say the title should be taken with a grain of salt. From the article:

> A month before being removed from the App Store, the app raked in ~$45,000 in revenue. This means the product was operating at a $500,000 annual run rate.

It's an extrapolation, from the first month.
The complete graph with 4 nodes is planar, and obviously can be colored with only 4 colors -- that gives every node a unique color.

The complete graph with 5 nodes is what isn't planar. (That, and the complete bipartite graph with 3 nodes on each side.)
Amazon does this all the time. Think AmazonBasics. Pretty killer business model if you ask me. Sucks for the little guy though. Good for consumers however.
This app pretty much goes against everything Apple is trying to achieve with 'Privacy First'. Personally, I would have never used it because routing all traffic through their vpn seems malicious in itself, but a non-tech savvy user may not understand the consequence of allowing that.
Your viewing history is worthless.

Not for targeted ads. Superior ad targeting is one of the primary goals here.
Why would we want to move from SMS to a situation where Facebook ALSO has a copy of every message we send? Not an improvement.
There is no power efficiency advantage in today's actual high performance ARM chips. See the Cavium ThunderX2 server chips: their dual socket x 32 core system is generally slower[1] (though it is faster in a couple of benchmarks) and draws more power than similarly configured x86 servers[2].

[1] https://www.servethehome.com/cavium-thunderx2-review-benchma...

[2] https://www.servethehome.com/updated-cavium-thunderx2-power-...
Ideas aren't patentable. Execution/implementation of the tech is patentable and in this case, they would have to patent the use of VPN to track usage. That's easily by-passable as Apple doesn't need to do this via a VPN. They have built the tech in the iOS itself.

Same reason snapchat couldn't patent their stories or disappearing messages ideas and got copied by FB and Instagram.
Having a patent would solve the insult to injury of the feature being copied, but not the injury itself of the app being yanked off the store.
Unfortunately you touched on what makes this specific case a problem: Their solution is non-patentable. They failed to do a appropriate post-mortem of their business and instead resorted to blaming Apple for their failure.
Those aren't implicit because the "public interface" is the Object List, not the Data Structure List.

struct list {
float node;
struct list *next;
}

Above is the data structure; it implies operations.
Below is an interface (class, in the article); it implies data.

#define LIST_H

float index(struct list *ls, int i);
int find(struct list *ls, float x);
void sort(struct list *ls);
It's a good question: you can see a fairly granular breakdown of the workforce by industry [here](https://www.bls.gov/cps/cpsaat11b.htm). There are about 5.1 million people working in "Computer and mathematical occupations", the majority of whom are developers.
You do this for every single request?
that sounds like a pain in the ass.
No, no they are not.

They might be from excecuted prisoners, but once again they have committed murder and serious crimes, not from being part of a religion.
> looks like it was kind of a hack

Where do you think you are?
Thank you, integrated.
Hey wiretap show me my favorite show. Hey wall with ears tell me the weather.
Exactly! there's no place for a touchscreen in the car, although many drivers don't know it:/
Not quite. A mixin is a piece of code written once and transcluded into another module. Traits are more related to OOP interfaces: every type implements one in its own way. The difference with interfaces is that traits can be implemented separately from the definition of the underlying data type, which clarifies the distinction between inherent operations on a specific data structure, and derived operations that bind it to a more general contract of use.
Right. Quantitatively:

Coal declined by 48 TWh

Gas increased by 4 TWh.

Nuclear declined by 84 TWh.

Renewables picked up the slack by adding 130 TWh of generation.
Even if your instances are behind ALBs or ELBs they may not be protected if they make outbound connections to the internet.