skysight-inc/HackerNews huggingface dataset:
“Appear weak when you are strong, and strong when you are weak.” The Art of War, Sun Tzu

It amazes me how many people assume China has a strong military without doing the most basic research.
The US government shoulders an inordinate amount of the cost for global trade. It seems fair that we ask countries to open their markets to us.
A Unified API for Permissions and Activity Info from SaaS Apps
Hey HN! I've been building a unified API for permissions, user activity, and configuration information for 100s of SaaS applications.

This can help answer questions like:

- Does user X have read permissions to Google Drive file Y?

- What are the recent failed login attempts to Salesforce.com?

Extracting this information from each SaaS application individually requires manual downloading of access logs, screen scraping, and other cumbersome work.

Some potential use cases include:

- An enterprise search company determining if an employee is allowed to view a particular Google Drive document

- A SaaS security company monitoring login activity across SaaS apps

- A SaaS spend management company determining if there are multiple unused licenses to Zoom

I'd love to hear any feedback you have or feel free to reach out at founders@ironleap.io.
I think housing advocates are simply advocating for cheaper rents and more affordable, better housing, and environmentalists are advocating for walkable communities. It's not necessary to build a 20+ story tower to achieve these things. You could have a compact walkable community that houses a lot of people with 4-6 story buildings too (I mean Paris is..).

I'm not really expressing a preference here, but in my comment noting that with the Grand Bargain it's not likely to result in the outcome of a broad amount of low density apartments, but rather the situation of extremes where you have ultra low density single family houses and then in slivers of downtown where apts are allowed, ultra tall 20+ story residential towers. This is commonly seen in Toronto and Vancouver.
VS Code works on both MacOS and Linux

See https://code.visualstudio.com/download
> I don’t think it would be ww3 as China would get roflstomped by US and Japan.

Yes, a country with nukes would get "rolfstomped". I expect this opinion from a hacker news commentator.
Personally I enjoy learning alone, and prefer reading instead of listening (if the topic is hard enough). For me, it is really hard to focus and think about details when I am discussing with others. If you want to interact with this kind of boring people, the best way might be through the internet rather than in-person.
Wasn't there a problem recently where Google decided to stop supporting a Pixel phone after just 2-3 years?

https://news.ycombinator.com/item?id=30074185 (6 months ago, 683 comments)
Shadow-CSS: CSS-in-CLJ(S)
Blender (and Linux) is possibly the best thing FOSS can offer.
What an evocative story. I watched it in my head like a movie. The moment when you learned you wanted to be a programmer was epic.
Learn how to build a serverless scheduling system
Google did this 15+ years ago, and while the transition took a couple of years, they never looked back. Productivity shot up for all the usual reasons.
The three routes Mr. Modi government has chosen to bypass parliamentary scrutiny and oversight on the law it creates are by bypassing parliamentary committee or passing them through ordinances or as money bill:

- Explainer: How the government makes new laws less robust by bypassing parliamentary panels: https://scroll.in/article/932186/explainer-how-the-governmen...

- How India’s Govt Is Setting In Place A New Structure For A Dysfunctional Parliament: https://article-14.com/post/how-india-s-govt-is-setting-in-p...

- Explained Ideas: How the Modi govt has been bypassing Parliament: https://indianexpress.com/article/explained/how-modi-governm...

- Manmohan Singh raps Modi govt for misuse of 'money bill' provisions - https://www.business-standard.com/article/current-affairs/ma...

- Aadhaar Act as Money Bill: Why the Lok Sabha isn't Immune from Judicial Review - https://thewire.in/law/identity-of-the-aadhaar-act-supreme-c...

- Jairam Ramesh moves Supreme Court against treating Aadhaar bill as money bill - https://www.thehindu.com/news/national/jairam-ramesh-moves-s...

- A 7-judge bench will decide whether amendments to the PMLA could have been made through the Money Bill route - https://www.indiatoday.in/law/story/supreme-court-pmla-verdi...
> The US values many things in its foreign policy, and some of those things are spreading democracy and self-determination.

I think they are valued, but ancillary.

> As for Tibet, if it were on an island and could have been defended by the US Navy, I’m sure it would still be independent.

I think at that point Tibet would be geostrategic. If they were in Antarctica and our Navy could defend we may be considerably less likely to unless there was oil exploration going on or it was an important position for an airbase.
I’m not an expert on the financials, but R&D costs need to be recouped somehow. My uneducated guess is that R&D expenditures are amortized across fabs in the form of indirect costs.
Unfortunately, that's the best I could give to you. Not really intentionally trying to dodge the question. My comments are based on number casual exposure from my personally reputable sources which I don't have time and energy to sort out, as I am not a full time intentional law practitioner.

The best my comments can give is for someone who is genuinely interested in learning history to spend time to look for reputable sources.

HN for things outside of tech industry generally offers sharply lower quality. So you generally should not treat anyone here including myself too seriously.
I like it the way it is currently. Now suppose you add some smartness to website , on what basis you decide which duplicate to remove? HN is the last website I want to add AI to it's recommendation system. We are already being fed so much, on every other platform.

Let community moderate the itself. It's old school and maybe dumb but not everything needs smart ass AI.
I could rant for a long time about notifications. I spend a lot of time curating them. I have them outright disabled on most apps on my phone. I don't allow any desktop notifications on my PC. I've dealt with facebook notifications for a long time. One of the most annoying things about facebook notifications is that I will get notified when other people reply to a thread that I've replied to, even when they aren't replying to me directly. But if I turn notifications off, I don't get any for direct replies to me.

There are very few things I want to be notified of. Mainly I want to be notified when a person has directly interacted with me or with something I've said. I setup an instagram account forever ago and tried to set it up so I only got those types of notifications, but it would give me a notification to essentially just open the app. I couldn't turn that off, so I just disabled notifications entirely. Now I don't even open the app anymore.

I'm part of a team that uses basecamp to communicate, and I constantly have to unsubscribe from new threads where all of the replies are "ok" or thumbs up emoji or whatever. It's annoying, but nowhere near as bad as the "band" app we used before that. That app had the worst notification experience I've ever had. It would give you notifications for all kinds of things that were completely irrelevant to anything. It's the only app I've bothered to review.
I'm annoyed by modals on web pages (along with any excessive JS) as much as the next person, but:

> What's the difference between a dedicated page that has a link "return back to the table", and a modal that you cannot close by clicking on the overlay. And the only way to close it is by clicking the close button/icon which in fact returns you back to the table as well?

I think they tend to happen because (for whatever reason) people make SPAs, which is precisely about having everything on a single page; then opening a new one is slow (thanks to multi-megabyte JS) and contrary to the whole approach. And when you propose to avoid SPAs, it's met with "but Google does that", "that's modern", and so on.

Edit: Actually I've misinterpreted the article (and "dedicated page") and mixed up modals with SPAs, as pointed in one of the replies.
This is about GitLab, not GitHub. GitLab is not owned by Microsoft.
Realistically... Microsoft owns GitHub, and the weird Azure devops-ish solution for git. If an enterprise is on Microsoft, they're going to use one of those two solutions instead of GitLab.

Making IT's life _vastly harder_ to allow employees to maybe use Windows and see a solution the testing team didn't see is not a good trade-off.

That's not even going into how, exactly, Windows is going to make anyone's life better than using a Mac. Realistically, they're at least at parity.

The trade-off here is "make every IT support and supply line more filled with friction" to gain "people can use Windows if they'd really prefer, instead of Mac or Linux". That's a terrible trade-off, and GitLab is making good decisions.
I think there is a large gap between "go solve this large engineering problem, how is up to you" and "here are pre-groomed tickets, do not deviate from them". Do you disagree?
Twitter says Musk’s spam analysis used tool that called his own account a bot
I agree. I’m not even defending Marc here, which seems to be how my comment is perceived so obviously I didn’t articulate the way I wanted to. I was responding to the GP’s sentiment of density becoming the new desired standard. I’d prefer availability of less dense neighborhoods in at least some capacity.
I think you are twisting the truth and slandering someone who has dedicated their life to trying to help others improve their own lives. I think what you are saying here is basically evil. I can't tell if its based in fear or hate, but I am pretty certain it is wrong to its core. I find it extremely disturbing.

I hope you can become more curious and less whatever this is. For your own sake and for the sake of the people in your life you care about.
After WWII, Germany lost a large section of their Eastern Territory to Poland, and everyone from there was resettled within the new German borders. Those people were furious, and as a result German policy was to demand that territory back, and a refusal to recognize the new borders. A couple decades later a lot of the people who grew up there had died of old age, and the new generation had no relation to the old territory. As a result public sentiment changed, and Germany publicly recognized the new borders when it was politically advantageous.

Taiwan is probably going through the same process, just a bit slower since it's not just about territory but about national identity. Each generation weakens the ties to the old "Chinese" identity and strengthens a "Taiwanese" identity, until a tipping point is reached.
I actually found the monkeypox part more interesting:

> If we don’t act right now to contain the spread of monkeypox—if it’s subjected to the same laissez-faire epidemiology, “let it rip” ideology we are using with Covid—how far are you going to let it go? A hundred thousand? Two hundred thousand? A million? Speed is critical. If we quickly work to contain monkeypox, we don’t have to worry about 20 years of having urban rodent pox that spreads to humans. That’s why I’m unhappy about what we’re not doing now. I’m unhappy about letting the cat out of the bag when we still have a bag.
>In East Asia, novelty or "cuteness" of a product, i.e. the look of things, is mostly what counts.

I find it hard to believe that this is an exclusively an east asian thing. Apple spent a decade chasing thinness over all else.
Someone more knowledgeable can probably chime in, but my understanding is that, yes, fabs in general do employ a good number of PhDs.
No harping on cost was done. This is a overhead issue, and the same things apply to IBM and Oracle software. Whenever the product needs artificial management to only deal with the specifics of contracts and licences that's just a drain on the business.
Would you not apply to a role because you aren't comfortable with the main programming language used?

Learning is a part of the on-boarding experience at any new job and technical learning usually pales in comparison to learning about the business domain and company specific practices.
This looks incredibly cool. One thing, the <title> has a typo: Chon Prompt
I'd say avoid high-productivity environments, because they often contain people who love learning; but as a means to an end. They usually won't have much patience for sharing, and could look at you as competition, as easily as an ally.

Being in an environment of exploration is best. Non-profits, foundations geared towards research, etc.

I've not had much luck, finding these places, but, TBH, I haven't really looked. I've generally spent my entire adult life, focused on delivering product, and that has plenty of room for learning. I come from an ... eclectic ... educational background, and often find myself being shunned by those from more traditional backgrounds, so I've learned to find my own way.

Teachers are generally good for the kind of thing you are talking about. They need to keep learning stuff. Trainers for things like bootcamps need to stay up to date. They are also likely to have patience for those still on the journey.

Some of the high-score people on StackOverflow are actually fairly impressive, and are all about learning, but I do get a bit tired of looking up their noses.
Craftle
Don't you sometimes feel the internet is a double-edged sword?

Back then it was you and the computer, and maybe some magazines (well, and maybe BBS'es, but I never got into that). You had time to focus. The only major distraction were games, but then again we have many more today, and ALSO all the distractions of the always connected world.

The advantages today are obvious: every answer at your fingertips, online guides and interactive tutorials aplenty, chat, stackoverflow, no reason to get stuck in your programming journey.

But also, instagram, Facebook, whatsapp, HN...
I never knew about the force touch version of the trackpad feature but I use the heck out of the current version. I guess I'm glad to be spared the pain of missing the earlier version.
It is good, but given today’s interactive capabilities I somehow expected more. Still well done!
What the Metaverse Means for Content Creators
This particular study is just measuring correlation. Sorry, this doesn't count. We were talking about inequality CAUSING corruption.
Would Taro be a good fit for a startup CTO looking to improve their management skills, or is it mostly targeted towards ICs at larger companies?
It's my article. I just got a traffic spike, so I noticed it's here.

I guess the person who posted it checked out the URL that I have, and previously I indeed called it something like stop using modals.

The thing is that they are really OVERused. And right now I'm working on a project where we have modals inside modals and sometime even popup as a third layer. I cannot influence these decisions, but it's TOO much.
>What do we have to show for it?

Go, Rust, Chrome, Android, TensorFlow, PyTorch, tensor processing units, free education material, free email, free chat, data center scale computing... Upcoming there is self driving cars, ar/vr, quantum computing...

We actually have quite a lot to show.
> White Americans have never experienced oppression in America. Full stop. Europeans typically are not racialized and do not identify as white, instead as Italian, German, etc. This discussion is obviously about whites in the US.

Wow, this is an incredibly stupid comment.

If you simply looked at the history of Italian and Irish immigrants you would know so.
The PRC could blockade Taiwan rather than engaging in the enormous task of outright invasion, but you're right, the resulting economic fallout would be immense blowback to them. China's government throughout all this, regardless of Xi's rhetoric, has been engaging in slow and steady, non-disruptive actions. Saber-rattling with military exercises is one thing (there have been multiple Taiwan Strait crises already in past decades), engaging in open war would be hugely disruptive both to the international order and to the international trade that the PRC has built its rise upon.
Amazing sum up, thanks. Just though, I'd say that neither is a secessionist (both want 'one china'). And technically the PRC is a bunch of rebels that are illegally preventing the Taiwan govt from exercising their democratic mandate.
> A good day is one where I get to write lots of code.

In my 60s now. Same.
Then you've never talked to any VC or angel investor.

A primary concern of any investor is whether you have a defensible 'moat" for your product or service - can you make something that will then have a high barrier to entry of competitors.

If you cannot articulate how you will have reasonably solid protection from patents. copyright, or trade secret practices, good luck getting investment.

Your only strategy will be to somehow make & stock ready to ship as much of your easily copied product as you can before promoting it, and hope your promotion, marketing, and initial sales are a huge hit BEFORE some Chinese rip-off artist starts marketing it on AliBaba in single-digit days. I've read of cases where people had their product literally found for sale on Chinese sites before their first marketing & customer shipments started, because the design was ripped off from the factory.
> If I'm going to read one book about Bell Labs, with the goal of learning things I can apply to the current day, which book should I read?

The "Idea Factory" by Jon Gertner comes to mind. It is quite accurate.
I started reading through/doing the exercises earlier this year and I noticed there was a lot of "cute" tricks in their code examples, such as loops that perform functionality that's all defined in the control flow definition (init/condition/increment) of a for loop, and instead of a loop body it's immediately followed by a semicolon.

Perhaps they're just to give you a better understanding of the more minor details/intricacies of the language, but I couldn't help but think with a lot of their code, if I saw a coworker write something like that I'd roll my eyes that they didn't do it in a more obvious way.
You can build really fancy UIs in it so you can use it for basically anything.
I am running a Linux laptop, and I regularly run and test code on Windows, macOS, FreeBSD, OpenBSD, NetBSD, DragonFly BSD, and illumos. Basically, all the systems Go supports minus Solaris and AIX because they're proprietary and I can't "just download" them AFAIK, and Plan 9 because I found it too confusing/hard to set up (and is so obscure I don't really care too much either).

The "Pixie dust" is QEMU and a zsh script.

GitLab doesn't outright ban Windows for any and all usages; you just can't run it on your laptop as the main system (although exceptions are allowed).
At the same moment, the rest of the works is realizing the fact that us pretty much dictates what happens around the world.

Want to build your own x86 Chios? Guess what? You can't because Intel/and won't let you and even if they did , if it were one of the "not our allies list" people, the govt will step in.
Same for Netherlands fab machine makers. They dictate who can they sell to or not..

That is why nations are investing in stuff like risc-v.

Tomorrow MasterCard/visa can be "ordered by govt " to pull out of a country and suddenly their card economy collapses. Unless they have an alternative, like India does with rupay or UPI which is being exported to other countries as a technology they can locally implement.

Same for stuff like aws or Google or github or basically the entire american internet giants.

You know if tomorrow whatsapp is ordered to stop service in say India what will happen? Without a local alternative already in place, WhatsApp and ipso facto us govt can literally hold that country for ransom. Whatsapp is a silly example but think about it.

Sure China is bad for labour but its not like Americans aren't fighting anszon for Union rights or for $15/hour pay and benefits? I'm not trying to say they are equal, just that its a spectrum.

For non Americans and non Chinese, Be it India or Russia or Iran, these two nations are just as offensive in different manners and it's just a matter of perspective
UUIDs have always seemed to be an over-engineered solution to a minor problem. In the cases I've seen them used folks are trying to get away from auto-incremented identifying serial numbers. Ostensibly, this is because it makes guessing other IDs in the database (or whatever) fairly simple and that could be a source for leaking information.

To me this is just security though obscurity. Just because I know an identifier doesn't mean I should be able to do _anything_ with it. If there are contexts where you really can't share the ID you should salt and hash it and use that value.
U.S. made nuclear submarines are really interesting from that point of view.
We had technology in 1960s to make reactors which need to be refilled once per 15-20 years without significant incidents.
But because of the fear of misuse and technological theft, we have energy crisis.
No, that's still not true.
Telemetry can be turned off. You can do it at org level, at department level, or individually. Use WPD, best tool for this.
> However, the Emirates cannot trade with Israel,

that's a ruse used only internally to foment hatred against "the Jews"

https://foreignpolicy.com/2016/08/25/the-uae-spends-big-on-i...
Oh, are you aware of how "Wu Mao" or "US dollars" parties work? Teach me, so that I could start earning some "immoral" income. Or we might actually can work together on this.

Jokes aside, I got my impression on general history and personally deemed reputable sources. Nothing from what I said would have comprehensive references, because I am not a full-time political practitioner.

Feel free to draw your conclusion, but opaque derogatory comments help no one.
That must be the problem I had. I gave up using an external monitor because it turned my macbook into a toaster
At least since the 2018 "Blood Moon" eclipse

https://imgur.com/gallery/2tzJh9O

https://twitter.com/JanCastenmiller/status/10229494886028820...

https://www.theguardian.com/science/2018/jul/28/space-statio...

https://tineye.com/search/d719f24d68e9175cab643a8997dd24e285...
This is ridiculously cool. From the citations in the full paper, it seems like they're using PaLM as their LLM; makes sense, since it's Google research. But man, we're now in the age of, basically, robots that can think about their surroundings, reason about what needs to be done, figure out how, and then execute the plans, including replanning when the environment or request changes, and communicate every thought along the way back to humans in our own natural languages.

I'm nearly 32 years old. Please, please, if there's any divine guidance determining fate, please let us have adaptable and generalizable personal humanoid robots before I die.
There's not reason you can't have a "dedicated page" with a back button (or even respecting the real back button) in an SPA. Modals are created by lazy designers, devs only implement them.
Ask HN: Two Senior Engineers on a Team?
Would you say it is a bad practice to have two senior engineers on a team, where one is the team lead and the other is not?

To me this just seems like a waste of a senior engineer, you could replace the second senior with a mid-level and have the senior lead their own team, which allows the mid-level engineer to grow and reduces head-butting.
both MSSQL and Postgresql support fill factor as well, which nobody seems to mention. Setting a lower fill factor leaves more room in the pages to avoid page splits with random writes.

Also random writes can be beneficial in that you are not hot spotting the last page as you are with sequential ID's.

Its not black and white, there are some good advantages with random ID's but you need to manage them properly.