skysight-inc/HackerNews huggingface dataset:
Pgml-chat: A CLI for deploying low-latency knowledge-based chatbots
You need to read the fine print. Although the graphic you linked to claims that these things "may increase" violent crime, when you click through to the "supporting evidence", it turns out the evidence for that is "limited".

Also, the pages talk about "homicide", but that term, at least as it's usually used in such general studies, includes justified self-defense homicides. So if total homicides do in fact go up as a result of these laws, that could be because criminals who would have gotten away with their crimes before the laws were passed were instead killed by their intended victims in self defense. That's not a problem, it's exactly what the laws are for.
Thank you, and wow, what's your secret? My partner and I have been competing, and thus far, she's been quite a bit better at not touching her phone.
> CarGuy: Around €1.50

> I guess, but still, these seemingly large numbers are still a minute percentage (e.g. probably 0.00001%) of overall costs/revenue that are relatively way, way more.

Do you realise that your estimate, of €1.50 per car being 0.00001% of the costs, puts the manufacturing cost of a car at €15m?
I think a lot of what makes the games special is the level of polish vs other studios. Polish takes a lot of time, which is why most studios don’t do it to the degree Nintendo seems to.
I think this misses the point of "not touching one's phone" entirely...
> it would be a while before the cost to produce it in the bulk quantities required for electrical transmission are economically attractive compared to what’s already available.

Note that there is no guarantee that that would ever happen. Electrical resistance is not the only thing you need for something to be an economically efficient power line. While superconductors are by definition excellent in terms of electrical resistance, there is nothing to guarantee that they wouldn't be too brittle, or too heavy, or too hard to mould into the required shape, or simply require materials that are too rare on Earth. And all of these would not be things that can just be worked around with better production processes or smart engineering - they would be fundamental limitations of the specific material, just like the low temperature requirements of currently known superconductors will never be improved with more research.

So this isn't a matter of when they would reach the point of being better economically, it's also very much a matter of if they would ever reach that point. Hopefully, we'll get lucky one day and find a material that is superconducting at room temperature and above, that is study and light and easy to make into wires and made out of abundantly available elements. LK-99 certainly wasn't most of these things. Even if it had been superconducting, it wasn't a good candidate for any of the other properties we want anyway, so it likely wouldn't have been much better than other known materials for most applications.
If Musk keeps this up, X/Twitter will (sooner or later) run into the ground.

Maybe that is Musk's 'master' plan for it?
It's in there but near the end (80% or so of the way down the page). The article would benefit from moving that to the top and drawing the comparison to the APL code earlier.
You can't call len on a gen exp, though you could define a count function. For an unsafe variant:

def count(it):
return sum(1 for _ in it)

Which is basically just putting a friendly name on the approach from the article.

For a safe version, you probably want to wrap it in another generator that bails with an exception at a specified size so you don’t risk an infinite loop.

def safe_count(it, limit=100):
# returns None if actual length > limit
nit = zip(range(limit+1), it)
if (l := sum(1 for _ in nit)) <= limit:
return l

Of course, you can just convert to a list and return the length, but sometimes you don’t want to build a list in memory.
Love this. Clever, practical, low-tech, no need for a network connection, no batteries. I wonder why that setup isn't already the norm.
To have any chance of success at all he needs to pick a very specific area to focus on.
> and states where no amount of money can get your child gender affirming care. Tomorrow traveling for that care might be a felony too.

And that's a good thing. These people who advocate for the medical and surgical mutilation of children for gender fantasies have completely lost the plot. Cult mentality.
I heard that you have a backup Data8 tape of every Unix release...
It's incredible how of touch HNers are.
That's great, it sounds almost like a Pratchett Discworld footnote.
Arch has an official/built-in installer now (as of last year iirc) - 'archinstall'.
As someone who works on games professionally, the first thing people do is turn on the text support for unity assets. Unreal still uses binary assets and it's a giant pain in the ass.

The problem isn't that everything should be text, it's that there are no tools out there that work with other content types. Semantic diff tools would be incredible honestly, and text is a poor representation of code. It's just the best we have right now
More than an asshole - he was a textbook psychopath, who knew what strings to pull in people. Did not own up to his daughter.

He was really fortunate to meet someone who was his polar opposite in personality. And to top it off he was also a genius.

So much of Job's early success was because of Woz!
> Turning off WiFi makes your battery life worse, because you'll forget to turn it back on

What? (I'm not OP)
For once, someone got it right and didn't claim with bold, uppercase letters that it's an Open Source project, like it usually happens with a lot of HN entries of that topic. Lately, the relicense of some Sentry product to a non-OSS license that was wrongly called "Open Source" just because the source was shared. As deserved, these kinds of usages tend to receive a good amount of backlash due to wrongly using the term.

But here, all is right, I don't see where anyone could base any complaint. Except for being entitled to instruct others about the license they should use for their own work, that is. I'd say they are walking the line with insisting on how "open" this solution is, but it doesn't really cross any line.

They are missing a very strong 4th line in "How is this different than OpenStack?" [1], though: OpenStack is Apache 2.0, aka. proper OSS, thus you can use or host it in whatever way you want, even use it to create an IaaS if you wanted. With UbiCloud, I didn't read the license, but probably not.

[1]: https://github.com/ubicloud/ubicloud#how-is-this-different-t...

EDIT: turns out they say "open source" not in the linked github repo, but in the project's homepage. Back to square one then: they are lying.
They don't. There was a time when government eschewed social media entirely even though it was available. They're not private businesses and I see no reason for them to be using social media in any official capacity. There are plenty of ways to communicate with your voter base that doesn't involve Twitter battles or ridiculous Facebook propaganda posts.
Naive question: What are they using EBS for? It seems unnecessary given all the Databases. Is that just local caching for EC2's?
How does one buy a bull return from Amazon or likes?
If ages is a numpy array instead of a list:

(ages > 17).sum()
> It's insane to me that neither side can come up with a viable candidate that is not an (or nearly an) octogenarian.

Obama was 47 when first elected in 2008.
Strange domain. I was not able to resolve the web site's (hackingbutlegal.com) IP address using Google's DNS, OpenDNS, or my ISP's default resolver. Cloudflare's DNS (1.1.1.1) resolves it to an IP address.
He has self assurance of the same
> 2) Debian will contain the most up-to-date of everything.

No plan survives contact with the enemy.
I think the issue they have with your post is that you havn't explained why you think that anonfiles are victims (of what?) and why you think that HN is blaming them, and that you are refering to HN as a collective. This is a common pattern on reddit. The moderation here selects primarily for "convers[ing] curiously."[0] I don't know if the same can be said for reddit.

Of course, "don't be snarky" cuts both ways, and I don't necessarily agree with GP's language, although I think pointing out redditisms is in itself fair game.

[0]https://news.ycombinator.com/newsguidelines.html
This is completely off topic (though possibly still on the topic of maximal readability) but the correct way to express this logic is as follows:

age >= 18

If your code is specifically about the magical age of adulthood then it ought to include that age as a literal, somewhere.

It becomes more obvious when you consider replacing the inline literal with a named constant:

CHILD_UPTO = 17 # awkward

compared with:

ADULT = 18 # oh the clarity

My fellow turd polishers and I would probably also add a tiny type:

Age = int
ADULT: Age = 18 # mwah!

(The article was a good read, btw.)
He must still be stuck on JBoss at work…
> Although the activity of the catalyst for ammonia synthesis is relatively low,

aka, not useful commercially. Better luck next time.
Incredible how out of touch HNers are. It's just a fucking maps app.
Lots of compliance issues come up. If you’re dealing with another company’s data, especially a large company, they may not be comfortable with their risk exposure in a “random” country.
> I looked at the screen in disbelief. Could it really be that easy? The whole thing would boil down to adding an #include command at the beginning of my source code, and then embed into functions the two parts that could be parallelized; a synchronization command would suffice to restore single-threading at the end of each fan-out.

Parallelization is good, but it still sounds like it runs synchronously, so all the rest of the threads are stuck waiting for the slowest one to join.

If you really want foolproof multithreading for dummies, write all your code around an event loop that sends your tasks to a thread pool backed by a message queue.

You can have your parent threads that glue everythhing together still be synchronous, but the critical sections of code should be executed asynchronously so the only threads being blocked are the parents waiting for the completion event containing the results.
till it's tested, it's a hypothesis. Hypotheses are not random ideas, they need to incorporate all the theoretical knowledge you have so they are not disproven a priori. Then your hypothesis is "according to theory" and incorporating the previously unexplained data, but it will not be a theory till the predictions it makes are tested.
> but at some point, energy must be stored

Green hydrogen is one option for storing excess renewable energy.
When the alternative is paying more for those extra capabilities you might not care about, there's nothing wrong with a consumer wanting a cheaper option.
Perfect! I certainly will.
Good PR -> evenly spent TV money on teams -> attract sports-washing -> profit.
The government issues the cash they are only going to be concerned about how it gets used. Any of this "hurrdurr but the tax base" makes no sense.
poor choice of words, i probably mean sketching out the curves/doing ablation studies in a comprehensive way like the chinchilla paper did.
I think modern Elon is too jaded about reality/fat with cash to still believe in saving humanity. He certainly doesn’t talk about it in the frequency and light he used to.
Oh don’t get me started when competing data source beans are defined. Which one will @Repository pick up? Which one will it use at runtime? Why is my stack trace 245 deep?
I dunno. Parliamentary systems are supremely malleable. Look at what is happening in Israel.
It's like you're arguing with somebody different from me, who said something entirely different from what I said, while also agreeing with my unstated premise, and conditional language.
There seems to be a way you could quickly solve this problem... can't quite put my finger on it, but there may be a hint in that person's comment.
Mostly 1 and 2 on the list you made in another comment. Some of 5.

But my original comment wasn't really about me in particular, it was a general question about what the difference between the two groups are.
It is a poor functional language. List comprehensions (from Haskell) are nice, but the rest is garbage.

Crippled lambdas, no currying, "match" is a clumsy statement, weird name spaces and a rigid whitespace syntax. No real immutability.
Neat! I'm the solo developer of PhotoStructure.

Know that there's a very active community of PhotoStructure users on Discord: https://photostructure.com/go/discord/ -- although I opened it as just another support channel, it's evolved to include discussions about future feature work, self-hosting, digital archival, privacy news, hardware, and photography, too.

I self-host https://forum.photostructure.com/ that uses Discourse, but it has 10-20x fewer posts on it than Discord.

OP: Make sure you get backups in place (and one offline) before trying any of the software suggested here--it reduces your risk from "oh-no-what-have-I-done" and "what-in-the-actual-heck-is-this-app-doing-and-where-did-all-my-files-go" to zero.
> What kind of nonsense is this?

The "four legs good, two legs bad" type.
I managed to get through a bad flu infection in late 2003, but my health steadily declined over the next 5 years to the point where I could not get out of bed two or three days per week. Like, crawling on the floor to get out of bed exhaustion.

I've been tested and evaluated for lots of things. Fortunately, not a dire progressive disease like multiple sclerosis or Parkinson's.

Unfortunately, I have not been able to substantially improve energy level in a sustained way. There are times when I can gain momentum for about three weeks but then there's a collapse. If I push it, I've had vital signs go awry and it's enough to scare the emergency medical personnel who are called when I pass out... and then a few hours later, nothing worse than severe fatigue.

I wonder how far away we might be to sorting it all out, things you shouldn't be doing after a viral infection, or environmental factors that we will discover, or if we will be able to understand this at all without a more fundamental rework of medical understanding.
There is no quick fix besides working in an industry that's valuable and has lots of broken problems to solve. As I alluded to in a comment I made elsewhere on this thread, it might be valuable to use this to think about your next role. Is your current role in an industry that doesn't expose you to these problems, and would you rather get more exposure?

For me, I got a lot of exposure to these problems in the time I spent working at startups using technology to solve big problems in large industries that aren't conventionally "tech" but this is a long term play; it took me a decade of doing this to start to develop a perspective on where my previous companies, as great of a job as they did, still left certain problems unsolved, problems I would go on to solve at my own company. This isn't a quick solution to your problem but it does work.
fwiw i'm not the author of that doc, we just interviewed him, and the hn submission i linked to was also renamed presumably for similar concerns. we do have an "Algorithms 101" episode (in the theme of our Datasets 101 and Benchmarks 101 episode) where we have at least some of your topics lined up
I tend to argue that “slippery slope” is not actually a logical fallacy the way others (e.g. straw man) are.

A slippery slope is often a legitimate concern.

Using it as the sole means to shut down an idea is often disingenuous, but so, too, is shutting down any concerns of a ”snowball effect” by calling it a logical fallacy.
Orwell tends to be a clue-by-four precisely because he knows how people can misinterpret political theory to their own liking.
Did any AWS customers experience unavailability during prime day, eg capacity issues launching instances, due to prime day taking precedence over other customers? If there are, they're under NDA so we'd never know.
> That feature is simply insane.

It really feels like someone's thought experiment that was cargo-culted into production. Timestamps are truthy to begin with, and mission-critical systems are designed to die and be reborn anew like the common Phoenix. Physical issues that might come up are addressed in the spec and logical issues stop everything they touch. At no point have I ever hoped that a third party would start pumping garbage into the problem.
You can run UniFi console as software on any* device to manage the doorbell, which would then allow you to use Scrypted as the NVR and expose it to Home Assistant.
Not sure I can get behind the idea. This is like an oxymoron. I get the heightened need for security, but this is not the way. Security is a journey, not a checklist.
not a technical person, how can I fix this? turned off secure DNS, didn't work, changed IP to Google's, that disabled my WiFi...
Yes, if you are writing new software please respect $XDG. But its a bit ridiculous to think that bash should respect some convention developed ~20 years after bash was released.
Wifi was kind of useless until 802.11b was agreed. I used one of the early Cisco(?) wireless adaptors circa 1997 and 1998 and…it was mostly unpleasant except for the fact that it was wireless (I don't know if it was 802.11 or a predecessor protocol).
You can do it with 3 spaces in front. Not the same as backticks but works just as good…

public class See {
public See() {
}
}

You just have to use a scratch
Climate wildcard – Greenland melt lakes [video]
Code is a tool. Often you build a tool to complete a task.

Open Sourcing the tools lets others do their tasks. But you run the risk of becoming an unpaid toolmaker and unpaid tool maintainer, and getting none of your own tasks done.

In a way, github's biggest opensource committers are in a way the 'gig economy' workers of the tech world. Paid in just the occasional few bucks of donation for work which would otherwise be worth hundreds of thousands of dollars done with a salary.
It's not completely dead weight. Those cells are being used, the battery will have a longer lifespan since the cells aren't being pushed to their highest capacity.
"The move reflects a shift that is happening in Silicon Valley. For decades, the most interesting thing in the tech industry was the internet and all of the businesses built around it. And the dominant method of financing the internet was advertising.

The targeted ads and the massive wealth created were so compelling that the mainstream press and most venture capitalists have kind of forgotten about actual science and technology."

But I thought online ads were "actual science and technology". High traffic websites call themselves "tech" companies, so ads must be actual science and technology.

Silicon Valley and "actual science and technology", other than computer technology, are very different things. Silicon Valley VC are desperate for a way forward as their zero interest and hype-driven nonsense is laid bare. But it is what it is. With all the money and resources they have had, the best they (those they invested in) could do was surveillance and advertising. Not the best uses for computers and computer networks, IMHO. But it is what it is.
I mean, Emacs respects the convention, developed ~40 years after Emacs was first released.
> Everyone wants this eventually, the only dispute is when it should go hot.

"Everyone"? A likely outcome in a war between China and the US most of us reading here will end up dead or worse. I don't understand what has happened. It is like the elites have become mad and people have just stopped caring and shut their eyes.
Why would you think he ever believed in that rather than it being a personal and corporate brand marketing tactic the way it has been for so many other startups and their CEOs, to the point of being frequently mocked?
GN does not miss. They're probably the most credible outfit in the tech space at the moment.
functools.partial is currying, right?
I think what the GP meant is not that compressed data has intelligence, but rather that a compressor is necessarily "intelligent" in correlation to the degree that it compresses well on arbitrary novel datasets it wasn't tuned for. At least insofar as we define "intelligence" with measures like IQ, that relate to "number of examples of a pattern required to notice the pattern."

To compress data, you have to derive some interesting insight about that data that allows the data to be projected into a lower-dimensional, lower-entropy embedding. (In pop-neurological terms, you have to "make a neuron" that represents a concept, so that you can re-phrase your dataset into a star-schema expressed in its connections to that concept.)

The more different kinds of things a single compressor can do that for — without the compressor itself being made larger — the more "intelligent" the compressor is, no?
I didn't say authority, and I didn't say trust blindly. I just said I'd trust someone with baseline qualifications over a random (presumably unqualified) person. lmao
Not the GP, but you might get a lot from checking out IndieHackers. It has tons of case studies by folks who have put together side projects many of which have become quite valuable [1]. Another valuable approach might be to check out Acquire.com [2] and Centurica MarketWatch [3] from the buyers side to see what kinds of projects become very valuable base hits, even if they're not venture scale. Not affiliated with any of these, I just found them valuable sources of information when I was thinking about creating economically valuable side projects years ago.

[1] https://www.indiehackers.com/products?commitment=side-projec...

[2] https://acquire.com/buyers/

[3] https://app.centurica.com/marketwatch
If I had one I'd never charge above 80% or below 20% anyway. Good deal.
New York Times considers legal action against OpenAI as copyright tensions swirl
But doesn't the size in benchmarks include the size of the binary decoder ? So the embedded trained data is accounted for (preventing a plain copy of wikipedia to be included in the decoder)
Yes, this would be quite hard. Fine-tuning an LLM is no simple task. The tools and guidance around it are very new, and arguably not meant for non-ML Engineers.
Indeed, wishing is not enough. It requires hard work.
Diabetes following SARS-CoV-2 infection
Not-that-unpopular opinion: Some form of soft gatekeeping is required to keep a healthy signal/noise ratio, in a lot of contexts.

The issue is, what sort of gatekeeping, and how aligned is it with the desired effect? Even simply crudely throwing up all sorts of arbitrary obstacles (e.g. various forms of academic hazing) is sufficient to at least keep out people who aren't willing to put in some sort of effort. The problem is that has a lot of collateral damage - it also loses perfectly fine people whose only flaw is a low tolerance for institutionally imposed arbitrary obstacles. A perfect gatekeeping mechanism would exclude everyone who can't contribute while presenting minimal obstacles to those who can. I don't want to speculate here what that might look like, but it's not contradictory to want everyone to have access to science while simultaneously wanting ignorant loudmouths to be gently suppressed.

If I may mutilate a beloved Pixar film, "anyone can science". But not everyone can be a scientist. Everyone should just be given a chance.
i don't use cloudfare..i think..don't know what that is..just my wifi
A nuclear power plant + desalination plant would fix this situation almost completely. California has the resources (money), and knowhow (tons of engineers) to make this happen if they want.

Israel gets 55% of their water this way and California can too.

https://www.scientificamerican.com/article/israel-proves-the...
Aside from the many issues already pointed out, I think using office as punishment is a certain way to get everyone to hate it even more, and kill the mood in the office. There would really be no benefit for anyone to come to the office at all.