skysight-inc/HackerNews huggingface dataset:
People who can afford to call 911 three times for the same incident should not get better service than those that call once.
Irrelevant to the subject at hand.
Some more tips:

- middle-clicking on the refresh button duplicates the

- middle-clicking on a tab closes it

- middle-clicking on the empty space after all your tabs opens a new one

Generally, try middle-clicking on things to see what happens. It’s often useful.
Navigating the Web as a Blind Person [video]
The point is that it's not inherently necessary to spend a billion dollars. We just haven't figured it out yet, and it's not due to trade secrets.

Transistors used to cost a billion times more than they do now [1]. Do you have any reason to suspect AIs to be different?

[1] https://spectrum.ieee.org/how-much-did-early-transistors-cos...
I have a lot of huge files and use SVN with it. It's dirt cheap to host, next to no memory requirements, and it comes with a web UI to boot because it's built in top of WebDAV. You can literally open a repo in the browser.

The only downside is the per-file versioning, the update needs to be run on the top directory otherwise interesting problems happen.
maybe not the distinction you meant but the UK is still in Europe (the continent) and to me, European is a word based on location not membership of the European Union (which the UK left)
> "you're trying to manipulate readers right now. Why is your manipulation good but companies manipulation is bad?"

I didn't say my manipulation is good. Why is lifting 1Kg good but lifting 1000Kg bad? My manipulation doesn't have a billion dollars and a team of PhDs behind it. "Children need to be protected from pervasive junk food adverts in apps, social media and video blogs, the World Health Organization says." - https://www.bbc.co.uk/news/health-37846318

> "the only interpretation I'm coming up with is that you believe a central authority should stop people from making food taste better."

Even when people are suffering obesity with malnutrition[1] to the point of death while companies advertise 'happy meals', we still won't face that there's a problem. Central authorities act to prevent harm societal harms at the expense of personal freedoms in many existing situations. Here is a societal harm. Here is some central authority pushback: https://www.bbc.co.uk/newsround/45110055 and https://www.gov.uk/government/news/new-advertising-rules-to-...

[1] https://www.nature.com/articles/s41366-018-0143-9
People in Niger would say that French colonialism is still alive and well https://www.politico.eu/article/france-niger-military-army-w...
A number of years ago I set up a siphon tube running into our Christmas tree stand from a nearby bucket. The bucket had a false—gift wrapped box over it to hide it. Through some empirical testing I found the right water height for the stand and marked it with tape.

I wanted to make an electronic solution, but I think this fared better than whatever code I could write.
Argentine President Milei warns economic shock unavoidable in maiden speech
A universifiable moral value you could read up on is the nonaggression principle, with further reading into argumentation ethics. This would be as close to the euclidean geometry of ethics as humanity has come; a way of arguing against the nonaggression principle while staying morally consistent yourself has yet to be found, and evidence against that possibility is discussed in arguementation ethics. By virtue of the fact that you typed a response rather than searched for some way to commit violence against me demonstrates that you perfer peaceful solutions to violent ones.
God, I feel old.
I don't really get why people are so excited about RISC-V. An open ISA doesn't really offer any additional freedoms to the user. It does not mean we get truly open hardware.

This whole thing is just about Chinese companies not wanting to pay for ARM licenses anymore. Which is good for them but I don't get the excitement from tech people.

Even if a RISC-V CPU would someday offer the same performance for the same price than an x86-64 counterpart, it would be a strictly worse deal, as software support will be so much worse. The x86 monoculture was an amazing time to live in and helped us enjoy so much backwards compatibility. The promised lower power-consumption might be nice but we will have to see how much the ISA really matters for that.
It's weird for programmers to be worried about getting automated out of a job when my job as a programmer is basically to try as hard as I can to automate myself out of a job.
I agree, at least add some sample outputs so we can see what we're getting into.
Nice, thanks for checking out grep-ast.

The command line tool is a thin wrapper around the `TreeContext` class, whose purpose is show you a set of "lines of interest" in the context of the entire AST. This all exists because my other project aider [0] uses TreeContext to display a repository map [1] so that GPT-4 can understand how the most important classes, methods, functions, etc fit into the entire code base of a git repository.

But it was easy to make a CLI interface to grep lines of interest and display them with TreeContext, and it turned out to be quite useful.

The TreeContext class is line-oriented, and is mainly interested in tracking language constructs whose scope spans multiple lines. Typically these are things like classes, methods, functions, loops, if/else constructs, etc. Given a line of interest, we look at all the multi-line scopes which contain it. For each such multi-line scope, we want to display some "header" lines to provide context.

In this example, the match for "two" is contained in the multi-line scopes of a method and a class. So we print their headers.

$ grep-ast two example.py

⋮...
│class MyClass:
│ "MyClass is great"
⋮...
│ def print2(self):
▶ print("two")
⋮...

The trick is how to determine the header for each multi-line scope? It's not ideal to just use the first line. For example, it's nice that the header for the class included the docstring as well as the bare `class MyClass:` line.

For any multi-line scope, we look at all the other AST scopes which start on the same line. We take the smallest such co-occurring scope, and declare the header to be the lines that it spans. For a simple method like `def print2(self):`, that's all that gets picked up.

But a complex method like `print1()` below picks up all the lines which are part of its full function signature:

$ grep-ast one example.py

⋮...
│class MyClass:
│ "MyClass is great"
⋮...
│ def print1(
│ self,
│ prefix,
│ suffix,
│ ):
⋮...
▶ print(f"{prefix} one {suffix}")
⋮...

It's a heuristic, but it seems to work well in practice.

[0] https://github.com/paul-gauthier/aider

[1] https://aider.chat/docs/repomap.html
https://archive.ph/X3J1r
You can take a look at https://github.com/j4ts, which contains some Java libs transpiled by JSweet to TS/JS. The AWT/Swing implementation is just a proof of concept, but some other libs are fully functional like awt/geom.

However, you have to be aware that the initial purpose of JSweet was not to port all Java libs to JS. JSweet allows the transpiler to be customized (with extensions) to map Java APIs to JS ones so that you don't necessarily need a JS runtime. It's all explained in the "Extending the transpiler" section of the core doc: https://github.com/cincheo/jsweet/blob/master/doc/jsweet-lan...
Concerns with PHP are less about security and more about language design, at least that’s my take after 22 years of dealing with it off and on (full-time “on” for several years).
Doubly so if you were ever warned that your property may contain unexploded ordnance.

That sounds shocking, but is a red herring. Unexploded munitions are a malfunction-- being warned about it means someone detonated a large amount of it in your area.

Same goes for former/adjacent shooting ranges. Assume the soil is contaminated until tested.
Using fossil fuels for plastics has to be better environmentally speaking than using them for energy. Simply by virtue of the fact that the carbon is trapped as a constituent of the plastic, not binding off as CO2 and floating away.

That aside though, even if it was ‘just’ a 10x reduction in usage for energy that would still be a huge win because that becomes massively easier to mitigate and offset in effective ways.

Every time you increase or decrease the scale of a problem by an order of magnitude it changes the dynamics of approaching it significantly.
Good to know. I thought about using both a float switch and an ultrasonic distance sensor.
Don't be silly. :-).

We have 350k and the training costs more like 5k.

Like I said in the question. It's proven to be hugely helpful to our app.

Our internal discussion is whether we should keep it as a secret weapon/asset or maybe we can monetise it to extend our runway.

PS. Alex, you are a husband/father just like I am. A snarky comment just isn't very helpful. Are you making the internet better place?
I Hate MFA
> but how do you enforce plot progression in such a truly open world?

I'd imagine a mixture of general prompting/training the LLM on techniques like those used for plot progressiom by human game masters in TTRPGs and guidance via systems tracking progress and injecting contextual prompts based on mechanisms like those used for tracking and guiding plot progression in GM-less/GM-replacement systems (e.g., the Mythic Game Master Emulator) for TTRPGs.
Why is it news when a car can do something that watches have been able to do for years?

Tesla in particular was already loaded with all the tech to do this.
There are various similar communities, which don't have to compete with one another because the internet is a big place. Two that jump to mind are https://tildeverse.org and https://disroot.org.
I can't speak to that particular attack vector today, but it's interesting that McAfee isn't even on this Gartner chart, and that Microsoft is now a leader. Things have really changed in that space.

https://www.cybereason.com/blog/cybereason-named-a-leader-in...
Golang followed the same path; no dynamic linking and everything was 're'-created in Go. It's effective.

For FFM won't C access be isolated to the JAR? Maybe it's not normal to get pre-built JAR files?
Vitamin D supplements didn't prevent kids' broken bones, study finds
Elon is South African but that doesn't make Tesla a South African company.
I thought the new MoE Mistral model was called Mixtral.
https://wapo.st/3RB2rtL

>Vitamin D supplements for fracture prevention in schoolchildren in Mongolia: analysis of secondary outcomes from a multicentre, double-blind, randomised, placebo-controlled trial

https://www.thelancet.com/journals/landia/article/PIIS2213-8...
Nope.

PHP itself has also come along way. I don't know if it's because of it's reputation that it seems to evolve faster than most languages.

I recently used PHP to construct my personal site/blog. I didn't use any frameworks but I did use it's statically typed/strongly typed features that that is very different from how I would have coded in PHP years ago.
The surprising connection between after-hours work and decreased productivity
It really depends, and it's not as simple as you imply. US rice for example has more arsenic than any other rice in the world because US soil has more arsenic in it and rice is an arsenic soaking crop. So, if you eat too much rice, you really should avoid US based rice, it contains unhealthy amount of arsenic. It seems like Thailand based rice has the least amount of arsenic in it but I think we need more comprehensive research on this.

Sources

[1] https://www.consumerreports.org/cro/magazine/2015/01/how-muc...

[2] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1892142/

[3] https://www.bangkokpost.com/business/330866/thai-rice-has-lo...
> but most of the old rakes are still there to be stood on.

I don't think that's necessarily true -- a lot of features have been deprecated and removed.
I was trying to install wscat the other day and did

> npm install -g websocat

Met with "Permission denied: node"

Realizing what I wanted was actually

> npm install -g wscat

I did that and left me wondering what was going on with websocat's installation routines because websocat is actually a Rust project, so something someone might accidentally try to do what I have done with, a great name to squat.

In this case it is innocent at a quick glance. Just uses websocat in Node, for some reason.
> Fedora

You know it's not that hard to debunk this:

> You'll then be left with a kernel-6.X.? directory, containing both an unpatched 'vanilla-6.X.?' dir, and a linux-6.X.?-noarch hardlinked dir which has the Fedora patches applied. [1]

WOW fedora patches! Sounds to me like they're not shipping vanilla.

[1] https://fedoraproject.org/wiki/Kernel
Don't forget GEM: https://www.owenrudge.net/GEM/dist
Honestly it sounds like a joke to me. Is that a genuine question?

I feel like a more serious/interesting question could be: do you think that IQ measures anything meaningful at all? Or not, I do believe that IQ is complete bullshit.
Are you using the CLI or something like TortoiseSVN? Tortoise has a fairly intuitive UI for adding untracked files when you commit.
I think so, yes; if you say "herb" with a non-silent 'h', you'd write "a herb".

By way of example, the name Herb is commonly pronounced with a non-silent H, so even in a dialect where "herb" is pronounced "erb", you'd write "A Herb picked up an herb.".
I think you kind of answered your question, no? Setting up web things, especially when they have a chance to get quite bursty hug-of-death traffic, is hard for most people. I'd prefer to set things up myself but I know that places me in a verrrrry small minority of folks.
Ask HN: Why haven't we seen a race to the bottom in SaaS pricing?
A lot of SaaS products are making money hand over fist yet they seem easily replicable. Furthermore, most SaaS companies don't seem to have network effects or any particularly large switching costs. Given these dynamics, why haven't we seen a race to rock bottom SaaS prices in and around $1 like we did with games and paid apps?
Life expectancy was probably in the late 30s to early 40s during this time so you’re basically working for the rest of your life.
"I think you misunderstand copyright and perhaps conflate it with a trademark" Nope. Quite the contrary.
Talking too much can be a sign of nervousness, or maybe because interviewee read a an article advising to keep no pauses. That's not necessary a bad indicator. It's when you are fed with long, but barely related stories instead of answers on concise questions then you can suggest bs is being produced.
The old Masters have a saying: Never fall in love with your creation.
The AI industry is falling into the trap of their own making (marketing).
LLM's are nice toys, but implementation is resource/energy expensive and murky at best.
There are a lot of real life problems that would be solved trough rational approach.
If someone is thirsty, the water is the most important part, not the type of glass:)
I think we already have that, Fossil. Unfortunately network effects are a bitch to overcome. But with Fossil you get an elegantly architectured system that includes a ton of forge tools the absence of which have led to centralization of git repositories in places like github. It's simpler, saner, smaller and more capable.
I agree, but sorta in both directions—which paints a great contrast between product (design or management) and UI design.

I really enjoyed the book and think it's great entry to a design mindset. This is a mindset for how to make products that work well and people like or would actually use. Is that what we expect of a designer or a product manager? Important, but just a bit downstream of that is how it works and where the buttons/interactions are and whether people think its attractive. Most designers (we can confine this to tech [1]) consider themselves product designers rather than UI (or even UX) and often have that title and the bullet points in the job description to reflect it. That is, they want and are hired to understand users and design _products_. And then later, design _interfaces_—but only later because ofc the interfaces should derive from those things.

You can argue, for various reasons [2], a majority of today's tech designers would not be good at making product decisions (which includes the processes of understanding users or designing products); to which I would mildly agree, but find more pertinent to then immediately question why recruit and hire someone with that offer. You could hire directly a UI or visual designer.

In practice, because of power dynamics, most designers design UIs and some UX. There is indeed time spent on the product work that the designers feel they should be doing as part of a "real" process, but doesn't ever land in the product. That work is done genuinely, but frequently amounts to design theater—both internally to their own teams/companies (which "storytells" the work) and externally when they present their portfolio to others [3]. Most product (design) decisions are not made by designers because they're either not present for or can't win any of the upstream arguments. So even at the UI level, where there is more control, the design is based on "received" constraints.

Anyways, I think your comment is a real good provocation for what do we mean by designer or what should a designer be.

[1] I think this applies to plenty of folks called a designer pre-tech, say, industrial designers or architects.

[2] There are many, but one is simply that designers who are capable at this, find that design is not the place to impact them. They should perhaps become a PM (which is full of its own pitfalls) or found their own company. Or more commonly become a disinterested designer. I'm not sure either role, PM or design, is able to really do this well in the way most tech companies are organized, but the PM is in many cases the designer's real informal manager. And the informality is the problem. They have more power, but not any hard responsibility for/to the designer. And so you get a junior and/or apathetic pool of designers.

[3] Most portfolios, if you're not familiar, present designs as designed (what was made in the design tool) not as implemented (screenshots or the actual live app) for a reason. And further, most
No, they didn't. It's Emacs. Every thing is dynamically scoped lisp. It's like if you could include arbitrary javascript in your vscode config and if you shadow any core function any code calling it will now use your function instead.
It frustrates me when privacy prevents anyone discovering about a companies bad product.

If a company has a list of buyers of their product, they should be able to hand that to healthcare providers and have those healthcare providers check medical records to see if, for example, everyone who uses this brand of toilet cleaner ends up getting arthritis 10 years later.
We're working on a new TUI for managing local and remote executions of optimization solvers like CBC, HiGHS, and our own hardware-accelerated solvers [2].

Ratatui is a delight to work with. It uses immediate mode rendering [3] which feels very intuitive compared to other TUI frameworks.

[1] https://github.com/integrated-reasoning/napali
[2] https://reason.ing
[3] https://ratatui.rs/concepts/rendering/
I suggest also making this available as a GPT. I don't like pasting random stuff into my custom instructions, because that will affect all of my future usage. I'd much rather try out a GPT where the effects of those instructions stay limited to that one place.
Even a single patch to something like default kernel config parameters means it's not vanilla. I'm not arguing that there are significant patches, only that nobody seems to ship a true vanilla kernel.
> It’s 2023, is that still a reasonable concern?

No. A LOT has changed in the world of PHP over the years. And to be honest, I give credit to amazing frameworks like Laravel [0] for giving PHP a massive facelift (I consider Taylor Otwell one of my software heroes). Overall though, modern PHP software is much cleaner and more secure than whatever you knew from years ago.

[0]: https://laravel.com
> Climate change is going to suck, but I focus on the fact that we've been fighting against really horrifically bad reasoning skills. Climate change is really basic chemistry...

The reality is worse than this. Most people that strongly believe in climate change are also ignorant of basic chemistry, promulgating solutions that betray their lack of understanding of e.g. the laws of thermodynamics. On top of this, most people's understanding of chemistry is at the naive level of basic lab chemistry. When you need to scale chemistry, especially at planetary scales, it plays by a completely different set of rules and we largely pretend these rules don't exist because 1) they are too complex for most people to understand and 2) they are inconvenient for those selling easy solutions.

I am a climate doomer of sorts, having working on climate off and on for decades, but not because the problem cannot be mitigated in theory. Currently, both "sides" are delusional about the science and economics of regulating the climate. The public discourse is almost entirely soundbites from people disinterested in the science while trying to smuggle in unrelated ideological agendas, regardless of the side they claim to represent.

As long as scientifically literate perspectives are considered a fringe take, progress on this matter will be limited and in many cases coincidental. I don't see this changing anytime soon.
I've actually recognized this problem myself. I found that even though I took good notes, reviewed it somewhat consistently - when jumping back to something I used to be a 'master' in, my knowledge is still lacking.

I'm building a learning focused note taking app for this very purpose - https://www.wonderpkm.com/ , would love to chat further with you about your learning approach!
Well for one thing, it is part of OpenJDK, instead of a third party library built on top of JNI, and can thus, at least in theory, integrate better with the runtime.
I'd argue that Newton surpasses him easily.
In this case, I would say that backups are not relevant protection. In order to restore something from backup, you would first need to know that a restore from backup is needed, and secondly you need to know what the last-known good copy is.

This is a silent data corruption bug (data is written at the wrong offset, IIUC) with no known method to detect the error condition except to compare the resulting data with a known-good copy. The next backup run will happily accept the corrupted file contents into the backup vault, and unless someone happens to stumble upon the corrupted data, the last-known good copy will eventually be rotated out.
I think Java is just so insanely big, that this Java-pureness will stick, and JNI/Panama will only be used, when absolutely necessary. This is a unique trait thanks to the way the language grew.
I can't find a good link, but I think that the average is dragged down significantly by infant death and that a life expectancy of 40 doesn't mean that you should expect to die at 40 if you've already made it to adulthood.
Choose OSS, or put that mouth to work on someone's AI API.
Testing GPT-4 using Google Gemini Prompts [video]
Assume it's as correct as every other Malthusian argument that has been made since 1798.
> Rising sea levels threaten hazardous waste facilities along U.S. coast

Isn't the waste supposed to be thrown into the sea ? (see Fukushima, a lot of plastic, container ships, etc). /s
Yes, but if a conversation happened in a channel you don’t have access to…

Only once in the last decade have I worked at a place where everyone was disciplined about threads in the right channels. More often, conversations take place across a few channels which makes “re synthesizing” the slack results… hard