skysight-inc/HackerNews huggingface dataset:
Can you be more specific about your claims? What is wrong with Python?

> more complicated than any other programming language ever conceived of

is definitely untrue. Even if you take only mainstream languages then there are many more annoying to deploy, ones that are more complicated and so on.
Using 0 as false and 1 as true has the benefit that + (mod 2) becomes xor and * becomes and.

(or, if instead of mod 2, you use min(1,a + b) to keep things in the set, then + becomes or )

To use 0 as true and 1 as false, you don't get nice things like this. It's not nice.

Well.. I guess * becomes or. But, + (mod 2) becomes, uh, xnor , and (min(1,a+b)) becomes, and...

ok well I guess that's not as bad as I thought.

Still a bad decision imo though.
What right does Facebook have to exist at the scale it does?
Super useful, thanks.

Good that Apple provides this "stable firewall interface".
> no serious work is done during pair

I think that's the most important point you made. Pair programming is not for all programming, and in fact the goal is not to produce code. It's more about sharing thought processes with other people
I'm not sure if I'll be alone here. For me, pair programming (in ye olde times, both physically sitting together) NEVER worked out, because my brain interprets sitting there and watching someone code just the same as getting confy in a sofa and watching a Bob Ross video. My brain tries to follow along, but I cannot help it, I feel so sleepy.
Have you ever tried to deploy an Erlang/OTP application? I find it much harder to do
TLDR: Starts right off with Huawei and being a Chinese state sponsored company whose sole purpose is to make 5G wireless technology dirt cheap and thus make everyone vulnerable to whatever the Chinese might want to do with your 5G networks.

I stopped at that point. They’re not wrong, but this is also old news.
It's hard to give solid advice based on a view of this single layer, but at a glance unless this gateway client is itself something to be extended by other projects, this is probably not something I would write test cases for per se. If "apipb" stands for protobuf, I definitely wouldn't inject a mock here but would make a real pb server listening with expectations and canned responses. (Our protobuf services have something like this available in the same package as the client, i.e. anyone using the client also has the tools to write the application-specific tests they need.)

The resulting code probably wouldn't be shorter, but it would exercise a lot more of the real code paths. The availability of a test server with expectation methods could also (IMO) improve readability. Instead of trying to model multiple variants of behavior via a single test case table, using a suite setup + methods (e.g. `s.ExpectStartTransaction(...); s.ExpectUpsert(...)`) would make clearer test bodies. Check sqlmock for something I think is a good example of a fluent expectation API in Go.
So, you're saying that the evolving understanding of the use of _masks_ explains the _vaccine hesitancy_ ? That seems like a loosely-related change of subject to me. Why bring out this talking point?

If you're not happy with nuance, probabilities rather than certainties, and changing understandings of a new situation then the modern world might not be for you.

To be clear, you're saying that the avoidable unvaccinated disease mass casualties, are not pathological, i.e. illness-related, because, that mask guy the one time? That seems more like the kind of bogus reason that people seize upon to explain what they want to believe, than a logical explanation.
> The simplest solution … : Eliminate all news, politics, and other public policy groups and apps.

I assume users want this content. I never see news, politics, etc because I’m not interested and FB has learnt I won’t engage in it.

I’m not trying to say this makes me good or bad or special. I’m saying that they use feedback each user individually and it seems allot of people want that stuff.
Relying on “well written” to prevent bugs is just a fantasy.

Non-nullable types and compiler enforced checking of present/non-present values leads to more readable and more maintainable code. And there’s a mountain of CVEs, and bugs in go programs, to prove it. Maybe you just have to experience it.

Honestly a language designed in this century with nil values is tragic compared to what exists in other languages.
https://www.sciencedirect.com/science/article/pii/S014976341...

https://www.sciencedirect.com/science/article/pii/S221315821...
Macs are randomized. So it’s only when you’re connected to the same network
Curious if I missed some useful case for it.

Conda will package and version things like compilers and C libraries etc in a sane way. I can 'conda install' a package and start using it, but if i 'pip install' the same package I'm still left having to hunt down and install a bunch of additional dependencies. For example 'conda install cython' gives me a fully working and consistent cython on all platforms in a way that 'pip install cython' won't.

There are still several computational science and data science packages where 'pip install X' on windows simply doesn't work (and 'conda install X' does) due to missing dependencies and other weirdness.

Conda can version and manage R as well as Python if you work on projects that use both then you only need one tool.

Conda can also install dev tools like Spyder, VSCode or Jupyter(labs) making it easier to offer a single point of entry for an entire dev environment.

But basically the big one is simply that Conda will install a lot more numeric packages with a lot fewer headaches on win, linux and mac than pip. Although in pip's defense it has gotten a lot better over the past 2-3 years. And I do agree that the dependency resolver can take a ridiculously long time in some situations.
Google Mobile Services.
It's the set of google apps and services you can install on top of a lineageos or other operating systems that are android based to get the google things like play store.
If it wasn't for Google's sponsorship it would have been gone by now.

Android is probably the only platform whose conferences to this day have a sessions about improving build times, thanks Gradle.

When doing Windows CE, Pocket PC, Windows Phone 7, WinRT, Symbian, iOS, I never needed a gaming rig as development workstation.
Which is why FB will never accept it. There's room in FB for one Instagram. Not two of them.

Besides, I don't know about everyone else, but a fair chunk of my FB feed was pretty much people getting outraged by (or trying to discredit) fake news, hyperbolic news, or disinformation. Because that's the stuff that goes viral.
Haskell #5: Pattern Matching and Guards
> Parents protect your children from social media

Now that you say it, it seems obvious. Just compare to anything else with kids: 'all good, you have nothing to worry'? Well, nothing. There is no free lunch.
People don't think iphones (or any phones) are private anyway

> Two in three (65%) [iphone] users are “extremely” or “very” concerned about their activities being tracked as they use certain websites and apps, while only 14% said they were not at all concerned.
According to the LICENCE.rtlwifi_firmware.txt [1], the rules permitted adding
their non-open-source firmware into open source operating systems but such
an addition (ironically) makes that open source operating system not entirely
open source. Realtek understood the irony, and change[sic] the license.
Don't curate suggestions to appease political or financial ambitions. I think a simple popularity filter should work best. Yes, popular content isn't the best content. But only when people get bored of it they will search for other sources.
The proper nouns find this improper.
In many of the same ways they fail at the micro level as well, actually - demand is not controlled exclusively by price, elasticity is impossible to predict and changes with time, many goods are not substitutable in the way these models present them. There are more ways, I'm sure, but these immediately come to mind.
Don't central banks know enough to be able to set the monetary policy appropriately?
It depends very much on what you are doing. Python for big complicated applications is a No for me also but python for extraction jobs in a ETL pipeline or data science tasks is a huge YES.
> good rule of thumb is that fields which style themselves by adding "science" to their name are not sciences

And this is your whole argument?

Isn't physics a "natural science" and therefore not science according your rule of thumb.

This discussion is stupid. If you want to argue that social sciences are not science, all you have to do is show that social sciences don't follow the scientific methodology. If you can't show that, you should shut up and stop wasting everybody's time.
Worth talking to vendors still, to try to help them see the needs of Open Source.
Let’s wait and see how that works in China before doing it ourselves, too.
> The best way to "tax" the rich is to make them spend all their money.

What a catastrophic idea. Do you want economy tuned to the tastes of the vain, wasteful, and capricious? In such economy there is no car, real estate, mobile phone, or clothes for you.
Looks like there will be IRA reforms if/when reconciliation is passed = which is a direct result of ProPublica's reporting.

I do think this reporting does make an actual real life difference. Though cracking down on IRA exploitation is obvious low hanging fruit and a very simple one sentence type change in law.
Joke’s on you, Google search results are already atrociously useless as they are and nobody cares.
I know people will say "defense in depth", but it really seems more like security theater to me. It only catches some basic (but admittedly historically common) mistakes. The problem with most WAFs is that they tend to have false positives, which can block/trouble legitimate users.
Stock Android? Perhaps. The shit OEM’s produce? No way, unfortunately. And afaik only Pixel’s come with vanilla android.
it's not incriminating now
Dependency management in python is much worse than most mainstream languages.
> comets crashing onto the surface at speeds of tens of kilometers per hour.

comets came crashing down slower than one goes in a school zone?
Tne NYSE used to restrict it. They relaxed the restrictions in the 1980's. Google was the company that started the trend in 2005. (Note they were sued by their shareholders and settled.) The percentage of companies using this type of structure was like 1% in 2005. By 2017 it was 22%. It is probably even higher today. It is used outside of Silicon Valley, too, but those non-tech companies have real products and services that produce revenue. They don't bait people with "free", spy on them and sell ads.

If I'm not mistaken there are some index funds that will exclude companies with dual class shares.

This is why "tech" companies can pursue outlandish projects that produce no revenue. Shareholders effectively have insufficient rights to question such decisions and hold the founders to account.
They use it roughly triangulate a device's position when GPS/Cellular is not available.

That's the benefit that they expose to the user. What they do with the data as well as that is only known to some people in Apple.
Missing Piku: https://github.com/piku/piku
https://marginalrevolution.com/marginalrevolution/2021/10/do...

> I went to read the paper, and I have to say I am baffled. It didn’t change my priors at all. I didn’t see new empirical estimates, or new theoretical arguments, and furthermore I didn’t see the most relevant factors discussed much. I did see a lot of pokes at Friedman, Phelps, and Lucas (and there is also an introductory assertion that, even given enough time, markets with flexible prices do not clear. Then he goes on to deny that the theory of household choice is sufficient to derive downward-sloping demand…why do that???).

> I would start by looking at the clearest cases where inflationary expectations do matter. If inflation rates become quite high (say above forty percent?), many people switch to alternate currencies. Or in hyperinflations the velocity of money, after some point, accelerates very dramatically, thereby fueling the inflation further. So inflation expectations really do matter, as supported by both theory and evidence. Contrary to Rudd, the theoretical case is there, though the question of magnitude at lower inflation rates is largely an open one. But let’s not slip from “open” to “we are justified in thinking they don’t matter very much at all.”
This is a great mission for mankind as well. A previous HN discussion talked about the possibility of a Mercury colony because it has water ice.

https://news.ycombinator.com/item?id=27741738
https://www.universetoday.com/128531/terraform-mercury/
I went online about a year ago. So yes, I already sold a lot of devices.
As a student of war, anything you target at the enemy just might work, especially with the element of surprise.

The best example is the Exocet(s) that hit the Stark in the Falklands War:

- the Stark had a temporary commander from a sub. He was unable to organize the fire-fighting (damage control) effort, which is the biggest threat to a ship.

The US Navy prides itself on training every member of the crew on damage control, especially after the 1967 Forrestal fire:

https://en.wikipedia.org/wiki/1967_USS_Forrestal_fire

- the Stark had electronics problems, with the radar system interfering with radio transmissions/reception. You could argue that the ship was blind, even non-operational.

- one of the Exocets did not detonate, but destroyed a ship - the kinetic energy and remaining rocket fuel was enough.

- the air-launched Exocets used improvised rails, since the French embargoed parts.

So you never know if a powerful missile will be intercepted in time or not, which is magnified with nuclear warheads.

Oya, and the Falklands was the best ad ever for Aerospatiale!

Ironically, the US Sidewinder missile won the second Taiwan Straits War. The CCP stopped the air battle after the Taiwanese AF downed multiple jets with the Sidewinder, the first time it was used in battle. (Note the USSR always talked down the CCP when they were on the losing end, rather than allowing them to escalate further.)

The Sidewinder was and is one of the most lethal weapons ever invented, true "fire and forget."
Will you buy the Amazon Kindle Paperwhite 5?
Unfortunately it’s just another example of how badly in shape we are to confront just about anything
The deprecation of lib2to3 has occasioned some difficulties for formatters. Neither `black` nor `yapf` can correctly format a script with the `match` syntax introduced in python 3.10, while python 3.10 is formally released tomorrow. It seems that transitioning to the new PEG parser isn't a trivial work.

Certainly glad to see python 3.11 having so much performance improvements.
Raycast (YC W20) Is Hiring Product Designers
That's like saying gravity works because it uses math. No, we just applied our version of math to it
https://stackoverflow.com/questions/52187362/how-to-deploy-p...

Some of these approaches work for Windows, others for Mac, some for Linux, depending on versions of Python that are installed, etc. You can get around some of the problems with pyenv and a bunch of other tools.
The SoC is not available for purchase by any other party than the Pi Foundation.

Similar SoCs are available from other vendors such as Odroid, OrangePi, and Pine64.

There’s no value in cloning the Pi SoC when similar or better SoCs are available with similar or better software support.
It is indeed just an extension of that very idea, developed at the same institution where design-by-contract has been introduced a few decades ago.

However, instead of crashing at runtime due to a failed assertion, you get a guarantee that your program will in fact not violate said assertions and behave correctly.

It also entails a nice speed bonus, instead of checking the assertions all the time, which could be quite a complex feat for non-trivial post-conditions, you do it once, symbolically, for all possible executions.
It's certainly a better argument than the GPs claim of "the safest cars out there" with 0 evidence given to substantiate that. I think it fair to refute such an unsubstantiated claim with a reported instance where safety was not maintained as can reasonably be expected.
Could you explain the economics of selling these wells among companies? It sounds like what you are trying to say is akin to Budget selling its fleet of 1 year old rental cars to Rent -a-Wreck and not doing any maintenance on them in the meantime.
The porn industry seems to be thriving, so I'd say no.
Then they just need to get the patch release up to 3.14.15 for maximum enjoyment.

It's doable! 2.7 got all the way up to 2.7.18 (though that was a special case).
You reduced the problem of keeping an eye of everything posted to keeping an eye on the fact checkers. That seems easier to me.
This seems like giving up. The article is right about the problems but seems temperamentally opposed to actually fixing them. Number of people under you is a terrible metric in many ways, but it is at least objective (ish) and hard to fake; so is years of experience. If you take the position that programming skill requires years of particular kinds of learning and there is no way to assess whether someone with x years on their CV has actually done y years of that kind of learning... well, maybe that's true, but what's the actionable takeaway from that?
I think Congress will disagree. Also we don’t know everything she sent to the SEC.
Well, according to the Zen of Python "there should be one- and preferably only one -obvious way to do it" :-P
> After this unrefutable proof

They may just be smart enough to know that it's not irrefutable proof.
Nope!

It's just that in corporate world, developers rarely do what they think is relevant for them.

The people who did Windows terminal probably cared a lot about COM or WinAPI or maybe CS, but I think it's fair to imagine how they were not fans of text-oriented interfaces. It just did not occur that they should be extracting last bit of performance here. People can type just that fast, after all.
Facebook doesn't have rights. People have rights. Like the right to free association, such as to associate together and form a corporation, like Facebook.
Such a system has many moving pieces. There is the core search algorithm itself. There are the indexing bots, and the amount of information they can produce. There is the compute infrastructure running all of this. There is the UI, with all sorts of tricks to make it ultra fast. There is the Ads integration.

There will definitely be engineers who know one such system deeply, and maybe even a few who know two or three. But it is obvious that there can't be engineers knowing all of these things deeply, engineers who would be comfortable changing the UI or modifying the compute infra or changing the search algo params or the Ads code etc
What are fintech biggest data security concern today?
The OpenGL C API is dependent on global state, if I remember correctly. That could be avoided in a C++ API.
Having shares that have different rights is not really a new practice. For instance, it's what allows VCs to invest with more likelihood of recouping their investment, while still allowing for employees to get shares with a different payout structure. As long as these things are disclosed (and in Facebook's case they specifically call it out as a risk in the risks section of the annual report in a section titled "The dual class structure of our common stock and a voting agreement between certain stockholders have the effect of concentrating voting control with our CEO and certain other holders of our Class B common stock; this will limit or preclude your ability to influence corporate matters."

It's assumed that investors have a responsibility to read the information a company publishes for investors, so if someone were to invest blindly they'd only be hoodwinking themselves.
Median it is then.
The FB app and website is a remix of friends, groups, and Craigslist

It has actually become a bad user experience.
Do you have a list of compatible kindle models, and how to identify them?
I worked in a place where it was not like that. And it was dysfunctional.

Instead, people nitpicked to death and tried to one-up each other with findings. There are loooong arguments over completely irrelevant details. There were multiple rounds of review, sometimes changing the code there and back again. People attempted to code into review comments. And the expectations changed every week, there was no stable standard.

It was more about taking control and showing yourself more caring by finding increasingly insignificant things and then insisting on them.
Dive | Sr. Backend Engineer | India/Remote | Full Time | https://www.letsdive.io/

Dive is your team's social place to hangout and engage with your peers. We help teams to foster culture, build human connection, and drives employee engagement across a remote workplace. With Dive, you get to hang out, play games, engage in meaningful conversations, and have fun experiences TOGETHER — on video.

We are growing rapidly ( 50x in 6 months ) and are looking for Sr. Backend Engineers with 4+ years of experience to join our early stage engineering team. We are seeking someone who has experience building robust backend applications and can solve complex engineering problems at scale. The role is fully Remote. You can be anywhere in the world to apply to this position.

We're an awesome team of people - meaning your work will have a lot of impact. We truly encourage being yourself at work and it shows in the creative code we write :)

We have customers coming from over 160+ countries and we are truly global. Our Customers love us - where some of the awesome companies that includes Facebook, Google, Gitlab, Uber, Amazon, Airtable, Rippling etc. use Dive to put their culture building in auto pilot mode.

We use: AWS, K8S, Docker, gRPC, Django, Go, Node.js, Cassandra, MariaDB, Redis, React, Redux, Javascript

If you are interested in joining our small and passionate team drop me an e-mail to om[at]letsdive[dot]io - come chat about what we're doing!

More Info: https://www.notion.so/letsdive/Sr-Software-Engineer-Backend-...
GPG private key – I like to store mine on paper
While you're right that the ground isn't strong enough (which itself is a fascinating subject) for skyscrapers in the city centre, there are still plenty of multi-story office blocks. Plus there are plenty of business districts that fall outside the city centre but still very much within the parameter of Paris itself and those districts do have sky scrapers (I've spend some time in one of those districts myself). https://www.consorto.com/blog/paris-is-top-for-european-offi...

This isn't that unusual for European cities. Often you'll find the city centre will be buildings of historic significance so a lot of the office blocks in the city centre will still be multi-story but not 10s of floors. Even in London the skyscrapers are generally just outside the centre.

From what I gather about London, most of the skyscapers are pretty expensive units to rent so many offices find the relatively smaller blocks a more attractive option. Usually renting space from those skyscapers are more a signalling of importance -- or rather a business attempting to signal that.
How the iPhone Improves with iOS 15
"I'm going to a club to watch some guys taking their clothes off". Gender neutral?
It’s sad to me that so many people just can’t see this as common sense. Why do you need an insider to tell you FB is bad? Look at it. Look all around. It reminds me of when I was a kid any every smoking adult around me was hacking their lungs up. I didn’t need the surgeon general or some fancy research published in a medical journal to draw the conclusion that smoking was bad.

I suppose many may be too young to remember a world without FB and it would be difficult to distinguish society today and in the past but things are not well.