skysight-inc/HackerNews huggingface dataset:
Ask HN: What could happen if you accidentally leak your company's source code?
One of my colleagues has accidentally shared the source code of the project of one client for a few days on his personal Github. This project is worth several millions. When our company noticed, they dismissed him.

Does anybody know what can happen to him now?

Do you know if the customer sues our company, our company might sue him?

This has been a mistake, our company knows, and the client knows too, but I feel really worried for him.

Has anybody had any experiences with these kind of situations? Should he search for a lawyer?
Flutter vs. React Native vs. Native: Deep Performance Comparison
“For all governments in the developed world, including the U.S. government’s Medicaid program and the Department of Veterans Affairs, Gilead will charge $2,340 for a five-day course. U.S. insurers will pay 33% more, or $3,120.“
Agreed. It must be a strange time to be alive for people who are not Marxists! Today's political polarization in the US is rooted in the 08 financial crisis, followed by a weak recovery, combined with skyrocketing inequality, and now a pandemic absolutely mishandled by the US administration, plus now a new recession! How could we expect people's political views to stay the same after such experiences?
Geostationary satellites have very well known position and use atomic clocks to ensure they are synchronized. So when you get a signal for 3 geostationary sats you can have both extreme precision in their position and in time delay between your and sat locations.

For LEO sats the sat position is more complicated and they don’t have atomic clocks to synchronize. Now, their position IS somewhat known and they do have clocks so they can work somewhat, just not as well (alternatively since there will be a ton of Leo sats maybe you can do statistical analysis to improve?)
It is impossible to be tolerant of all things. The paradox of tolerance is one way of picking which things to be intolerant toward. There are lots of others, mostly worse. Ultimately though, we all have to pick.
I said that TD was reprimanded for doing things that were at worst on par with other groups. You said “that sounds like TD up until recently”. I said “That’s the point” and went into more detail about my original claim (namely that the double standard targets not only conservatives but all but the most extreme leftists).

As for “ideology of persecution”, that could apply to anyone citing examples of a double standard. At best it begs the question.
In my experiences working in tech for the entertainment industry, I also found that big-budget movies and TV used to be built on "hunches" and "gut decisions"..

There wasn't a ton of market research, iteration or testing, at least not up front. Executives would green-light a project and budget based on their personal experience and/or biases and opinions about what will work and what won't..

Not sure if that's still the case (this was ~10 year ago), but that rarely works in tech.
One problem is, that often you cannot easily tell people or explain to them how bad it is, because "all their friends do it too" and the network effect is particularly strong in environments like schools. You can try at least though, asking them, whether they want to know how it works.
One point not discussed here is by relying so much on app store and apple's walled garden, what do you do when china or other country ask apple to remove certain apps?

Bypassing geo block on websites is easy and there isn't a single source of truth on the web like app store is for the users. Can apple explain why they took down apps on the request of china in HK and how do you think that will play out when no web apps can work reliably on apple devices?

Censorship is a huge problem for app stores. They censor anything sexual but sexuality is part of human nature. They censor anything politically charged but it's part of human nature too. I hope the anti trust fine plays out.

Apple can protect the privacy of people by making it harder for them to be vulnerable by choice. People here point towards stupid users when saying that a normal user won't be able to connect usb and enable a feature. Why can't the same happen with browsers or apps on ios? Why the $99 fee just to side load apps? Why the need for a mac?

Just admit it's for profit seeking reasons. Ads in your app store are a proof of that.
You don’t miss too much. When you watch it you learn the typical cuts. Landscape only works most of the time, with portrait if you want to see two characters standing close to one another in more detail. Sometimes portrait shows multiple shots at once, which is neat. There are supposedly some shows that add hidden information (e.g. portrait shows a character’s phone screen) but I never countered it.

I actually wish the cuts differed more by showing angles from totally different cameras or being colored differently. It would be expensive but seriously groundbreaking. One day.
What is a good usecase for circular dependencies?
Indeed, but unless you are doing some crazy meta-programming, you can keep reusing the same binary libraries, as inside the same company most projects tend to have similar build flags anyway.

Alternatively it is also quite common to use dynamic libraries, or stuff like COM, XPC.
Is it the same Samsung whose batteries were banned on flights just a couple of years ago? I think I'm gonna wait and see on this one.
if you have marketable skills. I would look into contracting. or contract to hire. a lot times you by pass HR that way.

you can be straight up with the contracting recruiter and they might even help you with what to say on your resume.

Also, they can guide you on what opportunities might be a problem and which ones won't

I opened a mortgage company a couple of years ago and got back into software development. The contracting company did care and the company eventually hired me.
He's always been pretty awful and white-supremacist-adjacent.
They also mentioned the solid state battery has a 50% smaller footprint than Lithium. And that's a first run at this. Presumably they could keep the same footprint as Lithium and have a 1000 mile range.
> Free native apps abound.

Yes? I haven't claimed there aren't free native apps.

> Web apps tied to subscriptions are also plentiful.

Fair, but most of the ones I know are usually technical apps or they offer something else that is not about software (for instance, storage more than the app).

> the web is unique in allowing you to actually inspect the source that is running on your machine

That is not unique, nor true.

Uniqueness: you have apps made in scripting languages everywhere. Even for compiled languages it is a decision not to give you the code, not a technical one.

Truthness: many webs are obfuscated on purpose like native apps are.

> you have no way of verifying that the code in an open source repo is what actually runs inside your iOS app.

False, you can definitely verify that a binary matches the source code in deterministic builds and even provide debugging symbols etc. The fact that many projects don't care about that does not mean there is "no way", it just means the overwhelming majority of users do not care.
Amiga in Car MP3 Player
Native apps are much, much more privacy-invasive.

Apple forces you to use those. You have no choice, like on other platforms.
It's possible you interpreted this differently than it was intended as a non-native speaker. In case that's true, I'll note that rather than referring to people who are "religious", "white", or "nationalist", the OP was likely referring to people who are "religious" and "white nationalist". White nationalists are people who want to establish a white ethnostate, and typically this label is adopted by white supremacists who want to leave behind the "white supremacist" label but maintain the same ideology.
don't we all tolerate intolerance on some level/topics?

it seems to be perfectly acceptable to be intolerant to some groups of people and religions/ideologies.
Blog Ad Revenue Calculator: Determine Keyword Profitability
et voila - we have a paradox
Orwell coined the term "doublethink" to describe two contradictory concepts held simultaneously. Something like this:

>Consequences may include social sanctions and violent reactions.

>exercise your right to free speech (which is your right)

Orwell wasn't describing an ideal or inevitable way of thinking, but the result of brainwashing.

Now. When people say that free speech only applies to government restrictions, they're talking strictly in the context of U.S. laws and the First Amendment. Surely we should never consider the possibility that freedom of expression is a concept that predates the United States by centuries and which could possibly live in a grander moral context.
I've seen the non-corporate culture last, so it is not guaranteed that small companies will go this route. So I suspect it is simply a lack of management expertise. As a company grows, even a small one, they hit pain points. If they don't know how to resolve those pains, they seek help. And most of the management help you'll find is how to manage large companies, so that is what they hear, and that is what they follow.
> I don't understand what's the objective here. Banning these apps will have 0 or little financial impact on China

The intent is not financial. The intent is to block the direct access that China has to manipulate and shape opinions inside India. It's to prevent China from opening another front in it's ongoing war with it's neighbors.
It's great to see our team's tool, Deep Space Trajectory Explorer, come in at #2! DSTE is a custom software tool that's being used by NASA Johnson Space Center to design/visualize complex orbits for upcoming missions to send astronauts to the Moon in 2024+!
50% smaller is nothing to be sniffed at.
"Plus, the battery pack created during the research was 50 percent smaller than a conventional lithium-ion battery."

So can we just keep the battery the same size and now it has 1000 mile range?

And - (knows nothing about EV battery technology) - these batteries are liquid cooled, no? Is there no solvent they can run through the battery to "clean off" the crystals that develop?
Join Strategies and Performance in PostgreSQL
...in a lab. I wish battery articles would include in the title whether they are commercialized or just achieved in ideal conditions.
5 Best Books on Algorithms for Mastering the Code Interview
So many. One I remember very fondly is "The beak of the Finch". https://www.amazon.com/Beak-Finch-Story-Evolution-Time/dp/06...
I'm not sure that "absolutely" is the right word for you here.
Yawn. Another battery breakthrough with x10 price...

Far more interesting is this [1]

> china-is-building-one-battery-gigafactory-a-week

> There are 136 of these super-sized EV battery plants in operation or being planned: 101 in China and 8 in the USA.

[1] https://www.benchmarkminerals.com/membership/china-is-buildi...

Tesla of course is a premium brand with pricing power. But can Tesla sustain any sort of real battery manufacturing advantage over China?
That isn't a natural dichotomy, it's silly to break down problems into that sort of black and white ("you're either for us or against us!" sort of nonsense). There are always multiple choices.

The real question is whether reacting with similar intolerance leaves you better off - or has any meaningful influence on the bad actors in question.

Diplomacy is full of these tradeoffs.
The article is light on specifics, but they link to a press release with at least a tiny bit more information. Namely, the pouch has an energy density of 900 wh/L, about twice what Tesla is using. That's huge if true. That's even bigger if there is a corresponding reduction in wh/Kg.
yes, I am Polish.

Lloyds Banking Group is organizing JavaScript meetups[1] in Edinburgh. They even invite node.js core contributors on some talks. They're investing into full-stack JavaScript teams for the user facing applications.

JP Morgan and Chase. Even from the time I worked there was quite a lot of new projects created in node.js. Node.js became approved tech within company. Java is still most popular but teams have quite a bit of autonomy in choosing technology.

I also had RBS and Tesco Bank requiters contacting me for JS Full-stack jobs.

[1] https://www.meetup.com/react-edinburgh/
>The groupthink there is also becoming unbearable

I'm curious - do you mean groupthink in the governance/policy sphere, or in the groups of technically minded people working on the hard/interesting problems? Or little bit of both?
> With a working modern browser, all of a sudden it's at least as functional as a Chromebook. Which means you might actually be able to use the OS as a daily driver in spite of its other shortcomings.

I find it sad that the sentiment is that a computer without a modern web browser is not useful for daily work. And also that those browsers are massively complex and can only be practically developed by entrenched corporations with stable revenue streams.

What's frightening is that soon this might actually become true, if it wasn't before.

And at the same time I see Web+ and wonder when it will ever be standards compliant, much less stable, given the size of the team behind it.
As a relative neophyte in Rust (have gone through about half the chapters in the Rust Book), I recently deployed a small Rust server in DigitalOcean, and was surprised by the compilation speed. The server's code was about 27 KB in size, producing a binary of about 160 KB in size. But it had 92 dependencies, including transitive dependencies, and took 5 minutes and 38 seconds to build. Which was quite impressive relative to the size of the code, even allowing for the not-super-fast CPU.

While I was watching its output, I realized that in Rust, all the dependencies are compiled; I'm used to Java+Maven or JavaScript+NPM where compiled dependencies are used instead, and that tends to be pretty quick (provided your network pipe is wide enough). I'd be curious to learn why Cargo re-compiles from scratch instead of offering pre-compiled binaries as well. I guess part of it is related to different target platforms, but it seems like if the top 5 platforms were targeted and had compiled resources available, you could reduce compile times for those platforms by a significant amount.

On the other hand, the error messages I ran into along the way were quite good at pointing me in the right direction about how to fix them, which saved more time than the extra compile time cost, relative to the Python-based alternative I had been trying to set up before that.
This is true of other brick and mortar stores too. Theres a pleasure in browsing without any intent to buy but with the surprise of finding something unexpected. I hope we’ll see a comeback to regualar stores. Plus all the shipping is a terrible waste, albeit very convenient
For networks, a Raspberry pi with pihole would be great starting step that still works
> Masses attract because they are attracted to eachother is not a theory of gravity, it's a restatement of the givens.

Newton's theory of gravity had been dominating for a several centuries. It states literally this, masses attract because they are attracted. Despite of this it is a very valuable theory even now.

> Theories explain observations, and predict what ought to be observed beyond the data used in their formulation.

A very good theories manage to combine good explanations with a predictive power. But there are countless examples of theories which could give either explanation or predictive power. Moreover there are theories which manage neither explanations nor predictions, but something else. For example they can be used as an data structure for storing and retrieving facts: Carl Linnaeus devised the Linnean taxonomy, which directed biological research for a long time, even there were nor explanations nor predictions.

I'm not sure though, maybe I'm stretching the term "theory" a little? But if we asked functions of Linnean taxonomy in times before Darwin, then we'd find that it's functions were functions of a theory: to collect and to classify facts and to drive research.
To be clear, India has banned most of the apps listed for the members of their army years ago.

Also, many of the apps listed have been removed from the Google Play store several times for violating Googles developer policies and user privacy.

Anyone familiar with Android knows to avoid apps made by DU and CM.

Another little known factoid is that the “Beauty camera” line (Mitu?) has an admistrative level person that used to work at Cambridge Analytica.
I think it depends on the author. It's hard to distill math and science down to something that the science-interested layman can understand and enjoy. I find Natalie Wolchover's[0] writing to be pretty consistently good, for example.

[0]https://www.quantamagazine.org/authors/natalie/
No? I mentioned Muslim concentration camps in China in my first comment. You can be an authoritarian regime that throws people in concentration camps without being fascist, e.g. what the Soviets did with gulags. China’s persecution of Muslims is atrocious.
500-Mile Range! Wow! /sarcasm

How long is a piece of string? As long as you need it to be (as long as you keep adding more string)

Samsung Press Release: https://news.samsung.com/global/samsung-presents-groundbreak...

Concrete claims:

50% better volumetric efficiency for their prototype. No mention of pack or module volume.

> "the ultrathin Ag-C nanocomposite layer allowed the team to reduce anode thickness and increase energy density up to 900Wh/L."

1000 charge cycles.

No information about: temperature range, cell voltage, material cost, manufacturing requirements, impact sensitivity, a million other things needed for a commercial product.

---

I will believe in Solid State batteries when iPhones come with them.
Yep, seems like apple made another move against the web.
What is the case against using a bluetooth-linked 2fa from your phone the way Google Advanced Security does?
I used to listen to Stefan Molyneux about 10 years ago because he had some interesting views on free market economics. Now I look him up on Wikipedia and find out he's turned into a white nationalist. What the hell happened?
China is building one battery gigafactory a week
Quibi saddled a weird new idea for media to a traditional paywall streaming service business model. Irrespective of anything else, that's a bad start.

Traditional media subscriptions work because you know what you're getting - sit down, watch a show that they offer. There's no ambiguity about whether you'll like the sitting down and watching part, it's only down to whether you'll like the particular show. For a consumer its very low risk.

Quibi's medium is new and exploratory, and you don't really know what you're getting both in viewing experience and the content itself as they leveraged no existing IP. If you don't know what you're getting, and nobody else knows because its new, paywalling is a terrible idea.

I'm sure there's a way to make bite-sized media pay for itself, but the path for that is probably as an offshoot of a social app like TikTok or a niche community play that slowly expands out, not some big Hollywood standalone spectacle.
The one that scares me a lot more is how many people I've seen promoting another Reign of Terror (e.g. we should bring back the guillotine) with no hint of sarcasm. I can only wonder just how serious they are and if they realize just how unpleasant that period was for the French (not just the rich and powerful).
This is maybe a bit too personal, but unfortunately I am not allowed to leave my country if I go back because of my mandatory military duty, the one which I do not plan to waste 2 years of my life on.

I miss my family and the city in general, our orchard and the foodporn-quality fruits such as peaches with skin that peels just like butter, sometimes I just question if it is all worth it. And probably is, but it feels definitely unfair to have to choose A or B, not a mix.
Declining eyesight could improve by looking at deep red light: study
> Somewhat ironically, or at least counterintuitively, the US military specifically avoids relying on GNSS for navigating ICBMs, smart-bombs, cruise missiles, or any other systems that must operate in contested airspace

The DoD has been purchasing GPS guided munitions for years because of the economics. They’re significantly cheaper than laser guidance kits and don’t require a persistent designation paint. The downside (besides jamming) is that they’re more subject to user error: I can recall at least one incident where users entered incorrect coordinates and essentially bombed themselves.
It is not. US invading Iraq and Afghanistan was not to expand its territories. You can argue that the invasion was based on false information that Iraq had WMDs or Afghanistan harbored Taliban (which in turn sheltered Osama bin Laden) or you could say that the invasion was to topple dictatorial regimes or you could say that US invaded these countries for oil. Whatever explanation you give it doesn't amount to expansion of territories. Expansion is far far worse. Think colonization. Think subjugation. Think apartheid. Think slavery. This is apart from death and destruction that expansion causes. China is expansionist. It wants lands and more lands. It will do anything to get it. Unless the oppressed country resists it.
July's issue of "Battery Tech Hopium" mag came a few days early. Nice, nice.
Comparing in mileage seems terrible to me. Surely Elon could make a 5000 mile range EV with a big enough "battery" right?
You are free to speak and exercise your freedom of speech no one really disputes that. You are not, however, anywhere guaranteed or granted the liberty to a platform for your dialog. That is the problem that we are encountering today, people are thinking that there are attacks to freedom of speech and confusing that with the freedom of an establishment to defend their property from damages. I think we can all agree that art is a medium for free speech but if you graffiti private property without the permission of the owner of said property than the owner of that property has the right to remove the graffiti. Likewise the operator of a website has the same right to remove content they may consider damaging to the value of their property. The only thing that the first amendment provides you with is freedom from prosecution by the government for statements you make. It does not preserve the right to defame, demean, or slander others or their property or to damage the property in a way contrary to the desires of the owner of that property. No one is stopping you though from making your own platform to spread your own message. Although it is also the right of those you may purchase services from to terminate those services if they feel that it devalues their property. For instance if a dns provider decides that website is offensive it is their prerogative to terminate services as a private owner. Same with any content provider, isp, hosting service or social media website. No where in the law does anything grant you an unlimited ability to say anything you want in a private forum and any private forum is entitled to moderating the content on its properties. I wish people would stop conflating free speech as some sort of absolute. It is not. The only case where a platform must provide services outside of the strictest sense of an intended audience is in through US Code Titles that may be applicable by law such ADA accessibilities (these codes are of course regional and may not apply outside the region in which that service is provided).

Edit: Free speech absolutists, isn't down-voting my comment
moderation? Ironic. How about just replying instead. I'm willing to engage in debate.

EditEdit: I'm trying to reply to everything as quickly as I can but HN is telling me I'm posting to fast.