skysight-inc/HackerNews huggingface dataset:
> Why does Kate have a different file picker than Gimp? Why does LibreOffice give me yet another file picker? On MacOS and Windows, the file picker is a solved problem.

Because these file pickers are implemented by two different GUI toolkits that have a different idea of how file picking should be done. This isn't anything new, Xaw programs used their own (handmade) file dialogs, Motif had its own, Java/Awt had its own, Java/Swing had its own, etc. Unless you want to force everyone use a single toolkit (which is unrealistic for several reasons) you cannot get the same behavior everywhere.

Note that this isn't specific to Linux, in Windows and probably macOS you get the same unless you stick to applications using only the native APIs and avoid any cross platform application that use Gtk, Qt, Swing or any other toolkit that cannot tie itself to a single native widget library (and TBH even with some applications that do tie themselves to Win32, they sometimes end up implementing their own file pickers anyway).

And of course file pickers tend to be the most shared of GUI elements, when it comes to the actual UIs themselves even in Windows you get a ton of different toolkits, styles, behavior, etc that totally ignore the native look and feel (assuming there is one since Win32, WinForms, WPF and UWP all behave from slightly to totally different from each other, depending which ones you compare).

> In this case, it seems pretty clear that Wayland is the winner and we're just waiting for everything else to catch up.

Wayland is very restrictive for many uses and actually lacks several useful features compared to X11 - some it pushes towards the applications in the stack (so instead of a single solution that is shared among -say- 1000 clients you get 1000 solutions), while other stuff are simply impossible (unless you are XWayland which gets special status, leading to the ironic situation that even under Wayland the X APIs provide you with more functionality :-P).
In my experience it definitely leads to dates, hookups and relationships. While there will be the occasional fake profile or someone who tries to boost their instagram account, it‘s rather rare in my area and easy to distinguish from users with actual dating intentions, regardless of how serious they are.
Good points! Previous thread on vision insurance: https://news.ycombinator.com/item?id=15736573
I think you're underestimating just how many people believe the opposite. I wouldn't be surprised if something along the lines of "you know, it's great we have tech for our toys and Facebooks, but what really matters is making real stuff" is a majority opinion.
The "concept" of allopathic medicine was invented by homeopaths.
Instant 10k is useful and efficient, thank you
Holding internet companies for such responsibility can go a long way toward undoing the capacity of the average joe to go viral, unless approved.
Nearly every trucking firm I've worked with has their own in-house shop, with mechanics and everything. Turns out, outsourcing the maintenance of vehicles that experience tens of thousands of miles every quarter is more expensive than just paying your own people to do it. Same with municipal fleets. Same with taxi fleets.

There are many variables that enter into a cost-benefit calculation when thinking about this. But what it really comes down to is Scale. Projects on the low end of scaling will find it cheaper to outsource everything they can. But at higher scale? Think about it like this: Instead of building their own data centers, does it make sense for Amazon or Google to just colo space in other people's data centers to build AWS or GCP? Of course it doesn't.

So, those are the bounds of our "scale scale". At some point it becomes cheaper to move off managed products and onto VMs in the cloud. At some point after that, it becomes cheaper to deploy your own metal. The challenge companies need to solve is determining where they're at, and cost-optimizing parts where they can save money. A great example is Netflix; they're nearly totally on AWS, but they've cost-optimized their CDN significantly to save money on bandwidth by getting out of AWS.

QoS is another consideration. Deploying your own metal is hard, and the quality of the service you provide might degrade. But don't marginalize the other end of that scale; there are QoS downsides to going full managed like with Lambda. Its another variable to consider.

Lambda -> EC2 is the same kind of cost-optimization movement, just further down in scaling. At some point Lambda will become too expensive. Then, you'll probably want to move to something like managed Kubernetes/ECS, which has almost no administrative overhead compared to just EC2 instances but still makes scaling relatively easy.
https://www.prerender.cloud/ it makes server-side rendering for React and Angular easy. Also works with CloudFront via Lambda@Edge - https://github.com/sanfrancesco/prerendercloud-lambda-edge
So some woman is sad ("triggered") because she doesn't look like a model from an ad on Instagram. How is this relevant to Hacker news?

Maybe the message is that uBlock origin should be installed by default on every browser?
It’s not directly focused on mental toughness but I think it indirectly explores the themes of mental toughness: Marcus Aurelius’ “Meditations”.

Really any text that explores Stoicism by it’s very nature also explores the different aspects of your mind that people traditionally refer to as “mental toughness”
Well, it’s easy. Don’t use Instagram.
I agree entirely. We should be shortening the path to permanent residency, not stringing out a temporary arrangement indefinitely. Having intelligent foreigners commit their future to the US is a win for everyone involved. Temporary foreign workers who are expelled after a short period creates an antagonistic relationship with the US, creates instability for workers while they're in the US and sends valuable assets back to their home countries.

Also, ratios should be in place to prevent abuse of immigrant visas. Ensuring that employers are only able to utilize immigrant visas when they're already employing a significant majority of Americans is also a win-win and prevents abuses like the consulting companies that hire almost exclusively foreign workers. It also socializes immigrant workers better to ensure that they're not isolated in immigrant groups with little exposure to US culture and language.

As an American, I'm less concerned with where someone was born than I am with where they want to live their life, raise their family and retire. The current H1B program doesn't seem aligned with getting immigrants to commit to a life in the US. It seems designed to encourage foreign workers to put their foreign life on hold for a few years to come to the US, make a lot of money (relative to what they'd earn in their own country) before returning to resume their lives there.
How to hack android online game servers
> So we're in the everything bubble and there is no pin in sight.

Indeed. The only solution is to either 1) hustle incredibly hard and hope for success/a liquidity event/etc or 2) walk away/opt out and find another economy where you can succeed.

I'm honestly shocked that more first world countries with low birth rates below replacement rate don't appeal to US citizens to import them, train them, and have them join their society as valued workers (vs raking them over the coals in the US with student loans, a broken healthcare system, underpaid/non-existent jobs, and housing that might be forever out of their reach).
I don't think this project needs more money; they need people who give a shit. (There's a setting that makes the site functional, but you have to register to get to it? What?)
"That is why there is no upfront cost to attend Holberton School. Once our graduates find a job, we only charge 17% of your internship earnings and 17% of your salary over 3 years."

https://www.holbertonschool.com/education#tuition
17% for three years according to their website.
Here's a simple formula to help with all of this:

macroeconomics = survivorship bias
Worked on SMS Privacy (which I actually started towards the end of 2016) offering anonymous SMS connectivity paid in bitcoin: https://smsprivacy.org/

And a small project but a good one: the world's most secure encrypted pastebin (maybe), using ipfs: https://hardbin.com/

Also quit my job and now full-time supported by my own projects.
Norway has one of the highest gun ownership rates, and until some years back the territorial army had people keep their AG3 service weapons at home. Yet it's only been for time limited periods that police has been routinely armed, and they certainly also doesn't act like the US. I don't like guns, but I also don't think guns alone are sufficient to explain the high firearms related crime rate in the US.

Some of the differences:

1. a different gun culture. Most weapons in Norway are actually for hunting, and no that does not mean semi-automatics etc.. A few are for firing on a range, but there's no culture for seeing a firearm as intended for self defense, and the laws specifically makes it hard (you need to store the weapon locked down and inoperable, and generally you'd e.g. store gun and ammo separately; if you have time to arm yourself, police will question whether or not you had the ability to get away and call for help instead - if the threat is not immediate enough you risk a murder charge).

2. A culture for not meeting suspects with force unless they're armed, and generally focus on de-escalation, and for taking weapons use extremely seriously. E.g. officers need to account for every time they take their weapon out and every bullet fired.

3. A legal system that is generally lenient but where there is a clear path of escalation in response based on how dangerous a crime is. E.g. a robbery carries a sentence up to 5 years if unarmed, of which you'd generally serve less than half (and most people won't get the maximum sentence) - as an example, a robber that participated in a stealing one of the instances of Scream and Madonna by Munch got 2 years and 6 months a decade and a bit back.

Arm yourself, and you risk an additional 7 years. Kill or seriously injure someone during a robbery, and you might get 21. As an example, one of the largest armed robberies in recent Norwegian history, that ended up with one dead poice officer, (the "Nokas" robbery) ended up with one of them getting 18 years, and several others getting 16. That's a pretty substantial extra risk on top of the risks involved in a shootout with police.

Combine that with #2, and criminals have a very strong incentive in general for not being armed - by not arming themselves they don't risk being shot at by police, and they cut the worst case punishment from 21 to at most 5 years in a robbery, for example.

Compare to the US, where a robber has little reason to want to take the risk that police won't shoot even if they're unarmed, given how often we hear of police firing even at innocent civilians. Couple that with high sentences and the incremental cost in using firearms to prevent police from catching or killing them is low.
"increasing demand" doesn't even make sense, is the problem.

The world already has infinite demand. As in people already want to own an infinite amount of things.

I would love to own a thousand mansions. If someone were to mind control me and make it so that I doubly want more mansions, that doesn't effect at all whether those mansions exist.

People "wanting" things doesn't make them exist, because society already wants an infinite amount of things!

Suppy is the act of creating things of value. Demand is just the method of DISTRIBUTING those things of value. But at the end of the day, what matters is creation.

Your restraunt example doesn't work, because imagine if I had a magic machine that could instantly create hamburgers for free. I could easily find people in the world who currently "demand" this food, for me to give it away to.

THAT is what it means to "increase supply". Creating things more efficiently for less resources is the exact same thing as having a magic machine that creates things for free.

Or in other words, if you haven't created more things using less resources, then you haven't actually increased supply.

Demand is just the method of distributing those finite amount of goods.
Google’s 2017 Year in South African Search
It leaks information at any angle.
Why does it have to be all or nothing? She likes the product, she just doesn't like the bra ads.
About "indentured servants" - there is always a choice - I'm specifically talking about H1b workers and not people who are running away from their home countries for their lives.

The choice is not to play this game and go back. Of course there are consequences, but its all about the mindset and staying away from building one's life/mindset around "h1b -> greencard -> citizenship". For me, it is one possible outcome in my life.
I agree that you need to make the right decision depending on what scale you are at. The reality is that most companies are at the scale of a small shop, and it would be better (total cost of ownership) to use Amazon's highly automated services.

However, every sysadmin I've met (and I used to be one) would like to think they are managing Walmart's trucking fleet, when the reality is they are more like Joe's local furniture delivery.
The 10,000 stings thing has been disproven Im told.

Unless you have very aggressive bees, you can open them up and do stuff without them getting too upset. You can see their posture change, then you get the odd one bumping into you, and then it’s all on. However squash a bee and it stings, open them in bad weather or get water in there and you will be punished. Having smoke handy helps and having a veil on keeps your face beautiful for work the next day.

Wasps are a different story and they seem to have aggression and no other state.
How scientists are expanding the spectrum for SETI and the search for alien life
IIRC a standard size lava lamp used much less than a 100W bulb. So your costs are maybe half that.
Often times devices of secure randomness run the bell test to ensure that they aren’t being tampered with. I believe that blasting the counter with a gamma ray beam would indicate this.
One other thing to mention - truck maintenance still requires human technicians - we haven't automated it yet so that robots could do it, but system administration most definitely can be automated at Amazon scale.
I used to do exactly this. People make appreciative noises when you're beep-beep-beeping rapid-fire while they're waiting on their cashier.

However, to level up my game, though, I've switchted to their app (on iPhone, at least) where you scan things as they go into the cart, then pay directly from the app, and show the electronic receipt on the way out.

Only one line, (the one to get out.) minimal muss and/or fuss.
Typically bees are used for honey or pollination, not both. Benefits to the local farms from a honey operation like this are a positive externality. If farmers were (knowingly) relying on it they'll hire pollinators (as they would if they honey people weren't there), not let the crops fail.
Notably after most UK police shootings - and there's rarely more than one a year, sometimes years without - police ends up having to apologize and face demands for tighter rules, but the opposite rarely happens. There are occasional demands for police to be more regularly armed, but they've not gotten very far.
I'm talking about all the lower levels below your code. Of course, you need to do something to upgrade your code, but when was the last time you ever had to SSH to your Lambda function and install an OpenSSL patch due to a security vulnerability?
If everyone stopped posting unsubstantive comments to Hacker News, it’d be awfully quiet.
For me this is economics propaganda from a mainstream economics info company, as biased as you could be.

Keynesianism is simply the idea that the people in power could avert crisis doing terrible things like printing money, which is what QE (quantitaive easing) and negative interest rates is.

Of course the people in power love to have all the power. Those people love taking automatically economic resources from you(and billions of other people) and doing things like traveling the world in their private jets fighting "climate change".

I personally know those guys. They believe you should not overpopulate the world having kids, and that you should always use public transport, while they use multiple mansions and private jets consuming more energy and generating more contaminating in a single move than thousands of families do in an entire year.

But they believe they are special and they could do it. Because they are luminaries.

Keynesianism is the dogma based in Keynes that justify, the 0.1 percent automatically taking 3 or 4 percent of the wealth of the world every single year in order to "save the world".

We have not lived yet the consequences of printing that much money. Debt has grown exponentially and this can't be sustained and it will stop.

This is propaganda for us letting them double down.
(September 2009)
Generally speaking, one cashier watches over six or seven payment locations. The backend process takes the "suspended" transaction from the surePOS system and recalls it on the live u-scan system for payment tendering. At that point in time, based on a few factors, such as, is this your first U-scan purchase with your Kroger Plus card, do you have any high shrink items, does the weight of your bagged items vary greatly from the calculated weight of your scanned items, is this a 'random loss prevention' scan, is your Kroger plus account flagged for "high audits", and a few other factors, the cashier will be prompted to go over and do an item for item audit of every item in your purchase.
While the H1-B program needs a lot of reform this isn't it. This is an attempt to get a quick change by throwing out a lot of people waiting for green cards rather than addressing the true issue of a lot of those visas being for cheaper workers rather than rare talent.

It's a good thing for America to bring in the brightest workers. It's not a good thing when American jobs are given to cheaper foreign workers. Disney is merely the tip of the iceberg, a case where the company goofed up and didn't put a secrecy clause in the agreement.

I rather like bhickey's suggestion of basing it on salary.

I also would like to see a change to contract law--allow someone to go before a judge and ask that a secrecy clause be struck as not in the public interest. This would only apply when the actions being protected appear to be basically illegal activity even if it might be within the letter of the law. (Being required to train foreign replacements certainly skirts the intent of the H1-B as it's obvious there are suitable Americans.)
Why are hackers so all-or-nothing when it comes to customer feedback? Either you like everything about a product or you don’t use it. There’s no room for complaints or other feedback about something a person likes overall but doesn’t find to be perfect?
Employment based applications are current for people from most countries. The big exceptions are Chinese, Filipino and Indian immigrants.

There is a 2-3 year wait for 4th category Mexicans, Guatemalans, Salvadorans, and Hondurans. Given the possible qualifications for this category, I suspect that these are mostly immigrants subject to child abuse, neglect or abandonment within the US.

Immediate relatives (spouses and minor children) of US citizens can always get a green card. I think that this process is fairly quick.

The family based process looks much more backlogged. If you're a brother, sister, or married (adult?) child of a US citizen, you will be stuck waiting for at least a decade. If you're an unmarried adult child of a US citizen or green card holder, you're looking at a 5-6 year wait unless you're Filipino (10+ year wait) or Mexican (20+ year wait). If you're the spouse of a green card holder, the wait is "only" 1-2 years.

https://www.uscis.gov/visabulletin-jan-18

https://www.uscis.gov/greencard/immediate-relative-us-citize...
I don't think it's "some woman" who was triggered here. The article is intellectually interesting and therefore clearly on topic for Hacker News. It takes a path through some provocative material, of course, but hardly gratuitously.

Meanwhile, your comment violates the site guidelines, first by
crossing into personal attack, and second by failing to do this: "Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize." And I'm sorry to see that you've been violating the site rules quite a bit, already. We eventually ban accounts that do this, so please read the rules and take the spirit of this site to heart. That means civil, substantive comments only, and no more rants or flamebait.

https://news.ycombinator.com/newsguidelines.html
The Last Jedi, toxic masculinity, and showing your place in all this
1) Finally go the sign off on our new server infrastructure

2) Waste a lot of time trying to get an ePOS solution from our ERP supplier, whilst also looking at alternative ERP suppiers!

3) Got our eCommerce doing double digit growth

4) Developed lots of quirky adhoc tools for keeping addresses tidy in CRM that need writing properly

5) Got better at Python

I am now really in need of a new job, something in business/IT consulting. I want to be my own boss, but don't have the resources to start my own business right now. Tired and unfulfilled
I already have an EU passport. So that makes it easy for me to immigrate to most European countries.
> if a ditch digging machine does all that work automatically the result is... that the ditch diggers starve to death

What evidence do you have to support such an implausible claim?
If you use a closure that capture some local variables and not a constant lambda, then you're right, the allocation will kill you.
But, we are only using lambdas that do not capture anything so the lambda is allocated once by the VM.

And we are using the new shiny System.Logger [1] so the VM logs and the application logs are interleaved. We still have some wrappers to redirect log4j logs on the system logger because few third party libs are compatible with the system logger.

[1] https://docs.oracle.com/javase/9/docs/api/java/lang/System.L...
Apple, Google and Facebook are not the issue dude. All the companies that have yet to really be profitable are. Come on, that's obvious. Of course those companies which have cash on hand would be fine.
I'm not affiliated with ShaderToy, though I love it. Would you mind clarifying all three of those points? What does giving a shit mean, do they need volunteers to work on the site? And are you sure they don't need money? $700 / month isn't much; having run a lower profile website myself, I'd be surprised if $700 even covers server costs, and it definitely doesn't pay anyone for their time. And what is this setting that makes the site functional? I want that.
There were investigating flashing the ME for their compute cloud processors [0] to avoid the possibility of an ME vulnerability being exploited, which would greatly harm their reputation.

[0] https://www.youtube.com/watch?v=iffTJ1vPCSo
It is unlikely that it holds any utility, or that it is practical in any capacity.