skysight-inc/HackerNews huggingface dataset:
> would be an antipattern

I just want to point out the above is identical to saying "is bad" without explaining why it's bad.

We can say it doesn't align with PDO's goal of being barebones library that doesn't add non-native features on top. But that's not what it does. It both omits many native features on the various databases it supports, and has non-native features like hydrating objects, for some reason.

I'd say if a PHP library is at the same level as the C library that backs it, that's a failure of design goals. C is intentionally low-level (by modern standards) and PHP is supposed to be high-level and consumable by people with much less clue than C programmers.

It's unfortunate that you pretty much need a DBAL (like Doctrine DBAL) on top of a DBAL (PDO) to get some of the missing features. Like, say, escaping identifiers.
Yup, I understand that. But a fair comparison would be "here is a novel, in both Japanese and English. Now who will type it faster? The Japanese writer using a Japanese typewriter or the English writer using English typewriter?"
> The UK isn't even manning its customs posts for imports from the EU at present.

I mean, largely true, but entirely irrelevant to someone planning a factory. That's a temporary situation that cannot realistically continue.
The problem was the misaligned switch. He was attempting to avoid damage, and was under the impression that the train was stopping.
You're saying the same thing I'm saying.
American SUVs are now bigger than the TANKS that fought in World War II
Sadly this kind of message will just result in apathy [in the US]. We've seen from the pandemic that just telling people they're going to die unless they take the most basic health precautions isn't enough to create action. We need a massive campaign of manipulation tactics by trusted peers or they're not going to act to save themselves.
Yep, you are right. Kevin Buzzard, Johan Commelin, and Patrick Massot, slide 31 at

https://robertylewis.com/files/lean_intro_slides.pdf
Yes. Sorry for the ambiguous comment.

Whenever I see a GIS application, I'm always curious to see how they solve the gdal problem.

The best is always no GDAL, but that gets pretty hard to do quite quickly as GDAL contains some really great algorithms for dealing with non-trivial raster processing.
You're right, thanks for reminding
The device you scan the QR code with will ultimately deal with it, as it would if you had clicked a hyperlink in the build in web browser. So if your device blocks tracking tech (cookies etc) then you'd be fine. There's no difference here between a QR and clicking a link though.
Thanks a lot for the link. :-)
They can wear whatever they want....when they "compete" in their backyard, for no salary, with no one watching. But when businesses foot the bill for their activities, and for the expensive infrastructure required to produce and broadcast these events to a global audience, then they can wear what generates revenue, or get another job.
Curious, Are there earlier examples of negligence, prior to the episode of "weapons of mass destruction"?

When did the decline really start?
Have prices actually increased? Lazard's Levelized Cost of Energy analysis shows a steady decline in cost https://www.lazard.com/media/451447/grphx_lcoe-09-09.jpg but that also includes operating costs. I can't find a source for the solar panels themselves.
A UK FreePort would be far more beneficial for skill set, JIT trade and global connectivity.

Plus a long way from the stranglehold of EU protectionism, red tape and corruption
It's ironic that my first paid job at Racal in the UK working on computer aided design software in assembler running on shared fridge sized minicomputers with 64K RAM got many SW development truisms right. Desks all in one large room with collaborators (we didn't know this word yet) next to each other for easy questions/conversation when needed. Room was quiet at all times so no problem getting into the flow. Tea break mid morning and afternoon when the tea lady wheeled a cart round with a big tea URN (sweet and slightly milky no options) and various candy/sweets cookies/biscuits or chips/crisps. We would all get up from our desks and line up near the URN and chat/collaborate similarly to how people do at water coolers I understand. Lunch in the company cafeteria or out at a local pub if there was some event. More collaboration. After lunch we usually all (most of us) played the board game Diplomacy at one move per day. This is the perfect team building tool. What could be a better way to get to know each other than by building alliances to go to war with your comrades and/or stabbing them in the back? No external frameworks - most of the senior folks would create a few common functions or have some from previous projects that could be shared. It was all downhill from there.
In netherlands, you can earn a comfortable 130k.
From other comments it sounds like its an initial call.

Something to think about is how your background in being a chemist can relate to software. Do you see similarities with how things are structured chemically and how you build programs? Are there analysis and debugging skills that can help you as a programmer? I'll also assume there is a fair amount of statistics used in the sciences which is helpful when working with applications that have decent traffic.

Good Luck!
> And no, people don't need to get vaccinated to protect the vulnerable. The vulnerable will not escape an endemic virus.

This is not true. We can eradicate a virus without vaccinating every single person. That's how we eradicated smallpox.

> And I also reject all that nonsense that people must get vaccinated to create herd immunity. People, especially young people can also get immunity through infection. I had COVID and I was immune since then.

People, even young people, can die from Covid. Or get long term lung damage and other side effects.
Now try German :) Personally I don't have a problem with foreign speakers butchering my name. And what's the correct pronouncation anyway for a first name that's the French version of a name with Greek origin that seems to be most popular in Russia, and a family name that's an Old-German word for a profession that died out many centuries ago but somehow survived in some backwoods.
Best technical books about *BSD / macOS?
I already took a look (quickly) at one OS Internals (http://newosxbook.com/index.php), but the books seem a bit old now, and very expensive for three old books (75$ each, 3 volumes).

Do you have any recommendation for books / blog posts / persons to follow... for techie stuff about *BSD / macOS, like OS internals, Darwin kernel internals, etc...

Thanks
Ah, the pot getting jealous of losing influence and calling the kettle black.

As someone pointed out upthread, these media take money from foreign interests (China, Russia, Israel, Saudi Arabia, and quite a umber of others) and it's all good according to them, because they apparently are "good" by self-definition.

They are part of the problem!
Microsoft's Windows APIs are, in some sense, an "open platform".

They don't accept third party contributions, but they are thoroughly documented and their whole purpose is to support third party developers.

Because that's their goal, they won't ever break that backwards compatibility.

That, I think, is what the GP was getting at - the Signal team does not want to wind up being constrained in the ways that MS is by supporting third-party developers.

Making their protocol an open standard would have that effect, because they could no longer unilaterally change the protocol as they see fit. They would be constrained by the need to support and think about all the other stakeholders who rely on the standard.

If you control the client, the server, and the internal-only standard, in really bad situations, you can just push out an update that fixes the apocalypse in a backwards-incompatible way and drop support for all previous clients.

This is not hypothetical - see the KRACK attack from 2017 for an example where an open standard was found to have a security flaw (https://www.krackattacks.com/).

We all got very lucky that the flaw could be mitigated in a backwards-compatible way.
This is probably over engineering though. I know for a fact that the two apartment buildings next door have codes that most of the delivery drivers know for this exact purpose.

They don't have front desks, so it makes sense that they let themselves in.

Is it a security risk for the residents? Maybe. But most would probably vote to allow it given the desire to have the packages delivered.
Latin characters are hardly alien to Japanese.
Yes. I'm having a hard time finding a good selling point for rasterio.

> I think for the ease of installation alone rasterio is a blessing.

How does rasterio simplify installation, when you still have to deal with gdal's C extension dependencies?
This is so messed up. If you’re reading this and are in this ‘business’, or associated with it/supporting it, please, for the sake of yourself, your families, humanity and the planet we live on, get out if you have any choice! It’s been bad enough with state actors, lobbyists etc etc. for years anyhow - don’t make it worse for the sake of a quick buck!
To be clear, that depends on the country. In the USA, racial quotas in hiring are illegal, so you won’t see a law requiring them explicitly. I know it’s different in other countries though.
Why are you commenting if you didn’t take in the content of the link?

The little fact you drop here for some reason is right there in the video description.
As mentioned elsewhere, the tariff aren't the issue for most industries; non-tariff barriers are. I would think the UK's plan for a sort of parallel REACH regulation (REACH is the EU's chemical regulation) after the transition period ends would be particularly burdensome for the semiconductor industry.
Thats great. The Mini leaning on the screen like that is only mildly triggering me.
https://arxiv.org/abs/hep-th/9702027
Fixing diversity at the highest levels in companies is a really hard problem. The kind of people that get those jobs often have to make massive sacrifices to get there. Insane working hours, prioritising work over all other responsibilities, sometimes willingness to relocate globally as needed. There are some women willing to compete on the same terms, but comparatively few. It's great to see them get there when they do, but realistically ethnic diversity is probably going to be a more realistic expectation.
You can't solve this problem by compounding the issue: forcing people to know the spelling of every language.

The solution is to give people your IPA pronunciation. Instead of listening pronouns in Twitter you can list the pronunciation: "Ioan Răducanu /i'wan rədukanu/"
I would be _ecstatic_ to give up half of my salary for such a system which assures that irrespective of my employment/financial status, age or health, I'll get the care I need, until I die.
Show HN: Keylight
My personal theory is that it's mostly due to exposure and cultural influence. The English speaking world is mostly refractory towards the non-English speaking world, i.e., books and movies published in Italian will almost always never get an English translation because there really isn't a market for translated novels. In the same way, Italian singers and bands have 0 chances of success unless they start singing in English; that's also the reason why at Eurovision only a very few countries sing in their own languages.

This causes people to hear English sounds since their very early childhood - in song, mostly. Movies are dubbed, but in general names of non translatable things are kept as-is, with a "flattened" but somewhat correct pronounciation.

English is also a mandatory subject in school. While the vast majority of students suck badly in that subject (I think among my classmates only 3 people, counting myself, had a mark above a passing grade in high school), at least you get that Millennials and some Gen X at least can grasp how stuff is supposed to get pronounced, so they can correct their parents or relatives when they say something completely out of place. I don't think there are enough people knowing a foreign language in English-speaking countries to offset this, so the "creative" pronunciations tend to stick and become the norm.
How to Improve Focus
An Analysis of Speculative Type Confusion Vulnerabilities in the Wild
https://arxiv.org/pdf/2106.15601.pdf

"Spectre v1 attacks, which exploit conditional branch misprediction, are often identified with attacks that bypass array bounds checking to leak data from a victim's memory. Generally, however, Spectre v1 attacks can exploit any conditional branch misprediction that makes the victim execute code incorrectly. In this paper, we investigate speculative type confusion, a Spectre v1 attack vector in which branch mispredictions make the victim execute with variables holding values of the wrong type and thereby leak memory content.
We observe that speculative type confusion can be inadvertently introduced by a compiler, making it extremely hard for programmers to reason about security and manually apply Spectre mitigations. We thus set out to determine the extent to which speculative type confusion affects the Linux kernel. Our analysis finds exploitable and potentially-exploitable arbitrary memory disclosure vulnerabilities. We also find many latent vulnerabilities, which could become exploitable due to innocuous system changes, such as coding style changes.
Our results suggest that Spectre mitigations which rely on statically/manually identifying "bad" code patterns need to be rethought, and more comprehensive mitigations are needed."
The problem with analyzing stuff like this about Rust, is that even Rust itself has no idea how it works, or what syntax and semantics actually mean.

Rust doesn't merely lack a language standard, its reference and advanced documentation is also a very unfunny joke. You can learn just enough to have some idea of what you're doing, and then you're stuck huffing unicorn queefs because nobody including the compiler devs knows the exact rules on how syntax is supposed to work.

Magical shortcuts, syntax, and borrow checker tricks are added and removed at random with no rhyme or reason, and Rust severely punishes the programmer for wanting to know how the language actually works, since there are usually no answers, or worse, wrong answers, for them to find.

I still use Rust because the memory safety without a GC is wonderful, but please, don't even try to make it look like Rust has some official documentation or behavior. It most definitely does not, and what really disturbs me is how so many of the Rust community don't even want a standard.

So OP, everything you've just done, will be rendered obsolete and woefully wrong in a couple years when Rust serves up another opaque unicorn-burger.
I've found myself using my second monitor as a fill light during video calls, so I put together a little site to make tuning the color simpler.
It is probably too much to ask everyone follow the same approach, so I'll be happy if people just test their own commands by hand. But your doc build step that validates code and catches errors? That's the ideal setup, for sure. Great job!
Except unlike google play for android there are a lot of competitive alternatives.
>For instance, insisting people who've already recovered from covid and have robust, longer-lasting immunity also get vaccinated... That should make everyone's eyebrow raise up to heaven

Firstly, vaccine immunity is superior. Secondly - what are you implying with your eyebrow raise? An undisclosed ulterior motive? Short of kooky 5g-microchips-flat-earth-lizard-illuminati trash, what motive could any government have for deliberately compromising the health of their citizens, never mind all countries - including all the great rival superpowers?

> I'm healthy, young, get plenty of vitamin D, and have close to zero risk of catching or transmitting covid

Close to zero risk? I'm skeptical. Unless you live off-grid somewhere and have no personal contact at all, in which case - sure, forget vaccination. But all the youth and vitamin D in the world won't stop you from catching and transmitting it the moment you step into civilization.
It’s not a big deal. Watch some news in Chinese and you’ll hear similar butchering.

It’s so exaggerated US cities are given totally different names in Chinese -there is little resemblance to the North American name of the city.
You should generally use outline instead of border for this, since it doesn't affect the size of the element.
> Who was Indurain's right hand?

His brother ? I think that Jean-François Bernard did that role at the end of Indurain's career.
As the formula depends on pi, it means you can estimate pi by droping needles on the floor. That's called monte-carlo.
What did not evolve in 2020?
The thing is you don't even need to have a bigger keyboard: there is currently an input method that maps every key to a given kana. Not sure why it isn't more widespread though
Smallpox is the only human disease where this has happened so far, what do you think are the chances of doing the same with C19?
It’s the individual’s choice. Medical tyranny due to mass fear is still tyranny.
Alternatively, none of those bad things are happening to me, so this is literally the worst thing in the world.
See my other reply.

This is a joke / nostalgic memory for old computer programmers, who can still remember the time when such punched cards where used to store any computer program that you wrote, so that a computer would be able to read the program.

It was out of the question to write directly the program on a terminal connected to the computer (before the invention of time sharing) because the running time of the computer was too expensive to be acceptable that it should wait until you type at a keyboard.

So the computer programs were recorded offline on punched cards, then the computer read the program from the punched cards at high speed, maybe storing it on a hard disk or on a magnetic tape, if you wanted to run the program more than once.
Citation -

https://digital-strategy.ec.europa.eu/en/policies/audiovisua...

https://support.google.com/youtube/answer/10070779?hl=en-GB#...

The Irish communications regulator, Comreg, determines categorisation for what is considered "adult" content on YouTube (well, or at least sets guidance, which YouTube somewhat clumsily implements, but the guidance is vague and crap). The Irish regulator is allowed to do it Europe wide, as under the Single Market YouTube's European operations are based in Ireland for tax reasons.

The AVMS and DSA are going to force age gates in Europe to an unprecedented scale, as will the Online Safety Bill in the UK.
And they do the same with some of their VPN/firewall products which are totally over priced except compared with self hosted products
BestBuy's been doing this since 2010:

https://retailgeek.com/best-buy-deploys-qr-codes-to-enhance-...

This shouldn't be a surprise to anyone.
You make a lot of good points, but the conclusion is, depressingly, as always, that power and influence necessarily win out over truth every time.

There’s no reason to expect truth to prevail in an environment where it doesn’t have an adaptive advantage.
It’s not a question of information accuracy, it’s a fundamental philosophical dispute regarding agency. Freedom vs control
Have you ever experienced millions of new users starting on your service in the space of a few days?

Predicting the future is hard.

Calling a team "clowns" because they didn't make the right guesses when they did capacity planning and had a day with downtime as a result of meteoric growth seems unfair to me.
Seraphs: Procedurally Generated Voynich Manuscript
It’s either a form of art or crap!
Yeah, "left as an exercise" can mean anything from "this is an undergraduate exercise" to "if you understand both the field and this paper, you could write a different, much longer paper, and we both know this, so let's assume I wrote that one."

It's probably not impossible to build a proof language that makes that kind of thing doable, but I suspect that (a) it would be genuinely difficult to operate it skilfully, much as being a really good developer is difficult, and (b) it would take a huge collective effort on behalf of each research community to prove the foundational results everyone relies on.

Whereas the system we have right now, despite sounding kind of weird to outsiders, mostly works okay? I'm just not sure a switch to formal proofs would be worth the time investment -- or that you could convince the many researchers less interested in tech than myself.
I'm studying Hindi as a second language, and the inconsistency of transliterations drives me crazy, I'd rather nobody transliterated and just used devanagari if it's not going to be IAST.

Worse, Google has updated the (abc -> हिंदी) keyboard on Android so that in many cases it actually refuses the standard transliterations in favour of popular ones, I assume. And so if you want पीता you have to type 'peeta'; 'piita' won't get it, even if you click the caret for more options.

It also reinforces things like हूं - which I can understand if you're writing by hand, but why wouldn't a digital keyboard input the 'correct' / 'proper' / whatever हूँ?

(To write it there I used the direct input method rather than transliteration one, with which afaik it's not possible to write it.)

In fairness to butcherers of Manohar's name though, you really do need to be told/have learnt how the transliteration (IAST or roughly) is supposed to work. Otherwise of course you're going to read it in the language you know.

The trouble is, once you do know, you're left wondering if something is transliterated 'correctly' (in standard as opposed to popular fashion) or English-phonetically... Particularly with vowels: 'e' for example is either 'ay' as in 'pay' or 'e' as in 'pee' accordingly. (The latter 'should' be 'ī' or 'ii'.)
Top dev blogs to read in 2021
Internet is just a big IP network. I use it to talk to certain servers like email, my vps, or my personal home server. The other servers I talk to I dont own so I spend as little time sending them requests as possible.

If you stop sending strange servers requests for unwanted data you'll feel much better :-)
Your chain of arguments seem to cling on that "a lot of people seeking long lifespan are also religious"

Seems to be quite a flex to reach a certain conclusion.
I don't know why you're under the impression technological backwardness has anything to do with abandoning cash. There's a lot of things to critizise the german government for - 16k broadband lines for newly built industrial parks anyone? - but not replacing cash is certainly not it.
> we're Tesla so they'll create all kinds of exceptions for us if we pay the right politicians

Based on what? Tesla makes extensive use of an existing capability to move on development with per-approval.

They have not received any kind of politicians helping them to avoid bureaucracy that I know of. Some local politicians have talked in support but the bureaucracy is just moving at its normal pace.

I guess they paid a fine for installing a few tanks to early but that seems like a planning issue, not some kind of 'we gone install the 2 tanks because we have political backing'.

Its not like the plant is majorly behind.

> Turns out not every country is as corrupt as Tesla's home country.

Again, based on what? What corrupt thing did Tesla do in Texas that is so different? Texas doesn't require a public meeting for input but the overall process is not actually that different.

Maybe the standards are different, but it doesn't have anything to do with corruption.
I find it a bit discouraging that the scientific consensus on what's a proper or wrong belief is entirely subject to cultural circumstances local in time and place.

Displace any individual considered healthy about 5 decades back or forward and they'll appear unstable. Make it 5 centuries and they'll basically appear fully psychotic (and not just because they just travelled through time).