HN user

chx

1 karma
Posts117
Comments4,356
View on HN
scottarc.blog 1y ago

Trust Rules Everything Around Me

chx
3pts0
www.balisage.net 1y ago

CM Sperberg-McQueen Died

chx
3pts1
www.eejournal.com 2y ago

IBM Research Fellow Robert H. Dennard, 1932-2024

chx
10pts1
news.ycombinator.com 2y ago

Intel answered the criticism regarding thunderbolt-utils: the repo is gone

chx
1pts1
www.todayintabs.com 2y ago

Defective Accelerationism

chx
2pts0
racket.discourse.group 2y ago

YAML-exp – Write s-expressions in YAML

chx
3pts1
buttondown.email 2y ago

Undocumented Features of GitHub

chx
14pts7
buttondown.email 2y ago

Undocumented features of GitHub

chx
4pts0
www.theneweuropean.co.uk 3y ago

The slow, sad death of Twitter

chx
4pts1
bugs.python.org 5y ago

Python is 1.3x faster by just adjusting some compiling options for libpython

chx
247pts101
thehill.com 5y ago

Our cybersecurity 'industry best practices' keep allowing breaches

chx
2pts1
www.cnn.com 5y ago

Nasdaq's computer system can't handle Berkshire Hathaway's sky-high stock price

chx
2pts0
isc.sans.edu 5y ago

Simple Powershell Ransomware Creating a 7Z Archive of Your Files

chx
2pts0
amiangshu.com 5y ago

Why Security Defects Go Unnoticed During Code Reviews? [pdf]

chx
68pts57
www.phoronix.com 5y ago

Pyston 2.1 Is Blowing Past Python 3.8/3.9 Performance

chx
15pts12
github.com 5y ago

Add Stories to Windows Terminal

chx
2pts0
www.theguardian.com 5y ago

Company forced to change name that could be used to hack websites

chx
2pts0
www.upi.com 5y ago

Amazon says FAA has approved 'Prime Air' drone deliveries

chx
2pts0
github.com 6y ago

The dogs in Red Alert were attached to invisible bullets when they attacked

chx
4pts1
timesnewarial.liebermannkiepereddemann.de 6y ago

Times New Arial

chx
74pts10
secret.club 6y ago

From directory deletion to SYSTEM shell

chx
2pts0
www.pouet.net 6y ago

“Memories” – 256 byte MSDOS intro (commented code included)

chx
4pts2
youtu.be 6y ago

An abusive alarm clock that deletes your files if you don't wake up

chx
3pts2
www.realworldtech.com 6y ago

Linus Torvalds: “performance per watt” measure is complete garbage

chx
6pts1
codegolf.stackexchange.com 6y ago

Drawing the biohazard symbol in SQL Server 2017

chx
3pts0
www.anandtech.com 6y ago

Samsung Preps PM1733 PCIe 4.0 Enterprise SSDs for AMD's “Rome” EPYC Processors

chx
3pts0
www.scorpia.co.uk 7y ago

Raspberry Pi 4 not working with some chargers (or why you need two cc resistors)

chx
4pts0
github.com 7y ago

A CSS based web framework

chx
3pts0
twitter.com 7y ago

Open letter to reactweek and NYCReact frm ReactJS NYC members&community leaders

chx
1pts0
twitter.com 7y ago

Australia Civil Aviation Authority Suspends Boeing 737 Max to / from Australia

chx
1pts0

This brings up a very old memory: the readme of Volkov Commander said the author of it is some nuclear institute in Kyiv. Yup.

(Also, I uploaded Volkov Commander to SIMTEL 31 years ago and the ignorant asshole running that site reported me to the university for pirating Norton Commander and they banned me from the university VAX leading me straight to Linux. Funny how that worked out.)

Yes, yes, yes, of course, the infamous CPU released just so Intel middle managers can get their bonus. GPU disabled, CPU gimped, the whole thing barely worked at all. Let's call it the 0th iteration of 10nm , it was not real, there was like one laptop in China, the Lenovo IdeaPad 330-15ICN, which paper launched.

Most of the stock buybacks happened under Bob Swan though. Krzanich dug the grave of Intel but it was Swan who kicked the company in there by wasting forty billion. (No wonder he landed at a18z.)

The first iteration of Intel 10nm was simply broken -- you had Ice Lake mobile CPUs in 2019 yes but desktop and server processors took another two years to be released. In 2012 Intel said they will ship 14nm in 2013 and 10nm in 2015. Not only they did fail to deliver 10nm Intel CPUs but they failed Nokia server division too, nearly killing it off in 2018, three years after their initial target. No one in the industry forgot that, it's hardly a surprise they have such trouble getting customers now.

And despite this total failure they spent many tens of on stock buybacks https://ycharts.com/companies/INTC/stock_buyback no less than ten billions in 2014 and in 2018-2021 over forty billions. That's an awful, awful lot of money to waste.

The essence of being senior, I feel is "I have made the mistake you are about to make". This echoes in language learning. When I was learning Go I could easily pinpoint what language design decisions were made because of lessons learned from this language or that. (I do not want to suggest schismogenesis applies to programming languages but ... it kinda sorta does?) Teaching with this in mind needs a very different curriculum.

Also, basic exercises are boring because we did them ten thousand and one times already just with slightly different syntax.

Yeah but this is where a human is indispensable.

Suppose the source language has words which could be translated into multiple English words -- look at all the power banks which are advertised as charging treasure for example. One can see how bank vs treasure are close, after all. Further, even in English multiple phrases could be used "don't preserve" "bin it" "throw it away" and countless others. Even worse, it could be a company specific phrase which would only stand out as odd "apply procedure 66 to it".

If given a little thought this is exactly the kind of task where a native speaker would shine and LLM might just miss or if given a wide enough net produce a million false positive.

Charset="WTF-8" 2 years ago

Yes but GP said

Where I live, you can only select from a central, though frequently updated, list of names when naming your child

I was born in such a country too and still have frequent connections there and I can confirm the laws only apply to citizens of said country so indeed immigration creates exceptions to this rule even if they transliterate their name.

In 1985, my parents went to West Germany with an organized tour and smuggled a ZX Spectrum for us. At the same time, they sent me to a computer - focused daycamp at a community center. Yes, of course, we played games, I was ten but I learned ZX Spectrum BASIC, too.

Jump forward twenty years and I got my first Western programming job for the then-unimaginable 5000 USD a month. This company also happened to be headquartered in Vancouver where I decided to immigrate to and they helped me doing so. And when this company got acquired four years later, I got a salary high enough to buy my own apartment on the beautiful seashore of Vancouver.

Thanks Speccy for what my life could become.

Not only that but if you have a multiple continental team then no one needs to be waken by an emergency meow. (My PagerDuty is set to a meow sound. So we practice meow driven development: I don't want to hear my phone meowing piteously.) Say, you have someone on the US west coast they can do 10am-10pm while someone else in continental Europe being nine hours ahead can do 7am-7pm.

PHP 8.4 2 years ago

oooo

variable-length lookbehind assertions are now supported.

yay! I needed that so many times.

PHP 8.4 2 years ago

If we hitched language development on Wordpress we would still be on PHP4 as they refused to join gophp5 some seventeen years ago.

Again, an ancient enough codebase which contains a library using array_find will need enough upgrades to run on PHP8 much less PHP8.4 the change from array_find to something else is the least of your worries.

PHP 8.4 2 years ago

Does `$this->country =` use the setter even if it's in a hook (but not a `country` hook)?

To me it is obvious hooks won't use other hooks because that could lead to an infinite loop in a hurry

Does reading `$this->countryCode` use the getter hook, even it's from a `countryCode` hook?

same

If not, is there a way to call the `countryCode` getter from this setter?

There is although it's a bit tricky and not intuitive but I feel this falls under the "it is enough this is possible, there's no need for it to be easy": "Be aware, the detection logic works on $this->[propertyName] directly at compile time, not on dynamic forms of it like $prop = 'beep'; $this->$prop. That will not trigger a backing value." Using dynamic properties in what should be simple code should be rare enough this is not a problem. It's like a bridge convention, the benefits vastly outweigh the drawbacks.

PHP 8.4 2 years ago

That would be some really old library. Already in 2012 when Composer was released there was PSR-0 and today almost all libraries are Composer managed and using a namespace following PSR-4 which itself is ten years old. A library that old would almost surely not run on PHP 8 unchanged anyways.

Surrendering the global namespace to the language is not so bad an idea.

PHP 8.4 2 years ago

Property hooks mean that some language magic will turn a property access into a call to methods.

__get / __set was doing that already and some frameworks very heavily rely on those.

It implies that `$this->x` has a different meaning if it's inside a hook or outside hooks.

this is a valid critique but hopefully hooks will be super short and this won't be a major issue. Indeed, if your get is not an arrow function -- which only allows one statement -- then it needs a good thinking over whether this is indeed the best solution. Ie if your get is so complicated then perhaps a helper method is best and then you have get => $this->foo($this->thing) and that's the only place where $this->thing is special.

if there is any possible way to do that without "boots on the ground"

Of course there is but the Western allies are slow to arm Ukraine because they fear the Russian nuclear retaliation.

To recap, Ukraine received very few , around a hundred ATACMS missiles with severe restrictions on targets. They got less than two dozen F-16 jets. This is just nothing compared what the US might be able to send if they wanted to, they have over 300 Falcons at Davis-Monthan AFB (aka Boneyard) to begin with. There are near four thousand ATACMS missiles manufactured so far. And so on, with tanks etc.

If the "tap" were to open full stream instead of dripping, the war would be over very fast. The question is, which end would we get.

Cases? There was only one and they AFAIK didn't design it, they manufactured it yes but it wasn't a core product. They also note on the Cerberus X

We also wish to inform you that Sliger will be releasing a new line of Desktop cases in the near future, and to keep an eye out for further information.

I should note a few special products in this space.

The Sliger CX4712 fits a 120mm fan in the back, this is extremely rare, the Supermicro 742 did it but that has been out of production for a long, long time.

These days you can even find 120mm tower coolers fitting in 4U, Thermalright True Spirit and the Noctua NH-D12L both are less than 145mm tall easily fitting the ~153mm space. And yes, the new CM Hyper 212 also fits at 152mm but I am not a fan (ahem).