skysight-inc/HackerNews huggingface dataset:
I build Lua programs in prod. I use fennel or moonscript as the frontend, and everything runs on openresty (cli tools using resty and servers using the full stack).

Parallelism is enabled by a data flow architecture on top on nginx workers (compare TPL Dataflow in C# or Intel TBB in C++).

Concurrency is enabled using coroutines (nginx threads). It's virtually impossible to write blocking code and that's without any async or other bs in sight.

It's really fcking fast. Like, some parts of the overall arch are rust, but in the real, io bound world there's virtually no speed difference. Of course safety is good. But you get types and other neat zero cost abstractions for Lua using Haxe.

This Dataflow architecture also benefits from openresty built in concurrency safe queues, maps etc with atomic commit and cross worker access. Everything feels so damn effortless. I didn't have to do any work on making it scale. Just tweak the number of workers knob and boom, almost linear benefit. That's for rust and Lua, both awesome at parallelism in this case.

Anyway, even though I never write pure Lua, I still think it should have won against python (man did we try, even riding that ML wave).

I'm in love, but me is not many.
Beer .5 ducat a pint.
College starting at 640 ducats a year up to 2560 ducats a year.
So formal education started at 1280 times and went up to 6400 times the price of a pint. Which at $6/pint today would be ~$7500 to $36k a year.
> Unless it's 1 person, 1 vote, it's not democracy

Let's say every person has one vote And there are thousands and thousands of elections going on every day. Most of the people are not interested in most of elections, so they ignore elections because it is not possible to follow everything. Which means we end up with 1 person 0 votes most of the time. Now to improve the situation we can agree to collaborate i'll vote the way you want for the issue you care and you'll help me in return. Money is simply a way to make this kind of collaboration easier. Saying that any kind of cooperation should be banned doesn't help anyone, and leads to a stalemate in the case when there are many issues to vote on. In fact if our governments were real democracies where votes could decide real policies instead of picking someone who is going to lie for the next 4 years, we would have a system very similar to money to help us to deal with the large amount of issues to vote on.
China and many other countries combined. Quality of life has gotten objectively better everywhere.
Willingly captive. Plenty of thatch around where I grew up, but seeing it removed and tiled (instead of rethatched) isn't that uncommon either.
I would be angry as well, but ultimately this is Canada Post's shortfall and not the fault of US border patrol agents who are just doing their jobs.

However thoroughly they choose to perform their jobs in their country should be of no concern to Canadian Citizens.

The only reason that mail is driven through the USA is due to cost, presumably.

We fly mail up north.

We should probably fly mail to that island as well if it's a matter of national sovereignty.

It's insanity that Canada Post has been allowing packages potentially containing Cannabis to travel through the US border en route to Canadian Citizens with their name and address right on the package.

I foresee a class action between the residents of the island and Canada Post brewing if it is not already in the works.
To All Businesspeople: Developers Need Space to Do Whatever They Want
The "Too Good To Go" app became quite popular in Germany now. Restaurants, hotels and alike offer leftovers for a dime. You buy a voucher and collect a meal usually just after closing time.

Besides, we use "to container sth." for grabbing good food from the supermarket's trash. Is that something common in the US?

The Food Runners do a great job :-)
First, I always hear this - but my guess is that we'll have self-driving cars before we have convincing deep-fakes.

Second, all deep-fakes are going to do is add another dimension of plausible deniability. Just like "fake news" is now used by all sides to discredit any and all unfavorable reporting (even if true).

-- "That wasn't me, it's clearly deep-fake fake news!"
Proxy the script and alter it... Whack. :P
Cooler RPi4 with New Firmware
Photoshop is not easy to pirate anymore or even have a trial. Things have changed a lot during the cs era unless you want to use old versions.
I do it with the doctor!

We have mandatory visits at work here in Italy and to save time when I go there, instead of following the usual routine, I say immediately: my grandfather suffered from high pressure, my mom has been curing her high pressure her entire life, I also probably have it so if you find high pressure, I know everything about it already.
Also my parents worked in healthcare, you can use medical terms, I get those.

I also tells them I suffer from a genetic heart condition, not worrying, but existent.

It's called anamnesi, it's a necessary process to establish the patient's background and saves a lot of time to the both of us.

They don't have to explain to me that I should avoid using salt and all the side effects of a condition I know very well and I don't have to listen to things I already know, since 40 years ago.
Could not find the requested event...
I completed the whole thing last year; the problems start out very easy, but get dramatically more challenging over the course of the month. Check out the statistics for how many people completed each problem in 2018: https://adventofcode.com/2018/stats

The first few problems are approachable by pretty much anyone who understands how to do arithmetic, file I/O and basic flow control. Many of the later problems require advanced skills such as more sophisticated algorithms (graph theory, dynamic programming, etc.), reverse engineering, and careful debugging.

For what it's worth, I would expect anyone who knows what a loop is to be able to get the first half of today's problem without much difficulty. The second half is a bit less trivial but also pretty easy to understand.
> didn’t provide solutions

Does he mean he didn’t provide solutions as in he doesn’t work out the answers, or he doesn’t even provide the answers at all? Like, work the problem, get the answer “12” and flip to the back of the book and make sure that the correct answer was 12? Not providing solutions I understand. Not providing answers makes for a pointless (math) book.
I used umbrella, because statistical signal processing seems to include DSP concepts + probability concepts + random process + Control Theory (Markov stuff)
Anyone has an outline link or something?
"Costs" doesn't mean real operational costs and so on. It is used as an accounting/business concept. Simply any .org customer has a yearly associated cost for having/leasing that .org domain.

OP's comment doesn't distinguish between different sources of that cost. (Sure, it has many components, the cost for the network, servers, development, security, backup, payroll, legal, accounting, some sales, marketing, audits/compliance, insurance, whatever risk premium, maybe off site backups, disaster recovery, outreach, bonus projects, 20% time, blablabla. Plus profits.)

Obviously everyone knows that the profits is the part that will now grow much larger. And eventually the .org customers will ditch .org because of that. But OP is right, from .org customers' standpoint, it doesn't matter why, it just matters that their costs will rise and as soon as it crosses a point (cost of switching becomes less than the cost for remaining on .org) folks will leave.
Show HN: Interesting links you save get sent out as a daily newsletter
With the major difference that the Oracle pretty much guarantees you will receive a joke answer to your question, while Straight Dope aims for accuracy...
It doesn't take you anywhere if they always answer "you use Linux? It must be that"

Assume competence if they show competence

If they don't, assume they will be part of the problem, you won't get any help and they will make the situation worse
The symbol £ is merely a stylised L , so you've missed nothing.

It's odd therefore to use both in a mix, but probably it just reflects typing up from a mix of sources.
I used to think that people would really care about this but because only the advertisers are being defrauded everyone does tend to look the other way. I wouldn't shut up about ad fraud and how big a deal it was going to be years ago and I was just wrong because people in this sector just have a really high tolerance for crime and people are just looking the other way.
SiC has 4x better thermal conductivity than GaN. Operating temperature and breakdown voltage are also higher. You can buy 1.2kV SiC transistors right now, GaN on Si maxes out around 600V. High temperature/high voltage/high power will remain SiC territory for now.
Why Do Contestants Keep Underbidding on ‘The Price Is Right’?
Meanwhile, Canadian incumbent telecoms pretty much refuse to peer locally outside their little club.

The result is that a lot of local IP traffic round-trips through the USA.

E.g. half of the Toronto Voip.ms servers have a route that take go from Toronto to WashingtonDC to NYC to Montreal and then back to Toronto.

Fuck you Rogers.
I don't mean that it's the claim of the Nash equilibrium itself, I'm referring to the common belief that self-interest alone is a functional guiding principle. Objectivists, some libertarians, etc.

I take the Nash equilibrium to mean that everyone knows everyone else's strategy and no one has individual incentive to change. But when that balance is reached, there can still exist superior choices that require coordination where the result will still yield better individual payoffs for everyone. So that's a refutation of the notion that self-interest is king.

That point can always be contested by dickering with the definition of self-interest, for instance by saying it's by definition in someone's self-interest to coordinate, but that's about where the usefulness of the discussion falls apart. It really just comes down to how many externalities you want to bring in to your mental model.
Disclaimer: I work at Google, all opinions are my own.

>just pure boolean search

So if I just repeat the word Facebook a hundred times in my personal website, I'd rank higher than facebook.com when people search for "facebook"?

I think simple boolean search works for things like searching books in a library, where you can assume good faith from all the authors.
But in the web you can't do that. It's just too easy to game.
In general the puzzles involve basic operations that any language would have. Functions, data structures, recursion, some amount of back-and-forth between strings and numbers and records. There isn't any reliance on library-like things like making HTTP requests or parsing complex file formats. I think they would be fine for someone starting out at coding.

Every day's puzzle has two parts. The first part is usually easy. The second part is then a twist that requires a change to the solution of the first part.

Apart from that, you can always skip a day if you just can't solve it. The exception is that sometimes a puzzle can reference the solution of an older day, so if you'd solved the older day you would already have an understanding of how to proceed, and might be able to reuse some code.
As I recall, I politely spoke with multiple support agents for over an hour, carefully explaining my problem, before I tried to wrap up by saying that I was going to talk with a lawyer because this isn't going anywhere and I have legal rights in this situation. I don't recall threatening to sue them [0], just saying that I was going to talk to a lawyer. That's when the conversation changed. The person they transferred me to was very helpful. The problem was resolved within minutes of being transferred.

I was completely serious about talking to a lawyer about this by the way. And they understood what my problem was. I'd guess that the support agents I spoke with were not authorized to do what I asked. They never told me that, though, they just refused to help. If I had to guess I'd say that they weren't authorized to transfer me to the right person unless I said certain keywords, "lawyer" being one of them.

[0] Maybe I did, as I was really frustrated after over an hour on the phone. But I only intended to talk to a lawyer.
Try http://archive.is/9jQd1
For reference, 1 Euro = 340.75 drachma.
Infinity is the only reason: all finite sets of strings are decidable, simply because you can just keep a list and see if a string is in there. Important to mention that there are decidable infinite sets of strings. For instance, deciding whether a string contains only ones is easy, even though there are infinitely many such strings and you couldn’t write all of them down.

A lot of these ideas don’t require any actual “realized” infinity, however. For instance, there are infinitely many natural numbers, but natural numbers themselves are still finite. You can write a program that prints every number at some time in the nearby future (ignoring physical constraints), even though there is no point in time where it will have printed all numbers.

If you want to take away infinity, you have to draw an arbitrary upper bound somewhere, since unbounded things are infinite. Drawing that line is fairly arbitrary since there is no reason why things should no longer work if you add just one more.
> There is a world of science outside of data processing.

Yes, but that's documented in lab books and procedure documents. Or at least it should be! If it isn't, how are they able to explain their own research? And those can be open sourced.
Rent's so variable, but rurally can certainly be as low as £2,400pa (£200pcm) today. A horse today could also easily exceed £24,000.
Two Years at Dropbox
In Python 2, floor division is the default for integer arguments and exact (to within machine precision) division the default for floating point arguments, but this caused a lot of unnecessary confusion: new users were surprised that 3.0/2.0 == 1.5, but 3/2 == 1.

Thus for Python 3 the new // operator was added for explicit floor division (which is often quite useful in its own right), leaving the / operator to always return an exact (to machine precision) floating point result, even with integer arguments.

cf. https://en.wikipedia.org/wiki/Principle_of_least_astonishmen...
All I'm saying is it's pointless to consider them a realistic competitor of Google, Bing etc. when they basically punt over the most crucial infra aspect of being a search engine and when their service is more akin to querying the Bing API from a headless browser and mildly rearranging the results.

It's also clear that they try to obfuscate this fact by claiming "more than 500 signals / sources", which means they feel that being more upfront about the truth would work against them.
DevOps Observability: Instrumenting Local Deployments
macOS Catalina and Osquery
China launches facial recognition for mobile phone users
Except at Morgan Stanley (where the same could be said for kdb 20 years ago).
Then why are there reports that large storm systems (eg. hurricanes) are slowing down and dumping more water and causing more floods?
So if it “well defined” by the DOJ, you should be able to find a specific example where a minority vertically integrated platform vendor was declared a “monopoly” and specific remediation steps were enforced. Not a Wikipedia article.

If that were the case, every single console maker since the mid 80s would be declared a monopoly. Why hasn’t that happened?
People who have never needed particular drugs often struggle to understand how important they are to those who actually need them. It's incredibly hard to empathise with someone's plight if you've never experienced it yourself.

I have far too many people who aren't doctors telling me that I don't really need stimulant medication to manage my ADHD and I'd be fine without it. Often they'll go on to describe how, as someone without ADHD, Ritalin or dextroamphetamine gets them all wired up.

Ritalin literally just straightens me out and makes me feel normal (unless I eat a handful). I can certainly manage without it, I did for over 20 years, but life is a lot easier when I have the option to use it. It's a tool in a toolbox of management strategies. I'm an adult and am capable of giving informed consent, I had a discussion with my doctor about potential side-effects and long term use, including dependance and what would happen if I stopped taking medication. I have a fairly comprehensive understanding of ADHD and stimulant medication, more than your average moon worshiping hippie, that's for sure.

I've gotten the same in regards to using benzos (Xanax, Valium) for anxiety. If you need them, you need them. Breathing exercises or trying to distract yourself won't work. If you've never experienced a panic attack or had serious anxiety, you can't understand how bad it is. If you take an appropriate dose, you don't become a sleepy zombie, you become a functioning human.

I have friends who are on anti-depressants and I've seen exactly the same thing happen to them. Positive thinking and yoga won't cure clinical depression.

It's demeaning and condescending to assume that someone hasn't considered actually trying to solve their mental health issues without medication or drugs. It's actually incredibly insulting to have someone with no qualifications or subject knowledge tell me how I should manage my mental health and that I shouldn't be taking medication. It's like telling someone who needs glasses, which I also do, that they should try opening their eyes and looking harder (I've actually had people tell me I should try exercising my eyes), or telling someone with asthma that they should just breathe deeper. You wouldn't tell someone in a wheelchair that if they simply think about walking hard enough they'll be be able to stand.
But the price of tuition at Oxford is politically, not market, linked, and so if you graphed this over time it'd be all over the place even just the last twenty years.
A man in OEM manufacturing here. Not an electronics engineer professionally, but more or less involuntary having to deal with it.

First, I will say that GaN is not a make or break deal yet now. There are very high performance silicon switches that can produce equal gains for use cases in consumer electronic. In absolute comparison GaN is of course winning over Si, but use case wise, not so much.

GaN's main appeal is that you can retrofit it into simplest buck topologies, and get instant gains without any extra hassle.

GaN works best for low current, low voltage applications you normally see in consumer electronics. Everywhere else besides RF, it's not a clear improvement over silicon.

For long time GaN existed in a narrow niche of high frequency circuits, where people were OK with n channel depletion mode device with a lot of tricky sides. Its use as a power switch is relatively novel.

Enhancement mode devices are now on the market, but there is a catch. Because p-GaN is nowhere near as good as n-GaN, pure GaN enhancement mode devices are nowhere near as good as depletion mode devices. For this reason, some companies are trying a an approach with hybridised GaN-Si device to overcome that. Again, that is way more tricky and expensive than a single material device.

Now, back to chargers. It is easily possible to make more compact chargers without any exotic switches GaNfets included for as long as you put just a little bit more brains to engineering by going to better topologies.

What a lot of charger makers do these days to go along with the trend for smaller chargers is to turn up their switching frequencies as much as possible without melting the charger. They still do miscalculations about that, and you now have a lot of molten/burnt chargers as a result.

They are being misguided by the switching speed narrative, and completely miss that point that size of passive components has to do with way more things than just switching speed.

First, they can throw away the standalone rectification, gaining some efficiency in the process. Second, they should either go with some advanced flat transformer setup with appropriate resonant topology. Or they can throw away transformer altogether and use piezo transformer, or capacitive isolation. Third, a separate buck for last stage DC-DC can also be thrown away if you use multitap transformer and some electronic switching.

Transformers are by far biggest contributors to charger volume, and weight, and are bigger than capacitors in some cases. Throwing them away will provide way more space savings, along with other extraneous components.

So think twice about going the GaN route before considering things above first. Switching performance in a typical AC-DC is by far not the biggest of your problems.
> I'm hoping that giant power bricks and those adapters that power via barrel plugs will disappear soon

Laptop makers will never let that happen. My partner and I have had 4 USB-C laptops between us for work from Dell and Lenovo and the Dell 90w USB-C Dock PSU is the only one that could power all 4 of them. Each one complained or refused to boot if a different charger was used. The wattages for all of their supplied chargers were different.
Both my mom and my wife found that opiods cause more trouble than good for them in terms of pain relief, while Tylenol and Ibuprofen work just fine.

My mom had surgery recently and the oxycodone had her nauseous and vomiting through the night the first night after her surgery. After which she decided to just not take them.

Not to mention that opioids put your digestive tract basically to sleep, leading to severe constipation.
The BBC is fake news. The British have no choice, they have to buy a TV licence to suck up the state controlled propaganda. Its an outright psychological tool, putting idea's into people's heads, telling them what to think, no wonder the UK is the no1 soft power, soft power being British Military Intelligence, where every device with a cpu connected to the internet (US military Arpanet intelligence invention) gets hacked, where British subjects have no rights, you don't need a Gitmo when the whole of the UK is one giant Gitmo.
Startup is taking on the New York real estate broker monopoly
Your earlier comment came across as a pretty literal blanket statement for me, FWIW.

> In no way is fasting healthy … while fasting for more than a day or so at most.

The italicized portions are both qualifiers that suggest / reinforce something like "literally no one in human history has successfully fasted."

If you meant "On average, low blood sugar will cause lower metal and physical performance," just say it. Sarcasm and hyperbole don't come across clearly on the internet. It's much easier and more considerate to write what you mean the first time, rather than writing a hyperbolic and simplistic statement and then retroactively rationalizing it.
Undershirts are much cheaper; at least the last ones I bought were like 6 for a few dollars.
Curlie seems very nice, but I'm a little concerned about your advice to alias http(ie) to curlie as they are strongly very much not interchangeable ("-a" means something entirely different between the two).
The maintenance and insurance costs of a thatched roof are ... through the roof.
What it brings to the table:

- peer-to-peer networking for every node on the network

- secure networking as the default

- an identity system built in to the network layer (no more usernames and passwords)

- A functional programming language that doubles as a serialization layer (no more JSON/XML impedance mismatch)

- A simplification of the local software stack OS (<1% of the LOC of the linux kernel, though there is still functionality missing)

- Deterministic computing

The urbit developers imagine that in the future, things like twitter or hacker news will be peer-to-peer apps rather than giant mainframe computers controlled by a single entity