skysight-inc/HackerNews huggingface dataset:
I am experimenting with runtime generation of shared libs.

We have a database of rules in the form 'A OR (B AND C)' stored just like that in human readable form. The current implementation creates an AST of the expression and executes it via the visitor pattern. The problem with this is it's slow and there can be recursion problems if the expression is too complex.

I've shown it's actually quite easy to translate these expressions to C code, and then compile that to machine code. My only real concern is around loading and unloading shared libs at runtime. These expressions are updated every hour or so.

It is possible to strip the .text section from a binary and then mmap() it to executable memory, which has the advantage of not having to deal with reference counts in shared libs. The disadvantage is that the generated C code must just be code, no state of its own.

I'm still unclear on which option is best.
Operation CHARM: Car repair manuals for everyone
> bind control key chords to movement in insert mode. But maybe I am simply "using it wrong"

Is that what you do in vim? I use vim, but haven't come across that before.

It does seem consistent with the basic concept not to have or to need insert mode bindings (of any kind, except return to normal mode, since all you're doing is inserting the characters corresponding to your key presses) to me, so maybe '"using it wrong"'.
I think prompt engineering will turn to be like search engine or other fundamental office/web tools skills.

Good to have, probably core in some professions, but I don't know whether it will be a profession on its own.
Ok. But before we stray too far into straw man territory, the cars I'm referring to which are susceptible to intermediate shaft bearing failure are Boxster, Cayman, and 911 (except Turbo, GT2, and GT3) models from 1997 to 2008.

So, not Cayennes.

(Not that Cayennes don't have their own problems, but then again, all cars do).

Also, there may be some confirmation bias at play here. The cars you see on the road are the cars being used to ferry people around on the school run or daily commute. You aren't seeing the cars being taken for a spirited drive.
> So, should we introduce freedom from consequences then?

I upvoted you because you make a good point with that question.

However, my point is that "Freedom of speech does not mean freedom from consequences" is a meaningful expression used primarily by people who want to police the thoughts of everyone.

My point is not that everyone should be forced to associate with everyone else.

IOW, that expression is useful as an indicator that an individual is in a mob.
It’s not a new social construct. It’s a very old one: a thin layer of rich people, and a large number of poor people fighting to survive because they don’t have anything to contribute beyond their own manual labour.

Head out of the developed world and you can see this type of society everywhere.

This meme of AI -> upheaval -> basic income utopia has got to die. It’s wishful thinking. It’s “clean coal” for programmers.
Anarchist thought is centered around fighting against that.
All the LED lamps in our home use phosphor-coated LEDs, so they have built-in filters. We have a mixture of colour temperatures, daylight for wakefulness, warm for evenings.

Screens are more of a problem than lamps.
I do Mac/iOS development and am constantly asking ChatGPT about various APIs and frameworks. Apple's documentation is not great for explaining how to actually use APIs, unless you can find the one WWDC video that explains it or a sample project that they released years ago. I would normally google for sample code, blog posts, tutorials, or Stack Overflow posts. Something that might take an hour of searching and reading now takes a few seconds of just asking ChatGPT.

Even for things that I've done before, it's often much easier to ask ChatGPT how to do something than to look through my projects to find how I did it previously. It might sound lazy, but if it takes me several minutes to search through various projects to find that one time I did something, why bother when I can just ask ChatGPT and know in seconds?

I will say that yes, ChatGPT can hallucinate APIs that don't exist, and that can be annoying, but even if it does it 20% of the time, it's still incredibly valuable in the time savings the other 80% of the time it does hit.
Virtual IBM Punch Card Data Processing (2018)
They do have similarities, but data classes actually predate records. One can declare a data class a record by using the @JvmRecord annotation, which probably introduces some JVM benefits in how records are represented in the Java memory model.

All in all you could use a Kotlin data class just like you'd use a Java record, but it gives you much more flexibility like inheritance and mutable fields.
> Admiration for the USSR among English intellectuals predates WW2.

While this may be so — although I am sure there were enough intellectuals in both camps — it cannot explain the atmosphere that Orwell is describing:

> At this moment what is demanded by the prevailing orthodoxy is an uncritical admiration of Soviet Russia. Everyone knows this, nearly everyone acts on it. Any serious criticism of the Soviet régime, any disclosure of facts which the Soviet government would prefer to keep hidden, is next door to unprintable.

What is this prevailing orthodoxy? How has it been reached and maintained? What happens to dissenters? What enforces the unprintability of the criticism? To achieve such a level of control, full government and media support is necessary.
> Dementia was defined as scoring 1.5 SDs or more below the mean in 1 or more cognitive domains, an AD8 Dementia Screening Interview Score indicating probable dementia, or diagnosed dementia.

As expected they did not diagnose clinical dementia so the findings are highly debatable.

More people need to look at actual metrics used instead of the clickbaity headlines.

Also if you want to imply any kind of causation the study needs to be much longer. Here they started the study after people were in their 70s which is fairly late already and you are much more likely to have bias or random people having cognition decline no matter what.
Hi,

I picked this one from that list: https://news.ycombinator.com/item?id=37131808

Thank you!
Making Music with Maths [video]
The only cent that matters.
As always the LLM hamster wheel is moving too fast. I’d love to matrix download half this stuff (I still enjoy learning so classic-learn the other half)
Our security team ensures that visitors of our online shop have a safe shopping experience and their personal data is secure with us. In addition, the team also protects our corporate data and the equipment of our employees. Protecting customer and company information is an important part of our business and our team is passionate about improving it. Our goal is to create a secure environment without restricting or slowing down business processes.

From now on we are looking for an experienced DevSecOps Engineer (m/f/d) who is passionate to work on these topics, but also wants to take hands-on responsibility.

What you will do

- Develop & maintain cloud security solutions and integrate security services into company processes

- Patch management across the whole infrastructure and tech stacks

- Audit Kubernetes infrastructure for security misconfigurations and mitigate security risks within the clusters

- Work closely with the team on other projects, which cover every information security topic in the company

Who you are

- Experience with one of the major cloud technologies and knowledge in cloud security

- Docker knowledge and an understanding of GitLab CI/CD

- Hands-on experience with cloud security and you also understand the key security risks of running a cloud infrastructure

- Proficiency in Linux OS and the ability to read and write code in Python

- Self-organised with strong task management skills and experience with working in an agile scrum based culture is an advantage

- Fluent in English both spoken and written

Nice to have

- Hands-on experience with Incident Response and Log Analysis

YOU ARE THE CORE OF ABOUT YOU.

We take responsibility for creating an inclusive and exceptional environment where all genders, nationalities and ethnicities feel welcomed and accepted exactly as they are. We believe that a diverse workforce essentially contributes to the ABOUT YOU culture. In order to maintain talent and diversity, we emphasize the care for physical health, mental health and overall well-being. Our values and work ethics essentially contribute to our brand mission: empower acceptance and shape an inclusive, fair and circular fashion culture.

We are looking forward to receiving your application – preferably via our online application portal! Thus, we can ensure a faster process and for you it is very easy to upload your application documents. :-)
First, You need to investigate whether MBA can be used as an external display for another Mac. Not all combination of Apple devices can be used in target display mode.

I also have spinal issues and can’t carry too much weight. I find only a 14” MBP + iPad, even without chargers and accessories, in my backpack to be heavier than what I can handle.

Just buy an MBA for the road, and another computer (Mac/PC) and a proper display for home/office use.
Yes but was NIO really usable for most tasks? Even with things like Netty to plumb it all the way to web server frameworks, databases and so on took a while. Like if you wanted to do SSL+async then a lot of manual work was required before Loom (if you want to use the stdlib).

Native image isn't related to async for sure. I meant more that it's a feature that people like from Go, which has both AOT/static binaries and also usermode threads.
The comment by T. S. Eliot reminds me of one of Orwell's critiques of Charles Dickens. Namely, that whilst he is very insightful about the ills of society, he offers no better solution than to hope for "good rich men".

> The truth is that Dickens's criticism of society is almost exclusively moral. Hence the utter lack of any constructive suggestion anywhere in his work. He attacks the law, parliamentary government, the educational system and so forth, without ever clearly suggesting what he would put in their places. Of course it is not necessarily the business of a novelist, or a satirist, to make constructive suggestions, but the point is that Dickens's attitude is at bottom not even destructive. There is no clear sign that he wants the existing order to be overthrown, or that he believes it would make very much difference if it were overthrown. For in reality his target is not so much society as ‘human nature’. It would be difficult to point anywhere in his books to a passage suggesting that the economic system is wrong as a system. Nowhere, for instance, does he make any attack on private enterprise or private property ... His whole ‘message’ is one that at first glance looks like an enormous platitude: If men would behave decently the world would be decent.

I can't help but feel like Eliot's "public-spirited pigs" are the same thing as Dickens' "good rich men".

https://www.orwell.ru/library/reviews/dickens/english/e_chd
Show HN: SaaS scan invoices and download the invoice information as a CSV file
A straightforward app that was built in under 48h by myself and my brother.

Why?
Collecting invoice information while on a company trip can be a tedious process. It involves scanning documents, inputting data from each invoice into an Excel spreadsheet, and then sending it to the Finance Team.

It's also a pain if you want to collect all your expenses every month, and then analyse where your money went at the end of the month.

So, why not leverage AI to extract information from a picture or PDF and download it as a CSV file? This CSV file can then be used in Google Sheets or Excel Spreadsheets.

This app's objective is to scan your invoices, have them analysed, and download the information in a CSV format. It's as simple as that.

What do you think?
Any improvement feedback?
How should I get more feedback from real users?

I would love to receive your feedback about the app
We're still in a market with record low levels of unemployment. So, those people will be fine and will find other jobs valued at what they are worth (which might be less than they imagine though). I think what's going to happen slowly over the next few years is that we are going back to more normal levels of unemployment. Which will lead to the usual competitiveness in the workplace and more opportunities for those who actually do show up in the office. And also a weakened negotiation position when applying for a job if you are looking to work remote. If there are other candidates willing to come to the office, you might miss out if you insist that you shouldn't.
I'm told COBOL itself doesn't actually. It's not hard to learn and lots of cheap workers in India will do it for you. The job security is knowing the mainframe tech stack in general, and the specific ways it's used in specific institutions that don't have good internal docs.
>The behaviors that lead to the previous slate don't magically go away.

no, but the people do. At some point that's as close to a clean slate as we can get. Breaking down dynasties when they get too big, even if in centuries' time we get more dynasties.
Trying? It is resurrected. Grocery delivery is widespread. It even uses robots.
Can't remember the exact figure, but a former teammate just started there, and the purported relo package is much lower than actual expenses.
The reduction from 3 to 2 operators, the acceptance of long breaks when there were two operators so there was only 1 in the room for a prolonged period of time, the pressure to cut costs, the lack of understanding of what systems were down during the upgrade, the surprising loss of hard lines without a tested alternative, the lack of a supervisor concentrating on the upgrades at the time, the lack of appropriate assessment of the risks.

Most of it seems to come down to trying to cut costs and reduce conflict with the staff (the acceptance of the “long breaks” overnight)

None of that lands on the overworked controller trying to do 3 jobs
Ask HN: Anybody else missing a 'pure' social media?
Literally all of the platforms have become poison for the mind:

Twitter -> Pretentiousness, Virtue Signalling, Misinformation, Crypto-Grifters

YouTube -> Clickbait, Vanity, Grifters, Content Bloat, Soft porn

Instagram -> Soft porn, Narcissism

TikTok -> Obnoxious Dancing, Confused Gen Z, Vanity, soft porn

All of them: Algorithm Prostitution

I can't bear spending a minute on any of them anymore (except for specific educational videos on YT, but screw the start page! (I'm not logged in)).

Where is the space for normal people?
You probably know this by now, but it doesn't require any Google Services to be installed in GrapheneOS. I did install through Aurora, but you could just get the apk and install it like that.
People are still using Twitter?
Maybe time to end it? Twitter is no longer a well behaved service, and its only going to get worse.
LEDs get hot when thwy light up. The LED srivers sit above the LED. The number of thermal cycles that LED driver will endure is finite.

The solution can be to install a dedicated 12/24 V low voltage DC grid and drive it with constant current drivers. I have one in my workshop and it Runs my LEDs for the past 12 years without a single fault.
Late? For what? Lightweight threads weren’t a reason to move to Node or Go. The Loom fibers are very special in that the blocking syntax doesn’t change, there’s no apparent coloring, and you can easily adapt your blocking calls to the lightweight dispatched non-blocking style now. Asynchrony is different from fibers. The .NET team has been pondering introducing fibers when it became obvious that Loom gained significant traction. I don’t think there’s any “lost ground” but simply a healthy competition. It’s not all about the merits of a particular language I think but more about the people behind the ecosystems, the compute platforms and the job market.

As for phasing out reactive streams and Graal, I don’t see why one would ever tread that path.

Why do you think that “isomorphism” is important? Besides, Kotlin Multiplatform, ScalaJS, Vaadin all give you that option.

As for your third paragraph, I think it’s again more of a cultural and job market issue than a purely merits-based technological one. The Node and Go ecosystems gained enough traction to pull in many production apps. The agility story is different with them too. Experienced engineers are very reluctant to changing languages, relearning and rewriting their production apps. Management might prefer to follow whatever they perceive as the present trend but whether they can do their due diligence and justify such a decision financially is a different story. Juniors might be curious enough to rewrite their apps on a different stack. But established software follows different standards. And for the majority of Java software you don’t need the most recent features, it works just fine. Since Java has always been so huge, there’s been a lot of badly designed software (in absolute figures), whose maintainers might be tempted to “rewrite” it in a different stack. But it’s rarely a sane decision. With the new feature set one can now simply opt into certain enhancements, but it’s not an ultimate solution to questionable architectural and design decisions either.

But what do you mean by “Node-style efficiency”? It’s not very performant and is quite a resource hungry platform. I know a couple companies that decided to move from a legacy Spring stack to a modern Node stack. Their argument was like “Java is old and boring, we want to rejuvenate our software by using TypeScript, and one of our principals decided that’s the right call.” Not kidding. In reality though they over-hired JS devs for their frontends and now believe they can profit from that “isomorphy”.

There’s so much expertise behind Java and its ecosystem, most problems solved long ago, something all other platforms can only dream of.
Sci-fi is reality, but exaggerated slightly in some direction. We've been moving towards them when they were written and we haven't stopped since. Dystopias that we stopped moving towards (example: anything involving nuclear annihilation) are no longer considered culturally relevant.

So I wouldn't call it funny, it's expected. It's what keeps those works of fiction alive, not the other way around.
It could well be (for common threaded bulbs) a sort of socket adapter, the base containing the driver and a connector to the actual bulb/led.

The 5V choice might not be the best one, but 12 or 24 V (like commonly led strip are powered) could be fine.
Could you explain what the intended/expected outcome is for this? What is accomplished by doing that?
How ‘The Bear’ Captures the Panic of Modern Work
When Java was new it was pretty radical though. At least in the category of mainstream corporate languages. Who else was offering things like an advanced speculating VM, stable/documented bytecode, a huge stdlib, a cleaned up C++ like memory safe language with reflection, sandboxing, applets etc? It was sufficiently radical that MS had nothing like it and felt a need to respond with their own Java impl and later .NET, the UNIX world had nothing like it either and that led Miguel to try and implement .NET for GNOME.

If you compare Java to obscure languages that hardly anyone used outside of the MIT AI Lab then you could argue it was conservative. But that wasn't the space it was playing in.

It feels like this Java as slow-follower idea is actually relatively "new" and more of a response to it slipping from being a relatively futuristic platform in the 1990s to being unable/unwilling to really try new things now.
Still a good idea overall, perhaps they did a silly execution and had made efficiencies error which a team wouldn't do now a day(listed some in these comments). They somehow went for growth-at-all-cost instead of increasing their density to check the unit economics of a single location and then move on with the gained knowledge.
I do wear glasses and they do help, but it is not enough. I just got new glasses couple months back. Everything is fine when I wake up, but as the day progresses (I guess) my eyes more tired and everything gets blurrier and blurrier.
In theory the Fediverse, including Mastodon, sidesteps at least the algo and ads portion of the motivation for the bad behaviour elsewhere, and it does seem like a reasonable place.
Bummer, Zedeus just got Nitter fixed up like 2 weeks ago. Seems they keep turning off apis.
I had 1 (one) LED bulb fail in the past 10 years.

But I live in the EU, so maybe those LED bulbs follow stricter regulations.
There is something nice in the sense that simulation appears to be completely unmonitored. If my Sims started producing scans that approximated the hardware of my Gaming PC, I would probably stop the sim... assuming I was closely monitoring.
Google active participant in use of trademarks of proprietors, India court rules
>I'm always amazed by people who think they know more about the need for human capital than the businesses that utilize said human capital.

to be fair, it's been clear that companies overhired like crazy over the pandemic, simply because they could. They may know more, but their calculus isn't as simple as operating for the lowest cost for the biggest money. So many companies over the pandemic were trying to take advantadge and grow like crazy, so they essentially gambled.

But sure, when the front facing user value is a slightly fancy chat app, it can be easy to underestimate the scope of the app, or its advertising.
Okay, you will not do it but the underlying problem remains: you'll take the blame for other people's mistakes. How do you deal with that?
No and it is not so bad (at least I don't think it is) that I can't see what is happening. It is like everything has this slightly shifting blurring on it, basically details go.
This is amazing! I think for production and rapid development use-cases though we just use XML for information extraction. It's extremely easy to parse with regex and rarely do the models make mistakes since the start and end tokens are uncommon. At least this is just for the OpenAI model which are different from the use cases in this ShowHN.
Is it just statistical? Maybe there are more trans women? Or they are more obvious/apparent online. But it any case it is almost a simple true scotsman fallacy. They are a woman iff that is your definition.

Accessibility tip: Hit the “X minutes days ago” link if this has gone too grey to read.
There is a difference between being skeptical and being conspiratorial in thinking. We can be critical of mainstream media in its accuracy but not have to immediately trust the next person to come along. Especially when they utilize sources with even more extreme biases and inaccurate information.

CNN being a poor source doesn’t make this browser extension a better one. In fact CNN being bad has zero bearing on the quality and accuracy of this source or Wikipedia or Bellingcat or anything else that doesn’t use the same methodology and primary sources as CNN.
I think it depends on your chosen field of work.

An analogy may help to explain my point.

I write code for a living. I'm pretty good, nothing amazing, and my ability to program is table stakes for my profession. Before I did this for a living, I worked as an industrial designer. In that job, coding was akin to a superpower, because nobody else in the company could do it.

Being a decent prompt engineer in a non-technical profession could be a similar multiplier.