skysight-inc/HackerNews huggingface dataset:
By the Curry-Howard correspondence no code should be able to be copyrighted since every program is a formal mathematical proof. However judges aren't usually mathematicians with a background in Computing Science so it's of little consequence.
if you haven't seen https://en.wikipedia.org/wiki/Chernobyl_(miniseries) yet binge watch it. Nothing makes you understand what happened better than this story told as a drama.
more difficult maybe maybe not, but the way zig does it is simpler in that it's fewer languages you have to know: you don't have to learn the c preprocessor (c/c++) or about magic +build tags (Go) or whatever; it's just normal conditionals in the same language.

you might [reasonably] say you can't care about that kind of simplicity, which is fine; but radical simplicity is definitely one of the major charms of zig.

(and you don't use the zig feature by commenting/uncommenting, it's via inspection of the environment/flags in the comptime code.)
> How about we give home schooling parents a test of some sort to determine if they have what it takes to be an effective teacher of a particular subject?

LOL, if you want this to be the hill you die on, go right ahead. Ultimately it boils down to figuring out where the rights of the state exceed those of the parent, and you have an awful lot of case law against you. But please, think of the children. And while we're at it, let's apply the same standard to public and private (and religious) school teachers.
That's mostly Google's decision. :shrug:

Anyway, I see a difference between hiring and laying off vs. not hiring in the first place with regard to disruption in worker's lives.
Apologies for the excess of links below. I find posts that spam links annoying, but if somebody believes GM products have saved millions/billions of lives, then they won't (and shouldn't) believe rando internet guy, and all the points are pretty distinct.

---

GMOs were first made available in 1994 [1]. You can find data on famine deaths over time here [2]. Global famine deaths were near zero per 100k before GMOs had been developed. As an aside on this, the reason for historic famines was often not a lack of food or crops, or even weather - but war, which disrupts supply lines and may damage production.

GMO products are also primarily only grown in the USA and Brazil. [3] Of the two largest countries in the world, India has a complete ban on GM products except cotton, and China previously had a complete ban but lately has been in a state of flux, in no small part because of trade concessions - the US really wants to sell GM soybeans to them.

The vast majority of GMOs are used to feed Americans, Brazilians, livestock, and cars. If you don't understand that last one - US/Brazilian corn is often turned into heavily subsidized ethanol fuel. Which absolutely sucks as a fuel in every possible way [4], but has found a place in the market thanks to governmental regulation.

---

[1] - https://en.wikipedia.org/wiki/Flavr_Savr

[2] - https://ourworldindata.org/famine-mortality-over-the-long-ru...

[3] - https://sci-hub.ru/https://link.springer.com/chapter/10.1007...

[4] - https://www.forbes.com/sites/stevensalzberg/2016/04/25/why-a...
> Modern C++ reads a bit like JavaScript strangely!

I yield to your comment.
I had a guy like that did something like this. He jumped on any new project and did all the interesting pieces as quickly as possible. He also built it with very non-idiomatic code. Despised working with his stuff, even though if he was the only person on the project it was fine, he was very productive.
DuckDB has an awesome integration with Apache Arrow and very useful implementations in R and Python. Great for easy larger-than-memory analyses

https://duckdb.org/2021/12/03/duck-arrow.html
Loving it. I'm interested in milli-py.

What can be a cool feature, it's auto backup to S3, or load from S3.
Surely if staff cuts improve experience, they should get rid of all their staff?
The 0.1% is >$25M in wealth.

You can live off $1M (after taxes) indefinitely, and still have an inflation-adjusted $25M nest-egg to pass on to someone else after you die.

The idea that you can't live a lavish life on $1M in spending - even in Manhattan - is absurd.

$1M could get you a $50k per month apartment in Manhattan plus leave you almost $1500 per day in spending.

There's almost no one on this forum spending that kind of money, and many of us have VERY nice lives.

A lot of people in the 0.1% still work - but they definitely do not need to. You can be a part of the yacht class with $25M.

I mean, you're not going to have your own - but you can afford to rent one regularly... You can fly private, etc.

There's an enormous difference between someone in the 0.1% and someone in the 1% - namely that you have 0 reason to work, and you can afford a staff to do everything for you...

For probably >75% of the 5%-1% - there isn't that much difference between you and someone average beside you have a nicer car, a nicer house, you eat out more often, go on nicer vacations, and pay a LOT more taxes...
Apple was always all about Jobs.
I will be curious to see how this work on this site.
The article linked is a site all about trunked based development.

>So what is it exactly? Linear history?

The essence is that changes developers make are included into the trunk (main / master branch) as fast as possible. Developers shouldn't be branching off and spending a bunch of time making commits without them being added to to the main branch.

You can run CI/CD on the commits developers want to get rebased onto the trunk.
And its literally what developers that are taking open source software and using it to sell something need to understand. The sellers are adding that value and taking that risk. If I go to the store, buy some wood, build a shelf from the wood and sell the shelf. Then it burns my customers house down, its on me not Home Depot.
Most blockchains are not proof of work anymore.
Captain Planet is not a reliable source of information. Air conditioners use electricity, the generation of which can cause fossil fuels, but also can come from other sources.
Wow, Xournal++ looks exciting!
Show HN: Entry to VAPT(Offensive)
Pre-order the VAPT guide for beginners! Get a comprehensive understanding of the internet, networking, Python, automation & more. Help us reach our pre-order goal of 15-20 or get a full refund.

My twitter: https://twitter.com/emnaruto07
There are some cultures that believe the remains of their ancestors are sacred. How would you encourage them to accept your POV?
> You seem to be saying that the lack of focus is caused by the perception of a permanent easy revenue stream. But I think the causation is actually the reverse of that. The lack of focus is more like a breadth first search for additional sustainable revenue streams undertaken because they know the golden goose can't lay eggs forever.

I think the difference is urgency. They probably do know that the golden eggs will stop coming at some point, but they don't believe it'll happen for a long while. Perhaps as a consequence of this, they very rarely commit to projects in a life-or-death way. At this point it's a HN trope to state this, but I do believe the reputational damage done by this lack of commitment to any of its fledgling projects is doing massive harm to Google's ability to find new revenue streams.
The Pareto frontier of foreign languages
I ran it and it made my code better.
So everyone who wants the new port should be forced to buy a new case? Have we really gotten to the point where we ridicule people for not participating in throw away culture?

People should have the tools to update and maintain their stuff. This is an awesome project that could help minimize e-waste for years to come.
I know folks who live in Seattle and they get around by bike fine.

However they all own cars as well to go to the outdoors on the weekend. Feel like that’s half the reason of living in Seattle.

If nature is not high on your priorities, I dunno why one would trade NYC for Seattle. State income tax?
Until it gets gentrified like previous neighborhoods.

Other neighborhoods missing:

Fremont

Wallingford

Georgetown

Columbia City

Rainer Beach

Northgate

W. Seattle

Queen Anne

Belltown

Magnolia

S. Seattle

Ravenna

Beacon Hill

South Park

Leschi

Madison Park

Northlake

Greenwood

And a bunch more places that non-transplants know about...
The Catholic Church has never claimed the Bible is the sole source of religious revelation. Sacred Tradition is regarded and an additional (and not contradictory) source of revelation of the mysteries of God.

I am by no means well versed in the deep trinitarian studies and reflections from the past 2000 years, but I am inclined to feel that verses like John 10:30 defy a simple explanation....
Same can be said by Java, even without direct support for value types.

Plus it doesn't need to be Java xor C++, JNI exists for a reason (now Panama).
Commenting on the campus bit.... Apple makes devices, not just software. Good luck developing device from home and dealing with the constant headache of shipping samples around the world. The campus was not a mistake.
Python Packaging Strategy Discussion Summary – Part 1
Lol no you can’t. For example

https://www2.gov.bc.ca/gov/content/environment/air-land-wate...
What is people looking for in alternatives for elastic search? I have been toying in docker with a version of elastic search, fscrawler and workplace search to get a company to have better access to their knowdledge base. They have exchange, manuals, emails,images& video github and other stuff… does this alternatives have connectors too? Any experience on this?
Yeah, the latest GPD Win looks superb, like a large N900. 6800U should survive a bit longer than Steam Deck.
tl;dr: players get attacked based on monster targeting RNG that's supposed to take an interval [0,num_players], assign players to subintervals that are shorter or longer based on a bunch of factors, and then roll a random number somewhere in that full interval. Whoever's subinterval the number ends in, they get targetted.

Instead, the code assigned subintervals and then rolled a number between 0 and 1, instead of 0 and num_players. If your player happened to sort to the top of the list for subinterval assignment, you'd be it. You'd always be it.

Someone had to think to look at this, then confirm the maths, before it was found, years after the symptoms got reported. A unit test would have caught this, but didn't. Writing tests is annoying, especially in a codebase that keeps changing, but it's so important that this should count as one of those "this is what happens when you don't" lessons. Money was lost here.
Yeah, non-trinitarian Christianity is Mormons, Jehovas Witnesses, and it gets much more obscure from there.
Which could also be done in Java.
Can you do that as a foreigner (to the UK)?
I feel Boston is similarly handicapped in ratings by West Roxbury (limited transit and bike hostile residents).
Yes, you are right on that. If the server is compromised a malicious user may change the client-side code to add a backdoor and steal your private key when you unlock it. He'll be able to steal only the keys that are unlocked while the backdoor stays undetected (not all the data).

The ideal way to resolve that would be to change the service to an API and offer binaries with a correct signature so the user can check and make sure that they get the correct thing. Actually I tried writing the client binaries using electron (https://github.com/spapas/etsd/tree/master/client) but didn't have the time for that :(

You are rigth though, I've added a Risks section to warn for that thingie https://github.com/spapas/etsd/blob/master/README.md#risks
San Francisco & Washington DC are USA cities in which I’ve lived that I enjoyed walking to & from the supermarket. I’d be fine walking 20 minutes each way, carrying a couple bag on groceries home with me. Those cities are very walkable, and by walkable I mean interesting.
> There comes a time when every parent will glance up from their mobile device or busy work schedule and take a moment to ask: "Where are my kids?"

If the response to this question is - "I am going to install a real time tracking device on my child", there are a whole bunch of other questions that you should be asking yourself.
I've been at my company for 10 years. It went: competent -> high performer -> competent (promotion) -> high performer -> competent -> low performer
There is a seller on a known platform with lots of reviews and pictures where people put WD drives into their Steam consoles. The platform I already use. And there is some random website, popular on HN, no reviews, no pictures, nothing and they also sell WD drives. I never shopped on the latter since they mostly sell laptops but not Linux laptops. I trust Aliexpress vendor who sold 1715 drives for Steam console more than Framework. Unless you show me statement from WD that Framework is official reseller and WD JBL Global Sales Store not.
If you can bribe a politician, the abyss is legal all the way down
Seattle has so many intersections that are completely bonkers. They’re not only poorly walkable, they also make driving extremely stressful.
Yes, the original statement was overly narrow in its view of patents and contracts. Not only should you not enter into contracts that restrict how you can treat your fields, you should also not deliberately act in a way designed to infringe the rights of others if you want to be free to do as you please within the law without incurring liability.

For example, you should not deliberately cultivate a patented plant for which you lack a license from your neighbor's plot of land and then treat it in a way that only makes sense if you're doing that. That will incur liability when a judge notices you are trying to dodge licensing. To put it another way, using processing banned under law.
Of course not, they’re too busy coming up with their own Ponzi scheme.
PDP2011 – a re-creation of the well known series of PDP-11 computer systems in
> As Guetta notes on Twitter, he's not releasing this commercially.

Yet he used it on stage, on a gig he's getting paid for. How is that not using it commercially?
That this question gets asked every second in every office in the world
should tell you the answer. Young people don't realize this Jira shit
is a very recent phenomenon. If you look at the history, it's
obvious the whole thing was made up to give people jobs.
The real use and value of a patent (or any IP mechanism) is during litigation. It's easy to say "just end patents" until two parties are in court and have nothing to form arguments around.
That looks great. I've been needing a multi-platform low-resource full text search engine/library.
One man department. Such praise.
Yes in what concerns VC++.

All my hobby coding in C++ uses modules nowadays.
not just hardware, but also things like filesystems and probably other things too.
i used to go with centos as my preferred server operating system due to its long release cycles, but when redhat removed btrfs from the kernel i was forced to switch to debian as the next most reliable and longterm supported server operating system.
Even researchers at the Fed agree

> The case against patents can be summarized briefly: there is no empirical evidence that they serve to increase innovation and productivity. There is strong evidence, instead, that patents have many negative consequences.

https://research.stlouisfed.org/wp/more/2012-035/
In case you're interested in or willing to share more details about the tool or your architecture I'd be an interested reader.
There has not been a single famine since the beginning of the 20th century that was not man-made (i.e. due to either people in power preventing aid reaching those who needed it or by people in power stripping people of their food).

GMO crops have nothing to do with famine reduction.
Critical thinking would make one far more skeptical of a government that has lied repeatedly to its own people about every armed conflict, foreign policy intrigue, etc., rather than doubt a legendary journalist who has repeatedly exposed that government’s lies and has provided enough operational detail to make a very convincing case. I don’th think we should accept anything at face value, but weighing the credibility of the two parties and the evidence provided, it’s pretty easy to determine which story is closest to the truth.
Why can't it be both?

New developers should avoid crutches as much as possible to begin with. Dependency on such things are, themselves, a recipe for disaster (or at least poor programs), AI or not.
as long as these systems are not let near certain industries like aviation software, health stuff i dont mind however people write their software. maybe at this point it will only improve the js frontend mess :)
It's not quite type safety, it's all about order, and it's definitely not specific to Javascript. Here's Python3:

>>> sorted([10, 2, math.nan])
[2, 10, nan]
>>> sorted([10, math.nan, 2])
[10, nan, 2]
I think a more appropriate IP model for code is closer to how patents work. The code must be filed and becomes available to/usable by the public after the protection expires.
None of his discography is being used verbatim. The UK has already determined AI training is explicitly protected use, and does not require rights licenses or royalties.

Some countries will try to hamstring AI development by saddling it with perversions of copyright use, and those countries will increasingly fall behind technologically and economically.
> The two drugs of course have very different mechanisms. Paxlovid inhibits the viral main protease and thus slows replication of the virus, while molnupiravir induces so many mutations when the virus does try to replicate that even if the process finishes that resulting viral particles are not able to function.
This is an advantage with sqlite as a config store as well - initial db config file augmented in-memory with secrets, accessible from all major languages, without relying on the vagarities of the filesystem (windows vs Linux tmp mount points) and easy to have multiple switchable configurations depending on environment, test mode (integration tests after deployment etc.) or customer.
I've seen a similar mistake in a rushed "feature flagging"/phased rollout system.

User IDs were random UUIDs. Let's say we want to release a feature to ~33% of users; we take the first 2 characters of the UUID, giving us 256 possible buckets, then say that everyone in the first 1/3 of that range gets the feature. So, 00XXX...-55XXX... IDs get it, and 56-FF do not. This works fine.

However, if we then release another feature to 10% of users - everyone from 00-1A gets it, 1B-FF do not. That first set now has both features, and 56-FF have none. It turns out you can't draw meaningful conclusions when some users get every new feature and some get none at all.
Eh, I think it's a pretty... ambitious claim that the time for new cryptocurrencies is over.

I think that most cryptocurrencies are intentional scams, and the vast majority of the remainder are bad ideas, but there are literally thousands of cryptocurrencies released each year at this point. Out of that cesspool, I'd expect to see maybe 1 or 2 successful ideas a year. Note I didn't say "good", I said "successful"--in general I think cryptocurrencies are bad for society, but lots of things that are bad for society are successful.

This past year, I think Avalanche Consensus and Near's Deep Sharding were pretty decent ideas. I don't know if they're good enough to translate into long-term success for either coin, but I suspect in the long run, deep sharding drawing inspiration from Near will end up in Ethereum.

An idea which has been hinted at, which I think would be an improvement, would be an ecosystem which isn't programmable, but pulls successful ideas from programmable ecosystems. A few L1 chains at this point have added integrated oracles, but I don't think that takes the idea far enough. A chain with integrated UniSwap, integrated Aave, etc., and no way to add your own coins without consensus from validators, would have no scams and be more performant, while keeping the value of those products in the coin itself. It would be harder to build hype for, because you can't have a gold rush of developers coming in to build the same old coins and investors to try to get in early, but in the long run it seems more sustainable.
Holly shit. This is…Amazing!!!!
Crypto developers are not primarily working on alt coins. They're working on enterprise blockchains with niche applications, or working on building dapps on top of existing chains.
Is it a "solution" when it's completely optional and rarely done correctly? This whole discussion reminds me of the 80s TV interviews that made the rounds this week about people complaining the government was infringing on their right to have a beer in the car on the way home from work (https://www.tiktok.com/@cali_nostalgia/video/719704298970805...).

"It's my god given right to poison my family with CO and NOx!"
It's interesting to me that crypto is mostly the only place in tech where this (this is all a waste) is a widely accepted idea.

As someone else has correctly mentioned, ads (and tracking), are sadly the lifeblood of a lot of tech action and are arguably just as (if not more) exploitative. It's just slower and more subtle.

As for crypto itself, I get why it's not an attractive idea, and yes -- a very good bit of it is scam-city, but I'm compelled to admit that the cryptobros are generally correct when they describe the state of the dollar today -- even if their proposed solutions often leave much to be desired.
> If I could just own digital money directly, FDIC insurance wouldn't make any sense. What am I being insured against??

Somebody transferring your coins without your authorization/desire?

The existing system also has reversible transactions which is actually very desirable if you've ever bought anything online.
I think quickwit is more tailored towards querying large indexes sitting on S3 than fast queries from a local or in-memory index.

lnx might be similar, I'm not sure. It's very new and I had a bad experience trying it out.
There's a nice intro to DuckDB for julia developers by Bogumił Kamiński, the creator of DataFrames.jl here: https://juliazoid.com/welcome-to-duckdb-3c4e75f50b97.

Interesting since in some ways, as he points out, it's in direct competition with DataFrames for use cases, but he gives it a very positive treatment and shows how they can work together using advantages of standard SQL along with processing power of DataFrames.
Naked pictures of Stephanie Seymour answers both your questions.
As far as I can tell, DuckDB is an alternative to "data frame" libraries like Data.table, Polars, Pandas, etc. Is that the case? What makes DuckDB a better choice than, say, Polars?
In what way is it nationalistic? Doesn't seem that way to me.
Dabrowski’s Theory and Existential Depression in Gifted Children and Adults [pdf]
Happy SHA1 Rejection Day
I've been trying Github copilot. It's especially good for suggestions based on localized context. For example, if you have this:

def do_thing():
print('doing a thing')

def do_thing_2():
print('doing a thing 2')

def do_thing_3():
print('doing a thing 3')

(Which, btw, do_thing 2 & 3 were autogenerated). If you type:

def do_all_the_things():

it will auto generate:

do_thing()
do_thing_2()
do_thing_3()

which is great if you have localized patterns in your code. It has also perfectly generated tests for things like a wrapper around a publicly known api.

Where it starts to get a little suspect is in some of its inferences where it doesn't have the localized context or a well known api as its corpus. It can spit out disastrously incorrect code on occasion. Still a time saver, but you have to remain alert.
The same should go for cars. I've got some bugs I want to fix on my in car entertainment system...
I feel this struggle although wonder what you recommend instead (besides slack ;)?