skysight-inc/HackerNews huggingface dataset:
I think there is a need for cybersecurity, especially as climate protest actions are becoming more militant over time.

I don't know where you are located, (and how much militancy you are ready for), so I can't point you to specific groups. But I can guarantee you, at the intersection of climate protest and social justice (i.e. any climate protest that isn't essentially just rich white people super-NIMBY-ing around) there is a lot of need for security.

If this contributes to 'saving the climate'? My personal opinion is we are past that point, we are at the 'minimising the damage' point now. Still.... there is need.
Funny that the real title is:

>>Gas and Nuclear Turn Green as EU Parliament Approves New Taxonomy

>>On the contrary, natural gas does emit greenhouse gas emissions, however, supporters claim it is less polluting than traditional fossil fuels and can thus be part of the energy transition.

So less pollution then heavy oil is now "green" in Europe....bravo, thank you Germany.
Usage rises to fill capacity. The studios will start releasing higher res, less compressed films with insane levels of detail.
But if you take a train you are susceptible to being taxed for entry to Venice, since they can just add some fee to the train fare, to either pay for maintenance of the city or simply to reduce numbers.
Show HN: A small open-source logic game based on an a early DOS game
I wanted to try out Unity so I created a small game with it. The reason I post it here is because it is based on an old DOS game that I barely remember but I liked very much. I don't remember the name of the original game but would love to play it again some time. So maybe someone of the HN crowd knows the game and can tell me the name :)

The game might amuse you for 5 minutes or half an hour. After some levels, you get the gist of how you can move and it's not really possible to create a super hard level. It could be extended with different movements to make it more complex, but I'm not planning to do so for now.
> Asking the patient about their symptoms is an important part of gathering the history and can not be done just with yes or no questions.

I agree, but that wasn’t what I was arguing against. Absence of any yes/no question is what I was referring to.

And I’m not sure your argument is a good one. Things you do in the classroom or other training are intended to overprepare you, and are not supposed to mirror real life. While I did rebuild and scale (as a technical owner) an exam platform later used by millions, I am only mentioning that ironically. Appeals to authority tend to be pretentious, and serve to prop up an even more dangerous myth that professionals always know what they are talking about.
Drivers hate traffic lights, try introducing them for pedestrian crossings in neighbourhoods and you’ll see :)

But they’re generally accepted because they’ve been part of the furniture for a hundred years. Try reducing the traffic lane down to one or blocking off the middle of a suburban street to stop rat runners and you’ll see people be absolutely furious.
The difference is that you know (or can know, or predict) the outcome. In C++ a=b+c could be a simple addition or an operation that takes an hour, allocates 1GB of RAM, opens a socket and requests a JSON document from a server in China. You can't know wihtout looking at the code.
If this makes you feel better, I studied philosophy in high school (rather common in Italy), and it was 100% history of philosophy. We spent inane amounts of time on presocratic debates on whether water, air, or apeiron was the fundamental element of nature, then another year on the middle ages, and when things got relevant for modern life (Freud, Nietzsche) we stopped, and never got to the existentialists, Popper and contemporaries.
I thought it would be trivial to render and apply OCR and was going to give it a quick attempt in Swift, but looking at the comments, looks like many implementations already exist without even trying
Good old DVDs and Piracy
Most people view pdfs now in web browsers built-in viewers. Especially if the job offer comes from a linkedin message, I would imagine most people would default to the browser viewer.

While browsers are sure not without security vulnerabilities, I sure trust the PDF viewer within to be way more sandboxed than most standalone desktop PDF viewer applications.

If the vulnerability (which I assume was RCE) was in a web browser, then it's a major bug.
Price of offshore wind power falls to record low in the UK
mRNA vaccines have the advantage of being lower cost to make and faster to develop.

Traditional vaccines can work, but finding ways to kill or attune a virus in a way that still triggers an immune response that can fight off the live virus is tricky.

With protein based one, finding the right proteins and finding a way to produce those proteins for injection is also tricky.

I also forgot to mention Adenovirus Vaccines which are also kind of new in that there's only newer vaccines like for Ebola and malaria that are based on it. This similarly delivers genetic material from the virus to our cells so they produce the proteins, except the genetic material is delivered through another virus, instead of by using mRNA. Manufacturing the adenovirus carrier is trickier than manufacturing mRNA.

The Sputnik-V vaccine is an Adenovirus vaccine, so not something I'd consider a traditional vaccine, it has much more in common with mRNA, in that it programs our own cells to produce proteins, the difference is it does so by having an Adenovirus inject DNA into our cells, instead of having mRNA wrapped in lipids be the trigger to our cells.
A passing star shifting Neptune’s orbit could wreck the solar system
Are there specific tech skills you have, which you know for sure prospective employers are actually looking for, which are in short supply (not enough people with the skills) and growing demand, and its blindingly obvious from your approach e:g used those skills in recent job(s), have GitHub links , its at the top of your resume & LinkedIn ? I think you'll get somewhere if you do that. To people saying 10 applications is nothing, well sure if its a scatter-gun approach, but I believe 2 or 3 very targeted approaches to relevant jobs is more effective. Make it easy for a busy / lazy/ not clever recruiter to match "We need people with X" to "looks like they've got X"
I was working literally underground with no internet connection when these events were happening, so I was never able to observe them real time. I’m not a person who whines on the net and just does nothing. If I was aware, I would be linking issue tracker ids.
69% of US adults still claim to believe in magical beings guiding their actions.

FIFY
How do you test 8 lines of regex inside a function that does more things? And what's easier, to write and read the function name or copy-paste the lines with the comment (if the comment explaining what that piece does is even written, that is)?
I check a few places but this amazon seller tends to always have it cheapest.

https://www.amazon.com/Apagard-Premio-toothpaste-nanohydroxy...
Seriously, what happens if the games I bought on Steam are no longer valid due to some potential disagreement between the game publisher and Valve?
I do this sometimes, but only if my focus is not 100% there anyway and the tasks are easy.
So fixing simple bugs, or testing, or cleaning up code works on autopilot, but of course you never will enter deep flow work when half of your mind is distracted with something very different.
Please restore the full title.

It is truncated, as noticed by an other comment.
There is no evidence that the messages are being collected dragnet-style. FAA702 is targeted.
> On July 15, 2021, Lalani was found with a rope around her neck, the suit says.

I think most if not all of these cases would involve something other than use of one's hand/breathing control to choke, which of course is quite deadly.
I think this one is a lot less positive
While one can certainly over-engineer everything into N levels of abstraction either with OOP stuff or with FP stuff like higher-order functions (or higher-higher-...-order functions for that matter), I could well imagine, that a person who knows FP stuff would not have as much of a problem with a specific code base and when that person leaves and only OOP-only people are left, they scratch their heads and call it an "unreadable mess".

So I would not rule out that possibility, without having seen the actual code. Documentation is a point though. One should always document at least for a bit stupider version of oneself. One day in the future that self will come back and "not get it".

That said, it is at least possible, that the company in question needs to hire a smarter person, or simply a more FP informed person. Also entirely possible, that the code is over-engineered and way too complicated for what it achieves. Without seeing an example ...
I live on a small island in Iceland, too far across the sea to pipe Geothermal water to, so the town heats water electrically and pipes it to homes instead. It's not very efficient, and it is rather expensive. It's kind of interesting because there just aren't hot water heaters for sale here, and Icelandic homes are built with that assumption.

I'm on the far side of the island from the plant, and in winter you can absolutely tell the difference in water temperature. In summer months there's an anti-scald unit in every home that's necessary to prevent it being too hot, but in winter sometimes you end up with rather lackluster showers.
But why did this "feature" added in the first place?

In most cases, this feature isn't needed but causes confusion instead.
Infinite letter of marquee
The Art of Mac Malware: Volume I: Analysis
SEEKING WORK | India | Remote | FullStack

experience: 6years

Tech Stack: Rust, JS, Node, Deno, React, Vue, Python, Docker, AWS, anything else regular

Open Source work: github.com/fosslife

email: prabhanjan@fosslife.com
I just realized we're less than 1 year away from reaching 8 billion people on Earth. A bit scary.
Another point is that overcrowding also makes it less pleasant for the tourists themselves. If you charge people €10 and they find it more pleasant, don't have to queue for drinks or to take selfies, and can get help if they need it, they might consider it well worth it.
> I'm also not sure why you'd declare functions for each type of pizza; that's data.

Yep, had the same thoughts reading the code. What you suggest even seems a purer implementation of the DRY principle, rather than what is proposed in the article which would result in copy and pasting the make_pepperoni_pizza() function as soon as you decide to sell a third type of pizza.

Of course, the DRY principle used without considering other factors could produce bad results, but all the code in the article is bad for reasons unrelated to the principle it attempts to criticize.
"Virii" is wrong. If it were a thing, it would be the plural of "virius", which isn't a word.

"The Latin word "virus" isn't widely attested, and never in the plural. It seems to refer to something like a miasma - that is, a substance, that has no plural.

The English word Virus, refering to a particle of an infectious agent, should therefore be treated as an English word, of which the plural form is "viruses".

[Edit] There are singular nouns in Latin that end in "-us", which do have a plural form, but that plural form is spelled the same as the singular form. So it's possible that the plural of the Latin "virus" was "virus". But as far as I'm aware, it wasn't a countable noun.

Also, if we want "virus" to mean a particle, then it's inconvenient for the plural to also be "virus" - we'd like a notation for referring to multiple particles.

[Edit 2] It's worse, isn't it? We refer to the "Covid-19 virus", meaning the global population of that group of strains; the individual strains in the group might then also be referred to as a singular "virus", in the sense in which we might refer to urban air-pollution being caused by "the car".

I gave up using words like "stadia" and "referenda" many years ago. I'm afraid I'm very pedantic about language, but I now think those are a sort of back-Latin, and they sound pretentious. "Stadium" and "referendum" are English words now, and the way normal people pluralise them is correct.
Thanks for the recommendation, I had never heard of it. And I had the same experience in regards to the hydroxyapatite. No dentists told me, I just discovered it on pubmed and then went googling like crazy.
Tracking LightGBM projects with Layer. You can use Layer to:
- Version datasets
- Version models
- Log model parameters
- Log test metrics
- Log charts
- Log sample predictions
- Log images
- Document your project
> the companies grew by delivering what the military wanted, then gradually it became “your so good at giving us what we want, we’ll just let you sort it all out, just make sure it can do XYZ” … and thus the disconnect grows with the users now mostly cut out of the design loop except for limited feedback towards the end of “product development”

For what it's worth, the counterpoint: Government-led purchases of military products have led to colossal cluster-fucks like the F-35 where everyone and their dog seems to have been allowed to specify inputs and throw around stuff mid-project, throwing everything off course. Here in Germany, the same issue has been blamed on virtually all of our military purchase scandals and issues.

In contrast, Rheinmetall just presented their new KF51 Panther tank [1] which they developed fully on their own as a response to the Russian T-14 Armata, which means it is expected to be in serial production in 2024-2025 while the "collaboration project" KNDS (between French Nexter, Krauss-Maffei Wegmann and Rheinmetall) is expected to be in production in 2035. This fits into Chancellor Scholz' recent announcement of a Zeitenwende in military investment, of which a huge part will be to buy what the industry already has ready and tested instead of wasting time and money on bespoke solutions.

[1] https://www.t-online.de/nachrichten/deutschland/militaer-ver...
For what purpose in a text editor? Hopefully not for user settings, some people like to version control those.

For "recently opened", indexing, etc it seems appropriate.
That doesn't change anything here.
Strong disagree and just won't help besides fantasies. Lets not dig into the other mess again just because we never went and always deferred starting to do the right thing already 30 years back and now say: nuclear is the only way out.

It isn't, it would be too late anyway, it will not scale to the world's power needs, it will cost too much.. and I just haven' touched the usual downsides of nuclear.

Even some nuclear operators start seeing it this way now already..
Whoever keeps downvoting my posts should perhaps try and participate in the debate ;)
It’s about four decades too late to help anything.
Great.

In the discussion about privacy we use tik tok to get our data, aren’t we?

Great communist china welcome you. Heard of the leaky story of the firm lately and the FCC case.
How would you know? It's certainly not true for me.
So you have a passphrase protecting the note.

On a mobile device chances are your passphrase is rather weak because it's tedious to enter.
D's betterC is very nice. Very much worth looking at.
Maybe for you. For me pulseaudion brought only problems. And the additional daemons did not bring any improvement (i don't use gnome or kde).
> Either way it's the parents job to keep their kids safe until they're $legal_age.

If someone sells alcohol to a minor they can be sued and will likely be in trouble if the child is harmed. It is the seller's responsibility to make sure they don't and it wouldn't enough to have a sign saying "please don't buy if you are a minor". They must actively check. Same thing with firearms. Even the (adult) entertainment industry works like that.

Here too tiktok "sold" a product to some kids, and these kids were harmed. Consequently they have some responsibility over that. Why should the IT industry get away with practice that would not be accepted in any other industry?

The role of parents is not to keep their kids safe at all costs. If it were then just keeping children locked up until their majority would be optimal parenting. Instead we as a society should thrive to make the world safe for those kids rather than just pretend it's the exclusive responsibility of their parents.
Please increase your level of flexible thinking so you can understand the comparison made.

Thank you.
This is exactly how I tend to explain ML/ AI simply to people. Its mostly stats paired up with Linear Algebra, Calculus and Comp Science.
As with any such article, it comes down to competence mistaken as principle. Principles are never, here, to blame. A cultish (inexperienced) belief in the sanctity of a principle is to blame.

Excellence in programming is trading principles off each other based on the design constraints and expected changes.

DRY trades off everything else in different ways depending on the language and problem. DRY in python should, often stop when you ask "should this be a metaclasss" but before "should this be a decorator", that's different than in C
I don't get a rickroll, I get a redirect to the address you posted.
Nobody here seems to be discussing which colour they like the most, so I'll start that thread.

I am split between the silver, which I have always had since the Powerbook G4. And the new Midnight, which is brand new, and I think the colour of a dark laptop I've always wanted.
I've been using iPhones since the first iPhone. I don't sync any relevant stuff to iCloud. However, during previous iOS updates this sync turned itself back on multiple times (more than three times for sure).

It hasn't happened for a while but whenever there's an iOS update it's advisable to check your iCloud settings immediately afterwards and if they changed, you change them back and pray that your important data hasn't been sent to the cloud in the meantime.
My oil based system is 45 years old but no part in it is the original one anymore, so with a certain maintenance cost spread over the years you keep it living indefinitely. Does the ship of Theseus concept apply also for heat pumps, or there you have to throw it away after 10 years?
This. The reason for Reason to exist was to be a bridge, bring native OCaml devs to web deployment and bring front end devs to native apps. It was a brilliant strategy I think. While the failure of the project certainly stems for the absence of development for more that two years, the ReScript project was the last nail the coffin because it stated that they wanted to blow up the bridge that was Reason's reason to exist. Why they thought the world needed yet another compile-to-javascript dialect when there's already typescript, dart, elm, and probably many others is beyond me.
I love neovim and vim, but personally I've found that configuring the LSP has been very tedious and prone to breaking. For the last few months I've been using LunarVim, but always felt that it did too much and I felt it hard to configure.

The last few weeks though, someone tipped me off to: https://github.com/brainfucksec/neovim-lua

It's basially a neovim config that's not minimal, but very reasonable. You can install and all the LSP config just worked. I also found it very easy to configure and set up to my liking (added telescope, etc.)

If anyone out there is looking for a great base to start their own neovim config, try it out!
>EVERYTHING HAS TRADEOFFS. Every single thing has tradeoffs

This should be the lede, IMHO.
> What you mentioned is pretty much the way to go. You work on your config on the weekend what you thought was missing throughout your week. I wish everyone tells that the people starting out with vim/Emacs.

If that's the way to work with vim/Emacs, that would basically kill all mainstream interest in them.

"Work during the week so you can work during your weekends" is not what most people want.
API/framework complexity can often be minimized within reason, but given the code-template nature of pattern components it is unreasonable to expect optimization without incurring tightly coupled code/structures.

For example, a project using a framework may only require a developer look at 4 small files to understand the functionality of a resource, and it acts as inline documentation to others on how to quickly contribute new features. In a way, through explicit separation of resources the “similar” code tends to differentiate rather quickly as use-cases rarely share the exact same context throughout the entire life-cycle of a program.

The worst maintenance teams of popular projects permute an API definition every 6 months, and break existing production code in downstream works. You know, ironically still building that bug infested Ivory Tower everyone assumed they could avoid with grossly oversimplified acronyms ( https://en.wikipedia.org/wiki/Ivory_tower ). ;-)
I'm still a bit disappointed that Esperanto isn't the official language of the EU.
> practice this is very relevant when you suspect something might be repeated in the future, but you're not sure.

DRY only hits when you indeed repeat something.

If you predict potential reuse, which you don't certainly know, it's premature optimization.
Big forwards for science are usually outside of war period(peace time and preparing for war time). During the actual war, science usually stagnates
> Now we are talking about all kinds of fancy programming stuff to try to solve problems that only exist because we don't want to repeat the same 6 line snippet in a handful of different places because DRY tells us that's bad.

Oooh yeaah ... I have had that exact argument in the recent code review where patch literally modified _hundreds_ of LoC across many different files just to avoid duplicating a simple 10-liner at a single place? Yeah, you read that right.

A developer basically rewrote half of the existing code architecture and applied "best" OOP practices. Intention wasn't a bad one but it is unnecessary to say how incomprehensible code would have become if that patch went in in its original form. It was hard to argue against it and what would have been a 10-minute work it became a 2 or 3 week long discussion. And that is just ... bad.
This guy sounds like he shouldn't be on the road to be honest. He's now happy about the fact that he's able to look away from the road for > 15 seconds?

Also it sounds like they had 5 instances of: not touching the steering wheel for over a minute, speeding whilst using an experimental self-driving system, looking away from the road for an extended period whilst using an experimental self-driving system.

It sounds like he thinks it's unfair that his wife got a strike for driving with one arm, whilst distracted by children.

I can't stand Tesla as a company, but it sounds entirely fair that they had their access taken away.
Quantum Computer with Photonic Processor Reportedly Outperformed Supercomputer
Natural gas emits radically less CO2 than coal, which is why this is entirely necessary during the transition (Germany is now bruning coal to compensate for the Russian war).

Gas emits so little CO2 compared to coal that it actually accounted for ONE THIRD of the drop in U.S. emissions from 2005 - 2016: https://www.carbonbrief.org/analysis-why-us-carbon-emissions....
I'm not sure if that would apply to torrents, as you are also effectively sharing content with others while downloading.

It would be better that the law would require to make the content available for a download, using DRM / encryption that can work offline without any connections to a DRM server. Maybe using a personal encryption key.
So zero people in the town used it, but your gut blames the older folks. Is that town only made of older folks?
OSS is about choice. That's why i choose not to use such a distro.
Interesting that they're building hardware specifically for KDE. Can't be a large market for that. As a GNOME user I love the look of the hardware but find it strange they are not simply supporting one of the common Linux distros and allowing users their choice of desktop environment.