skysight-inc/HackerNews huggingface dataset:
eval( <javascript> ) is terrible at ensuring security. Query programs are executed against the same environment as your own programs!

ask { <askscript> } runs on AskVM which is a separate execution context that you define yourself with the exact set of resources, values and limits the each incoming program needs. AskVM is currently implemented in JavaScript. We plan to port it to Python, C and AskScript very soon.

Check out https://humanwhocodes.com/blog/2010/10/26/wanted-dynamic-exe... to learn more about this subject.

Sorry to have taken almost an hour to get back to you, we're talking with a few people at the moment. The code is live for 6 hours already.

Marcin Hagmajer ~ AskQL Core Team, xFAANG
Why do we keep praising Silicon Valley for reinventing the wheel?
You Need a Mask to See a Masterpiece, Museums Are Opening
How to leverage your efforts in software engineering to make a meaningful impact
It does apply to technology. My point isn't "some people get hurt, therefore open borders are bad". Some people are hurt by technology, but the net benefits are so great that it's generally worthwhile. I think the tradeoff is a little closer to even for open borders.
Nothing of the sort was suggested.
>The dude has personally tried to pull fast ones on me.

Can you clarify?
Not for me, Chrome 81.
Oh, so I guess a real machine inspired this?

https://i.imgur.com/Apnf1qN.png
I thought the Blue Dollar was mostly phased out when they let the peso float at the end of 2015?
No, they can use their trademark to take control of the domain without paying any money through UDRP.
The interesting thing is that Napoleon made that famous quote about China, because of the British shenanigans in opium dealings in China.

“China is a sleeping lion. Let her sleep, for when she wakes she will shake the world.”

He was trying to warn the Europeans to not destroy the good thing that they had going with China: Trade and Commerce.

Sadly, the British were too corrupt and greedy, and they had to destroy it.
I1 was just trying to figure out how to verbalize this but yeah. development-as-a-commodity
My thoughts as well. Awesome gate-keeping effort, give that mod a badge.
Currently located in the EU and contacted my lawyer. Told them as such. I think they realised they fucked up from a legal standpoint more than anything else.
Yeah - found it when reading a Microconf recap article, and thought it was a great example!
Very possible!

https://i.imgur.com/Apnf1qN.png
If Your Pitch Deck Has a Competitive 2×2, I’m Going to Ask You This Question
> FWIW I'm an American living in Poland since 2 years ago, though I'm participating only as a spectator and I don't have a political horse in this race

I find these two comments a bit hard to reconcile, as the second comment implies that this person is not an “American” with no “political horse in this race”.
That never happened to me on Ubuntu. Fedora, on the other hand...
There used to be steam-powered and battery-powered cars in the early 20th Century. There was an Edison-Westinghouse war in electricity distribution.

Typically, a consensus is reached based on technical and economic limitations.

For example, nuclear-powered aircraft? You need shielding to protect the human crew. You also need a reactor that can survive a crash. That's why they use nuclear fuel for unmanned probes. There are no humans to protect, and it's a one-way trip.
> tanks and war ships in such quantities that they'd trade Pepsi for them [1]!

As an aside, the Soviet Union didn't actually trade tanks and war ships for Pepsi. Well, I mean, technically they did but not in the way people might assume when they read the sentence trading Pepsi for war ships.

Pepsi became nominally the owner of a derelict fleet headed to the scrap yard in 1989 as a way to bypass the Soviet Union lack of dollars. The Swedish scrap yard then directly paid Pepsi.
> Why is it okay for an owner to try to squeeze every penny he can out of his employees but not okay for the employees to do it?

An eye for an eye and all the world is eventually blind.
Your ethical framework in this case could clash with the arguably broken legal framework that we currently live in.

Buying a domain like that could get you into legal trouble once it is found out and people track sensitive traffic funneling to the domain. Even if you aren't doing anything with the information.
Almost 4 years into a process that was meant to take 2 years max, the uk government still thinks that demanding things and making rude public statements is a "relationship".
Wait for 20.04.1 or .2. I never upgrade until there’s been enough sample data for fixes to come in. Nor do I ever use the odd-numbered releases.
Today's URL (and its title) is better since it's the original source of the tweet. The tweet itself doesn't really add anything and is much more likely to linkrot than an archive.org link
I'm a Polish citizen who grew up in America and am culturally American. So for example I don't get any of the jokes about bad TV shows from people's childhood 20 years ago, but on paper I count as Polish etc.

By "no horse in this race" I mean that I am a neutral bystander in the complicated, very-passionate multidirectional culture war centered on the PiS party, and whenever possible I try to avoid arguments like this one.
For anyone who thinks this is too ridiculous to be true, here is the CEO confirming this was rushed out to meet a fake-Agile fake deadline, without regard for how it might affect users or developers:

https://news.ycombinator.com/item?id=23280137
Similar situation, although not as intense.

I bought a skewer of grilled meat from a poor elderly woman in central Colombia. The skewer was 5,000 COP and all I had was a 50,000 note (which I discovered when the food was ready) which is about a day’s wage.

She had to leave the grill and go out in the search for change. Felt terrible.
I absolutely 100% agree with that statement. Acting in an immoral fashion that violates the non-aggression principle is a fundamental step toward a "modern nation-state." But it's still fundamentally immoral and operates on the assumption that humans are not entitled to ownership of their own lives. The major difference is that an AC homestead would be voluntary, while a social contract imposed at birth is involuntary. And I've been to Afghanistan and it's a much much more complicated situation than you're describing.
Regarding all the "small business's shouldn't use Kubernetes" - it depends on the business! Certainly a small website with a mailing list is better setup on Squarespace, PaaS/SaaS etc, but there are plenty of startup ideas that either rely on complete data control, users ability to manage their own apps, or a large infrastructure for hosting. A good example is indy game developers who release their game-servers as docker containers (see: Factorio, Minecraft, etc). The big players build out their own cloud, but that is a large barrier to entry. Plenty of game developers avoid multiplayer for exactly this reason. See Slack v Mattermost or Facebook v Mastadon for another example. Plenty of this bleeds between home-hosting and small business. Zoneminder, Mattermost, Wordpress - probably replaces a large bill for most companies, and keeps them 100% compliant with things like GDPR, etc.

If small businesses _did_ have a Kube cluster in their closets, and were able to decide the appropriate use of SaaS versus on-prem, and were able to carve up that compute securely to their customers, well it would enable a whole range of companies to compete with the big platforms. This is exactly what I'm building with my startup. When there is no real difference between hosted and self-hosted, besides the power and air conditioning, a huge new market for software opens, and the platforms that have (in my opinion) "ruined" the internet will have some real competition. The Internet doesn't need blockchain or federated compute to solve this - we just need people to run server-software again! All individuals and small businesses need are really good tools - the decision re: cloud or on-prem should be dependent on engineering resources, not capital resources.

Say what you will about Kubernetes - It reminds me so much of companies looking into Linux two decades ago. Someone would always say "eh, too complex, just use IIS and call Microsoft when things are broken!". To make the world simpler, you must first make the world more complex.
Great work! Love it, nice website, huge library of useful resources, smooth presentation, easy to navigate, all bells and whistles, kudos, bookmarked, will use for sure. Thank you
Unless there is someone here who can shed more light all I can see is from way the EU members treated Greece it made it very clear the EU was never going to let the U.K. leave and profit from the deal.
i grew up in the soviet union too. даже если мы согласны с тем что коммунизм не был идеальным это не значит что берёзки доказывают это. so my point still stands.
I also care about heat and noise under load. I hate it when all the fans kick in.
Here’s the text from the European Commission:

When the regulation does not apply

Your company is service provider based outside the EU. It provides services to customers outside the EU. Its clients can use its services when they travel to other countries, including within the EU. Provided your company doesn't specifically target its services at individuals in the EU, it is not subject to the rules of the GDPR.

Source: https://ec.europa.eu/info/law/law-topic/data-protection/refo...
"- There should be nothing that TaskMgr can't kill - it will even escalate privilege and (if you have it) enable debug privilege to attach to and kill apps that way if needed. If TM can't kill it, you've got a kernel problem."

I've seen stuff that taskmgr can't kill - I haven't ever seen it use any debugging privileges that I know of.
I suppose you could. The difference is, you can't find yourself in a labor camp in Siberia for the crime of having some foreign currency on you.
I didn't even "interview", just took one of their tests out of curiosity to see how I did. The announcement was especially unwelcome news given that I'm not even looking for another job.
Show HN: Covid Trend in the United States (RedwoodJS)
Ask HN: If you are fully/partially remote, would you hire devs in India?
There is so much talk around companies going permanently remote. If that is really the case then what's the need to compete for talent in the Silicon Valley? Keeping aside the challenges due to different time zones, if a person's skill can be validated would you hire developers in India, or for that matter any other country?
> the birthday paradox is a paradox for anyone who doesn't already know it

It is a fate of any solved paradox. A paradox is a confusing paradox only to a point when you learn where the contradiction comes from, and how it does it, and how to avoid it.
"But what about the taxes and legal issues?"

There are a bunch of comments in here about that. And it's true, it's a huge pain in the ass. It's why I always prefer to hire people in states I'm already operating, to say nothing of people outside the US.

But I also see improvements every year. My payroll provider takes care of more of these issues each year, and there are other startups coming up that help you take care of these things as well.

There are companies out there that will deal with everything for you. You pick the person you want and then that company "hires" them and then rents them back out to you, taking a small piece of their salary for their HR services.

If work from everywhere becomes pervasive, I suspect two things will happen. One, a bunch of companies will spring up to streamline the process, and two, the big companies with lobbying powers will lobby for tax code and IP law changes to streamline the process.
I was on the original thread. He made a few comments over the course of a couple hours, if that. He wasn’t “all over Hacker News”.
References to corona virus were added to his blog post on pandemics this year
I suppose server admins have always been concerned about security when allowing clients to send scripts. We haven't had very many easy solutions such us AskVM for running these programs in a custom context (see https://news.ycombinator.com/item?id=23302670 for more). Here, more security allows better expressibility, which helps with the performance. Trust leads to better systems.

Marcin Hagmajer ~ AskQL Core Team, xFAANG
While the scenario you present is a legitimate reason for using a query builder, it doesn't justify the investment in using a query builder for the vast majority of db calls. The edge case is not an appropriate goal to impose the cost of using a DSL for the majority of cases. Instead, custom roll an implementation for those complicated calls and stick with a parameterized sql library.
There are many database migration tools, more than I can remember. This isn't a replacement for tools that need to migrate a lot of different heterogeneous sources, it is for PostgreSQL only. I don't know of any others taking this approach but it has been very useful for me so far.
There is a conspiracy against white people in Western society.

On social media, no one would bat an eye at the quote "white people are trash". The quote "black people are trash" is (correctly) an instant ban. If Sarah Jeong wrote that she "loved being cruel to old brown people", she would not be working for the NYT. Take any socially accepted joke about white people, and replace white with any other race to make it no longer socially acceptable.

There is a different standard applied to white people than other races. That's an objective fact.

You can argue that this is justified due to differences in societal power, which is not an unreasonable argument at all, but to deny that it exists is willful ignorance.

The reason that "it is okay to be white" is so effective is that it does have poignancy to young, impressionable white people who inhabit an online world filled with vitriol directed at them, so when you then call it a "racist" statement, it only serves to alienate them and drive recruitment to the alt-right. The correct response to "it is okay to be white" is not "that's a racist statement that you can't say" but "yes, obviously, moron".

White nationalism is really just the dumbest shit ever, but this complete and utter refusal to understand the root causes of the movement only helps them. It is, quite literally, what the terrorists want.
Incorrect. In Cumulus you have NCLU which is the Cumulus cli that just takes the commands from the bash prompt. If you know traditional Cisco you can sort it pretty quickly. They start with “net” so to show something “net show interfaces”.

Here is a cheatsheet:

https://cumulusnetworks.com/learn/resources/cheatsheets/nclu

Also Cumulus runs FRR (as does sonic) but on Cumulus you can do sudo vtysh and pretty much be at a CLI for routing like you are at an IOS prompt.

Sonic sticks all configuration in different docker containers in Json files and can be a real pain. Also not all commands are hitless, ie some will restart forwarding. That is being worked on. SONiC is pretty much “what MS wanted for large scale ops” and still is rough around the edges for enterprise IT.

There are a number of companies that support Sonic in production enterprise such as Dell and Apstra.
Scenario: You're the boss. Your company needs to layoff one of two people in a specific role. The two employees up for termination are more or less equal in terms of performance, wages, experience, etc.

You have strong evidence Employee A is unsatisfied and looking to move on. Employee B has given no indication of such.

Which one do you lay off? Keep in mind that unsatisfied employees often have a detrimental effect on the morale of their (otherwise content) co-workers.

Answer: You lay off Employee A. And not because you are a bad CEO or bad person. You do it because it's legitimately in the best interest of the company.

Now take the same scenario and substitute a promotion in place of a termination. Which employee will get the promotion? Which employee is in your best interest to invest more money and time in? I think you know the answer.
A different framing of this would be multi-heuristic decision making.
yes, excepting that many have trouble with the compilers class. if you get through it and do well you're probably fine.
`dbg!(x)`, being a macro, expands to something at compile time; at runtime, that expanded code will do something like `write(x.fmt(), stderr)`. it's not relevant here, only `size_of` is.

what's happening here is that rust does "monomorphization" – it generates two versions of `foo`, one for ints and one for strings; then, in each specialized version, `size_of` is specialized to that particular type's implementation of `size_of` (compiler-generated), which returns 4 for i32 and 16 for <whatever that string type is>.

i'm sure it's actually more nuanced than that, but i think that's the general principle.
Watching Tom Tromey's talk on the future of Emacs is a better use of your time I suspect -

https://irreal.org/blog/?p=8687

He addresses many of the "obvious" ideas many of the casuals that appear in these hn threads have.
The EU is made up of two types of countries: small nations, and countries that have not yet realized they are small nations. The UK simply has much less leverage in these negotiations than does the EU, and EU will not reward the UK for leaving the common market.
I am trying to evaluate this as fairly as I can. "Sprint" is one of those words that just ... sets me off. I have to remind myself to be rational and measured in my response.

Having said that, "sprint" is not a word I associate with thoughtful progress toward a reasonable goal. What it does say is "rush forward in a heedless manner" and "don't think, just run."

Another artificial deadline dressed up with terminology that encourages plunging ahead without due consideration.
We productized UX & UI design for Software Companies and have been running a pretty high converting and profitable business from a single page website.

[]https://fairpixels.pro
I was concerned that they would even consider removing it from a tech support subreddit.
I hate seeing fat parents with fat kids
Thank you, this is very helpful.

When you say you only have control over your own choices, don't you then have control over outcomes in some approximate sense? I find that people always tout: "don't worry about things you can't control" while simultaneously massively underestimating what could be in their control and what agency they do have. What I'm getting at is the predictive value you talk about. The better we can predict, the better it seems we can control.
I have to wonder why you're so determined to defend a phrase coined by neo-nazis, used by the Ku Klux Klan and other known white nationalists, and whether or not you have a bias of your own.
Correction: It's not exponential, it's a quadratic (or polynomial).

(I think the difficult part isn't to accept that some of the energy vanished from the system, it just contradicts our expectation from having supposedly no dissipation elements)
I remember seeing a documentary about this vehicle as a kid. Everything about it just seemed so oversized. I had not realized it was the heavy lift helicopters that eventually outmoded it. Kind of sad, since it can be handy to have the logistic capability to move thousands of tons when you can't fly.

It also got me wondering about what a Tesla version of this would look like :-)
EOS core code never been open source. It it is built on Fedora Linux.

They do have vEOS and cEOS offerings but there is closed source Arista code in all of them.
https://www.theguardian.com/world/2017/oct/16/malta-car-bomb...
I'm going to give you the benefit of the doubt and congratulate you on falling for the con.
It goes to show how sick and immoral a socialist system is. They have no religion or god to shame them of their immoral ways. It engenders a society of moral cripples. Colonialism is needed for godless natives, else they will revert back to cannibalism and human sacrifice. Numerous examples in history of this.
I happened to watch the video, which was a response to a Tiktok user badmouthing Youtube creators. I didn't really see any bullying, just funny retorts. I guess when it comes to Youtube, they just censor anything as long as enough people complain.
https://news.ycombinator.com/item?id=974111

http://to./ used to be a URL shortener.

Either the rules on ccTLDs are different, or it's a recentish crackdown.
I did too, but reading recent news reports, it still exists.[1] I presume that the spread grows when the country is in times of crisis (inb4 "When is Argentina ever not in crisis?"), such as the recent default.

[1] https://www.explica.co/dollar-today-the-blue-dollar-rises-to...
How did you manage to submit this? I tried to submit it myself about the same time you did but got an error that the text could not be more than 2000 characters. How did you get past this limit?
I swear you could generate a 100% realistic comment thread from a Markov chain of those broad topics.
FWIW, building FreeBSD libc (under FreeBSD, obviously) is as simple as "cd src/lib/libc && make all install".
Or Youtube takes an extreme viewpoint banning anything remotely close to content with weapons.
The research communities are too broad and too deep. First you have to choose a broader field such as mathematics or physics or chemistry or biology. You could also think about inter-disciplinary fields which are considered "cool" in the last decade. It has to be a mix of something that interests you and something that you are capable to learn. This is an arbitrary and naive question. I can tell you to work on Millennium Prize Problems but is it really a relevant or helpful answer? I think not.
Cool project! If I need physical access to the board, why would I not program it with a physical interface
Yes, I'm sure it has nothing at all to do with forcing customers to buy OEM chargers for $119 a piece plus tax and shipping instead of buying a generic one for $30.
That is lovely, thanks.
A somewhat relevant project of mine, where you can test how good you are at spotting these sort of domains: https://www.jamieweb.net/apps/lookalike-domains-test/
First thing I thought of! Especially the picture in the header.
No, windows did not require a 125 thousand line program to display hello world.
I think an interesting question following it up is, how do you transfer energy between capacitors then, without losing so much energy? (someone else asked if this is a fundamental limitation)

There are many alternatives. A good start is noting that the inefficiency is actually lower the lower the starting voltage difference:

V1 = V, V2 = V-dV

V' = (V + (V-dV))/2 = V+dV/2

We can define efficiency as the ratio of energy lost by the first to energy transferred to the other.

dU1 = U1-U1' = CV^2/2-CV'^2/2 = C/2 (V dV-dV^2/4)

dU2 = U2'-U2 = CV'^2/2-C(V-dV)^2/2 = C/2 (-V dV+dV^2/4+2VdV-dV^2) = C/2 (V dV - 3dV^2/4 )

n = (dU2/dU1) = ( V - 3dV/4 ) / ( V - dV/4) ~ 1 - 3/4 dV/V (for small dV)

as dV → 0, n → 1. You lose 3/4 of the fractional difference in efficiency, so for 10% difference your efficiency is ~92.5%, pretty great.

Now, there are indeed devices that change voltages without energy losses! (transformers, for example). So if you plug in a variable transformer that keeps the voltage close to the target, your (dis)charging efficiency can be arbitrarily high.

Of course, if your second voltage is 0, the efficiency must start at 1/3 no matter what (which can seem to imply this cannot be changed) -- but as soon as you have a small voltage you can start tracking it and keep efficiency high.

Challenge to the reader: Use quantum mechanics and thermodynamics to derive a fundamental limit of efficiency (which must be less than 1 at positive temperatures) :)
Unfortunately, this happens because reaching a consensus helps in scaling that product/tech/design which in turn means more of that same thing.