skysight-inc/HackerNews huggingface dataset:
> And you know what ? You shouldn't share too much code between backend and frontend.

Yeah right :) I'll tell you what I like about it.

I defined my database models in Typescript[1], work with them in the backend, send them to the frontend, and deserialize them back to the same Typescipt model classes in the browser and continue working with them ( w/o the actual database part) as data structures.

Are you trying to convince me this is bad ? Because I definitely don't believe you :)

[1] https://typeorm.io/
VECTORALISTS
First, that does not make those people punished. At best it make the company punished.

Second, it does not seem like those companies were punished in any measurable way.
Look into The Dispossessed[0] and Walkaway[1] for descriptions of (somewhat) utopian Anarcho-Syndicalism.

[0] https://www.goodreads.com/book/show/13651.The_Dispossessed

[1] https://www.goodreads.com/book/show/40604388-walkaway
I have no bitterness here, just facts. It's important to understand that none of these WSL features has anything to do with open source. It's exactly your standard "extend" stage.

See: proprietary hypervisor runs OS with a patched non-upstreamable Linux kernel and then there is proprietary userspace drivers and libraries that able to talk to their proprietary parts inside Windows.

Can any of it be used with different hypervisor? No.

Can it be used with open source drivers? Again, nope.
"So, a quick take on Putin's long-delayed article on WWII ... The overall conclusion is of course it's a piece of crude propaganda. I'll give a few examples, though won't attempt a thorough analysis here." [thread]

https://twitter.com/DrRadchenko/status/1273688125257252864
On the flip side, a laptop failing to go to sleep can be a fire hazard or at least permanently damage your laptop, depending on where it’s stored. This killed one of my X1 carbons.
The App Store Commandments
> Can you provide any sources claiming that more than 6 people have died in Crimea during 2014 events?

Wow. So, you going to claim this isn't relevant or somehow correct then either?

https://en.wikipedia.org/wiki/Malaysia_Airlines_Flight_17
This is not correct. The amendment text is about priority of Constitution, not all laws. So that mostly means no same sex marriage for Russian citizens.
So your logic is that if you're a nice platform monopolist, you can charge arbitrary platform access fees. But if you're a bunch of meanies, different laws shall apply to you. I'm sorry, I was under the misapprehension that you were making a serious point.
It's a shame https://www.youtube.com/user/Bisqwit was missing from the list
That's an incredibly useful trick to know
I tried to get the Mathematica version to do something useful, but in typical "mathematician minimalist style" it squeezed everything into one enormous, terse, but useless blob. The code on GitHub works as a demo only. Even after trying a few different syntax variations for about twenty minutes, I couldn't figure out how to feed the "ILT" function something that would spit out what I expect.

In case the original authors ever come across this article: There is a standard for writing Mathematica modules! Please take a look at some other modules available online, and see how they split the code into small, reusable functions.

Even the name is too short. In the Mathematica naming convention it should be called "InverseLaplaceTransformCME[...]" or something like that. Ideally, use the same calling convention as the built-in function, documented here: https://reference.wolfram.com/language/ref/InverseLaplaceTra...

This would allow your function to be a drop-in replacement, allowing users to switch between the symbolic and approximate versions trivially.

You may even want to contact Wolfram Research! They just implemented a new "Asymptotics" module that includes approximate inverse Laplace transforms as a feature. See: https://reference.wolfram.com/language/guide/Asymptotics.htm...

They might add your approach into the 12.2 release, which would mean that many thousands of people could automatically benefit from your hard work!
The Git part is. The Hub part is not.
How This Gurugram-Based Startup Is Deploying AI to Help Children Develop New-Age
> Why is there never any proof or evidence required for saying an artifact has a religious purpose?

It's there if you bothered to look. 2 minutes following links gets me https://en.wikipedia.org/wiki/Golden_hats

"Their use as head-gear is strongly supported by the fact that the three of four examples have a cap-like widening at the bottom of the cone, and that their openings are oval (not round), with diameters and shapes roughly equivalent to those of a human skull"

Further: "The figural depiction of an object resembling a conical hat on a stone slab of the King's Grave at Kivik, Southern Sweden, strongly supports their association with religion and cult" which links to https://en.wikipedia.org/wiki/The_King's_Grave

I can't see the hats but whatever, I assume people aren't actually stupid.
Wirecard’s $2.1B Hole Deepens After Forgery Claim
Subscription media apps on iOS are allowed to use external payment processing.

A hypocritical position would be having users do initial sign-up (including creation of an Apple ID with billing information) in-app on Android.
Thank you for correcting me! I really expected that by now they using it for all devices.
And that's where we need more journalitic (does that word exist?) writing. Even by non-journalists, I mean.

Make a long form content, start with the most important information in the first paragraph, and give more and more developments in the following paragraphs. Someone who thrives for short content will be happy with the first paragraph. Someone who want to delve into the details will ready each and every word. Heck, your first paragraph could even be a tweet containing a link to the long form.

This is clickbait taken backwards. You will get very few clicks as you already delivered the main information for free, but those who clicked will be there for a good reason.
Exactly what GP was saying

>the Windows desktop gets a free pass because everyone has internalized the ways that it sucks.
Twitter is where a large percentage of web devs hang out. If something is problematic, you can't dismiss it as "but that's just Twitter". If it's a common mode of discourse on Twitter, then it's legitimately a part of developer culture.

In any case, discussions around front end frameworks and especially React are scarcely any better here. Although they are usually politer at least.
This is how papers should be, link to GitHub, interactive demo. Awesome stuff.
This is absolutely spot-on. Brilliant!
Git the version control system is (well, its "distributed"), but GitHub not so much since the repos themselves are stored central, afaik. I think the most they manage are servers for different countries.
>the Windows desktop gets a free pass because everyone has internalized the ways that it sucks.
Show HN: Dig – Access and modify property values in deeply nested maps
Best Bootstrap Open Source Projects
Intel’s 3rd-generation Xeon Scalable CPUs offer 16-bit FPU processing
R notebooks support a bunch.
I count about 41 languages in my install, including Go, C++, Fortran and Julia, as well as Python, SQL, Bash, etc.
>That may be true in practice, but it's not something you can create laws around. The US Government shouldn't be in the business of deciding which consumer electronics are integral to (Western) life.

Why not?
If you are not going to argue in good faith, please don't respond.
The website is down? Apache is running, it doesn't make sense to reboot the server.

Yeah, I'm getting 500 here in the UK
The Epic store came late into the game, so in order to get developers on-board they take a fee of 12 percent.
And in order to get customers they offer free games.

Looks like everybody (except Steam) wins.
Except there are hundreds of Cars manufacture to chose from, easily portable, and all share the same public road transport.

You have two system to choose from, Apple and Google.
The difference is that the video game developer has priced the console-maker's cut into the cost of the product, and that's the only way it can be sold.

Spotify charges a lower monthly price if you sign up on their website (and then go and sign in on iOS) than if you sign up through the iOS app.

Whether or not this hurts Spotify isn't at issue here; there are Spotify customers who are paying more than they have to because Apple refuses to let Spotify tell them about the lower price.
Hacked Facebook Account Goes for $75 on the Dark Web
The factories are in China, but they're making parts for American or multinational companies. And the CMs themselves may or may not be Chinese. Foxconn is Taiwanese, Flextronics is legally Singaporean but headquartered in the US. Those two alone might be close to a million jobs in China. How can Chinese manufacturing and the Chinese economy function without customers?
Reyes Rendering on the GPU [pdf]
I got taught them in a course on linear systems which was a pre-requisite course to control theory.

Lots of electrical circuits, mechanical systems and electro-mechanical systems can be modelled using laplace transforms if they are linear systems.

I did an electrical and electronic engineering degree and we got to skip the tedious differential equation solving lectures that the mechanical, civil and chemical engineers had to attend because of Monsieur Laplace.
What I can confirm is that old fashioned html tags such as <fieldset> or <iframe> are coming back and are underrated. So much can be done with just plain html.
> Wirecard AG shares continued their free-fall after the two Asian banks that were supposed to be holding 1.9 billion euros ($2.1 billion) of missing cash denied any business relationship with the German payments company.

For reference, their balance sheet lists assets of about 6 billion euros.

Now, if their auditor EY were refusing to sign off on some crazy valuations of some weird positions, I'd perhaps understand, but if other banks are outright denying not just a cash balance but an actual business relationship, I don't see a way how this can be walked back.

SoftBank really knows how to pick them. It invested 1 billion about a year ago [1].

[1] https://www.bloomberg.com/news/articles/2019-04-23/softbank-...
Probing olfactory perception with synthetic odors
How we dogfood our own monitoring SaaS at Checkly
Turns out it is true.

https://europa.eu/youreurope/citizens/consumers/shopping/pri...

> Traders in the EU are not allowed to charge you extra for using your credit or debit card.

Regarding this:

> Nobody here is charging 2-3% except when credit cards are involved.

The service provider that provides the payment terminals merchants use will be charging the merchants between 1-2%, often with a per transaction fee on top of that. I’m not 100% sure how service providers in the EU bundle things, but intercharge fees are usually charged on top of that again. Even though the EU caps interchange fees, merchants will very easily be incurring above 2% in fees even for non-credit card transactions. The EU’s cap on interchange fees for card not present transactions is barely below standard market rates, so EU merchants will be paying about the same as everybody else for those.
That's true, but that sort of sandboxing and permission models do not require a gatekeeping corporation to seek rent from everyone who wants to build for the platform. In fact it requires no interaction from the corporation at all.

iOS's app sandboxing and permissions model would work just as well if apps could be sideloaded.
In my experience high DPI actually works somewhat decently and those fractional stuff can be fixed with don't scaling.
At least if you only use one monitor. I personally have two I would use with 1.25x and no scaling which is just not possible with the x11 model.

Additionally having two monitors completely breaks vsync with very ugly tearing lines.

And Wayland on Nvidia has been very unsuccessful for me. Even when I got it to run the performance in e.g. firefox was absolutely terrible. Sadly Wayland is necessary if you want hardware video decoding.
Unless I missed it, this needs a page demonstrating how this can be used to solve real world problems and challenges without me having to sign up.
People are not "effectively being paid the same as previous generations". Unlike wages, many primary necessities have grown in cost at rates much higher than inflation in the US (housing, education, health care).
San Francisco’s district attorney sues DoorDash for unfair business practices
Essence CBD Oil HTTPS://buddysupplement.com/essence-cbd-oil-au/
Essence CBD Oil

Welcome to this audit of Essence CBD Oil. Did you realize that Essence CBD Oil is turning into a hot, new wellbeing and health pattern? There has been exponential development in the Essence CBD Oil business as an ever increasing number of individuals are thinking that its accommodating for their general wellbeing and health. Actually, individuals use Essence CBD Oil supplements for an assortment of purposes. A few people like to utilize it to help with torment in lieu of remedy torment executioners. All things considered, that is a tremendous pandemic regarding abuse and habit in America. So individuals are going to CBD for another option. In case you're prepared to see the hot arrangements on Essence CBD Oil Essence CBD Oil, simply tap any catch here at this point!

https://buddysupplement.com/essence-cbd-oil-au/

https://twitter.com/ketopillsstore/status/1273470398886105089

https://ketopillsstore.wordpress.com/2020/06/18/essence-cbd-oil/

https://form.jotform.com/201691043436046

https://gumroad.com/essence/p/essence-cbd-oil-reviews-best-price-benefits-where-to-buy

https://www.completefoods.co/diy/recipes/essence-cbd-oil-reviews-side-effects-price-to-buy-does-it-work

https://youtu.be/N0xupGZdtAw

https://www.patreon.com/posts/38356744
Team Telecom Recommends That the FCC Deny Undersea Pacific Cable Hong Kong to US
Maybe perhaps an organised revolution ? All developers of iOS should just stop supporting already existing apps, or move to Android.

And users should just know that iDevices are not supported anymore.

Only if a rebellion is staged, will Apple take notice.
It's a silver hat used in religious rituals, the bowl goes on your head. The names on the side are religious figures, gods and priests.
s/Silicon/Tech/

I thought this was going to be about Intel/TSMC/Samsung/GlobalFoundries. There's barely any Silicon in the valley anymore.
There is a growing trend of censorship and self-censorship. Far from enjoying controversy for its own sake, it seems clear to me that open, civilized debate is healthy and indeed essencial.

The attitude that "some things are not to be discussed/mentioned" is akin to religious dogma, more at home in the European Dark Ages than the 21st century.
> price/comfort, built-in tools, decent security without having to do your own, etc.

It's more about control and ownership of your own server and data and this same argument can be made for hosting your own website (price, tools, security) which is maintained by you.

You control everything on the server and deal with downtime yourself or as with the context of schools, companies, open-source projects have 'sys-admins' to do this work.

GitHub does not fit with everyone's requirements to do source-code management on a centralized infrastructure, which is why some users have mirrors to Github from their self-hosted solution. (Google, Mozilla, Apple, Linux kernel developers, etc)

If you can self-host your own website, then you should be able to self-host a Gitlab, Gittea, etc solution.
> Infinite scrolls are inhumane. People need to be able to reach “the end.” There are forms of eternal torment described in religious texts that are less mean.

If I had to pick just one, it would be this.
I think it's safe to say that game retailers are not representative of all retail.
I recall from some undergraduate classes I took (in mechanical engineering) that you can "convert" between a Laplace transform and a Fourier transform by saying that s = i * omega. This has some appeal from a purely algebraic standpoint but doesn't seem rigorous to me. For one, the limits of the integral aren't the same. How valid is this? I always assumed it was an approximation.

Is the Laplace transform in some sense similar to a one-sided/semi-infinite Fourier transform, provided that change of variables is made?

Years ago in a complex analysis class I worked out the contour integration for a few Fourier transforms as I recall, but I've had no similar training for the Laplace transform and have forgotten many details.
The Duk-Duk; a Secret Society in Papua New Guinea
I’d agree that 100% consistency is harmful to communication, but the primary communication happening in programming is with a computer. Even when it comes to other developers looking at your code, their internal process is “let me simulate what the computer understands”.

Unless you are enforcing weird autoformat choices, everything should look pretty enough.
+1 for the Dave Barry Does Japan reference.

Watching the Japanese build stuff is amazing.

I would visit once or twice a year.

First visit, looking out my hotel window: big ol’ hole in the ground.

Next year: Thirty-story skyscraper, fully occupied.
Unpatched vulnerability identified in 79 Netgear router models
Sometimes yes, sometimes no! If the sql you're using is testable syntactically in sqlite itself, then your tests can be very light and done on a in memory sqlite database. The standardization of a dataframe like object allows me to infer the schema going into and out of a method and automatically create and tear down the expected tables! However sometimes you use custom SQL for your specific dialect so the test has to happen on that database. But you can still write some isolation wrappers to run them on a development db. They probably won't run in a second so you might have to keep them in a separate pipeline or something
I disagree that any contract is valid - sometimes they're illegal because they abuse the near monopoly power of the retailer to force suppliers into contracts to their detriment - the choice is either accept the draconian terms or go out of business. Very much like Apple's message to hey - nice app you've got there, shame if something were to happen to it.

This is why we have (or had) antitrust laws - not every contract is legal and left alone capitalism tends towards abusive monopolies.
I have been a happy Plausible subscriber for the last 3 months. It's handled 100k+ unique visitors a month with no problem.
Ha, what luck! Thanks for the link - I really like the idea. Maybe you could be the Github or Kaggle of simulations/modelling :)
I live in germany where we do have freeze/thaw cycles. Our roads look better both from my experience when I went to the US and looking at pictures from the US. Don't think climate is a good excuse here. Nordic countries also manage a much better infrastructure in roads from what I hear.
FWIW, the API and Git operations are indeed still functioning, so if for example you have the GitHub mobile app you can still read your issues and whatnot.
Show HN: gRPC over WebRTC
If Apple doesn't think their customers care about the Apple Tax, then why do they structure their rules such that app developers can't even hint that the customer might be able to pay a lower price by signing up on their website? Seems like Apple is afraid if they allowed that, customers would spend a lot less through Apple's payments platform.
I respect DHH a lot, but I think he's got it completely wrong here, drawing false similarities between other apps which are clearly very different in their nature and I also don't think his slightly aggressive approach to "fight" with so much bad language and accusations in the public before trying a more civil and less inflammatory approach in private. It comes across that he thinks using his online clout can help him to be treated differently and pressuring Apple to his will, rather than play by the same rules than everyone else.

I think both is possible, play by the rules to get your app approved AND at the same time challenge the existence of those rules in parallel via a legal and civil way. What he's doing instead though is playing the stroppy revolutionary kid who doesn't want to play by the rules and wants to put everything on fire and at the same time get their toy out whilst shit is burning. Not the best approach from my limited life experience.
If that was the issue surely Apple would tell him? Why keep such information a secret?
I love this new narrative that allowing the president of the USA to communicate on the largest platform in the world is siding with him or being in alliance with him.

At least be honest and say that you want Zuckerberg to censor and police trump. That’s the truth. But don’t pretend that somehow it’s immoral to allow the US President to post on your platform. He’s the president, whether you like it or not.
What I thought of immediately!

In the 70s and 80s it was not uncommon to run across a CS paper whose title was a play on some aphorism or poetic quotation. That playfulness is much less common these days.
Yup you're right, worse than I can imagine. I always have the impression that, at least nowadays, Belgium doesn't really have the resources to do super shady things (NSA-style things)
Really liked this because I've always wondered how one could watermark content to track who distributed content they weren't supposed to. Could understand a fair amount in my first watch even though I don't code (although I have learnt basic programming over a decade ago).

How could you do this keeping in mind compression?
Very well familiar with it. Thanks for sharing.
Exactly, I see that as yet another benefit of being explicit about it.
I respectfully disagree: it's the same code, moved around a bit of course, but literally the same logic making whatever conditional statements or database calls necessary to do permissions :-)

It's the same data, with the same auth needed. If it's accessible to anyone over the network you need auth for everyone in either model. The auth code is the same code in either model, only the interface changes.

Looking at your example to illustrate: you have user A and user B, who have permission to see different types of widgets depending on what department they belong to.

--

Scenario 1: filtering per-resource

There is a server-rendered /widgets page that lists all widgets, filtering based on what types of widgets the requesting user can see.

API implementation: /widgets endpoint that returns a list of all widgets for the client to render. It must filter based on what type of widgets the requesting user can see, so that only widgets they can see are included in the list. Same logic as above.

--

Scenario 2: grouping resources and authenticating at entry

There are different server rendered pages for each department, listing all widgets for that department: /widgets/foo-dept, /widgets/bar-dept. You must check the permissions on the requesting user before rendering the page, to see if they have access. If user A can't see foo widgets, you give them some kind of permissions error when they request the /widgets/foo-dept page.

API implementation: Add a dept param to the /widgets endpoint that lists only widgets in the specified department. If dept param is populated, check that the requesting user has permissions to see widgets in that department. If they do, proceed, if not, throw a permissions error and deal with it on the client to produce the exact same UI as in the server rendered example. Same logic as above.

--

If you have resources accessible over the network, and you do auth on them based on user attributes, you have to do that auth either way, regardless of if you're server rendering the data into HTML pages or returning it as JSON or whatever else and rendering the HTML on the client.
The Obama had the worst record of any administration at having actions overturned by the Supreme Court... and having the most overturned unanimously.

https://freebeacon.com/politics/study-obama-worst-record-sup...