skysight-inc/HackerNews huggingface dataset:
U.S. Navy wants new destroyer with lasers, hypersonic missiles
None of those are monopolies.
why should I use Zig coming from Python/Go ?
> There are many industries that lead to natural monopolies

Care to provide a list of these industries conducive to natural monopolies that have monopolies broken up by government?
Exactly! Curiosity, desire to learn and also desire for satisfaction that it brings, when you finally got something like this running. It wasn't all shiny though, that audio issue became pretty frustrating until I discovered that it is not an issue of audio code itself, but the Watch speaker just does not like certain low frequencies.

Also, thanks for the kind words!
> Managers exist on the same spectrum as any other role.

Anecdotally, I've met a lot more people who don't want to manage (again) than people who don't want to be ICs. I think that indicates a different "spectrum" of humanity.
Career Paths from Senior Software Engineer and Beyond(Discussion)
Hey been pondering this for a bit but I'm trying to figure out where to go from Senior Software Engineer and beyond. I feel like typically the next step is moving up to Tech Lead or Management and I don't think it sounds fun to manage a team of engineers as far as career growth etc. I do enjoy designing processes on how we hire people, writing code tests, and interviewing. I also think I have a good eye on the product, what we should do next etc. I've also been told that if I wasn't in tech I would be great at sales FWIW.

Writing code started as a hobby for me that I turned into a career. I've been pondering the idea of where my career could go if I wanted to be more out of the code from 9-5. I would then turn coding back into a hobby that I do just for me and work on only things I find interesting. If I had to choose between Tech Lead and becoming a Manager I'd be more interested in Tech Lead. Although I think I want to be less technical/in the code and more operational.

Currently work at a small startup that is on the verge of landing the funding for a Series A round so as far as roles, the sky is the limit as I'm in on the ground floor. We already pretty much have a shoo-in for the head of engineering(only have 1 staff engineer atm) so that's probably out of the question.

Looking for suggestions on where I could go career-wise, all insight would be helpful thanks!
The docs also say these aren't meant to be used for performance tuning but instead of protecting against regressions if the schema changes. I guess the idea is once you're done and happy with performance you check the query plan for time-sensitive queries and update the relevant statements with INDEXED BY to reference the indexes they're already using.
If requests and a basic web framework was in the standard library you’d effectively eliminate the majority of my dependencies.

Honestly I doubt see the package management being an issue for most end-users. Between the builtin venv, conda and Docker I feel that the use-cases for most is well covered.

The only focus area I really see is better documentation. Easier to read documentation more precisely. Perhaps a set of templates to help people getting start with something like pyproject.

It feels like the survey is looking for a specific answer, or maybe it’s just that surveys are really hard to do. In any case I find responses to be mostly: I have no opinion one way or the other.
It's not some immutable law of capitalism. There is such a thing as diseconomies of scale, where firms that are too large end up being less competitive and unable to innovate as quickly. Once they reach that size they might borrow the power of government to crush competition and retain their monopoly, but at that point we may as well it call a feature of socialism, not of capitalism.

I'd be surprised if in twenty years of market forces (that is, assuming neither government antitrust action nor cronyist behavior making competitors illegal) more people were using Google for search than they are now.
Right. I expect in some circles, "quiet quitter" will become a minor slur for anyone not devoting themselves heart and soul to their job.

There is a massive spectrum between "checked out" (which is what I understood quiet quitter to be a rebranding of), and "it's just a job" where you do what's expected but leave it there. The latter is perfectly ok in most cases.
Django too.

> By default, the configuration uses SQLite. If you’re new to databases, or you’re just interested in trying Django, this is the easiest choice. SQLite is included in Python, so you won’t need to install anything else to support your database. When starting your first real project, however, you may want to use a more scalable database like PostgreSQL, to avoid database-switching headaches down the road. [0]

[0] https://docs.djangoproject.com/en/4.1/intro/tutorial02/
> There are lots of commonly used idioms that are gross, especially in certain contexts.

That is just like your opinion.

> And your investments are objectively less important than people putting food on the table.

That's just not how publicly traded companies operate. Good luck to these people, I'm sure they can continue to contribute elsewhere, earn a fair income and continue to put food on the table. I feed my family by investing in publicly traded companies, and therefore would like the most amount of profit for the least amount of investment. If these employees truly fear being laid off they can work harder, good, valuable employees are rarely let go in any business.
Not monopolies.
I think we are saying the same thing.

LA limited housing density via multiple policies (including a residential height limit) [0].

When I think of high density cities with low transportation problems relative to the number of residents, I think of Asia where there are not building height limits or setback laws.

[0] - https://www.jamescolincampbell.com/los-angeles-height-distri...
So, you're declaring an open season for cyberattacks against Israel, Russia, China, the US, and the UK? I'm sure I've missed a few others, but they are at the top of my list for 'decades of aggression'.
> Faster code is an irrelevant distraction 90% of the time.

Time is money. Say a piece of code is executed zillions of times by hundreds of millions of customers. What would seem like a negligible increase in results, even a few milliseconds, adds up at scale. Sparing resources translates to saving money, both in energy expenditure and in squeezing in as many transactions in a minute as possible.
So will the same rules be applied to all internet sites where any cases of this happen? Like let's say youtube, facebook and twitter?
How many cycles is that battery good for, and how much would you have to be paid for some of those cycles. Electricity where I live is 10 cents a kWh so there is $6 of electricity in your battery. Is it worth an extra cycle
Every day, halving the life of the battery, for some fraction of $6?
No, I don't have any tips for this, sorry.

I believe that the decision process - generally speaking - is not "let's think how to solve this problem":

1) let's see if anyone already invented a solution and is willing to sell it to us

then if above doesn't produce results:

2) let's hire someone to solve this problem

It is directly "let's hire someone to solve this problem" or directly "let's see if a recruiter can find someone to hire that can solve the problem".
> [Javascript] has prototypal inheritance which is mostly notable because it is different from the more common class based inheritance, not because it is particular good in its own right.

With a caveat that browsers implemented a rather crippled version of it. Much goodness of prototypical inheritance comes from most everything being an object - as with smalltalk. Regrettably browser implementations chose to half-ass this. How many types does browser js have? A few primitives, and Objects, ... and great many implementation types poorly pretending to be Objects, backed with code which accepts only the implementation type and chokes on real objects. They repeatedly implemented a fast path and stopped there, ignoring the general case. Imagine how poorly smalltalk would work if similarly compromised. Browsers have gotten less bad in this respect in recent years, but far too late for the community to learn prototype style programming from js.
I look at it differently. In my opinion Android started popularizing SQLite. For me kudos go out to Android, for integrating it on a large scale.
Zig indeed is pretty nice, i just wish it had some more sweet to it

- my math type with + - * / overloads

- simpler way to fill an array, i can never remember the syntax, it doesn't feel natural `[_]u8{0} * 10;`

- smarter type system, i am tired of casting everything twice

A good language is not a language set in stone, a good language is a language that doesn't make me feel like i have to suffer because they made a stupid decision years ago and they refuse to make it better
That was the first suggestion that Kelley posted on the issue and judging by the reactions people weren’t happy with it.
Auth is zero value-add table-stakes requirement with a lot of complexity. I haven't a seen a product with enough built-in. External provider is the way to go.
Prioritizing investors' interests over employees' interests is one of the biggest reasons our economy and society have been declining over the past while.

Investors like you need to realize that your money is never, ever as important as people's lives and livelihoods.
If monopolies are always the end result in a free market, name one.
Yes sir, you are right, exactly :-) This is highly rewarding in and of itself. + learning experience.
> It makes no sense for Apple to be worth $1 Trillion more when their business is on a much more shaky ground.

Apple is bankrolling TSMC R&D and their supply chain is a tightly run ship. The market is rewarding them for these moves.
Industrialized agriculture would push most people out of land (no longer need that many people), and if the people can't find alternative for living they would be even poorer. If there are better alternatives, peasant farmers will chase them anyway.

There are also better ways for agriculture which can regenerate soil, maintain biodiversity while at the same time harvest more.
Not just that. The fact that it's satire means it's at least somewhat true.
I haven't had too much trouble with packages missing binary wheels lately. Occasionally Pip doesn't find them, which looks the same as if the binary wheel were missing entirely (looking at you, Anaconda-- update your Pip already), but they're usually there.

But I'm usually on Windows if I need binary wheels; maybe the coverage is a bit different on Linux.
I think that has been a thing in Japan for a long time!
Also deleted account. If anyone from Otter.ai is here - don't do this, reverse this change, email anyone affected since the change and apologise and also, i'd advise you to lawyer up.
That makes unused variables "used", which defeats the point of the check.
> how would rocks behave when exposed to acid for thousands of years

Rocks react quite well. Most are stable, some others absorb the gas and become stable.

It's water that doesn't deal well with it. It carries the CO2 into any place that it goes. What concerns me is that it's common to extract methane from places where it's trapped between a solid rock and a porous one full of water. That does not look like a proper place to inject CO2, but it's the place that every article about CO2 entrapment talks about.
You can buy a hell lot more computing at 2k/vCPU to offset performance tho.

And hiring a consultant for few months to fix your performance problems is also a hell lot cheaper than paying that much per core, forever.

> Akka and their larger customers will make it work. The purpose of this license change is to give Akka the ability to get their customers to the table in the first place.

Translation: They depend on our software enough that the rewrite is no alternative, they don't have enough onboard talent to fork it, and they have enough money to pay the price.
I’m not trying to defend pharma companies… they’re generally pretty scummy. But I’m guessing most companies spend more on marketing than R&D. Beyond that, the theory that they need to recoup costs still holds true with this. In fact, a big marketing budget indicates that they’re aggressively trying to sell the drug (maybe to recoup costs?).

Generally in business marketing budgets should generate more sales than they cost (in ideal case), so big budgets doesn’t mean that they’re “wasting” that money that could go elsewhere. If the sale wouldn’t happen without an ad, then that’s a necessary ad.
Previously: https://news.ycombinator.com/item?id=26986675 (1y ago, 261 points, 182 comments)
Not really, that does not follow. It is possible to speak the truth by accident.
Ethereum has never reverted the blockchain which is what breaks immutability. In fact, you can go back in history and find the DAO creation, the hack, and even the transaction that reverted the stolen funds.

This is, by the way, unlike Bitcoin which did revert the blockchain and break its immutable nature in 2010. https://decrypt.co/39750/184-billion-bitcoin-anonymous-creat...

Not sure that this matters much but as it's a frequent point brought we might as well get the details rights.
Twitter Expands Birdwatch Program in Preparation for Midterm Elections
Tree Rings Helped Identify a Rhode Island Whaler Lost at Sea
I thought you could strip out LLVM now? I don't really know, it's above my pay grade.
I wish we could move to a universal AC mains socket standard so that we don't have to stress over travel adapters.

Using IEC 60320 sockets (like for computers and kettles) would be great ( https://en.wikipedia.org/wiki/IEC_60320 ). Failing that, my second choice would be the Australian socket (also used in China) ( https://en.wikipedia.org/wiki/AS/NZS_3112 ).

I wouldn't prefer continental European sockets because while the hot and neutral pins are somewhat standardized, the ground pin and overall shape are wildly different per country (e.g. https://www.plugsocketmuseum.nl/EuropePlugsSockets.html ). I also wouldn't prefer the British socket because it's too big. North American plugs have safety problems due to easily accessible live pins.
Completely unsurprisingly. "Add useless garbage to work around the stupid decisions we impose on you" is not very appreciated.
Looking for beta testers to join the launch of What to Where, a mobile app bringing together a community to solve all of your personal styling needs because "Why should stylists only be for celebrities?" Next time you have a date or a job interview or just feel tired of what's in your closet, ask the community. We've got your back, you can easily upload an image for review to ask if you should wear what you have on, poll to see which accessories go with it, and save the full look in your virtual closet for easy access and styling by your friends. The best part? If you love something you see on the app, you can create your own inspiration boards in your virtual closet and shop the looks!
> The technical team leader.

AKA the manager.
One of the reason I chose Quake (apart from it being awesome game and well written code) is also that it has software renderer, these things have their flaws, but are highly portable. Porting original GLQuake to Metal would be far more taxing.
"More efficient" LOL. I think that means "get rid of 3/4 of the managers and half the developers."

I was actually in Google Maps for a year and a half. There were about 12 people, plus PMs, who were working on a monetizing version of Maps. A whole new unnecessary database system ("the Vector DB") was developed, which led to its architect publishing an academic paper. (You can still see some of my work if you upload a CSV of places to a "private maps" layer, AFAIK)

It was nearly all wasted. Was there any accountability for that? I think you know the answer.

On the "other bets" issue, though: I do know someone in Fiber who says it's reorganized and making good progress, so maybe that one will work out eventually.
This is interesting. What, in your opinion, should the core definition be (if anything)? And how is that eroded when tasked to an engineering manager vs. a project manager?

One of the major issues I have with the article is they lean heavily on the "creative work can't be managed like manufacturing widgets" train of thought. It feels to me that they define developers as artists when the article is about engineering. I think those are different roles are different. Even though both require a certain amount of creativity/subjectivity, it's a mistake IMO to conflate the two.
I thought that std::format avoided most of the implicit locale dependency. I know it has some for date formatting though.
Sometimes I think that this amputation could also be the result of a punishment. Pardon my dark fantasy. ;)
By not being a web developer.
Sure, Django too.
Bad idea. That's where they crashed the protomolocule, remember?
A little public shaming never hurt.
More information about the process: https://www.sciencedirect.com/science/article/abs/pii/S11257...
According to Homsky, Ukraine is full of Nazis and is fighting a civil war. Stop listening to this war criminal apologist.
Musk cited possible “World War III” as reason to break Twitter deal, text shows
Stop questioning things. Kiwifarms is ontologically evil, which means that any action taken against them is justified.
the whole purpose of taking complaints is to...review each one of them to get a view on what remediation is required of your service.
"...lithium-ion batteries are 70-80% efficient, and hydrogen is only 25-30% efficient."

Source: <https://www.motorbiscuit.com/hydrogen-fuel-cells-vs-batterie...>
I don't think stability is the main concern. However for the longest time SQLite didn't have great support for multiple writers and it is still pretty basic. So it works really well for smallish numbers of clients or write-light workloads but if you want to pound it with inserts and updates it still isn't as good of a choice as other RDBMSes.
Pure Maths, specifically Combinatorics and Graph Theory.

The first part was a generalisation of the Chromatic Function on graphs to provide information of the "Shapes" of colourings, and not just the number.

The second part showed that a plausible (hand-wave hand-wave) location for a counter-example to an open conjecture about partially-ordered sets did not, in fact, hold a counter-example. In other words, I proved a special case of an open conjecture on posets.

More details on request.
Few years ago NIST did a study on hydrogen vehicle charging stations, and they found out that the best design was to place electrolysers locally instead of transporting it.

Such a station could effectively double as BEV charging station, as it's main requirements would be beefy grid connection plus water source, with tanks being used only to buffer hydrogen.
Thanks for the feedback! I'll look to clarify the wording here. The failed example was a real output that difftastic gave in early versions.

I agree that the classic red/green colour scheme of diffs isn't great for colourblind users. I've asked a few colourblind developers and they were happy with terminal ANSI colours (which is what difftastic uses), because they can configure each colour individually.
That's a clear condemnation of the defense for GoF practices that basically goes "make in lab first, so we can prepare".
NthLink VPN tries to hide evidence of vulnerability
Keep an eye on https://peps.python.org/pep-0582/ it's a proposal to add local directory/node_modules-like behavior to package installs. It stalled out a few years ago but I heard there is a lot more discussion and push to get it in now.

I think if this PEP makes it in then like 90% of people's pain with pip just completely goes away almost overnight. Love it or hate it the NPM/node_modules style of all dependencies dumped in a local directory solves a _ton_ of problems in the packaging world. It would go a long way towards making the experience much smoother for most python users.
All right fine, I give in. In current amd64 Debian unstable (main, contrib, and non-free), 48 of the 69,112 packages include a shared library built with -ffast-math, a total of 485 .so files.

Actually it wasn't so bad :) All the current debs add up to a mere 113GB, and the .so files are just 46GB once extracted. Quick work. Here's the list:

https://moyix.net/~moyix/debian_unstable_amd64_ffast_results...

And here's a visualization of the reverse dependency graph:

https://moyix.net/~moyix/ffast_debian.pdf
Copyright and privacy law are two different animals.

Copyright law covers things that are expected to be published - i.e. creative works. We decide that authors get to control how and when they are published. Privacy law is different: the subject is information that is held in confidence and should not be published under any circumstance.

Fair use would circumvent the "copyright my nudes so I can DMCA them off Facebook" kind of action, but not, say, the GDPR. GDPR does not care about fair use, and its skeptical of TOS agreements.
This is confusing to me. It almost sounds like you're saying that because journalists write articles, that makes their articles relevant to journalists, no matter what the article is about. By that logic, all articles are related to writing, because they're from the perspective of writers. This can't be what you mean, but that's what I'm inferring, and I'm having trouble figuring out a different interpretation.

To my knowledge, coverage of the journalism industry isn't a huge part of the news cycle, certainly not as much as coverage of the software industry is!

Anyway, there's plenty of stuff on HN that isn't about software development: in the top 10 front page articles right now, there's a news story about an Albanian cyberattack, a link to WikiHouse, a warning about a potential privacy breach on virtual meeting software, product announcements for YC Summer 2022, etc.

It's more "stuff that may be of interest to people in the software industry", and I have no trouble imagining how you could fill a link aggregator with "stuff that may be of interest to writers".
Yep. Exactly. We want to be able to silence the compiler for a few iterations while the code is taking shape and then cleanup all the compiler lints in later iteration. In production CI pipeline, we can have all compiler lints on. This capability is very much needed to have a fast local dev iteration where compiler can assist but not impede.
What’s the makeup of the applicant pool?

If the top of the YC funnel is 6% female, we would be asking a different question than if it’s 18% female.
> Management is largely there to "crack the whip".

Even circuses have stopped that, largely, haven't they?
>> People with emotional issues aren't as likely to be promoted into management.

And engineers who don’t invest in their work emotionally are not usually the best

>> Maybe you work at some poor company that can't promote devs high enough so they're forced into some form of management role to get a promotion.

How does this follow from what I said? Also, I have a bit of experience so it’s not one company
That sounds like an awful lot more infrastructure than simply over-provisioning cheap solar panels.
Mutalk leakage voice suppression microphone
Azure Service Outages, Frontdoor, CosmosDb
100% agree, do not understand the resistance to adding a flag or other way to temporarily disable that.
BASIC, Pascal, and C in school. BASIC was because it was the first I picked up. Pascal was more organized. C operates in the same manner as I do.

C and Go the last few years. Go makes quick solutions possible. I'm not a coder, just need some glue at times. C is still the go-to for microcontrollers (in my world).
His suggestion is even counterproductive in a way, because it makes it more likely people will accidentally commit unused vars they have silenced. I _want_ the compiler to help me find unused things... just not yet. Wait until my pre-commit hook to yell at me please!
Pentagon suspends F-35 deliveries after discovering materials from China