skysight-inc/HackerNews huggingface dataset:
Ask HN: Resources on Functional Programming Design
I would like to become some day a Machine Learning Engineer using FP. But I feel I lack the knowledge on how to design good software from the point of view of ML and FP.

Currently I am reading Functional Programming in Scala (The red book) but I am curious on what kind of resources do you think could help me.
Maybe of the fleet is actually large, but from what I've seen, there isn't enough during peak times. Peak times are the times you want to get somewhere on time. You can't rely on these options.
They're not the first in France to do so even if it might be the biggest city to do it.
In 1958 China wanted to eradicate 4 pests: the mosquitos responsible for malaria; the rodents that spread the plague; the pervasive airborne flies; and the sparrows which ate grain seed and fruit.

Guess what the result was: it exacerbated the Great Chinese Famine, in which 15–45 million people died of starvation. Because with no sparrows to eat the insects, locust populations ballooned, swarming the country.

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

Don't eradicate a species, before you're really sure it's not going to cause much larger problems.
ask a bike courier how much they spend on food each day, to maintain a 5000 calorie per day existence. Calories cost money.
I ride a regular non-electric scooter regularly and the biggest problem with it is the weather. The scooter solves the "last mile" problem for me, but I can depend on it only for ~7 months in a year, which means I can't really plan my commute, choose the places where I live and work.

I don't see this problem discussed enough and can't imagine anything better than public transport for the winter. It's a real bummer.
To eliminate the birth lottery. Remember, we are talking about the reasons - restricting the movement of someone only because he/she was born in the "wrong" coordinates on the map (and in the "wrong" time) is simply inhuman.
The Day After 9/11
An extra bus can carry a lot of people. It could cover parts of the city not well covered by other routes.
Salaries based on cost of living are always a mistery to me. If the company wants to have an honest relationship with the worker, the salary should be based on the value the employee is bringing, and that does not depend on where they live. Tying the salary to the cost of living looks like a way to cheat a worker out of the value they generate.
You explained that 'a half turn rotation in a plane is equivalent to a reflection across the axis of rotation' to a child and they were able to figure out how 'exp(i*pi)=-1' was derived? That's remarkable!

I think these children were on a much higher level than most adults that we'd still consider smart, I wouldn't put down anyone for not immediately seeing these two things as equivalent.
Minecraft's in-game mechanics for building are surprisingly intuitive and easy to use. Coupled with flying in creative and unlimited inventory, making even relatively complex redstone contraptions isn't too difficult, though it can get a bit tricky with blocks that need a certain orientation, but also need to go in constrained places.

The built in commands technically let you copy and paste, but they're cumbersome to use. Most creators (myself included) that do larger builds will use some kind of utility to copy/paste easily, and perform basic operations like rotations. It's been a while since I did a large build, but the gold standard for a while was a mod called WorldEdit, which let you do all of these things in-game with a lightly modded server, and an otherwise vanilla client. There are a handful of similar tools too, one of the cooler ones I've seen recently is this crazy thing SethBling built using command blocks and a vanilla datapack, no mods required:

https://www.youtube.com/watch?v=FdMg74ORvZ0

It's not perfect (mostly w/ regards to rotations), but it's still surprisingly useful to cut down on the repetition during a large build.

The community for this game is kindof amazing; it's just wild what folks have come up with.
But that also means higher prices in the shops and restaurants. This makes markets outside of the city more competitive. Eg order from Amazon instead of buying from a local store.
Where will the extra money come from ?
> It gets repeated a lot, the US being the greatest democracy and all

Absolutely no one is repeating that outside of the US itself
>As for Deepin, its Chinese origins tend to ignite controversy (and anxiety within privacy purists) in the Linux world, however the distribution is open source and the code is available on GitHub.

Isn't this just plain racist? Is there any actual reason to believe that there's any privacy issues with Deepin, other that that it was made by Chinese people?
Not to mention that I've never heard this particular FUD before, so I'm doubtful that it "tends to ignite" anything.
Z – A dynamic functional programming language that compiles to JavaScript
I get that, and you may not be wrong. It's that you may be right about the wrong thing. All this stuff matters a lot if you're pursuing a career in academia. But from the outside it just means the machine of science is a bit less efficient than it could be.

Also I put it to you that serious researchers are rarely misled by low quality, vacuous papers. That kind of work will be ignored by history.

So I agree that what you're pointing out is something of a problem, but may not constitute a cataclysm.
Uber Goes Back to Basics: Violating the Law
Show HN: Render 3D GLTF Content as JSX in React and React-Native
The FT have a story about it, paywalled but accessible with a Google referrer:

https://lmgtfy.com/?q=WeWork+looks+at+curbs+on+co-founder%E2...
I have not said that intelligence agencies don't use contractors.

You claimed that Israel's agencies had something to do with what the article above is discussing.

You should provide evidence.

(and no. The fact that former intelligence workers have roles in a related private company is not evidence of the country's involvement. Many companies employ or are managed by former intelligence workers. If you think they're all controlled by the Israel Mossad you should probably stop using firewalls/routers/CPU chipsets. Good luck)
It's supported on Google Maps and not on Google Earth in the current version.
That was an interesting idea. Deere acquired them, and built a prototype.[1] But Ponsse's approach[2] was more practical. The dual chassis articulated 8-wheel system is unusual but very effective.

A big problem with those heavy legged machines is very low road speed. The Ponsse machine is much faster when you aren't in difficult terrain, so you can get it to the job under its own power. Deere copied that and now makes those, too.

[1] https://agmetalminer.com/mmwp/wp-content/uploads/2012/04/wal...

[2] https://www.youtube.com/watch?v=PE1f1GydafQ
I think it has to do with that China has a terrible human right's reputation (yet we all use Chinese products, so there's that), but mainly that Huawei is pretty much obliged by law to build backdoors and share any kind of information with the Chinese government if they are asked to do so.
>Why do I deserve good healthcare, food, housing and a great quality of life and someone born in Syria doesn't?

For the same reason your spouse "deserves" sitting on the couch you got at home eating something from the fridge and somebody you don't know outside doesn't, and you don't consider it much of a discrimination.

Because e.g. it's your house, you've built it (a nation is something people build, over centuries and generations, often with huge sacrifices, not something they merely rent), you've stocked it, you paid the taxes for it, etc. And you might, or might not, accept someone in it.

Why doesn't the same-nation homeless person outside "deserve" good healthcare, food, housing? Why not fix their situation before you solve that of "someone born in Syria"?

Probably because the latter just seems of no cost (just let them in), whereas the other one understands that involves some sacrifices (share income, increased taxes for social welfare, etc, etc).

And for a large (land-wise) nation state, like the US, with tons of recent 1-2-3 generation immigrants, many people tend to think it's inexhaustible and can accommodate everybody with no problem. And new/newish (1/2nd gen) immigrants now citizens wont understand whats the big claim of those whose ancestors built it over time, sacrifices to sustain it, etc anyway. After all they came there when it was already prospering. It's more like a hotel to them. This is quite more obvious in a more historical country with more homogenous population, which lived there and built it over many centuries or millennia.

And yet, one of the reasons the people several generations ago built it (the nation state), was to have a place of their own, where they live as they see fit (because they were persecuted in their own places), and be able to deny access to it to others outside -- and occasionally invite whoever they like, as long as they play with their rules/laws.

Also, notice how the direction is one way? Not many Americans want to go to Syria or Nigeria or Lagos or whatever. Seems people, ideologies, bad history, etc can screw up a nation state and its prospects, so they're not all interchangeable. That's part of what makes having a good nation state valuable, and wanting to maintain it that way (and not just make every country an open borders free-for-all).
Much better than google maps
Probably because tourists move through very easily monitored access points. Not sure about the US, but most major airports in Asia have body-heat sensors to flag anyone who might be suffering from an infection-related fever. Similar controls should exist at all immigration points to the US. Implementing processes and technical systems to mitigate risk first requires acknowledging that the risk exists, and isn't just "vile rhetoric". Then we can reap the benefits of legal immigration while avoiding the negatives.
The reconciler that makes this possible: https://github.com/react-spring/react-three-fiber/tree/3.x

And the small node tool that converts GLTF blobs into reactive, declarative markup: https://github.com/react-spring/react-three-fiber/tree/3.x/t...
Are you implying that wanting to have a border is a belief that is "basically racism"? What you are doing is stretching and expanding the word "racism", which doesn't do anyone any good because you are diluting the real phenomenon, you make free speech harder, because suddenly you call many more phenomenon "racist", you alienate a lot of people who would even agree with you otherwise - you are basically corrupting your language.

This is not a good thing for any cause, this is just a tool that is used in a political debate to try to win arguments through linguistical tricks, not through real arguments.
Not knowing anything about this, I thought this would be about C# :)

https://en.wikipedia.org/wiki/C_Sharp_(programming_language)...
This is an advert, not news.
> this simple one still converges at about 0.6 decimal digits per term.

The Chudnovsky brothers’ algorithm computes 14.18... digits per term. Its implementation in Scheme is only about a couple dozen lines of code. It computes a million pi digits in about 17.5 seconds on raspberry pi 4 in Gambit Scheme (57 seconds on the original raspberry pi, IIRC).
Wow, amazing article. Note for those who scan through, recommendations about what to do instead are at the bottom.
Saved real estate cost for one less desk at the office, productivity gains [1].

That said, companies that are fully remote (e.g. Gitlab [2]) tend to actually adjust your wage for having similar purchasing power wherever you choose to live. This then encourages the company to hire from inexpensive countries, which has it's own pros and cons.

[1] https://www.forbes.com/sites/abdullahimuhammed/2019/05/21/he...

[2] https://about.gitlab.com/handbook/people-operations/global-c...
Remove Richard Stallman (Thread)
First, he didn’t even give the typical, whiney, ‘he’s accused but not convicted’ defense. No, Stallman went much further than that.

I find it curious that she talks about this as if it is a bad thing. The most sensible thing is to wait until conviction to pass judgement. Why is that whiney?
WeWork are quite expensive - enough that startups will get their own offices when they reach some stability. So I’m left wondering, WeWork charge a lot and in turn they pay a huge premium for their building leases. How are they NOT making money?
Deepin has been around for a while now, and the questions about its origins have been around since the beginning. I'd say those questions have as much legitimacy as the similar questions surrounding Huawei.

You really don't need to start throwing accusations like 'racism' around, just because you're ignorant of the context involved.
Is your string library open sourced? Could you provide a link?
>I don't see why people should be kicked out of a country because they were born in another country

One good way to "get it" is to go try stay in their country, without following their due process to become a citizen, and see what happens.

A similar good way, is to go live in different countries for a while (try Syria too), and see what ideas some people have about running their countries, and consider whether you'd like people with such ideas to be a sizable minority or even majority in your country.
From my reading, I don't think any of the F35s had been delivered, but some Turkish pilots had started training in the US in '18. That is now stopped.

Over 900 parts in the F35 were made by Turkish companies, and they have to now be re-sourced.

Now, I don't think the F35 operators want F35 engines sitting around in a country now receiving Russian military advisers. The idea that the engine isn't classified is crazy.
“I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” -Bill Gates

https://www.goodreads.com/quotes/568877-i-choose-a-lazy-pers...
The constitution can also be amended. I’m not saying it would be easy, but legal recourse is not ”eliminated”, nor are mobs and violence the only alternatives left.
> the way i remember it happening: both YF-22s were lost do to mishaps

Seems they're museums pieces now and look relatively unscathed. [0][1]

> The two YF-23 prototypes were museum exhibits as of 2010

[0] https://en.wikipedia.org/wiki/Northrop_YF-23#/media/File:YF-...

[1] https://en.wikipedia.org/wiki/Northrop_YF-23#/media/File:YF-...
> Why on earth would it matter where your desk is?

It matters to product managers. Managing remote team is more difficult therefore PMs will always push against this.
You might not but racist, but your username is, aNigBroWL
Dont forget their stores, they sure know a thing or two about copying designs 1:1.
Improve your understanding of sorting algorithms using solve it on paper method
I would suggest this book: Cloud Native Patterns (https://www.manning.com/books/cloud-native-patterns?query=Cl...)

It expresses so well the problem faced by OP and how they should be tackled. Sure, there's no proper rule of thumb, since every project is unique, but a good architecture should address these concerns
Several western countries use tungsten instead of DU. Apparently largely due to the political issues anything uranium brings.
This isn't an exact reply to your question but ---

In London we have a 'fare hopper' system for the busses. £1.50 and you can take as many trips as you like within an hour. Or you could stay on the bus for the entire day (if you really wanted too) and just go round and round and it would only cost you the initial £1.50.

So the cost doesn't scale with your journey time/length, and if you're popping to the shops or somewhere nearish you can often make the return trip within the hour and you only get charged the first £1.50.

Very rarely is the distance travelled short enough that £1.50 feels like an over charge or lack of value.

I guess my point is, £1.50 isn't quite free - but it is low enough that it encourages use of busses. Once the initial fee is paid, within an hour any extra trips are free. It works brilliantly.

The issue of 'how do you discourage short trips' is a non-issue based on my experience of how the busses work in London, imo. It would be an interesting case study to put infront of those who think regulating demand is the blocker here.
Here in the Netherlands during winter, bike paths are cleared/salted before most residential streets. That together with the sheer amount of bicycles keeps all mayor bike paths clear enough, though it does get slippery.
> If every copy of Q contains a full copy of Q within it then it must be an infinite length program

Try running this Python program and see what it prints:

w = "print('w = ' + chr(34) + w + chr(34) + chr(10) + w)"
print('w = ' + chr(34) + w + chr(34) + chr(10) + w)
> Even taking into account the added weight, it's a net positive

You just gloss over the most important part of the question right there. At a charging rate that low, even a small amount of added weight may completely destroy the plausibility of this idea.
That's not SF situation. Probably 90%+ of boring big corps have millions and millions of lines of Java code to maintain and develop further. You just need to be in a city big enough to have some of those big companies. At least in Poland, it's hard to hire a generic senior Java dev.

One possible explanation for what you're seeing (except not being in a right kind of city) is that maybe the offshoring has hit the US enough to affect the Java market? There tens/hundreds of thousands of Java developers working in Poland are doing offshore development for US/global corporations. The whole Central/Eastern Europe is like that.
The whole point of having governments is to address issues that affect large groups of people. Personal crusades, based on distorted perception of issues due to anxiety issues, will never yield useful results.
Even then, I think the "process of pinch to zoom" is mostly about emulating nature and should be considered under the same idea as that you should not be able to patent a biological process. And if you say "well how you emulate is patentable" then I will say, there are only 2 choices:

- there is only one way to implement it: then it is just an embodiment of the idea and shouldn't be patentable

- there are multiple ways to implement it: then there is no point patenting them because somebody will just do it a different way and you have no protection ... except ... copyrights which are already what everyone uses for software.
Bad Clients Series: The Cheapskate
> Tying the salary to the cost of living looks like a way to cheat a worker out of the value they generate.

Seems like you solved your mistery after all! As abusiness you want to spend as little as possible.
> So you’d leave the generator running when you park the vehicle, unattended?

I use a generator frequently. I leave it outside, unattended. So do the neighbors (when the power goes out). I never leave an idling car unattended because I worry about it. It's a much bigger deal than a little gas engine.

> It would be like leaving a vehicle idling when you park it. Noisy, polluting, and potentially deadly.

It certainly is a bad idea to run any sort of combustion engine in a poorly ventilated area. Perhaps I presume too much that people will have some common sense.

As for the noise, that's a design issue. ICE car engines are pretty quiet these days. There's no particular reason why a small ICE has to be loud like a chainsaw.
Deepin isn't developed by Huawei, but I guess your point stands. Still, Deepin is a distribution that has been around for 15 years now, and it's completely open source. I don't think there's a legitimate reason to believe that Deepin is compromised in some way, which is the statement that was being made. At the very least there's no argument for that being made other than a vague reference to "its Chinese origins".
I didn't understand this part. Why is the author changing scales? Shouldn't it be that at:

At 95% certainty, you have 95 people saying "yes" and 5 people saying "no"?

So it's easier to make an apples to apples comparison? What point is the author trying to make with changing the scale?
They are, in a way, given that they'll spend less on tax than their commuting colleagues - assuming that taxes are used as a method for government to incentivise behaviour.
Last I heard the project has stalled. And with the current administration there's unlikely to be political pressure to get it rolling.
I want to see how this Hong Kong story develops before I buy new China goods.
I think its possible to have a good software patent. However in my quite long experience in the software industry, I quite literally have never seen a software idea that was actually patented and which convincely passed the "skilled in the art" novelty test. Nearly everything I have seen would be logically thought of by someone even moderately skilled in the art if presented with the same requirements. So I think the conclusion is, even if there are a few "good apples" if the barrel is full of 98% "bad apples", you really should throw out the whole barrel.
I did not study philosophy but I'd think that you can't separate it.

Philosophy does not happen detached from the real world, does it? It's something that is influenced by the world and the things happening around you, so how could you separate it?

What's your opinion on that? Or your professors?
Cars are convenient to the user because their externalities (noise, pollution, inefficient use of space) only affect those people on the streets who don't use cars.
There are costs associated with working in an office - consider rent, cleaning, furniture, power, a receptionist, maybe an entire facilities management department, security and so on. These costs are split amongst the revenue earned per worker in that office. But homeworkers provide all those things for the company “for free”. And even more the homeworker might even provide the PC, the phone line, any tech support they need, all “for free” from the perspective of the company beancounters. In a fair world homeworkers would be paid this differential.
> I know it's toxic but from a technical aspect, that is really cool.

People who think like this make want to cry. Those who can see the consequences and choose to overlook them.
By that logic, doesn't someone also support "unhumane practices" if they do any kind of work or subcontract to US government? If you group everything together, then anyone supporting US is "directly responsible for an increase in human suffering". Does that really look like sound logic to you?
API changes are great.

But communication is... well.. there is actually non.

There seems to be no single resource to get all the updates on PA API -- and knowing that makes me nervous :(
I think there used to be an Audi model with a solar panel on the roof that was used to power the aircon when parked. No idea how effective it was, but the concept was clever, since when there was little sunlight, you wouldn’t need the power anyway.
That sounds dangerous:

All images available on this server are
generated using community supported, upstream
LXC image templates

And:

Note that the images found on this image server are
unofficial images. Whenever possible, you should try
to use official images from your Linux distribution
of choice
Show HN: New Foundations for Permissionless Byzantine Consensus [pdf]
Why is it more difficult? Do you have some data or anecdotes to back up your claim? I'm really interested.

I've been working remotely for years now, and my relationships with the various PMs I've had has always been: talk about what needs to be done, and then be left alone to actually do it, check back when I have progress or if I have outstanding questions that arose from better understanding the problem domain. Plus the daily stand up meetings that have always been optional to attend. Done, nothing else, nothing complicated.

Is this uncommon across the industry?