skysight-inc/HackerNews huggingface dataset:
I fully expected the 'use moment.js' part at the end. Javascript dates are certainly unpleasant, but moment can be kind of a blunt instrument at times.

There's growing support behind Luxon, a sub-project of moment that may eve become a full replacement. I've found it quite refreshing.

There's also date-fns which is designed with tree shaking in mind and people seem to enjoy it.

Or if you're a Java native, JS-Joda emulates the same API as the java.time libraries in Java 8.

Also +1 for GMT != UTC.
A bad keyboard and a bad touchpad
sh ~ scihub
Add language and religion to the list of tribal affiliations and replace racial segregation with ethnic segregation, and you have the way the US sees the rest of the West.

It seems like we're all playing the same game, just with different pieces.
AnchorWatch – A Rogue Device Detection Tool for Windows With Email Alerts
No?

I mean, there are countries where the President personally controls the Treasury, and you can usually spot them by the enourmous statutes and portraits of the Leader.
Looks fine for home made RNG, but not enough for production. What's missed there, since method is using data from MCU RAM, it's better to test MCU RAM first without XOR. Can we be confident that certain bit will be more likely to invert with XOR than another? Would zero's density depend on page index etc. XOR hides a lot of obvious source data errors, which better to fix before applying XOR to avoid some hidden patterns. Also there needs to be some test for input source, for example if page has less than 90% of "ones", skip it, since it cannot provide enough amount of bit inverts to make it random (we need to have enough '1' to invert every bit several times to make it unpredictable).
Why are you searching attackers outside? I don't know how it works in other countries, but in Russia the elections are always "hacked" by the government. You don't need any special resources or a backdoor, you just need a loyal sysadmin.
AYE, AYE, DONE!
Why would you ever put a password on a URL though? That's really bad security. I understand what you mean, but passwords should be stored in some hashed / encrypted form.
Why not set the A record for the external DNS server to something like 1.1.1.1 and the internal DNS server has the correct IP address (or a view on the same DNS Server). This way you won’t leak internal IP addresses to the Internet.
Heh, and I still forgot stuff. I forgot that we created HyperKitty[1], the Mailman 3 frontend that offers web forum style interaction workflows while still remaining a mailing list for people used to that model. This was precisely because mailing lists have historically been horrible for new people to interact with.

[1]: https://hyperkitty.readthedocs.io/en/latest/
Trick question: he's elected by the Electoral College. Which is why he's president despite recieving fewer votes than the other candidate, because it's not a direct election but a delegate system.
I think it’s important to put the “war on Christmas” in context. We are at the tail end of a long period of removing religion from the public sphere, something that has happened more aggressively in the US than in the rest of the world. (Many European countries, after all, still have state-supported churches!) One segment of society has decided that freedom of religion and an inclusive society means freedom from religion, and has been very successful pushing that view in courts. Thus, removal of nativity scenes from public grounds, restrictions on school sponsorship of religious activities, restrictions of state funding of religious-affiliated groups, etc. So when people are mad about “happy holidays” they’re reacting to all of that.

And “happy holidays” is a passive aggressive thing to say. 90% of Americans celebrate Christmas. When people say happy holidays, they mean merry Christmas. “Happy holidays” is a form of erasure—a refusal to acknowledge Christianity without also acknowledging other religions in the same breath.
>I’ve lived in the US 30 years, and almost all the racism I’ve ever witnessed was when other Asian people would be like “oh it’s just us Asians here, let me tell you how I really feel about [people].”

Your personal experience just doesn't square up with mine.

I lived in the US for 15 years and definitely got racist comments hurled at me. More so than my time in India and Sri Lanka.

Having said that, I do agree that in general, American's are fairly welcoming and tolerant. But people in South Asia are as well!

> than a white American would ever be welcomed into Bangladeshi society.

Never been there, but I do know that white Americans would be well received in many of the South Asian cities I've lived in/visited. They may not be treated the same way a local would but they would be accommodated and welcomed.
Pretty much this but there are some gripes I have with Toronto as I posted above
A key point that I feel is missing from this explanation is that the concept of distance becomes almost meaningless in very high dimensional space [1]. PCA is a means of dimensionality reduction, but the reason you want to reduce dimensions is so that you can measure and compare the distance between pairs of samples.

[1] https://en.m.wikipedia.org/wiki/Clustering_high-dimensional_...
Those pesky users will come as soon as you release it.
I think it's safe to say these are concepts best expressed via charts for the author.

Sarcasm aside, this is a great opportunity to bring up the work of Bret Victor again. Specifically, pushing the boundaries of how we're communicating fundamental concepts with intelligent design - it was a real eye opener for me seeing ideas that were on the verge of nonsensical in a medium (say, English) expressed effortlessly in another. I know it comes up here often but frankly it's something that everyone should be aware of.
Background story: I am Hardeep Singh. I created AnchorWatch as my freelance gig in 2018.

AnchorWatch is a simple PowerShell script that scans the subnet every X minutes and sends email alerts on each blacklisted device discovery.

Email contains the following informaiton:

1. MAC Address

2. Hostname

3. IP Address

4. OS Name

5. OUI Vendor Name

6. Last Seen Timestamp

There are no cheap/free options available online when it comes to Rogue device detection, especially for Windows. I hope you find it useful.
What lostapathy means is, because X.509 Name Constraints don't work [1], there's no way for Example Inc's administrators to limit their corporate CA to only issue certs for subdomains of example.com

So if Example Inc puts their cert on every employee's machine, then a hacker or rogue insider could issue a cert for paypal.com and MITM every employee.

Starting an internal CA introduces the risk of this bad thing happening.

[1] https://security.stackexchange.com/a/31382
Couldn’t you just hook up a light sensor, temperature sensor, etc and take the last few decimal places of the reading for a random number? You could have multiple and combine the numbers to create larger random numbers. For instance, you have a temperature sensor that reads 72.5946023544 F. This number is always varying, because the temperature in the room isn’t constant. You take the last 4 decimal places, 3544, and there’s your random number. I realize you couldn’t read a temperature sensor to that many decimals, but its just an example. It is never going to create a predictable pattern because its based on something unpredictable.
It's a very different pace of work. I really loved working at a startup but there were some months where I was working 60-70 hours a week to get something shipped because runway was short. I learned a lot and had a lot of fun but I prefer agency life. Lots of variety of projects, reasonable time budgets, generous time off, and I always get to work on pretty cutting edge technologies.
I am an software engineer and an introvert. Have been sitting at my desk coding all my career. Once I got a job at a technology company, but the office I was sitting in had very few engineers and most of it was filled with sales and marketing personnel. I was surrounded by all sales and marketing people. The sales and marketing department at that company ran a one month programme open for everyone at the company to sell company products on weekends at multiple brick and mortar retail stores prior to Christmas season. I thought, hell why not I should participate and give it a go; what could go wrong? So I enlisted in the programme. On the first day I was sent back home from the entrance of one of the retail stores because I was wearing jeans pant which was against the retail store's policy. So I went back home and dressed accordingly and returned back. For the next 4 weekends over the month I spent selling company products at 4 different retail stores directly to consumers. What I experienced was that people started coming to me with their requirements and asking what product they should buy! I am not even a native english speaker and I was selling in an english speaking country. I went on to win an award for selling most products in that programme in that year.

So what did an introvert, non-english speaker with no experience of selling do to sell successfully and what did I learn? Here is what I learned, and it is really very simple:

The first rule of selling is don't sell; rather learn, inform and help i.e. genuinely learn about the customer's requirements/problems, genuinely inform the customers about the solution you have or anyone else who could provide the solution and genuinely help the customer with the decision making process. That's it. And your customers then become your recommender and help you "sell" more!
How is investing in one's pension or retirement fund "competitive wealth-hoarding"?
My first experimental standalone Kernel written in AT&T Asm and Freestanding C
I haven't tried, and I won't at least for a few months. But I looked at the list of installed apps, and I couldn't find a calendaring (iCal) app. If that exists, I and many others I think, could use Haiku "for real". Realistically, I only need a terminal and SSH (check) a web browser (check), email (check) and something with iCal. Since many organizing solutions (such as Todoist - no affilition, I just use it) has iCal integration, iCal gives you a way to integrate and sync with your phone, be it iOS or Android.

So if I had all that, I could use Haiku as my home/hobby tinkering machine. I would still need a Mac, Linux or Windows machine to do some other heavy lifting, but I already have three computers at home, so no problem.
I live in Göteborg but there are other things than relative salary that make Sweden attractive. I think it depends a lot on what you want out of life. The US or Canada might be good for some people. If you want to maximize your salary relative to cost of living, Austin or Seattle may be a good choice.
Watch the video. It's only a few minutes long and is a lot more precise.
If you owned a house in SF free and clear and capped property taxes would you sell?
>"if e-cigs turn out to be safe, or can be made safe, what is the problem?"
This is weasle-wording.

Only if you can point out what the weasel word is.

Asking what's the problem if they're/can be made safe is not a weasel phrasing.

Is a totally legitimate question.

It would be a weasel phrase if the healthiness was assumed somehow.
Well, some people dreamed about using their phones as desktop replacements. (not me to be honest) That dream is now dead.
Consider that this bullshit is tax deductible too
Yep, I have pretty similar experiences with those products (never tried gum though). Anything more than a few puffs of a cigar will make me sick as well.
the example project of the led curtains, beautiful implementation of his idea. really cool stuff!
Microsoft Announces New Capabilities in Azure Firewall
Never underestimate the relationship between the rich and the ignorant. These people trade tobacco for a synthetic chemical......cancer just comes sooner I suspect.
Someone who wants to learn about the internet. Check out the KhanAcademy one https://www.khanacademy.org/computing/computer-science/inter...
Then let me ask you: How do you type .defaultProps? How do you type the "state" property on the class? If you did explicitly repeat the type already specified in the Generic Type Argument: Component<IProps, IState> you would know what I mean with too verbose (you have to repeat a type that could be infered, but due to TS restrictions isn't able to). If you did not repeat the type for those fields, you lost typesafety without noticing it. You can then go ahead and assign { foo: "bar" } to state (or use it in setState) and will not get a compilation error (which you shold as foo is not a known property for your state).

And I sure as hell bet you do not use "strict" compilation in TS, which opens typing issues everywhere.
My first upload will soon be 10 years ago. One thing that is definitely noticeable is that while creating a package is still by no means trivial, it has definitely become much, much easier.

10 years ago, you had a handful of very idiosyncratic build helpers to help you manage your package.

Today, effectively it's just one [1], debhelper, and it has become trivial to build packages with it. It's a very powerful framework that can be overridden do do basically anything you like, but usually automagically does the right thing. Gone are the days where you had to write an unwieldy debian/rules file.

3 years ago, you had X version control systems supported: git, svn, mercurial, cvs, and who nows what else. Sounds unreasonable, right? Well, when you rely on volunteer work, you need to live with the fact that volunteers will choose the particular tooling they like to work with.

Today, you have Salsa which is a GitLab instance, and people apparently just learned to deal with it, and the world hasn't come tumbling down.

I absolutely agree with the author that some things are just wrong within Debian. However, I believe these are inherent to the nature of an organization comprised entirely of volunteers; achieving consensus becomes really hard because nobody wants to be told how to spend their free time.

On the other hand, being involved in Debian has also been an incredibly formative experience. I believe Debian does some things right that others still fail at or trail after.

[1] https://anarc.at/blog/2019-02-05-debian-build-systems/

[2] https://salsa.debian.org
>I very much doubt the above is true

Seeing that I know like 4 people that do it (and I haven't got that much of a social circle), I very much don't doubt it's true.

>Vaping somehow magically helps you stop smoking but without hooking you on vaping, you just somehow lose the desire to smoke or vape at all. And it happens "WITHOUT EVEN TRYING".

"Magically"? This is rich.

For one, it has other substances, so it's not the same as smoking apart from nicotine. Tobacco companies used to put all kind of addictive shit to cigarettes ( https://www.tobaccofreekids.org/press-releases/2014_06_23_re... ).

And if you're familiar with the subject, you know that nicotine patches and gums, that contain, you guessed it, nicotine (like vaping does), have been a long term medically suggested way to quit smoking.

Second, even if you get used to nicotine (like we get hooked on coffee), with vaping you can control (to the ml) the amount of nicotine in in your ecig liquid, and reduce it gradually over time.

>This denies all logic

No, knee jerk reactions denies all reasoning, and opt for confirmation bias.
Going from “Ethiopia” in the airline’s name to an assumption (against factsv) of a bad safety record is textbook racism.
> Now regressive left activists are okay when other gender identify as the opposite sex.

FTFY. Coming from a progressive socialist who doesn't like to stick his head in the sand
Paper voting is hundred times more secure than electronic. With paper voting observers can see all the ballots and verify the results; these results are usually published so if you have observers at all polling stations you can verify that all votes have been counted correctly.

With electronic voting nothing stops sysadmin from doing UPDATE votes SET vote = 'Good Candidate' WHERE vote = 'Bad Candidate'.
Besides China, Ethiopian and cayman airlines both grounded their 737max
Not that long. The trick is to really understand what each clause is doing. It's easy to just find some code on the Web for a graph similar to what you want and tweak it for your data, and I did that myself in the beginning, but then they will remain "half-magical incantations" as you put it. The thing about ggplot is nothing is there arbitrarily -- it is really describing how the plot is put together.
Priscilla Chan is trying to change the fate of an entire generation
Systems interact through inputs and outputs, right? I mean, one system's output can be another system's input and even the second system's output can be the first one's input.

I guess my question was if there's something that can't be described or modelled with graphs.

As I said, my intuition is fuzzy, because I don't know much graph theory.
Interesting stuff. Just as important to education as "how to make a car" was 50 years ago.

Things not covered in this article:
Expected carrying capacity?
How much dark fiber (initially unused capacity)?
How much extra cable is required to make sure it stays on the bottom even when going over oceanic mountain ranges?
How much of the ocean-floor survey data is open, how much is proprietary, and how much is (military-style) secret?

Is there any sabotage?
Do nav charts warn about these things?
> Vote buying is not a serious problem

It's not a problem because there is too much "friction". Vote buying is already not impossible but way too hard to establish itself. When it becomes gradually easier it still won't be a problem, because it is still not yet established. So you allow even more changes that make it easier, because it's not a problem yet. Call it a slippery slope argument all you like, but there is a crazy amount of inertia in the absence of vote buying that is protecting democracy now, but that will turn against us once it is overcome. When barriers are lowered so far that the inertia is overcome, the same inertia will make it incredibly hard to get rid of vote buying again. Keeping honest people honest is orders of magnitude easier than making them if they are not. I would not want to risk it without a promises of truly significant gains and I just don't see those with e-voting.

But vote buying is not even the problem I would focus on. Much more pressing is the form of soft coercion that is enabled by allowing voting in what I would call "unchecked privacy": imagine you are part of a group where everybody assumes that all would vote the same. There is a documented tendency (proudly showing off your ballot on Twitter) to scrap vote secrecy in favor of virtue signaling for "the cause", whatever cause that might be. As soon as there is a group with supposedly aligned opinions, the true believers will tend to erode secrecy and establish an expectation that the others follow. Maybe your spouse won't beat you, maybe your friends won't shun you for insisting on voting in secret, but the easy path is to just go with the flow and play along. "What difference does a single vote make?" Optional secrecy is a serious weakness to the democratic process.
It is not seaweed on the "wooden carving" in one of the photos, but lā'ī, maile and other lei plants from the land/forest.
your 'production' requirements don't have things to do with randomness. its common for cryptographic use cases to have some more steep post processing requirements for randomness sources to avoid some pitfals, but in reality, 111111111 is just as random as 0000000 or 01010101010 as long as it's not a perpetuated pattern?
Show HN: Telegram bot that posts top of Reddit's posts to channels
Hi there,

I've made a bot that posts top Reddit's posts to Telegram channel, so if anybody wants to have top of r/all in your favorite messenger - here you are: https://t.me/theBestOfReddit.

I can easily add more channels aggregating any subreddits if anybody wants.
... or maybe it would be better if we closed almost all Tesla stores to cut cost? Oh no, I have a better idea, let's only announce it and shortly afterwards undo the statement.Then we can use that moment to increase the prices of all Tesla cars. feeling smart
Replacing your hard drive by a larger one, duplicate partitions and then resize them is very common in the windows end user world, including with root partition (eg replace by a ssd, or a larger ssd). There are lots of paid tools to help do that, notably the duplicate part.

Now personnaly I find it weird, I would rather use the excuse to wipe and start clean if root, and for non root just making the partition you want and copy the content instead feels cleaner, but is it fairly common nonetheless.

They indeed don't know the concept of partitions, but they google "replace my hard drive by a larger one" and follow a guide usually (and such guide contains link to a specific duplicate took they can buy, of course).
> I noticed many people doing the same thing with "to do"/"to read" lists. They'll add items to their lists thinking they'll get around to doing them some day, not realizing that future me is probably just as lazy as present me, and if I were going to do something, I would have done it now.

Guilty as charged. That said, the primary purpose of my "to read" list today is to short-circuit my procrastination loop; when I realize it's high time to get back to work, I'll quickly scroll through the remaining 20 open tabs, put some on my "toread" list, and close the others.
It is no better or worse than electronic voting machines in Georgia.
The smart move is spreading the wealth across a large family so that neither member ever ends up on any of these lists and you're all out of the public eye, while having the same or larger power. The Rothschilds once pitted countries against each other while supplying all sides and making a fortune out of it, they practically owned the London stock exchange. You don't see their name on any of these lists anymore nowadays though.
This article hits me right in the gut because I'm guilty of every one of those HAVE YOU EVERs. Ouch.

Even as we speak, I'm here commenting away (why?) on Hacker News when I should be publishing posts, building a list, growing my business so I can find a product in the service and getting it done already. Uuugh, just saying that makes me feel terrible. How do I overcome this...
New wallaby-sized dinosaur from the ancient Australian-Antarctic rift valley
It depends on what you want to do.
ggplot2 is what I would describe as broad but not deep - you can access 90% of the functionality in a relatively short time.

The main thing is that ggplot2 has been around for a long time, is developed by people that care a lot about R, and there is pretty much an answer to any question you may have on stackoverflow.
From the story: "Grounding even a relatively small number of 737 MAX aircraft would throw a wrench into an airline’s operations and could lead to hundreds of canceled and delayed flights."

Even worse, people might start asking hard questions about why the FAA mandated MCAS and decided not to tell the pilots about it.
A browser extension that shows the Bullets.tech summary when you browse to an article that has been summarized would be very useful.
Learn about Computer Security with the Raspberry Pi and Kali Linux
I think we can all agree that you don't have to go back very far in time for virtually everyone to appear like giant jerks (to put it mildly) when seen with modern eyes. Industrialization of exploitation has its own particular sinister aspect as opposed to just plain exploitation, though.

I do get sad sometimes that Europe bulldozered over virtually everything, not from a "better or worse" perspective, or "right or wrong" (because how am I to be a judge of that?), but from the perspective of curiosity as to where the Mali, or Inca, etc., would have been today if that hadn't happened.