skysight-inc/HackerNews huggingface dataset:
I'm not having a dogmatic stance please stop voting me down. I'm tired of juniors who think they know what they're talking about. Just stop.

https://www.wikiwand.com/en/Function_(mathematics)

That is the definition of a function. Quite complex. I simplified the explanation by using a Box. You will note in the wikipedia article they also have a picture of a Box with inputs and outputs. That is the essence of functional programming. Now please don't turn this into a immature pedantic argument about some obscure definition of a mathematical function.

>I don't think many (any?) PL theorists or functional programming practitioners would agree with your dogmatic stance. Where are you coming from with all this?

Uh they do (and it's not a dogmatic stance, the definition of FP is quite blurry, but immutability is universal). The point of functional programming hence the name is for the programming to follow mathematical functions as closely as possible.

In the ideal world your program in FP is just one giant pure function that is a composition of other smaller functions. Of course your functions need to have side effects so they come up with all kinds of tricks or bend the rules a bit so that you can have things like IO and side effects but these are just exceptions to the rule.

The philosophy of functional programming is to make your program as pure as possible and minimize or segregate side effects away from your program as much as possible.

This is essentially what and all that Haskell is. Haskell uses a trick, a VM that takes an IO monadic Value and does side effects with it. Outside of that VM all the user does to the program is write Pure functions and compose them all together into a single function called Main. That's it.

That's literally what haskell is, and if you think PL theorists don't agree with my "dogmatic" stance which is to say not "dogmatic" at all then you really don't know what you're talking about because Haskell is basically designed by the best in class functional PL theorists.

Let me put it simply for you.

If you can put your entire program in a single expression then you are doing functional programming. That is what functional programming is. There are no steps or procedures that happen one after the other. Every value is defined permanently. There's no concept of time or procedures in functions that's why you can't have variables getting assigned or mutated in FP.

You can only define things in functional programming as they are right now without the concept of time in FP. Procedural programmers tend to create buckets of empty data variables to be filled in over clock cycles.

If you don't get this, you don't understand functional programming.

In an expression, you cannot mutate values you cannot have procedures or loops. Why do you think FP is loaded with recursion? If they allowed setters and getters and mutation like the example then we might as well add a jump command while your at it and suddenly we can use loops in functional programming.

You just don't get it man. Dogmatic my ass, not even close.
It depends on context

The original meaning was about wholeness: studying or managing something as a whole.

It has been co-opted by alternative medicine, which is where you'll see the word most often. There is (and should be) a concept of holistic medicine, which could mean seeing the body as a whole instead of individual systems. Real medicine is going in this direction anyway, for example with the growing understanding of the link between the brain and gut.

For people marketing alternative medicine, it's a buzzword that makes people think of wholesome, and also that the seller is considering things that science-based medicine is missing.
A space plane is going to be more efficient. The idea is you fly the aircraft with jet engines (which use oxygen in the air) to their maximum altitude, and then switch over to rocket engines (which use oxygen in the fuel).

So far all demonstrations have been of rockets mounted under a jet engine powered aircraft, which then detaches at space launch. But I don't think there is any reason why you couldn't have a SSTO air/spacecraft, other than we don't have the propulsion technology yet - it works in KSP though :-)
> ride-share

Taxis and Uber are expensive, and you don't always live close to your coworkers. Electric cars are expensive, too.

I'd posit those with white collar jobs and whose incomes are high enough to afford a new electric vehicle would prevent much more pollution by cutting out the car and commute entirely and committing to working remotely.

> It's about consumption in general.

Industrial and commercial emissions overshadow residential emissions by more than a factor of four.

The consumer market is but a fraction of the entire market.

> Do we really need a new iPhone every year? Apple wouldn't produce them if people wouldn't prefer a slightly better phone over sustainable living

Nobody forced Apple into implementing planned obsolescence as part of their business strategy, or into unsustainable manufacturing practices.
Any examples of how you use the webhooks?
A demand is not a favor, it's not a benefit, and it's not a policy.
New highways are going up everywhere - straight to each person's home!
You are being very slippery with different meanings of "policy" here. Of course, we have to engage with -- and reject -- such sophistry.
It won't be this year, or next, but fairly soon these laws are going to implicitly restrict people who are using Neuralink 2030 from opening their eyes.
There's a partial port on the ESP32. It seems lacking many features over the ESP8266 one, though the project is a lot younger.

https://github.com/martin-ger/esp32_nat_router

I recall that somebody found that the ESP8266 (no info about the ESP32) can talk directly to Ethernet devices, albeit it lacks a proper PHY with magnetics.

https://github.com/cnlohr/espthernet

It could be handy to avoid using the same WiFi subsystem both to connect to the WAN and to accept connections from all clients, which I believe has a huge performance impact.

Now what if we wanted to overcome the speed and number of users limitations by connecting two or more ESP boards in a magnetic-less way, either crossing tx and rx pairs in case of two chips, or using a switch chip such as the RTL8306 to connect more than two ESPs?
I think it would be possible. More as an exercise though, since costs would raise to reach many already made products.
A couple weeks ago, I was looking for some way to convert a Gmail email filter into an Android clock alarm (not just a custom notification) so I can be woken up if a certain email arrives. I haven't found a solution for this. I had heard of IFTTT, so I took a look at the website, but I couldn't make heads or tails of it. I signed up for a free account and I searched through the integrations available, but it didn't seem to get me what I wanted. Maybe it's just me, but it wasn't clear enough that it could solve my problem that I should invest the time to figuring out how to use it.
not sure what you mean by anomaly, US looks a lot like Sweden, a country that looks like will be faring the best

counter-intuitive as it may sound today, US might just end up the country that did really well. Most large countries are simply not measuring/admitting the real number of cases.
Are there logs?
It's strange how that works out.

I use both Android and iOS and I've easily spent 10x as much on iOS apps as Android apps.
Most of the APIs I use and build are best suited as RPC systems rather than hypermedia networks, so implementing the entire REST idea has never been immediately useful. Broadly the real consumers of RESTful APIs are not generic hypermedia clients (generalisation of browsers) which are able to traverse your flavour of hypermedia, but the things operating those clients. Most of the time, those “things” are dumb business logic applications that can’t explore the hypermedia to discover
new functionality and furthermore are not designed to do anything with it anyway.

If it is a human traversing the hypermedia however, they’re able to derive a lot of understanding about the API and its features, as if the API is self documenting, but that generally only occurs
during the development and debugging stages. After that the hypermedia is useless to the dumb business logic. Also I’m sure most humans prefer to browse the documentation on the alternative World Wide Web hypermedia network, as any good API would have documentation published there.

All in all hypermedia is mostly useful for intelligent consumers, so if that is not the consumer of your API and you suspect instead the consumer will be static business logic (the vast
majority of cases) then REST will not be particularly useful. As I mentioned an interesting use case would be bundling up documentation into the API itself and hyperlinking between that and related URLs, however the overhead is generally not worth it since you’re likely to do it better with documentation site.
> ...and realistically at double or triple that rate to minimize fuel consumption.

But that’s the whole point, with traditional rockets every second spent on the way up is wasted fuel combatting the cumulative force of gravity.

But if your energy is being beamed up, as long as that energy is enough to overcome gravity, you eventually achieve orbit. You’re no longer burning a limited resource just to “hover + 1”.

I’m not saying it works, but it does fundamentally change the equation if you can beam “fuel” to the rocket on the way up.

Unfortunately energy =/= fuel. In the end, mass has to exit the rocket at high velocity out one end in order to provide acceleration in the opposite direction, and that mass is limited.
> it really works well

It works well enough. I tried a few other sites and had mixed results even when providing the raw HTML so that I knew its http logic wasn't the issue.

> maybe you didn't update the wanted list in the examples

Yeah, that was my only real problem with the readme examples. Those could just as easily be provided as local data (e.g. how `sklearn.datasets` works) so that the end user starts with working code, especially since there are no errors/warnings/etc when anything goes wrong.

> IMO the biggest problem is the lack of js enabled content support.

Haha, unless I'm seriously misunderstanding you this is one of the only things I don't mind :) Since you can pass raw html to the library, you can use your favorite headless browser to navigate (or in the happy case just load a non-interactive js-enabled site) to your content and pass it through to this library to do the data extraction. I rather like those features being decoupled and kind of wish this library didn't attempt to do any of the crawling itself. I know that's just a personal preference, but it's my account, so I'll say what I like about it.
Facebook May Be Ordered to Change Data Practices in Europe
I really, truly don’t mind paying for software, but all of these subscription services cost obscene amounts of money. $10 per month is $120 per year. $120! I might pay that much for boxed software, but it would need to do a heck of a lot more than IFTTT, and I’d expect to get much more than one year of life out of it.

Affinity Photo, for instance, cost $60, and VMware Fusion cost $80, to name two products I purchased recently. Neither needs to be bought again after a year unless an update contains a new feature I want (and probably not even then for Affinity), and both can do a lot more than IFTTT. Neither has a server component, true, but how big a cost can that possibly be for IFTTT?

I’m probably never using IFTTT again. Oh well.
> Good things don't vanish randomly. Whenever someone tries to restore some old form of governance the question needs to be answered why it died out.

Good things vanish because people forget history, or fail to learn it, and thus don't understand the reason why the things came to be. Consequently, we ignorantly and futilely attempt to reinvent the wheel.
This is false. See e.g. https://www.reuters.com/article/uk-factcheck-pcr-idUSKBN2442....
you can burnout just by working at full throttle for a normal working day as well. Skipping breaks and just hyper focusing.
The southern hemisphere gets just as much sun as the northern hemisphere.
Not sure what you're getting at. Pax Romana was over 1000 yrs after the Trojan War was suspected to have happened.
Same in France: the government destroyed the economy and made the worst massive privation of liberty since the establishment of the Republic (even the German invader didn’t go that far during WWII). So of course they’re trying to covert their misdeeds by lying about the virus dangerosity to avoid people’s backlash.
What she is saying is, when she does recognise someone it's binary. There's no maybe.

I take it as her trying to explain how her brain works around facial recognition.

I don't read it as her claiming to be 100% accurate. Not saying she isn't lying in general though.

"Are you always accurate?

Yes, I just know 100 percent. You don’t have a situation where you go, “I think that might be matey from my old job”. It’s really solid and definite."
How companies judge your programming language choice in tech interviews
Probably a pretty good reason not to get whatever the hell a "Neuralink 2030" is
Name one country that has had hospital overload. Any country. This was an expectation that was reasonable in February, and become a talking point for people who want lockdowns for ideological reasons and aren't willing to look at new evidence. [0]

In short: open everything and let the devil take the hindmost. The alternative is a yo-yo lock down until Bangladesh manages to deploy a vaccine to everyone infected before the virus mutates, something that will happen in 202-never.

[0] Even the horror stories from New York were because they didn't have the capacity to bury people fast enough, not that they ran out of hospital beds.
Thanks a lot for the information!

So indeed they provide you with a different share class. What is amazing though is that they have what look like an automated process to convert your shares from public to registered (private with fidelity bonus).

Reselling these shares is not really explained in the page though. They seem to imply that your broker will swap them for regular shares that you can then sell on the market.
Theranos’ Holmes May Pursue ‘Mental Disease’ in Her Defense
Maybe now that it will be payed they will make the product more worth while.
Fully Automated Deployment of Pihole/WireGuard/Unbound (WireHole) – Oracle Cloud
The millennial Speaker for the Dead
You basically just POST/GET url they provide with the json payload then hook it up to a notification service (whether that be their Android app, Telegram, etc.)

Came in handy when I needed to poll something on my end, which would trigger the webhook when it met certain conditions.
Musk’s internal spotify
Ask HN: How to learn Computer Architecture design?
Hello! Long time lurker here.

I have a question, as a first year EE student who is not in a top university (and in a third world country), how could I prepare for a Computer Architecture design position in the far future? What are the best resources to learn? What should I focus on? I realize that I will need a PhD and a lot of experience; I am asking for the things that I should do now to begin the journey.

I tried to search the web, however I could not find much.

Thank you in advance.
Can anyone recommend a finitist, constructivist approach to topology? I’m really most interested in discrete geometry, but a geometry that doesn’t try to preserve traditional concepts like curvature, angle, volume etc, but builds them up from scratch from finite graphs. A discrete-first approach, like how Lattice Boltzmann methods are approximated by Navier Stokes rather the way FEM solvers discretize Navier Stokes.
Well, jacquesm must mean something more than that, because woodworking is also a lot of work but jacquesm seems to feel that parenting should be treated differently.

Recognizing a distinction someone else is trying to draw with a term isn't splitting hairs.
That's not good enough. That's just pathetic. People should settle their affairs on this side of life, or not at all.
There will come a time when, as a society, we will have to ditch Amazon, and come up with alternatives to regular online retail.

I just hope technology and IT evolves so that online retail is decentralized.
All these 3-letter acronyms exists to further American interests - for a long time that was primarily the military/industrial complex followed by oil/gas. We're now just seeing the focus switch to supporting big tech as a priority.
There are not enough upvotes for this comment.
Bay Area transfixed by foreboding, orange, smoke-choked skies
We used Zapier at a previous startup to automate some gsuite tasks. It's really nice because it comes with monitoring and non-developers can edit/re-configure them if needed. It's expensive but headache free.

You can find huginn[1] & n8n[2] interesting.

https://github.com/huginn/huginn
https://n8n.io/
> Faster Applet execution

What does faster mean?

My biggest frustration is that my Maker Webhooks[0] requests take hours (4 hours on average maybe?) to execute with Wyze integration.

[0]https://ifttt.com/maker_webhooks
People don’t have a right to commit crimes and call it a protest. Identifying criminals should be made efficient and facial recognition is part of that.
If that's your only use case - wouldn't Pushbullet (or something similar) be a more complete solution? Genuinely curious.
Study Suggests Acetaminophen Induces Risky Behaviour
I am a SWE so I don't do computer architecture design professionally but I have found Professor Onur Mutlu's lectures on Youtube very interesting and helpful.
On my production api about 20% of each request is spent waiting on the DB. That’s with a lot of low hanging fruit remaining for optimization. YMMV. But you don’t get a speed boost by using async to talk to your DB in most common/textbook usecases. Sure, if your DB queries are complex they might take a long time in pathological cases (eg the classic accidental O(N) database query caused by not joining properly in your ORM), but the fix is usually to fix your DB queries, not add async to your API worker.

Note that simonw is a Django core dev, so when they explain what the design goals were for this feature you can be confident they are correct.

I’ll just quote it here for clarity:

> The async design for Django is predicated on the idea that the vast majority of cases are better handled by threads - but very occasionally it is useful to run an async view

This is an empirical question though, and will vary depending on workload; if you are doing something funky with long-running stored procedure calls, then you might get a win with async (make sure your DB driver is async too though, the default ones in Django aren’t last I checked). Again, my claim is just that most use cases are not like that.
I live in Portland. While I’m somewhat proud that my city is leading the way in protecting individuals privacy, it’s also hard given current events not to be a bit cynical about the actual intent of this legislation. There are people that are out everyday legitimately protesting. There are also people out every night setting things on fire, smashing windows, spraying graffiti, attacking other people, etc. It seems that our city government is essentially giving the ok for this crime to continue. If facial recognition could be used to identify the people committing crimes, that seems like a good thing.
Interesting take given your project is mostly an installer with a quick start of trusting a compose file.
Lastpass or Facebook is stealing router credentials
You can do this yourself. Just ping your lambda functions as if they were webhooks.

The problem with IFTTT has always been speed for me. I had the soccer goal notifications activated once I got my hue lights years ago so that when my team scored itd flash the lights. Usually this happened five minutes after I watched it on the TV. Useless.
Ultimate Basketball Robot
Cs310_test
Counterpoint to a number of posts already on here regarding the bad for privacy angle. Maybe not a terrible idea to have a board member with significant experience understanding the threat nation states and other larger private hacking concerns pose to one of the United States’ largest cloud providers?

I understand this is all too incestuous, but I also can’t really say it’s a bad move.
An App Store is not a payment processor.

How much of a cut is Steam taking when you sell software on their store?

How much of a cut will Epic be taking when you sell software on their store?

This is completely different to how much Mastercard charges you for selling stuff from your store.
Will check this out. I had tried multiple email clients and settled on the default macOS Mail. I try to stay with the default Apps that comes with the OS, even if that meant learning the shortcuts and spending a little more time understanding their nuances, and making use of all available features or ignoring some.

As another comment pointed out, can we have the ability to do like Priority Inbox or allow us to just show Unread + Flag (like Mail)?

After using emails for 20+ years, I'm pretty immune to all the jazz that comes with emails, and can survive pretty well. The only thing that I need now it the ability to see "Unread + Flagged". Please refer to my screenshot for how my Mail typically looks like -- https://public.oinam.com/photos-oinam/brajeshwar-apple-macos...
Why maintain it? Why not just use google scholar/semantic scholar?
I recommend reading the latest COVID-19 care protocol from Eastern Virginia Medical School. It has been updated several times and contains details on clinical best practice.

https://www.evms.edu/covid-19/covid_care_for_clinicians/#d.e...
Don't mind the haters.

Some people are unwilling to even try new things, sit on their hands on the sidelines tsking and judging without having the balls to step into the ring and have a go.

"Incredibly Dangerous" to them just means any danger or risk at all. What could be worse than abrupt end to their life of Ubereats, Netflix, and nature walks? What would happen to their pets if they were gone?
You know... I didn't always used to know why I am the way I am. And before I did, I believed I should just be able to do things and never realized just absolutely abysmal my impulse control is, so this is the kind of thing that would catch me out.

These days I know to avoid things like this for the reasons stated.
A part from the general mismanagement (quarantine, contact tracing, aged care) there has been a complete lack of consistent strategy. You can't just change the strategy every 6 weeks.

NZ went for elimination from the outset so when the virus came back in Auckland several weeks ago it was a no-brainer to immediately lock down again (although now they seem to have shifted to a suppression strategy, let's see how that goes for them...).

Sweden went for a flatten the curve(ish) strategy which meant that they did not automatically enact a lockdown when things started heating up in terms of case numbers/deaths because they were confident enough at the time that their health care system would cope.

Those are two very different strategies with different outcomes but they were consistent and thereby achieved their respective goals.

Victoria (and Australia as a whole) has gone from flatten the curve to suppression and now to elimination.
If Victoria had chosen elimination after the first flare up back at the end of May, then that would have most probably been achieved by now.
Is there a road map?
Criminals will easily adapt and protect themselves while data will still be collected on everyone else.