skysight-inc/HackerNews huggingface dataset:
A transformer is a universal function approximator. The question is whether it can do so reasonably efficiently. Trained on natural language linear sequences, I’m with you. Trained on abstract logical graph representations? I don’t think that question’s answered yet, unless I’m missing something.
Node command line tool to list GitHub repository traffic statistics
And 10 micrograms does not increase it. So 5 and 20 does, but 10 does not?
My favorite is this:

You can drag the Spotlight search bar anywhere on your screen. But if you want to restore it to the default position long tap/click on the Spotlight icon in the menu bar and it will snap back.
I get the feeling that Jean-Louis Gassée is still bitter about his company not having been bought by Apple back in 1996.
Maybe adding false information?

Harder in blog articles if you already have an identity and a real name, but if you are in twitter or reddit, you can post about fake locations, hobbies, family members etc. This way at least is harder to be doxxed by automated tools and add some plausible deniability.
Proof of work is basically equivalent to proof of money, but perhaps such a system would be reasonable with a few adjustments.

Firstly, the financial burden should be on the owner of the SMTP server / domain, rather than on the users themselves. Of course, the owner would pass the costs onto their users, but the system doesn't have to require an ongoing fee, just a bond for good behaviour. (This could be done with cryptocurrency, a smart contract, and a "proof of burn" type of transaction).

Secondly, and perhaps most importantly to encourage adoption, all existing registered domains should be grandfathered in, so they wouldn't have to put up a bond, whereas any future competitors would.

Finally, and this is the controversial bit, there would have to be some set of entities who were able to determine whether a domain had acted in a way that should forfeit their bond (and, optionally, that a domain had acted in a positive way long enough that the bond should be refunded). In practice, though, such a cabal already exists, which is the Big Three email providers (Gmail, Outlook, Yahoo Mail). Together they already have the power to destroy any new email provider, so we might as well formalise that by giving them the power to burn these good behaviour bonds.
I recently installed Ubuntu 20.04 and configured a home gateway. I had not done something like that in a while (3+ years). My experience was not much different this time than any other time before as far as I remember.

It took me an hour of reading the ubuntu official documentation and a few man pages on systemd, interfaces, networkd, resolvd, netplan etc to figure out how stuff works on this distro.

After that I was able to simply do 'systemctl status' and look at all the running processes, then stop and disable all the ones I didn't want.

I wanted to run unbound dns as my dnssec verifying, tls-forwarding, blocklist/filtering resolver. I was able to do that without any difficulty – stopped resolvd, enabled and started unbound and changed the entry in resolv.conf. I also brought up dhcpd for my network and was able to serve that dns server to the devices on my network.

Then I had to spend a bit of time figuring out pppd, policy routing and nftables to do a bit of fancy dual wan routing and traffic filtering. I found netplan to be quite good at what it does (still incomplete for more advanced scenarios - but then so was all the previous tools similar to this).

In all this, I actually found systemd quite helpful. I think those who complain don't take the few minutes it takes to read the man pages and familiarize themselves with the tools on the OS.

Ofcourse things change, and you will have to learn new things. Expecting things to stay constant is unrealistic. As long as I'm able to depend on man-pages and official distro documentation, I'm not objecting to change.
>. Introducing one in the UK would fundamentally reshape our relationship with the state

Good grief I have no idea why these debates always descend into alarmism and philosophizing. Virtually every democratic country on this planet has national id cards. Switzerland, a bastion of democracy does, Israel does, South Korea does, Germany, does, if you emigrate from the UK to Switzerland, does anyone feel they've now entered a fundamentally new relationship with the state because of an ID card?

National identity needs to be tracked in any country, regardless whether you have an ID card, and all the systems the UK has in place prove that point, the card doesn't change anything other than actually guaranteeing some standards and safety and consistency and providing some utility.

If you buy booze online in Germany on Amazon you can type in your ID and your age is verified within a minute, and the standard actually demands that those requests are ephemeral. Can anyone tell me why that's worse than some patchwork of private verification industries who leak your data every two months or sell them to god knows who?

In the US government agencies buy license plate data from private firms because they can't collect it legally, I assume UK agencies (would) do similar things if they want identity data.

Does anyone seriously think not having an ID card stops the government from unifying data? What are all those UK government contracts with Palantir for? Great now you're under surveillance AND you get the privilege of paying a private American firm with taxpayer money for it
The comment is snarky but based in fact. Importing plants requires a customs license; 99+% of foreign plant listings on Amazon are illegal.
"way of life" is a specific piece of terminology used in Article 5 of the Basic Law of Hong Kong which is why it's often referred in this way.

The exact wording is "The socialist system and policies shall not be practised in the Hong Kong Special Administrative Region, and the previous capitalist system
and way of life shall remain unchanged for 50 years."
I'm not "giving them a pass" for anything, that's your interpretation of what I wrote.
Because it's short, easy to recognize and somewhat accepted to signify that the name doesn't matter and even 'it' in Perl.

I find that using it for the default parameter (or self) simplifies the code substantially on a visual level.
Personal growth. One can't accept the true realities of the world if they still live under their momma's roof.
Probably not a bad idea to have "dummy" accounts but that's something that would need maintenaince to be convincing. When it comes to prospective employers, a more robust strategy is to work toward developing skills and abilities sufficient to provide you with enough options that you don't ever need to bend over for an employer.

Obviously, not viable for a new grad but it should be a goal. My career has been long with many failures but also notable successes and certain rare, valuable skills. In one recent case I was resigning my position to take some time off and do other things. I was senior, only a couple levels under the CEO at a very large F500 multi-national. The company really wanted me to stay on for a year or two more.

I generally liked the work and the people and they offered even more money to stay but for me one of the issues was that the inevitable HR policy creep was adding stuff like mandatory training sessions that were getting tedious and annoying. Basically, liked the work but hated the bullshit. So we made a novel arrangement. Any mandatory policy at the company requiring my attendance was optional for me. In the case of "specifically mandated and enforced compliance with a relevant government regulation" my boss had to explain why and just ask me. (I'm not unreasonable and there are a few SEC and state regs that they really can't just ignore).

This worked out very well and was a small but meaningful concession that really cost them nothing.
Have been using it professionally for a little bit now.
-RAII
-Smart Pointers
-Classes(or not, your choice)
-Lambda Expressions
-Amazing Standard Library
-Lightning fast
-A compiler that you can trust
-Static types
-Templates
-Well defined semantics for pointers, references AND values.
-Moving semantics.

And this is the "Vanilla" version of the features. In C++17 and C++20, there is all kinds of goodies like concepts and modules that I'm personally excited about.

Hate it all you want, but it's an amazing language.
This is not true at all.

Lobbying has more power in congress than actual voting does.
The US has a long history of failed honouring of international laws. Why should they honour any treaties?
There are not many countries that are allowed to support coups against elected leaders of one country with impunity, or are allowed to kill people in other countries by drone, or force other countries to implement their sanctions.
With their actions in the Middle East, South America or Kosovo they have provided the blueprints according to which Russia and China now act.
What is the status of the sanctions against Saudi Arabia for the assassination of Khashoggi? Are there no more, right?
You don't read about Raif Badawi anymore. Because we and our allies are the good ones. It is this hypocrisy that has brought us today's problems in the first place
Write Your First AWS Lambda in Java
I also didn’t read that comment as nitpicking. It wasn’t doubting the author knowledge about the criticism, it was mentioning that the author was not aware of the reason of why that was made, was able to have access to it and could have used improperly if she didn’t know any better. But she did.

It is like someone else commented, there are reasonable, ocasional use cases for this that are safe, but the cable should be locked somewhere with the name of the person that knows why it was built in it; so it’s not out in the wild for abuse.

That’s only my perception of course.
dude, brooooooo, lsd.... bro....
AFAIK there is a significant (>=5%) chance that the election night totals will show a conclusive win for the incumbent, but the eventual complete tally will show the opposite. This has the potential to cause a lot of confusion in the immediate aftermath of election night. Whether there will be undemocratic moves by the incumbent or otherwise in the time between election night and the final count is obviously a matter of speculation, but given the mercurial temper of the country I worry about how the nation at large will react to such confusion.
There is not new syntax for LINQ either -- it's just fluent-style via extension methods.
I don't know many people that use the SQL-like syntax any more -- and it only covers a tiny amount of the functionality.
The page is needed because Apple has no way of knowing whether you have turned your iPhone off for a couple of days or whether you’ve switched away permanently. It isn’t necessary if you do a factory reset of the phone, which also covers a lot of bases.
This is like Jaron Lanier railing against files. "We need to move past the supremacy of files in order to more deeply understand computing", blardy blar. Files exist because we need to organize our bits, and a great way to do that is to group like bits together and give them easy-to-remember names; then when we move them around, especially from machine to machine, we can reasonably assume that a given name refers to particular stuff.

Nation-states exist because we humans are monkeys who need to organize ourselves, and are hardwired to do so with familial and tribal affiliations, etc. The demands of modern, global civilization mean we must scale beyond the tribal level, so we create abstract, virtual tribes consisting of everyone within a certain geographical area administered by the same government. Like the file, it's only a convention we adopt for convenience, and yet that convenience adds up to so much friction we don't have to deal with that, for now, we daren't switch to anything else.
Interesting approach, thank you for sharing this. I especially like the 5Ss aliasing.

A test vector file for implementers would be nice (something like what cbor provides) so all possible edge cases can be checked for.
It would be super-easy for Amazon to not allow listings to change the product type.

Your reasoning must be wrong, or Amazon is consciously complicit??

I assumed they needed a tracking code for a delivery in USA, that Amazon can verify a delivery was made using it, but can't verify the goods sent.

If I'm right then having tracking data include the package weight would go some way towards stopping the fraud - at least for heavy products.

I wonder if shipping companies ever offer a 'verified item' system - they could have the recipient open the pack, photograph the contents and include with delivery details. Or, maybe an xray outline of goods.
> “Subscriptions are – I sometimes joke – like trading money for services, an idea whose time has come, rather than getting spied on and hoping everything works out.”

I laughed in a sad way.

I would actually pay for Firefox now, but I think charging for it isn't going to work out. (See also: Opera)
I’ve met a few! When your parents take care of all of life’s chores, sometimes there isn’t any incentive to learn how to do it.

I remember helping a 30 year old do laundry because they had never done it in their entire life.
I've started building a browser plugin to help me increase productivity while on the internet.

The plan is to have it play music, overlay a score, or give me some other positive feedback when I'm looking at productive tabs. Conversely it will reduce stimulation or give me some kind of negative feedback when I'm looking at non productive pages.

I'd be interested to hear if this is something others would use..
I had to reinstall a T2 machine for someone and it was a nightmare of connect to internet, 2fa and password resets.
My point is actually beyond politics. If this thread was about my therapist, I might talk about a particular family member and their tribe. And how I had to cut contact with that tribe because of abuse and the tribe conveniently forgetting the abuse.

But this is a thread about BLM, so I'm bringing up an issue related to that.

For a personal take, I avoid any tribe where I see this forgetfullness and will point it out. This behaviour is gaslighting and can be a traumatic experience
For visualizations you will probably reach for a convenient palette already provided by your software, like https://ggplot2.tidyverse.org/reference/scale_brewer.html or https://observablehq.com/@d3/color-schemes.
> cmd+backtick is like cmd+tab but between windows of the same app.

Well, I wish that were completely true, because cmd+backtick only cycles through the windows of the application, while cmd+tab lets you select the application you want.

From Ubuntu (or maybe rather Ubuntu's default desktop environment?) I am used to cmd+backtick allowing me to select the window - I did find an application that does enable this behavior [1] but I wonder what else is out there. I used to use Hyperswitch but it doesn't seem to work on Catalina

[1] https://contexts.co
OK, she describes herself as a "trained Marxist."

What she didn't do is describe BLM as Marxist, or its purpose as advancing Marxism. I listened to the entire rest of that video and the only thing that was mentioned in regards to BLM was advocacy for black issues, not Marxism.

So no, BLM still isn't Marxist even if its founders are.
I think war can still go on between nuclear armed nations - Tradional naval war happens in a localized region whereas the nuke option with current ICBMs is a complete and utter destruction of the country. Imagine 200 ICMBs landing in the US or China. So, I think this would be the last resort and not the first.

Nuclear deterrance works when one party is actually suicidal and weak (North Korea), because if they smell blood, it will be serious. It doesn't work when both states are on equal footing - neither one is going to push the red button when there are other options to solve the disputes such as traditional skirmishes.
The purpose of a ban isn’t to prevent fraud on Amazon, it’s to prevent unwanted seed from entering the country.

I don't see how it helps though. The product page for such scams doesn't show "seeds". It's an actual product, but the seller sends seeds. Banning the sale of seeds doesn't stop this.
The OP assumes everyone is like him and enjoys meeting others from other cultures and gets along with everyone. Painfully naive indeed.
You can do this with Amna fairly consistently and plan ahead. It’s a task management app to collect your context.

(https://getamna.com)
Time boxing is when you spend X amount of time to either get it done or get it off your plate. If it’s piling up, then you’re not really time boxing. Push back on whoever wants you to do it if it’s really bullshit or hand it to a report or coworker if you still have to do it.

If you can’t do either then you have to treat it like a priority and not something that can be time boxed.
Your article seems to indicate that new homes are so large that they're inflating the (new home only) average. However, that's easier to do during a long period of reduced new housing starts.[1]

What we have is a smaller number of super-homes, being built for a limited clientele. That doesn't translate into a larger home available to most Americans.

I believe what best reflects our actual choices is our actual choices - which is average home size.

[1]https://tradingeconomics.com/united-states/housing-starts
This is comparing apples and oranges.

Hongkong is a Chinese territory that was annexed by a European colonial power then handed back (so pretty much exactly what the US want to see, right?). China is not annexing any foreign territory, it's managing its territory the way it sees fit. The aim of making noise is to create trouble for the Chinese government, it's a cynical, but classic, game with HK used as pawn because, of course, the West does not actually generously care about HK, they have 'friends' who manage their countries in the same way or worse.

Crimea is objectionable because of the method used. But no-one is willing to make too much noise because it's Russia, sure, but also because everyone knows that Crimea was Russian territory until the 1950s when it was moved to Ukraine by the USSR and because the majority of the population is Russian and quite happy with being back in Russia. When the time is right for everyone to save face and get something this will be accepted and everyone will move on.

On the other hand Turkey has indeed very plainly invaded a foreign country. But they are good friends of ours (well... at least still friends strategically). Arguably the same goes for Israel.
> And so perhaps the road to Lennon's "Imagine" is attained through an Agile mindset.

Do you mind if I quote this attributed to you?
Perhaps you replied to the wrong person? The parent poster is agreeing with you.
The color of your neighborhood, seen from above, might indicate how you voted
I still think biology and chemistry are in their infancy. Being able to change the human body to live longer, be disease resistant...etc will be big. I think it'll take another couple of centuries, but hopefully we'll eventually beat cancer and other horrible ailments.
> And even then, well, THE ONE shows up time and again.

I know this is your preferred response to all criticism, but the thing is, to the rest of us you're THE ONE. You swoop in to point out how terrible stuff is, explain how stupid your coworkers are for making it, talk about How It Should've Been Done, and move on to the next project.
I used it at a birthday party a few years ago. My main takeaways were twofold:

First, it made me understand the concept of good and bad "vibes" w.r.t. to drug use. It was clear that the experience of taking LSD recreationally in a group of people was a much a social experience as a chemical one. Keeping the "vibe" positive, by playing the right kind of music, staying chill, and saying and doing the right things, was important not to break the spell. Unfortunately, as somebody who suffers from social anxiety, this awareness made things quite stressful for me at times, as I felt I had to constantly maintain some level of self-regulation, which was not made easier by how intoxicated I was. I have the same problem when smoking weed in company.

Second, while I hoped for the kind of psychological breakthroughs and revelations that some people describe having using LSD, I didn't experience them. I never felt connected to the universe or some greater purpose. I certainly had periods of intense introspection, but they didn't reveal anything to my about my character I wasn't already aware of. I think part of that was that I was already in my mid-thirties at the time, and had done plenty of introspection over the years. I already had a good understanding of my own character — my strengths, weaknesses, hopes, fears and regrets — and I suspect anybody with a similar disposition won't have any breakthroughs using LSD.

Ultimately, I didn't regret trying LSD, but it didn't leave me with any desire to try it again. Despite its reputation, it just seemed like another drug to me. Stronger in its effect than most, but I never felt like a child of the universe, I just felt high.
Not everyone on HN is from the US, so I don't see how your point is relevant.
Show HN: Use simple systematic value investing strategy to beat the market
Audiobooks - I hope this isn't cheating! The Baroque Cycle, by Neal Stephenson. A mix of swashbuckling adventure, science, alchemy, courtly romance, and politics.
Crypto Giveaway
I've made a suite of digital musical instruments for Android phones in Lua. Now I'm using same language to build some VR prototypes.

Here are some benefits of Lua over Python. It's really powerful language (anonymous functions, closures, tail-call optimization, full lexical scoping, coroutines...) that supports many paradigms, and yet it is tiny and elegant. There are few surprises and everything is explicit.

Runtime is easily embeddable, which means it will be more readily available on exotic platforms. The interpreter is much faster than Python. C code is effortless to call into with FFI and resulting code looks just like normal Lua.

Not everything is roses. I prefer readability and less verbosity of Python. The 1-indexing needs some getting used to. Batteries are not included (to be more portable), so there are dozens of implementations of basic things like serialization, OO classes and table copying. Most online material (wiki) was written very long ago and it's full of language proposals that never succeeded. Some valuable resources can be found in documentation of hosting frameworks (Defold, Solar2D, Roblox, ComputerCraft, WoW).
>Rather, in terms of public perception, Marxism is probably best defined as "a bunch of loony leftist ideas". Some of these demands fit that bill perfectly.

The public has been effectively propagandized and made to turn against one another rather than a corrupt system. If you accept the thesis that endemic racism and corruption in the American justice system exists, that the reason for the anger behind these riots and protests is legitimate, then your personal ideological polarity shouldn't matter.

Unfortunately, it's easy to get people to dismiss the movement wholesale by associating it with the specter of Marxists and Angry Black Men.

And that still leaves reasonable demands being ignored. If you don't support completely defunding and disbanding the police, you could agree that de-escalation training and shifting of funding priorities might be effective. That doesn't need to be slotted into a left-wing political agenda.

>Secondly, many BLM protestors are clearly brandishing symbols that are associated with Marxist/Communist ideology, many self-identify as "Marxist", and even officially they refer to each other as "comrades":

And a lot of BLM protestors, likely a large majority, aren't and don't. There's a difference between some Marxists supporting the movement and the movement itself being Marxist or having a Marxist intent. Black Lives Matter is clearly not about Marxism.