skysight-inc/HackerNews huggingface dataset:
I do not really agree with the article's (implied?) statement that multivalues are an ugly part of Lua. It's subtle yes, but like most of Lua, is incredibly consistent.

For example, let's compare with Python: In Python, you can return multiple arguments as a tuple; it's not possible to have an optional return value without a lot of painful type matching and unpacking. In Lua you can:

local result, errmsg = do_stuff()
if not result then
error("Error in do_stuff:"..errmsg)
end
print(result + 5)

If you don't want the error message, just remove ", errmsg", and it will work as expected. This is incredibly flexible, which is exactly what I want in my dynamic languages. In Python, you would get an type error when attempting to add together a tuple and an integer.
Russia isn't the Soviet Union. And Moscow isn't the provinces.

I'm not dumping on Russia, but it's easy to look at the shiny place and forget about the other parts. If you were a time traveller from 1985, NYC looks like a magical fairy-land (at least on the surface). But Syracuse, NY or Utica, NY... not so much.
Not if everyone follows the advice.
> But much worse than that: the Right, which Andreessen points out “is generally pro-production,” has been captured by anti-immigrant isolationists who think that 5G technology caused the coronavirus and that Bill Gates is behind it. (link to tweet)

Last I checked, Alex Jones has not captured the right.
Research Study (Pl Take the Survey): The State of Software Delivery Management
Sad. These investigations never go anywhere.

In my city they have relentlessly pursued some people who graffiti painted some trains decades ago with massive retribution lawsuits.

Yet any city official or workman can fell any number of trees with no permission whatsoever and the whole chain of command just shrugs.

A paint factory (accidentally) poured a huge amount of poison to a river. All the fish died. Nothing again really happened, all the law cases were dismissed. (The company did voluntarily repent and support later conservation efforts.)
> 403 Forbidden -- Cloudflare
Isn't this a job for other three-letters like the FDA or FTC?
I know next to nothing about SVG; do you think this was a mistake in the SVG, or is it a bug in Firefox's rendering? If the latter, ideally, we would file a bug report, although i don't actually know how you do that for Firefox these days.
Our countries may not be authoritarian but they're certainly rigid in the sense of having a huge amount of accumulated "technical debt" in their social organization, that by definition is simply not amenable to gradual change. A collapse of some sort is then the only feasible form of restructuring, and is a natural consequence of such circumstances especially given outside stressors. So I would definitely not put it beyond the realm of possibility.
I prefer to pick from https://www.amazon.com/bestsellers
If it's a FOSS clientside application, like a mobile or desktop app, it's a public application and the client secret doesn't really apply. If it's a serverside application, a web app, then every instance of the app will be registered independently with auth servers, and will manage their own client secrets.
> The targeted false alerts problem

You require, for example, a registered healthcare provider to approve the act of marking yourself as symptomatic. Which basically means that you can't mark yourself as symptomatic unless a doctor agrees/diagnoses you, which is a good idea anyway, given the amount of people who are like "my flu in december must have been COVID".
Free for "all developers". Its free, but you better have paid your annual 99 dollars.
You're probably right, I think I took a bad example with the grenades.

My point was that your risk tolerance is very different when your job description literally involves getting shot at.
I go to academic conferences, not industry ones, but I find the big annual meetings to be exhausting, unproductive, and incredibly wasteful. I for one will be happy to see them go, if that's what ends up happening.
No true Scotsman delivers it there.
Computational Immunology: Using Algorithms to Identify Vaccine Candidates
What do WWII bombings and bird poop have in common? (probability simulation)
Corruption? That one seems pretttty important. https://www.forbes.com/sites/arielcohen/2019/05/31/russias-o...
Microsoft's Build is also free and online.

https://mybuild.microsoft.com/
Python and RealTime COVID19 = EventDriven Application
I believe the videos tend to be playable on Microsoft Edge too.
I've been working with Ruby professionally for something like 10 years and all of those points are generally just things you learn to work around.

And Rails itself is less monolithic than you think. You can swap out most of the components for other gems, like ActiveRecord vs. DataMapper (though I am not aware of anyone who does this anymore and the level of support for Rails gems generally outclasses everyone else) or remove those components entirely.

Much of the "Rails magic" is inside ActiveSupport, which you can import without bringing in all of Rails proper. Personally I think much of the stuff in ActiveSupport should go core.
His "criticisms" are not limited to specific outlets. He has publicly called the press "truly the ENEMY OF THE PEOPLE!"[0] which feels like a broader attack on the press as an institution.

[0] https://twitter.com/realDonaldTrump/status/11142215334617907...
I started out with PHP at a very very young age and eventually moved on to other platforms (mainly Python). Not looking to question your experience - but actually recalling my own. Making a chat app was one of the first things I did. It was a super basic CRUD app mixing HTML and some code, refreshing the page every few secs, thanks to some meta tags.

Of course, it used frames, so that the "send message" part didn't clear every time it refreshed… those were the days! Eventually, my fancy chat app delivered a much better user experience, thanks to an amazing (back then!) JS library — jQuery. I built my first "API" that way! (It didn't use XML or JSON - it just returned chunks of HTML that were appended to a div).

Pure PHP gets annoying when you're dealing with complex data models, or when you're building a combination of frontend plus backend batch processing. Frameworks such as Laravel make this much much nicer to deal with IMHO. Of course, PHP is far from perfect, and its quirks can cause OCD and frustration to some people… :-)

But thanks to PHP (and also thanks to how lenient and chaotic it was), I was able to create very early on without needing to worry about software patterns (I had no clue what MVC was back then!), strict code formatting, learning how to deploy an app (just upload the code and off you go), and so on. PHP got me into programming — and it's also propelled some big-name sites and apps, so I guess it deserves some credit there as well.
Google Mail's OAuth2 instructions discuss this point explicitly.
Same, with desktop Firefox.
> the solution to both of these is to abandon the Electoral College

This would certainly benefit the Democrats, but I don't see it as a "solution". It would give states without large urban areas even less political leverage than they have now. Presidential campaigns would not even bother visiting most states, since locking up enough votes in large urban areas (all of which are solidly Democratic) would be sufficient to win the election all by itself.

The purpose of the Electoral College was to prevent a slim 51% majority of the country from running roughshod over the rest. It is serving that purpose.
That's exactly what I mean, Apple calibrated their trackpads beyond what the firmware defaults to.
Same boat, pop_os and Mint have both been super stable
Nintendo is still getting value from the NES and SNES with their online program as well. The membership is $20/yr and one of the very few things it includes is an emulator with a few dozen games from each system.
How long were VGA ports commonplace in laptops? Few, if any, laptop OEMs were interested in trying to refine the mobile experience until just a few years ago.
No, Nintendo probably didn't download ROMs from the internet:

https://news.ycombinator.com/item?id=22756156
Thank you for the quote, I like the part about the "what you love part" being fluid. I think that's why sometimes your career being "what you love" can be tough, because unless you're the boss, it's hard to steer the barge to align the group goals with your personal goals (another commenter had a good take on that aspect.)

For me personally, since I'm not the boss, I do what I can in my work to align the company goals with my goals, and vice versa, but also remember to fallback on what my real passions are on my own time. For me its a helpful way to cope when the goals really diverge and it's out of my hands.
> This fragmented design reminds of the Pre-Tesla layered architecture, proving once again that history likes to repeat itself.

So true.
Tightly coupled is often not desirable.
that's the point of combining it with lawyers--you find clients, possibly grouped into class actions, to sue the fraudsters (and make money that way).
The haptic responses only began with the 2016 or 2017 models. You can tell when it's turned off if clicks or not. (I have a Mid 2014 from work)
Yes but the population of Island (364K) is way less than many other countries, so it's much easier to control the disease.

To put things in perspective, the US population is 328M.
OMG. You made my day. Beautiful.
Ask HN: How does your SaaS company handle charging sales tax?
Hello,

For my SaaS company, I charge my customers via Stripe, PayPal and some other payment platforms. Sales tax is different in every country, and in the US it is even different per state.

How does your SaaS company handle sales tax? Do you use the country and secondary (zip code or state) of the saved credit card or have some sort additional form? I can imagine a scenario where company A is based in California but uses a credit card from NY. In that case they should pay CA sales tax but if I were to use their credit card information, it would be NY sales tax.

This feels like a problem that has been solved by any international (or just US) SaaS company. Any tips would be greatly appreciated!
You can choose fair trade products over the alternatives, you can forgo meat entirely or mostly and be selective about where you source it, you can choose not to put money in Nestlé's pocket and you can choose not to work for Google.

You don't have to be perfect in order to make better, more ethical, choices.

Yes, you're entirely correct that living a perfectly ethical life is nearly impossible.

That's still no excuse for not putting in the effort.
I love the Touch Bar and the fact that the new Macbooks have a physical escape key should pretty much silence any devs that were screaming about losing one.
I'm not the most informed person out there, but I haven't seen many conservatives arguing along the specific lines you've laid out here. The conservative perspectives I've personally experienced seem to coalesce around a couple basic positions, namely that:

a) The government is violating basic rights in its reaction to Covid-19, and/or

b) Covid-19 is not a significant threat (and may even be a conspiracy); therefore any government reaction is excessive and unwarranted.

I emphatically agree with you that deaths of despair and lack of access to healthcare are both huge problems in the US. Of course, this was clearly true long before Covid-19 existed, though, so I'm going to be a bit skeptical if I encounter conservatives suddenly championing these issues. [0]

0 - Being that, of course, American conservatives typically oppose policies meant to expand access to healthcare or provide relief to those on the economic margins of our society.
You only pay $99 to publish on the App Store.
Yeah last time I checked I couldn't play HLS videos in Firefox. Checking wikipedia it looks the same for Chrome but there are extensions available for both browsers.
That’s down to the hardware driver in Linux, is it not?
CareRev (YC S16) Is Hiring a Head of Marketplace (Operations – Supply Side)
It takes 5 seconds on Google to find a myriad complaints about weird, unexpected, and downright incorrect things that PHP does. That wasn't the point of my reply. The point was that language choice CAN affect productivity. And having a bunch of gotchas is something that will negatively affect productivity. I simply gave the first example that popped into my head that actually tripped me up.
Normal procedure is an hour of oral argument, with each side allocated 30 minutes (the side that goes first has 5 of its minutes (or more, if the attorney declines to use all the time first) shifted after the second side, for use as a rebuttal period). Sometimes, the Solicitor General is also asked to speak during oral argument, which gives each party 20 minutes to speak.
There is another balance of threats here as well. Government overreach vs the benefit the government provides. Conservatives are concerned about government overreach. When the governor tells you you can't leave your home that's a massive step in the direction of authoritarianism, while it was initially justified. History shows those in power rarely excise it judicially, especially in times of crisis. The balance of power is tenous and exists because we push back against the government's authority and question its decision making.

The range of government actions taken internationally in response to covid includes, "please stay home" and welding apartment doors shut. I'm not worried about the government welding my door shut, not because I trust my government, but because I know our citizens won't let them. While I appreciate the early lockdowns buying us time in California each park and beach that close scares me more and more, there is no line for those in power they will infringe as much as we let them. I'd rather push back on infringement of liberties too soon rather than too late.

While we don't have to worry about getting our doors welded shut. They government has already shown it can't be trusted to care for us.

The quick money that was promised to go to the people spent a long time working it's way through a corrupt beurocracy as our politicalians all tacked on their agendas and most of it was redirected to line the same pockets the government has for years. People not having money to pay the bills or buy food would be irrational to listen to the government telling them to stay home for their safety.
So, what happens in Vegas doesn't stay in Vegas.
I work in private equity so I've been keeping an eye on the crowdfunding space and the quality of the equity on offer is -- to put it lightly -- unbelievably low. I saw one company offering a SAFE note that only paid out if they went public... for a single location brewpub (not even a chain concept!). I'm not sure if that's legally the same as theft, but I'm quite certain it is statistically the same as theft.

I'd advise everyone to steer clear of the space until we have a government interested in minimizing the level of fraud and abuse. This current development is likely to make things worse, not better.
In space industry prowess, it continues a slow decline (although they had a more robust system to begin with, so it has been managed fairly well).
Regarding Apple's relationship with privacy, I implore you to take a gander at these pages:

https://apple.com/privacy (45 second read)

https://apple.com/privacy/features (many minute read with links to whitepapers)

I believe this goes well beyond following instinct, and at least for me does lead to a strong semblance of trust.

They really did a doozy by not being upfront about Siri's contractors (I already knew so it didn't affect me personally), and they're hemming on E2E iCloud backups (perhaps for Availability, perhaps for China), but they continue to push the envelope on what usable security and usable privacy looks like.

In addition; the iPhone 5s from 2013 is still getting security patches, as recently as March 24th.
Why You Need a Microservice Catalog
I disable my Touchpad, not because of any shortcomings it might have, but because one of the selling points of a ThinkPad for me is the Trackpoint. I can operate it fine without moving my hands from the home typing position with my thumb's on the mouse buttons.
> Why do you need such a comically long power cable?

The USB-C cable in the box is, what, one meter? That won't even reach through a cable-hole in a desk down to the floor. Maybe they've fixed it but I distinctly remember receiving a brand new MBP shortly after the all-USB-C shift that had a uselessly short included cable and no AC cord included.

> I appreciate the compact nature of the Apple brick. I don't understand why you think they take up more than one outlet.

If your power strip's ports are arranged sideways I guess it might be OK, though then they're prone to "tipping" out of the port if bumped. Otherwise they're definitely the length of two ports on a power strip, at least with US-style plugs. I don't understand how you could look at it and not think it takes up two since it just is for sure longer than one port, unless plugged into the one on the very end. And I'm looking at one for a 2014 Magsafe model right now—the ones on newer MacBooks are even larger (I have those, too)

[EDIT] even my iPad Pro charger is longer than one outlet and blocks the second, and it's smaller than any MacBook Pro or even Air brick I've seen.
Mapdreamer – AI Cartography
Buy crypto.
You Don't Need All That JavaScript, I Promise [video]
W3Schools' SSL certificate has expired
A lot of people are put off by all the 'magic' and weird syntax. I've heard a lot of criticisms from the python crowd about hidden state and whatnot... but you have to understand where those folks are coming from and what language principles they subscribe to. (Python and Ruby are principally opposed in many areas, as an example that I'm familiar with)

Personally I don't mind magic or hidden state that much but then again I came from perl.
It's disheartening to me that there are people out there that like the busy yet low-density over-designed mess that is stripe.com over the simple, functional design of the sourcehut website.

It's particularly disheartening to me because those people seem to include all web designers.
I find typing on the butterfly keyboard strange but pleasant. It made me change the way I handle the keyboard though due to the nearly nonexistent travel in the switches.
People like the Apple trackpads enough that Apple sells a separate trackpad to use on their desktop machines.

I haven't used a mouse regularly in like 7 years because I prefer the Apple trackpads to any mouse I use. (The one exception is video games)
Alchemical scrolls record ideas in times of plague and bullion shortage
Chernobyl wasn't the cause of Soviet Union collapse. Arguably, the over-reach in Afghanistan was more important.
Mac trackpads also have a much larger area that can be used for clicking. In my experience, Windows trackpads are unusable for clicking (the area doesn’t depress) in the back most (i.e. closest to the screen) 1/4 to 1/3 of the trackpad.

And this includes Microsoft hardware such as Surface Books. (To be clear, it’s a hardware issue, but one would think Microsoft would shell out for better trackpads on their flagship devices.)
Right now the Headers column is essentially useless because the json renderer doesn't seem to want to display beyond one level of depth so you just see "[{...},{...},etc]". Can you make this more usable? Maybe add some kind of expansion ui where it will pretty print the headers in multiple lines?
Spotters and swing dance aerials (2009)
Curious if there will be any headline announcements. Anyone wants to guesses from that one image in the release what’s Apple key updates might be? Outside of iOS, macOS?

There were a lot of speculations with iPhone 11 about Apple’s new U1 chip and what it planned to do with UWB technology. The Apple “tile” was never released. Then there is the new lidar in iPad.

I’m curious if we’ll see some new AR update that combines all these into an integrated experience.

If there was a time to go big on AR or VR, this lockdown times would be the best time, at least to grab the imaginations of millions locked down in homes.
Is "powerful" really even the right description? I can't even do a map + filter without looping through the array twice. Ew. I guess I'll just stick with the primitive foreach loop (which leaves a dangling allocated object after you use it... sigh).
We'll probably have 500k dead by xmas in the us alone.
Except that the electoral college was designed for a purpose, and that purpose might still be valid in the view of some people. A lot of Republicans for example, for similar reasons to why it was created in the first place.

Also, do you have any data points for presidential governments lasting less long than parliamentary governments?
That's an oversimplification.

The article goes into detail about why there was a desire from some distro maintainers to switch to something else. (clean slate).

The reason I accused you of not reading the article is because it's very clear why systemd was adopted.

1) RH Made it, that doesn't automatically make it good, but there was a lot of posturing from the RH devs to get more things tied in to it under the guise of "all distros will use us eventually, they're already in the process of adopting us!"

2) There was a strong desire to get off of sysvinit, many alternatives had come and gone, though most had the desire to be backwards compatible, none could get any real traction, mostly because it was hacks on hacks. Upstart was promising but people didn't use it properly.

3) GNOME added a hard dependency. Small in isolation but then.

4) UDEV was made systemd-only. UDEV being something that underpins a lot of software. A fork was made (eudev) but that was only the beginning because krdb was next to be systemd only.

5) when it came time for Debian to talk about systemd as the last major upstream distribution (IE: one that sysadmins actually deploy and one that other distros are essentially variants of): it was not "systemd or alternatives" it was "how much systemd do we have to take to be able to support most software."

6) When your distro can't take a major desktop environment, that's a lot of points off of your distro.

--

People choose their distro, but their distro often chooses a distro.

If you're a business building your company, you don't trust Gentoo- you run it on RHEL, Debian or potentially Ubuntu these days.
I read it. It doesn't seem to me to make your point.
Tired Developer Debates That Need to Just Die Already
This makes a very good point. This is a systemic problem. Our political and economic system facilitates monopolies. This gives certain individuals a disproportionate amount of power over society.

The people who tend to get power are far from being the most qualified to shape society. People who are good at taking tend to be bad at giving. Shaping society in a good way requires an altruistic (not opportunistic) mindset. Opportunists will constantly see a way to profit and will not be able to resist the temptation. Their personal interests will always get mixed up in their philanthropy so it will never be truly effective. The faith which winners place in the virtues of capitalism is part of the problem.

Ultimately, profit is the product of exploitation. Most successful people will refuse to acknowledge this and that is why they tend to not be effective at shaping a healthy society.
Do you have any extra readings on the rationale of building their own malloc rather than integrating mimalloc or jemalloc?
I'd donate all of it.

5 minutes to search through the best bang for my buck, then drop 100 million to the top dozen or so until my time was up.