skysight-inc/HackerNews huggingface dataset:
If I may interject, discussing potential surprises like this will kill the mood and ruin your big reveal later. So unless you’re sure your partner will take it well, I suggest not discussing things like this do just do as you please.

Some other friendly tips: you can secretly measure your partner’s finger size to get the perfect ring without them suspecting.

Going through the effort of getting the ring and sizing it properly without them suspecting shows how much you care and will yield you a better outcome than discussing this matter directly with them ;)

Edit: this is obviously with the assumption that you’ve at decided to get married. The surprise is about the ring not the marriage.
I don't believe you can...however one of the pieces of code I'm quite proud of was using a combination of c# reflection and postgres built in types to convert and arbitray list of objects into a postgres binary representation and then insert that in bulk. In our situation we are able to "reserve" primary keys by incrementing the sequencer directly by the number of objects we are inserting (separate statement beforehand) and assign the ID before we insert it...so whilst you can't get the IDe from using "returning" you can work around it. Hope that helps someone :-)
I definitely feel vindicated in my long-standing feeling that every server-side software deployment story I've seen since that of my early Perl and PHP work has been way, way worse than those were. The best anything else has managed is "almost as simple to use and and reliable, but much more complex".
Slash Escape: text based RegEx learning game with a slasher theme
I wish paywalled Medium articles would come with some indication in the title.

Just a waste of time for those of us who aren't interested in giving Medium money for whatever reason.
Link was originally http://www.ajwm.net/amayer/papers/B5000.html but that one's dead so we changed it.
This feels like a good time to celebrate how I uninstalled Chromium from the last device I was using it on last week. 100% Firefox now!

DuckDuckGo gets about 75% of my searches nowadays with the rest going to Google. Still using Maps, GSuite and Android... Baby steps!
This article contradicts its own premise:

> "The administrative investigation is not related to the shipment of virus samples to China," Eric Morrissette, chief of media relations for Health Canada and the Public Health Agency of Canada wrote in an email.

> "In response to a request from the Wuhan Institute of Virology for viral samples of Ebola and Henipah viruses, the Public Health Agency of Canada (PHAC) sent samples for the purpose of scientific research in 2019."

So the investigation hasn't got anything to do with the shipment of the samples (because they were authorised at higher levels) but the article really really wants to give the impression otherwise.

And even their expert contradicts themselves, first suggesting a spying conspiracy but later admitting:

> "I am extremely unhappy to see that the Canadian government shared that genetic material."

Pick one! It is either Chinese spies acting alone or the Public Health Agency did it on purpose, you cannot argue both at the same time.

Honestly this is like Daily Mail/Fox News tier of bad journalism. The entire article is full of this double speak nonsense.
Congrats.

I took the bait and while I don’t regret doing it, it’s definitely not my favorite job. For me, a small team of 4-9 is ideal. I can stay connected to actual work, and get the chance to mentor others.
Nicely done!

I've spot-checked few logos that I need at the moment, and most of them are already there. However, I've noticed that there is no IndieHackers logo in the database.

I wonder if it is possible to come up with the tool where you would enter the Home Page Url and the tool would then output an SVG file of round or square shape that could be used as an SVG icon to represent links to that site (from my site).

The tool could try to detect the logo image on the home page of the target site, vectorize and normalize it into square or circle. Or it could try to locate a Favicon in SVG format, if present. Or, if nothing else works, it could fall into some default case when the SVG icon would be created from the most dominant color (of the target site) and 1 or 2 letters of the site name.

Do you guys know of any such tool?
Thanks!
As someone uses both rentals and ubers when traveling. Rentals are still really a necessity. Uber/Lyft/etc drivers can and still are super picky of their rides and will reject your pickup for awhile just because they can grab longer routes by multi-apping.
So why is the intention to regulate further when regulations are the issue?
The people who are strapped to activity monitors in overheated warehouses, packing millions of orders each day, risking contracting COVID, do more to build Amazon and ensure it’s continued existence than Bezos has ever done.
Even if that happens, that's fine. Softbank has no incentive for your business to fail. The company that dies, is more money out of the visionfund.

On the other hand, FB does have an incentive. Sure, they lose that investment, but they gain their own internal company that they own 100% of which has eaten your marketshare.
Given time all parody becomes reality. Almost exactly 20 years ago I wrote a parody article claiming that "motherboards" should be called "mainboards" because the term motherboard is offensive (it contains slots into which you plug things).

This Bloomberg article should have ran on April 1st.
I try to be thorough, but at some point I have to write code other than test code. For systems with a lot of emergent complexity, it's possible I've covered 9 of the 10 paths, good or bad, and missed one bad one.
I run an architecture that's not terribly different from this. Unfortunately, the current hotness -- php-fpm -- doesn't work with suexec. The PHP pools are easily configured to run under nonprivileged user accounts but suexec provided a few other nice features that are no longer available.

Scalable no-downtime MySQL is still a total bitch though.
Show HN: Daily Summaries of HN's Top Articles
The languages you mention can't update data in flight, which is something Erlang can. Suppose you have the following code running in a thread:

def print_name(d):
print(d['name'])
d = {'name' : 'hello'}
while True:
print_name(d)

Now you hot hot-swap it while the while-loop is running:

def print_name(d):
print('hello', d['first_name'])
d = {'first_name' : 'there'}
while True:
print_name(d)

Erlang can do this. No other language that I'm aware of can.
> You're arguing against a straw man. The original poster was clear enough: negotiate the contract, if the company won't budge then don't sign.

Where did I say that you're not entitled to refuse to deal with companies that won't negotiate with you? Of course you're free to walk away if you the company doesn't want to negotiate with you, but the company isn't doing anything wrong by not wanting to negotiate and there is no legal or moral requirement for them to negotiate.

> contracts should be negotiable

Disagree. Contracts can be whatever the entity who draws them up wants them to be. If you don't like it don't sign it.
FiveThirtyEight on political leans of U.S. sports fans (2017)
Word to the Wise – How to Know Yourself – Jordan Peterson – Best Life Advice
I Don’t Need A Budget (and you don’t, either)
CICO magically answers your need for losing weight.

The magical part is sticking to it though.
Forgetting to report even a small amount of money if done deliberately can usually be prosecuted as a felony.
Pardon me if I'm missing something, but I only see the "natural number" case and the "unsigned" case (the latter of which is indeed well-defined to wrap around to zero in C and C++), but I was talking about the case where x and y have, say, type signed int. Then all bets are off if y happens to equal INT_MAX in some execution, because the compiler is allowed to optimize with the assumption that that literally cannot happen. At least as far as the C standard is concerned. So my point was that in the real world, even such a trivial function may not only yield unexpected results but indeed cause the whole program to have arbitrary, undefined behavior.
Wow, yeah, even immediately in the subheading, above the byline:

> Documents show concerns about Ebola shipment from National Microbiology Lab, no relation to COVID-19

It's like 'yes, this was clickbait'.
Checks out. I stay up all night and don’t like talking to people. Guess my brain is fat.
There is no legitimate reason to inform the public of someone else’s private conversations in this scenario. It’s not the public’s business to begin with.

I’m not speculating about secret intentions. It is the only reason to call out a private conversation that didn’t go your way.
I only notice this on certain Google sites.
Thanks for the details in the benchmark!
Not all results from NIH funding winds up in the public domain. NIH can pay for modifications to AWS services or Oracle or Palantir and the developer gets to keep it.
> Then compare USA and EU.

There is no EU-wide health system of any kind. The EU is much less integrated as the US, it's really not close to being the "United States of Europe", even though many are pushing towards that direction.

> And they figured this out by putting different authority on different levels.

As have the US, apparently. Each state does what its inhabitants want to do and pay for. The argument is that because European countries have federal systems, so should the US. If you now compare the US to the EU, then there is no federal level health care system in the EU, only at what would be the state level when compared in that way.
If I may interject, no surprise with stakes that high is actually worth the downside risk. Just communicate. Unless you're sure your partner would have agreed that the surprise was worth not communicating, I suggest discussing things like this.
Third-Party Audit of Rustls
I had a lot of the same issues and finally started to enjoy using smalltalk once I just gave up on the idea I was going to use it for anything practical. After that I found squeak to be just fine to play around with.

From my perspective as someone learning about it post 2015 is that the really killer “feature” is the ability to modify anything anywhere while the image is running. But this is also the feature that makes it so impractical. You start to realize as you are tinkering how simple and elegant it is and how much modern tooling really gets in the way. But this is all based on it being built up upon itself and all the magic of this sits in an environment that’s so foreign to other tools it always feels awkward to interface with them.
There comes a point though when theres too much QA that seriously hampers development and progress because they turn the smallest change into a year long shitfest of "hold on we are testing!". Microsoft for awhile got a bit heavy on QA, unforunately they also went full retard the other direction.
This is so good. I'm currently working on about 100 pages worth of content for our website and adding attribution+integrations to our partners we work with. The headache I'm having just Google'ing their SVG logos is about 2-3 minutes per logo. So about 15 minutes per page just looking for logos. So far, the last 5-6 I could remember were all included.

What's the source for these images? ie. None of our competitors have their SVG logos indexed.
It's often referred to as 'garden leave': https://en.wikipedia.org/wiki/Garden_leave .
> if done deliberately

Right. And even unintentionally is quite bad. But also not even close to uncommon.

I don't think the question was "was what these people did bad?" I think the question was "is what these people did really _that_ bad?"
The point was that a song that racist was played quite openly for decades, to children. I still hear it on ice cream trucks.
I get some of my best ideas, those related to my job, in the shower.

Much of my value is in designing solutions to technical challeneges, not in cranking out lines of code.

This gets even more complex if I get an idea that builds on something I only learned due to my position, but itself isn't directly related to my role. If I could only have ever conceived my idea due to proprietary info, who gets the IP?
Is it? Returning the conflicts that weren't inserted seems more obviously useful to me.
I made this because RegEx can be really useful but is pretty dry to learn. The format was also pretty convenient for someone not that experienced at making web games, it's all just form submits with code that actually just evaluates the RegEx so I don't have to worry about every possible variation.

I probably spent the most time on the CSS, because making things easy to use on different sizes of screen was definitely the biggest factor. Ended up being a good opportunity for me to brush up on a few things to be honest!

I also enjoyed the challenge of adding line breaks or highlighting text while having a typewriter effect. Because I was adding a character at a time I couldn't include HTML markup so I ended up using my own symbology and interpreting that on insert. For example, text I wanted highlighted I enclosed in 'quotes' and followed immediately with $. Whenever the typewriter function sees a $ sign, it runs a RegEx replace on the most recent 'quoted' string to add in highlighting spans.
That market independence is the major benefit of a pension.

The other not talked-about benefit is that a public pension is doing the investing and maintaining the financial discipline for you. Most people in the United States are not capable of this, as the savings rate has only been approximately 7%[https://fred.stlouisfed.org/series/PSAVERT], and 5 years down the road Once the Covid vaccine is developed and the economy has recovered it will probably return to those levels. Which brings me to the point that it is almost impossible for 99% of people in the United States to save 40k/yr. At a 10% savings rate this is someone making 400k/yr which is way above average even for FAANG companies. So government work might not be so bad afterall.
Things you don’t know about SEO
I'm not particularly claiming that IF works. My main point is that nothing we know of really works generally and reliably.

I've personally lost a significant amount of weight and kept it off continually for more than a decade. But I don't really know how I did that, nor do I have much confidence that whatever I did would work for others.
Just rename it to something like ReYOLO or YOLOrobo and move on.
Essential Programming Books
In a big old school company, a director is a manager of managers or lesser directors. You are usually a accountable for a chunk of the business.

Sometimes you’re a power player, other times you’re the meat in a shit sandwich with the big shots above, and the worker bees below.
https://youtu.be/DVj_nQPPDoM
Interesting read concerning that topic: https://www.theatlantic.com/magazine/archive/1982/02/have-yo...

Its quite old (from 1982), but some things might still be relevant today. The article leaves you with the strong impression that the market is highly controlled by a few players, and a diamond is not really an asset you would like to invest in.
It is flagged as criticism of China is not permitted on the internet.
Because it's not happening during the sex.
I guess I'm making two claims here: (1) you should only open tabs for the task you're currently working on and (2) that very few tasks require large numbers of tabs. Fine, maybe it's more then a dozen, but the graph of "number of tabs used by a task" versus "frequency of that number occurring" is an inverse exponential (e.g. most tasks require 1 tab, fewer require 2, even fewer require 3, etc.), and I've never noticed myself actually needing more than...probably 20 tabs to complete a single task before.

> In the case of reading Hacker News...

This isn't a "task" - you're reading a bunch of completely separate articles, one at a time. You're consuming, not producing/processing/working on a task/problem - and each element of consumption is separate than all of the others.

> If I am researching how to do a task...

I understand and agree with this definition and workflow! This is how tabs were designed to be used. However, I haven't ever seen a common task (for programmers - who have even more demanding requirements than the general populace) that requires a "large" number of tabs. I guess that's kind of vague and I can always change the number, but really, think about it - how often does a task require more than a dozen tabs? More than two dozen tabs?

Just for fun, I opened every frontpage article (as of the time I accessed it - whoops, should have used Wayback HN or something) in Chrome. All 30 articles took 3.9 GB RAM, and adding all 30 pages of comments consumed another 300 MB, so 4.2 GB. total.
Show HN: My (simple) static feed aggregator for Reddit and HN
I worked for a large company in California and the law prevented me from doing just about anything because it could be plausibly construed as conflicting with the company's business.
> Because then on a power failure the file would contain "a stable commit" but not necessarily "the most recent commit" ... And it seems that for most SQLite integrations that is what we want?

You HAVE to commit the journal to disk in a stable fashion - that requires fsync() because without there no guarantee that the data is actually on disk. Without the journal there’s no way to back out a partially applied write, leaving you with a corrupt database.

Could an application maintain the state in memory and periodically flush out to SQLite to get around it? Sure. But many people would be pissed to lose their browser history for the past N time before a crash or power loss after just finding a page they needed for some purpose.

Get a better storage solution for your home directories, ZFS with high lifespan Optane drives as a SLOG would dramatically increase the write endurance of standard NAND flash by batching writes while maintaining acceptable fsync performance (since synchronous writes don’t hit the pool itself until the transaction group commits every X seconds).
Explain that to his girlfriend, or any girl you’ve ever been with.

It just represents way too much in their heads.
I never said you should use ARM for everything. I just asked why anybody wants to put up with PIC which is quirky and offers nothing over other chip families.
The submitted URL was http://ed-thelen.org/comp-hist/B5000-AlgolRWaychoff.html#7, but the best way to read this classic is to begin at the beginning, realize that virtual memory is going to get invented along the way, hit the "Bob would fly to Dallas for one day and teach them how to write a compiler" part, and then have your mind additionally blown when "don knuth" shows up.
https://web.archive.org/web/20200613020727/https://www.bloom...
WEBM and GIF Screen Recording
> its shares today are worth something because there is still the chance thelat may not happen

Doesn't equity go to zero (and reset), if the new capital is not enough to cover the debts?
> There is also the issue that, please correct me if I got this wrong, the label that's in the signature becomes the name of the parameter inside the function. And as far as I can tell it cannot be changed/mapped. That's a horrible coupling of inside and outside.

You can in fact provide names for both, and there at least used to be (I think they might have removed this?) some ludicrous special case on the behavior of the first parameter.
Give Your Ideas Some Legs: The Positive Effect of Walking on Creative Thinking
The nice part about making a good-faith effort to negotiate the non-compete is that if the negotiation fails, that is excellent documentation that it is a contract of adhesion and as such unconscionable to public policy.
Ask HN: Should Clients or Contractors Pay for tools/licenses to do their job?
I've seen tech contractors asking the client to pay for common tools that they may need to do their job. This seems odd to me, given that in construction, a client would expect the contractors to bring their own construction tools.
True. I didn't get that
or you could just use postgres to corrupt your data. latest jepsen analysis http://jepsen.io/analyses/postgresql-12.3
Still amazed that a company like Nintendo survived over 100 years of dramatic cultural and economic change in Japan and remains as relevant and innovative as ever. How is a company culture for creativity sustained like that for so long? Most corporations seem to go stale especially after the founders die off or fade out.
Actually, you're a racist to the bone because everything you see is "very very deep" racism. You turn everyday words into labels that divide people. You just can't see that etymology of a word can have nothing to do with race. You probably can't see that the pain of our black brothers and sisters may, just may, also have come from poverty, prejudice, or in general just class struggles.

You're real racist because you automatically label people from different cultural background as racist, without considering if they have racial bias. Italian has Mano Nera, Japanese has 黒幕, multiple languages have "black market", Chinese has 黑心，黑社会. Are they all racists? Are they all guilty of slavery of African Americans? If you're not a racist, then you're nothing more than a Jacobin to the bone. When are you going to call for Guillotine on people who disagree with you?

Shame on you.
I’m a Canadian citizen in Alberta. I made a freedom of information request for some aggregate statistics, and got a response from the agency indicating that the information wouldn’t be available for several months, allegedly due to a “high volume of requests”.

From my perspective, if the information is delivered months after being relevant, it’s the same as denying the request.

In general, it seems like “public institutions” don’t act like they’re beholden to the public. They act just like private institutions whose primary concern is self-preservation.
And in today's interviews environment, telling the greatest stories along the greatest CV, training for months and months on leetcode problems and being able to convincingly act like you never seen them before during the interview, generally bending over backwards and taking it into your ^H^H^H or what else, all that that will dramatically raise your chances of getting hired from 0.1 to 0.2%.
If they have decided to take your hand in marriage then I doubt they'd mind your choice of a ring.
> And it’s not because I’m so rich I don’t need one.

Later in the article:

> I’ve already maxed out my Roth IRA for 2016

> Charity... Bonus: it’s tax deductible!

Only if you're not using the standard deduction, of which the bottom 90% of taxpayers are not.

> I live in New York and want to get married in New York.

So, presumably child-free and only responsible for oneself. That keeps expenses to a minimum.

This reads as if the author earns enough to not budget. If you're not budgeting and maxing IRAs, you make far more than your mandatory expenses to care to look further at "budgeting".
> No u

Lol the article you list was published before the documentation cited was presented (and before my articles were even published) - additionally you are moving the goalposts - the op claim is that the nsa hasn’t foiled any terror plots - not about metadata collection
Health Implications of Reconnecting the Human Body to Earth's Surface Electrons
Yes, it's been highly disorienting and depressing for me. I suppose I always imagined that the right would come around to some of the left's better ideas, but I never expected that the left would pick up some the right's worst ideas.
Sounds very familiar ;) Processes like these make it very, very difficult for employees to work on open source; at most they might have approval for one or two projects that are directly used by the company.
This is all true today still. Just as OPEC controls oil supply, De Beers Group controls the diamond supply.
Oh, nice, thanks for that. :)
I would totally pay for a web browser