skysight-inc/HackerNews huggingface dataset:
> Is there some magic here that lets Dog and Cat know that they're implementing Animal?

No there isn't and that's the point. Say you're building a lib and someone else wants to reuse it and its methods and extract functionality into a more generic interface; as the original author you don't need to go and modify your lib to accommodate for every single third party dev out there.

Basically, the interface might be in another package, and that's fine.

> with no compile-time type checking?

The compiler will still check if Dog and Cat implement the interface, because at compile time everything is known.
What does softiron do/make? Can't tell from your post or your website. Thanks!
Only a single-digit percentage of bruteforcin and scanning attempts gets to our servers once we blocked China and Russia. Going by pure volume they're overwhelmingly overrepresented. I don't know about attack quality, I just assume sophisticated attacks could originate from anywhere, so I just pick the lowest hanging fruit
https://www.roteskreuz.at/steiermark/knittelfeld/zivildienst...

https://www.tips.at/nachrichten/linz/leben/550309-zivildiene...
Then why does the word science predate the scientific method? Clearly it used to carry meaning, even if you find it now meaningless in your zeal for the scientific method.
I always wondered why is there no regulation which limits the amount of plastic types that can be used - especially in packaging.

Soft plastic - one type. Hard plastic - second type. Is there a need for more?

This ship has now sailed I guess, with the amount of plastic that is in circulation - but limiting the number of types allowed for use would (to my mind) simplify and facilitate the development of effective recycling programmes
I've seen officers with SMGs (or something like that; I'm no expert) in the UK more than once. E.g. in an airport.

Better than that, though, I remember going to a cash machine in India and there was a security guard sat next to it with the longest, biggest shotgun I've ever seen. He gave me an incredibly relaxed nod and smile, and I got my money.
Ask it for a YouTube link, it will make one up that doesn't exist.

Tell it the plot summary of a book and ask what book it is. It will make up titles and authors, and ISBNs.

Give it a title and ask for a plot summary. It will give an answer even if the title doesn't exist
I think ORMs fit that bill. For some reason they were (are?) incredibly popular, but I don't think they stood the test of time. In the case of SQL, it's already an abstraction. No need for elaborate wizardry to hide the fact you're about to JOIN a table or two. Just write the damn join.

Every. Single. Project. I see using ORMs resulted in a baseline 20+ queries being fired under the hood for every screen. They are not bad in and of themselves, I think that they attract or are amenable to a certain type of development mindset that ends in bad results.

I have a very hard time thinking of any kind of object oriented abstraction that turned out to be a very good idea.
Here’s my plan: Tor browser inside a Linux VM running on a computer that is connected to Mullvad VPN. No private messaging on Twitter whatsoever. With anonymous account, I plan to not provide any personal details, so even if someone has access to “my” data it won’t do anything. Still think it’s a bad idea? Curious to know your thoughts. Thanks!
Something close would be C++ private base classes with non-virtual base methods statically invoked by child methods? For example, some C++ types like std::string and glibc's std::vector/shared_ptr/refcounts perform inheritance of base classes (some public, some private implementation details), and call virtual or statically dispatched methods on base classes.
"Using stubs for inner calls" is literally a top-level description of London-style TDD.
But then Dog and Cat need to both contain [edit] explicitly reproduce, verbatim [/edit] all the common functions of "Animal" - even if they're exactly the same? Just so someone later can take Dog and reuse it without implementing Animal?
> Struct embedding is simple composition, not inheritance.

In C++, composition differs from inheritance because when you embed an object inside another object, you cannot call its method directly, but through a wrapper:

class Dog {
Animal a;
bool IsAlive() {
return this->a.IsAlive()
}
}

However, in Go, you can call their methods directly:

type Dog struct {
Animal
}

func main() {
Dog.IsAlive()
}

So the distinction itself isn't really meaningful. In Go, composition is inheritance.

How else do you define inheritance, if not as ability to call methods of the inherited type?

> If you embed an "Animal" in a "Dog" struct, the "Animal" struct doesn't have any means to find out it's a "Dog", i.e. it can never find out at runtime that it's embedded in a "Dog" object or rely on functionality defined in the "Dog" object

I'm not quite clear on what you mean. How exactly does this work in C++? How do you "detect" it's a Dog on runtime, or "rely" on functionality defined in Dog?

If you can provide code example, that'd make things much easier for me to understand.
> But abstraction in programming is never a value in itself and its use needs to be weighed carefully.

I think this generalises well to anything in (or outside) programming. Slavish adherence to any principle without consideration for the underlying merits of the situation is likely to become a negative.
I guess this raises the question of levels of explanation. What kind of explanation would you like to be able to get? It reminds me of something the physicist Tim Maudlin described on a recent podcast (I will give a poor summary):

Suppose you have the spinning color wheel on your MacBook. You give it to a computer scientist who says that the program is in an infinite loop, and the wheel will never stop spinning. Then you give the computer to a superhuman physicist who studies all of the components including the state of the transistors and internal components and concludes that the wheel will spin for 9 years before the screen gives out. [1]

The point is that both are correct, but we’d really prefer the first explanation, since it gives insight into what the program is doing.

The problem is that neural networks aren’t like programs. They don’t have reducible internal components unless you reduce down to the weights of the network itself. [2]

[1] https://m.youtube.com/watch?v=k0CQ_D7dwA0

[2] https://karpathy.medium.com/software-2-0-a64152b37c35
i don't think inhumane is intended as cruel, more as "not aligned" with how human are/think/work.
>Primarily this book completely ignores communication with subject matter experts and the business.

Probably because this isn't an advanced book on Software Engineering, but an introductory book to programming.
We have a history of abstraction-based code that’s turned applications into frozen balls of mud.

We have so many tools to help write good code that the short-term savings of shared libraries is superseded by having distinct codebases that can be modified without those dependency concerns. Same is true for finding bugs in many places and easily setting those up for maintenance releases.
Not quite. Since 1968 four things happened in healthcare:

1. A wider range of healthcare issues can be cured or repressed due to advances in medicines. This directly lead to more doctor appointments.
2. People life expectancy increased, but older people need more healthcare.
3. Mental healthcare stigmatization went away (mostly), and therefore more doctor appointments.
4. Due to the higher demand in healthcare and the control over supply, the provider cost is higher than inflation.
I'm french and I agree 1000 % with this comment.

I used to love vice's provocative and borderline offensive articles. The french version had that satiric and extremely spicy "war of classes" vibe some other french publications such as charlie hebo had and it was a delight. (cf this one if you can translate it: https://www.vice.com/fr/article/avbv55/le-guide-vice-pour-pe...)

However for the past 10 years I go see their home page once a year and I physically cringe and how boring / washed up all the articles are. I don't think there is a better example of go woke go broke if the story is true.
That depends on how much value is assigned to every life lost or destroyed because of street crime.
You can wreak far greater havoc on a larger scale with a computer and an internet connection, than with a car. It's time to do away with the draconian and authoritarian practice of requiring to register your vehicle with the state.
A big benefit is that there are already plenty ok-ish open source LLMs out there that you can hook up to various information sources. Even if OpenAI flips the ad switch tomorrow, you can still run those by yourself. We didn't really have that option with search engines.
I actually don't mind paying the $20/mo or whatever if it means no ads, hopefully this turns out to be a viable business model for them.
Also, first company with an uncensored LLM that doesn't reply "As an AI language model" will get my money.
I'm going to disagree with you here. Concepts have their place in the world, one cannot just have pragmatic ideas in a society, nor can you just have idealistic ideas, there must be a balance, they both feed each other.

While those weird clothes by pompous designers can only be worn on the red carpet, they offer cues for things to trickle down to the clothes you and I wear. They're big ideas, exaggerated themes, like an extract, you don't consume the extract alone, you dilute, you mix.

Car concepts are the same, you never see a car's concept version go all the way till production, they're the concept, the idea is to shoot big, dump everything, write it all out, you can edit later.

We've got enough people on this earth that a great many of them can stay up in the clouds as astronauts of ideas, intermittently communicating to us their findings from the vast universe of creativity, with no impact on society's advancement, in fact to great benefit.

Just my 2 cents
Europe’s Next Crisis: Water
It was over 10 years ago, iirc there were more case studies on skin vs pulmonary, but a quick search found this one https://pubmed.ncbi.nlm.nih.gov/18458989/ another search term would be the broader class of antibiotics tetracyclines
If the story is too personal, you can't share it and influence others. In your analogy, is a virus that can't spread.

A pop song can feel deeply personal to many people, precisely because it's vague and not specific. The composer doesn't need to know the listener at the individual level. It needs to know an audience.

The combination of grooming a specific audience and then targetting it broadly is much more likely to work than individual propaganda pieces, and much more effective because the affected are inclined to influence others within the audience. It's already being done in a massive scale.

Yes, there are concerns about the targetting individuals with AI. Whistleblowers, activists and so on are in serious risk. These are likely to have some antibodies though, and that is not what the article is talking about.

The best defence in my opinion is better education, skepticism and proper critical thinking. Exactly the same stuff that prevents people from being targeted by the old stuff.
In a world where almost every country has an arsenal of weapons, you are afraid of climate change? But yeah, that seems to be the new nemesis for a certain generation.

Anyway, your post reminded me of the "The Futurological Congress" by Lem.
There are containers for recyclables where you personally dump your bags brought along, so there's no bag for the municipality to check. You maybe mix this up with the fine for using non-fee garbage bags? The only check they can do is when looking at your recycled paper stack whether it has also cartons, then they'll leave it on your roadside (and if you're around they'll also tell you why). But that's hardly noteworthy.

In any case, Swiss shops are starting to take in also the new category of "non recyclable plastics" as in non-PET wrappings/recipients/tetrapack/anything. No idea where those go though, I never thought to check if they're burnt or exported.
If you're in for a wild ride, you could try to take some reasonably current Android phone and get enough of the manufacturer's changes to the Linux kernel upstream to run generic Linux on it.

There are a lot of patches that are purely Android-specific and won't ever make it to upstream Linux, but others, like the drivers for flash chips and USB? These could definitely be submitted upstream.

Samsung for example uploads their FOSS dumps to [1].

First thing I'd do is to get u-boot working as a fourth-stage bootloader so you don't have to wrestle with ODIN or fastboot every time you rebuild your kernel. That alone should be a decent sized university project.

[1] https://opensource.samsung.com/uploadList?menuItem=mobile&cl...

[2] https://en.wikipedia.org/wiki/Booting_process_of_Android_dev...
It's all bad.

The chip shortage last year which affected cars, roof window, refrigerator etc were also affected by ASIC production for Bitcoin miners
Cisco Meraki | Networking, Security, Cloud | Full-Time | Bengaluru, India

At Meraki, we’re making IT easier, faster and more inquisitive. Our full-stack teams build and maintain our web applications, which manages millions of network devices from our cloud. Our customers use the Meraki Dashboard to monitor and configure critical IT infrastructure that serves tens of millions of people every single day.
We're looking for a full-stack engineer on the Meraki's MX & MG product team, which is responsible for Security and Connectivity for a wide range of small and large businesses. They're small, fast-moving teams striving to make our products unique in balancing their feature-rich abilities and their simplicity. Our full-stack engineers are well versed in a wide array of CS concepts and excited to jump around languages, platforms, and all levels of the Meraki stack!

Apply for Technical Lead - MX Service Provider: https://grnh.se/7c99665c1us

Additional Roles: https://meraki.cisco.com/job-search/
Relational databases are an operational anti-pattern. ORMs have proven that.
OpenAI gives in to Italy’s data privacy demands, ending ChatGPT ban
> inheritance is not polymorphic in C++. Virtual methods are opt-in.

Exactly, if you want polymorphism in C++, you have to drag in inheritance too. You can't have the former without the latter. In Go, you can have polymorphism through interfaces without ever embedding a single struct, so that would make Go more OOP than C++.
Go has duck-typed interfaces.

It will make sure that only values implementing Animal will ever be used as an Animal anywhere. It's fully statically type-checked.

It's arguably one of the defining features of Go in general, and is what shapes much of the idiomatic code style.
Improve your security and user management with AWS IAM Identity Center
I don't think your questioning of my sincerity is helpful.

I agree that generative models have been observed to reproduce training input verbatim, but that's not what I understand to be at issue in the article. The issue here is whether you can presume the consumer of a list will do something illegal with an item on the list without any evidence, and therefore threaten the compiler of the list.
>Brutalism is an academic justification of the brutalisation of the working class, who invariably were the ones who ended up living in cheaply constructed Brutalist architecture. The middle and upper classes (and the architects) keep to their pretty Georgian Neo-classical houses.

Yep, and they'll pull out the "umm well akshually 'brutalism' comes from the french betón brut, it doesn't mean 'brutal'", but they're wrong; the word "brutalism" itself wasn't coined by the French, it was coined by a bunch of too-clever-by-half Anglophone students. They knew exactly what double meaning it would have; it was always a mean-spirited pun.
Militaries in various countries already use simple canvas tents when in the field. I don’t see how switching to a similar-looking yurt setup would be an improvement.
It's not going to be a small decline. Here [1] is a population projection for Japan based on UN numbers. And those numbers are unreasonably optimistic, because they make the assumption that life expectancy in the future will continue to increase at the rate it has in the past, and that Japan's fertility rate will substantially increase in the future. Neither assumption seems justified.

The important issue is that fertility is an exponential function. When one group has a low fertility rate they have fewer children, and those children have fewer children so onward. And so the rate of decline never changes unless the fertility rate does. But these numbers are also staggered out by the life expectancy of the first generation to have lower fertility.

So when going from high to low fertility society you will see a period of increase, stabilization, and then exponential decline. With Japan we're just about to head into the exponential decline phase. I expect the reason the UN expects a fertility rate change is that if you don't increase it, you go extinct. So it'll probably become the next big issue relatively soon - across the entire developed world.

---------

Also in terms of things like an 'aging population.' This does not change when the older group dies off. In fact if the aging population had a higher fertility rate than their children, then it will only become worse. It's the exact same issue in play. When you have lots of children, you end up with a high youth to elderly population. When you don't have many children, you end up with a high elderly to youth population. And that poses immense practical, social, and economic problems.

[1] - https://population.un.org/wpp/Graphs/Probabilistic/POP/TOT/3...
>> if the capital was ever moved out

I initially read this as meaning "if the money was ever moved out", and then laughed ... yes, if they ever stopped being the capital ...
Location: Stockholm, Sweden

Remote: Yes, also hybrid.

Willing to relocate: No.

Technologies: React, Next.js, GCP, Node.js, Typescript

Résumé/CV: https://docs.google.com/document/d/14_r-HhPCKI_SaTvqeBqfoUFv...

Email: pablo@injavascript.com

Hi, I can also help with native iOS, Salesforce, React Native, devops ... I'm used to wearing many hats :).
In cities outside of germany, when you arrive at a new city you buy a transit ticket, you swipe that at the entrance and the exit, and anything related to zones or whatever works automatically, you don't have to think about it.
Ask HN: Are there any courses out there that are advanced enough?
Hey everyone,

I'm a software engineer who has already completed my undergraduate studies with couple of years experience, and I'm now looking for a course that can help me take my tech skills to the next level and develop a "hacker mentality". I want to stay up to date with current-day technology and be able to work on advanced tech stuff confidently.

I'm particularly interested in courses that will help me think creatively, approach problems differently, and understand the technical aspects of technology. I'm also looking for courses that will emphasize ethics and responsible behavior, as these are critical components of developing a "hacker mentality."

If you have any recommendations or suggestions for courses that fit this description, I'd love to hear them. Thanks in advance for your help!
This sounds to my inexpert ear like a great summary.

The only thing I'd query is whether it would be possible to isolate text that tries to modify the LLM's behaviour (e.g. DAN). I don't really understand the training process that led to that behaviour, and so to my mind it's still worth exploring whether it can be stopped.
md5 was never supposed to even be used for passwords, it was designed to produce really fast checksums for files, a very bad property for a password hashing algorithm
If dark matter means writing PHP+HTML+JS+SQL in large files and calling that getting things done, I rather not learn about dark matter.

I think we've learned that there's a lot more to developing software than "make XYZ work": can we onboard new devs without driving them mad (readable, logically structured, documented)? is it testable? do we have up to date dependencies?
For something like that you really want to use GPT3/4 hooked up to search, e.g. https://www.phind.com/search?q=give+me+an+outline+of+DevSecO...
This is exactly why hiring on github repos is such a bad take.

Most of these developers, do their job, learn new stacks when the need arises to do so, their work is proprietary, and have hobbies completly unrelated to programming.
I've yet to encounter a single project which does not use ORM. Everyone uses it. So they definitely stood test of time. And popularity of ORMs says more about issues with bare SQL approach. IMO SQL is just bad. Developers want JSON, not CSV. Developers want to specify conditions with lambdas, not with strings.
Alternatively, just pick up some adequate laser safety glasses for everyone who's going to be in the room while you work on it (including yourself)

It's not like this is an industrial cutting laser, you can make it perfectly safe to experiment with these smaller ones if you get the proper gear
And That's A Good Thing?
There's no such thing as an ironic white supremacist.
Plan 9 – introduction to library functions
Always delighted to see tom7 content.
Dude just thinks out of the box like no one else.
Id love a way for userspace applications to leverage the MMUs memory protection to trigger user code. Let me give you an example: Lets say I have large block of memory that is encrypted. I want to random access this memory, but i don't want to decrypt the entire memory before i start using it. I may have worker threads that start decrypting the data for me, but i don't want to wait for them. Ideally, id like to set a memory protection flag on all pages that are still encrypted, and then if any access is made of these pages, a callback will trigger that lets you decrypt the block and remove the flag from the page, only when accessed.

This could be used for things like user space memory mapping of networked memory, where memory is retrieved from a remote computer when accessed. This would make it possible to transparently implement userspace large scale shared memory systems in a very elegant way. Good luck with what ever you decide to do!
Even when nuclear power plants weren't leaking dangerous levels of radiation over cities they were still producing hazardous waste we had no real means to deal with besides hiding it under the rug and hoping to hell it stays contained.

Getting rid of nuclear power would have been fine if renewables had advanced enough to replace them, and for a while it was looking like that was entirely possible. I've always thought investing in some new nuclear power plants would be a good idea so we could get off coal sooner but getting rid of nuclear power plants should still be our ultimate goal.
So ChatGPT is like many a science fiction movie monster. A façade of human essence, yet beneath the façade... Nada. Zippo. A soulless Borg.
You can use struct embedding to accomplish that if you need it (Embed Dog / Animal in a new struct which adds/modifies functionality).

Though this is used fairly rarely in Go.
There are also ticket machines at almost every stop, if you dont have a smartphone. You can pay with cash, card, and i believe with Bitcoin too
Utilizing Framer Motion and FLIP to build React tooltip component
| "Only the act of design can make the content less readable"

I disagree with this, HTML in it's raw rendered state is not pleasant to read. You have to apply some rules (or specify the rules in your browser) to get the text to a state where it is pleasant to read.
Brownian motion?