skysight-inc/HackerNews huggingface dataset:
> 50 years ago the quality of the code was much better.

That's hardly an apt comparison when you see they're focused on rich World creation with many layers of depth as opposed to the rather linear 'white square hits white dot' style games like pong.

They were clearly rushed/pressured by management to release after 8+ years of development and with so many people at home with nothing but free time to fill and 2 delays this year alone, its very obvious to see what happened. I'm guessing this was bound to occur. Especially when modern business models are based on creating a casino addiction model fixated on capturing eyeballs and creating discord online rather than delivering a solid working product from day one.

Personally, my biggest gripe with games/gaming is the lack of fulfillment you get for the time spent after having actually achieved things in real life. I now look it as wasted time not doing things that actually matter or improve my Life and those around me, whereas my teenage-self would have regarded such an addiction to wasting time as 'fun.' Had COVID not happened I definitely would not have picked up gaming again and would have been at an arcade if I had spare time and the inclination to play.

It's really the worst kind of time-sink now because I don't enjoy it and have mainly used it to distract me or to take a break from real-life. And I somehow got paid to play watchdogs legion, too...
It's called the Technium
You could also just keep using <table> tags. Either way, they interact strangely with other aspects of CSS and you have to structure your "document" in a very particular (very likely non-semantic) way in order to use it for layout.

Having an escape hatch to break the box model completely so you can do useful things with it is not actually giving you any structural power, it's just admitting the weakness in the model.

Fundamentally, what was always needed -- and what flexbox and grid finally started bringing -- was the recognition that structural layout and semantic structure are rarely the same thing, and that you need to be able to describe them separately, usually in separate hierarchies.

Still, they do it in a fairly convoluted way that only really feels simple by comparison to what came before.
No, Facebook and Google Aren't About to Become Banks
I also got blocked a few hours after registering and had to give my phone number to get unblocked. I did nothing suspicious: filled out my profile in a normal way with nothing political and followed a few researchers but nothing en masse. I wrote to support to ask why this is, but no reply of course.

I still gave it because I'm a little guy and want to get the benefits of being tapped into my professional community, to know what's up, to be visible myself etc. Such individual decisions result in this.

We users have a hard time coordinating as we have individual incentives while Twitter is one entity and can do whatever it decides.
Twitter tried to build one of those back in 2007.

You can go back and read tech media from the time about all the engineering challenges they ran into and the regular downtimes from trying to scale the thing to a tiny fraction of its current volume.

Turns out to be hard.
I agree. I (usually) find it less than helpful if the review talks about shipping problems or other non-product stuff. (most products can be sold by multiple vendors)

That said, there was one review I found helpful because the review said it (something physically large) was damaged in shipment even though they returned it twice.

Maybe there should be a workflow for "You are purchasing from <company x> 81% positive - would you like to see their reviews as a seller?"
I find the entire media expo system, web or not, to be like this.
TV is 100% paid content, be it actual commercials, product placements, bought editorials or just a media mogul manipulating public perception for his business interests.

Best thing to do, is just minimize media consumption.
"Thirteen people in Moderna’s 30,000-person trial died as of December 3. Seven of those people were in the placebo group and didn’t receive the vaccine, and six were in the group of people who got the vaccine.""

There, end of story.
My first programming "job" (i.e. something I did for someone else, no money was exchanged) was removing all sound code from GORILLA.BAS so that it could be used in the back row of an otherwise boring class.
EU law states that you have to disclose you are using ANY cookies that are NOT REQUIRED for the correct functioning of the site (for the end user).

So yes, use of tracking cookies, first or third party, would require a Cookie Consent Banner.
In case of software money will only go so far to offset the scope creep.

If the scope is too large any company will fail, regardless of budget.

Apple historically was always removing features that add bulk but are not necessary (although some people need them).

To give some examples:
- with one of the MacOS releases they announces there are no new features in the OS, just a cleanup of unnecessary stuff
- they removed support for 32 bit apps a year ago - personally I found it painful as some stuff stopped working, but I understand this was done to streamline the system
- and so on

Sure it’s sometimes irritating, but otherwise you risk ending up with a mess that Windows is.

As a side note - since they switched from physical medium it was weird to me personally that there even is a standalone installer - why not make it a system update? This year they finally did the switch.
>> Using “Dict[str, Any]” doesn’t defeat the whole point

I think you’ve misunderstood the parent.
> why couldn't there have been a <vcenter> from the beginning?

So if you want to support a layout that adapts to the size of a viewport you'd do what? Go through DOM with JS on each size change and rewrite DOM from <vcenter> to <somethingelse> and back?

With CSS as is, it's fairly easy to achieve.
Yes, that sounds pretty strange - thank you for sharing. Haha yes, it is surprising on the face of it. But when you think about it, its not trivial to make that everything is seamless for all use cases. It requires a lot of time and constant iteration and feedback. Being a maintainer is anyway not easy and when you have the entire framework to maintain, these things happen more often than not.

On the frontend side, we have two libraries - supertokens-auth-react and supertokens-website. The supertokens-website repo deals with sessions (interceptors to axios for refresh + race condition synchronisation). On the other hand, supertokens-auth-react provides login / sign up UI + session management (it uses supertokens-website).

Thank you for the commendation! Would love to hear your feedback. Please do drop me an email on: advait at supertokens.io

Cuídate! (love Spain, have several friends and have visited barcelona, majorca, Sevilla and more)
Raspberry foundation is tapping into the industrial SoCs' market
On Design Patterns in C++
I’m using 1Blocker on iOS.
You are right that NPCs are generally stupid across the board. However, in CP2077 they are outright broken. If you look at an NPC, turn 180 degrees and then look back, the NPC is either gone or replaced with another NPC entirely. There are stuff like that, not related to "stupidity", that breaks the immersion for me.

PS. I'm also enjoying the game a lot, but soft locks and brokenness is starting to take it's toll.
That makes two of us. What was the parent trying to say, then?
I think FB is being disingenuous. If ads are less targeted then the cost of impressions is going to fall, and so "small business" will be able to buy more ads for the same price.

If there are constraints in supply (ie, not many places to show ads) then I'd be wrong and the price would go up. Maybe someone on HN who knows more than me can project this.

But in any case it certainly isn't entirely obvious to me that "small business" will necessarily suffer. It's not like ads can no longer be targeted; they just can't be _microtargeted_, meaning the very big spenders (like political parties) are going to spend less. But I struggle to see how this will significantly impact traditional, product based advertising.
A difference is that when asked loaded questions like this reported did, he can’t just not answer. ‘People died because of this policy’ what is he going to say? He’s not going to go into some statistics debate to show another point of view, he’s going to say that yes, that’s terrible.
Unless there was a great case for it, it would be dismissed as you said.

I had a reasonably legitimate usecase for this pattern recently, wherein there is a singleton pattern, but this singleton acts as an kind of metaclassinterface for an instanciator under the hood.

The user would inherit from a base class, define the required abstract methods, and create a singleton for use in decorations. The invocation of this singleton spawns an instance of the internal engine and gives it access to the custom functionality the user defined in the abstract methods, by assignment of the bound method to the internal instance.
I think that one is fairly reasonable, since it is the host party doing the advertising for their subscription programme (to their detriment, since nobody wants to be interrupted when browsing content unexpectedly). Banner ads and popups are far more annoying though.

Recently got my older relatives to install Brave, and although I'm not wholly supportive of its business model (which is significantly rooted in crypto and crypto advertising), I can appreciate that my older relatives have begun to see far less scammy popup ads and banners.
Just donate a few bucks and that nagging “pop up” will disappear entirely for another year.

Seriously, Wikipedia is a good cause and you can donate as little or as much as you can afford.
Shutting Borders Helped Australia Contain Covid-19. Reopening Them Is Difficult.
Amazing! Do you know any variants of these which squeeze out the maximum transfer rate over a high quality connection? Thinking about data transfer from a VPN/RDP remote desktop where I want to grab the screen output on the client with very little loss in quality (basically only limited by the chosen video encoder).
I would say something like LispWorks, Factor or even JavaScript with the browser console do a better job at this.

I have given Smalltalk plenty of tries, and always ended giving up due to the lack of polish prevalent on all current implementations:

Pharo looks blurry on my Macbook and is crashing all the time.

Squeak is a bit more stable but feels and runs like a toy.

Cincom is a tad better and has a pretty nice UI designer that is best in class (I would be embarrassed to give a client the ugly non native user interfaces that I see people building in Pharo) but I had the community version (which is not even the latest version) also crash on me a few times and you cannot test it on macOS Catalina / Big Sur.
It comes down to identifying dependencies and justifying the necessity of partnering with a regime with relatively diverse/relaxed human right policies.

My PR background tells me that this is a weighed decision - Condemning Kazakhstan will yield a considerable amount of media attention with very little opportunity cost. Whereas doing the same to China would get you fired as a PR professional.
Soo my styling would be split 37% / 63% between my business logic and CSS files, with one million Medium posts telling me how to hack that weird combination from hell into specific looks? That sounds truly horrifying!
Hardware being to blame is plausible when it relates to visual glitches or outright crashes.

But blaming I/O bandwidth for bugs that are clearly related to game logic is naive.
Under some legislations this could be considered a form of hidden advertising, that is not allowed. E.g. youtubers are getting in trouble in the Netherlands for not properly disclosing their sponsorships. You could argue this is the same in principle.

The practice of buying positive reviews is misleading. Stuff like this would be a lot less attractive if it would have to come with a disclaimer from the seller. Better still, since AWS makes money from the transaction, they could be liable here as well. Right now AWS just looks the other way because it's not their problem and their revenue depends on people getting tricked into spending their cash so they won't go out of their way trying to stop that.
I remember playing some speed chess with someone my level (I'm not an experienced chess player). It's a really different experience from the regular long-contemplation chess. What really stood out to me was how dramatic the effect of deep deliberate breathing was. My ability to make quick and good decisions would improve immediately. Similarly in tennis (I've played like 3 times), or badminton, concentrating on the ball would have a huge effect on being able to return it well.
Dasung Not-eReader 103 E-ink Tablet saves my sons eyes and solved our trouble
My son was diagnosed with more than 200 degrees of myopia when he was in his first grade, I and his father cried for 2 nights. 6-12 years old is rapid period of eye development. As the axis of the eye grows, the degree will inevitably increase. All we can do is to do everything possible to delay the growth rate as much as possible. In addition to the three-pronged approach of glasses + photodynamic rehabilitation + drugs, we also tried our best to control his use of electronic products. However, online multimedia interactive teaching is an indispensable auxiliary method, and there is no way to completely eliminate the teaching APP, so we began to search the replacement of ipad, which can run various APPs and protect his eyes. When we learned about Dasung Technology and found the 10.3-inch e-ink tablet, we seemed to find the lighthouse and hope! The e-ink screen tablet is absolutely a savior for myopic children! I have been using it for a few days, although there are still some places that are not so perfect, the e-ink screen can solve our trouble, I almost burst into tears. I hope that the next generation of products can add a front camera, which is necessary hardware for online courses. Dasung, keep moving, provide us with more good products!
The header should be optional. That’s a schema specific detail like the number of columns.

The character set is also forgivable given the age of the format; it comes from an era when there wasn’t an agreed single character encoding to rule them all. Sure, RFC 4180 probably should have specified UTF-8 but by that point there was already three decades of CSV usage in different encodings on mainframes which are likely still in use even now to make specifying any character encoding rather pointless.

Don’t get me wrong, I’m not a massive fan of CSV either. The way quoted new lines are encoded, for example, is horrible and I’ve never liked the “” format for escaping quotation marks. But a lot of CSVs biggest problems are ironically a result of its success: as a format it’s so easy to use that a great many developers can hand crank their own parsers without looking at the spec. So I find it hard being critical about the lack of standardisation in CSV when the real problem is the number of developers who don’t follow the standardisation.
https://archive.vn/tgNAF
Good question, nobody close to me uses facebook anymore.
The ads of yesteryear tried to exploit the ad networks to deliver malware or spyware.

The ad networks of today just come bundled with the same malware or spyware that yesteryear's malicious ads tried to deliver.
New Version of Fontpreview with FontBooklet
Cyberpunk 2077: Sony pulls game from Playstation store after complaints
That's an interesting subtlety.

I also found it interesting what they did for one of the spiderman movies. When he was young and skinny he looked weak, but later as spiderman he looked muscular. The trick was they modified the regular spiderman to look skinnier, where you would initially think they would do it the other way.
It doesn’t work correctly until you root your element into the document under a proper div hierarchy (to simulate all selectors) and wait for it to half-render, and then you remove it, which causes entire document to reflow twice, which is a “stupid workaround” part. With this API you cannot “measure” anything, you can only check what was the result of an already computed and pre-heated flow.
Without cookies they can't check if you closed the cookie nag.
The (Cloud) Hosts of Christmas Future
The horror:

*:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
Python allows gradual typing everywhere. Adding “Dict[str, Any]” gives you value and let’s you catch bugs. Not as much as a more specific signature, but far more than having no annotations.
Would love to learn more. Are you struggling because of the frontend duties? FE is not for everyone, and the low barrier to entry can be deceptive. Or perhaps writing code, per se, isn't where you should focus. Have you thought about focusing on pipelines or infrastructure (databases, networking, storage, compute, GPUs, cloud, etc)? Or, as other commenter asks, is there more of a non-tech-related issue at play that you might be comfortable talking about?
https://www.businessinsider.com/apple-greenest-tech-company-...

If you actually do care about the environmental impact of your electronics, Greenpeace are the real deal. They look into the details from renewable energy use, eliminating toxic materials, average device lifetimes to reduce device churn and recyclability, there's one clear option out of the big device manufacturers and it's not even close.
I'm confused, the function doesn't return anything so why would it be an int return type? It should be "None" because it's a void function.
Totally off-topic, but I recently made a super-simple OS installation for Raspberry Pi 4, based on archlinux and contaning only a Weston desktop, virtual terminal, and HW-accelerated browser (H264, WebGL etc). I immediately got hooked on that extremely simplyness & quickness!

It was one-off project for dedicated purpose, not a desktop replacement, but I will probably build another one and see if it's any usable as an actual workstation, because I merely need anything else than browser & terminals. (Well, probably also a dedicated headless server running docker for heavier stuff.)

(Context: I've been a die-hard Mac user since 2006, when I ditched Linux desktop, which I had used exclusively since 1998.)
I am totally in support of this shift in business model.

Paying for the service you are using in a transparent and predictable way vs deceptively having your personal information monetized should be the norm.

Google and Facebook have been hiding behind an army of lawyers writing opaque TOS and lobbyists defending their user hostile monopolies.
> It requires a more complex layout

Yes and no.

Yes, because vertical centering can be implemented manually using these available elements as you said.

But no, because all it takes is one of these solutions and naming it "vcenter" under the hood and not having to interact with any of it. And that's exactly what we do using classes or using a css framework that provides for better abstraction than vanilla css. And as the original article demonstrates, there usually is one best practice that checks all the boxes.

It's not that vertical aligning is buggy or that it doesn't work or that it's not possible. There was never a tag for it as if the need wasn't acknowledged, even with the browsers fully capable of doing it as demonstrated by every webmaster that did it since css1.

And to add, complexity is never a reason when you're capable of abstraction. The main issue with CSS and HTML is there is no "let". You're always forced to deal with the specific tags directly. Instead, javascript is provided as a tool for abstraction. So again, it's all possible. We just have to do it ourselves as opposed to there just being a "let".
Facebook itself has lost relevance (though almost everyone I know has an account, even if they don't use it as much), but Facebook's other properties like Instagram or Whatsapp are still very popular.
Actually we offer the most secure way of managing session tokens. We were the first provider to implement token theft detection using rotating refresh tokens (and most still dont). Auth0 even uses one of our libraries for solving for edge cases. I dont think that good security = complex documentation. Its about the way you abstract away the complexity.

Will factor your feedback when we design the website and think about communication.

Please do let me know when you've had a chance to check it out. Would be happy to hear your feedback
Pypy does support C extensions, but it has to somewhat emulate the cpython API so it's rather slow and doesn't work for 100% of modules.

If your C library uses FFI or Ctypes it'll work perfectly fine under pypy.
Ironically, the released build for all consoles is made primarily for last-gen consoles. CDPR intends to release a patch for enabling "next-gen features" next year. So no, it runs like shit on last-gen because of poor/rushed engineering. Not because last-gen is "too dated".
So, in other words, having read the article - there were essentially no ill effects.
Might need a [2009] tag on the title tho.

To be fair, back in 2009, Linux was nowhere near as compatible with Windows apps as it now is.

The counter argument is tho, once she got back online, Open Office would have been good enough to do her school work in.
Thank you for summarising this.

We need much snappier communication on this topic, because otherwise "thirteen deaths from covid-19 vaccine" becomes political ammunition for anti-vaxxer conspiracy theorists.
IP addresses are only considered PI if combined with other datapoints.
Given that 'antfarm is the submitter of the story, I don't think they're complaining that it's from 2009, but clarifying, i.e. they forgot to put [2009] in the title.
What I recall liking that I read recently was anything by brent weeks (though lightbringer book 5 was a little long), and the chalion series by lois mcmaster bujold.
Rentec being one of the most successful hedge funds come to mind. Here is their site and investor login https://www.rentec.com/Home.action?index=true
I'm sorry but this is nonsense.

When you have an img tag in an html document, and that image takes a while to load and has no pre-set width and height, guess what: the document renders fine and everything else adjusts when the image is finally loaded and its size is known. There's really no reason at all that a <vcenter>ed element couldn't be vertically centered at all times within its containing box, even as its containing box changes size, except a stubborn and dogmatic unwillingness to accept that web pages aren't magazine layouts.

It would be more accurate to say that HTML is progressively rendered. As information comes in, boxes move and change size and eventually settle in their positions.
They're not pulling it due to seizures, they're pulling it due to CDPR offer refunds, when the Sony policy is explicitly no-refunds if you have already played the game.
There's even more hypocrisy than that in the whole thing:

Facebook has -- by far -- the greatest audience reach of any media (except perhaps Google, depending on how you slice the data). Why would they put out ads in newspapers?

Is this part of a play to deflect antitrust attention?

Is it because newspaper reach to lawmakers is better than Facebooks?

Is it because, per dollar spent, a newspaper is more effective at gaining mindshare?

THe mind boggles. Regardless, FB's last quarterly filing indicated that the main business to get hurt from Apple's changes is ... FB, so these ads are obviously post-event rationalization about why it's bad for others as well (and it might be a bit, but ... I think it's good for society on average, with Apple being the big winner, FB being the big loser, some businesses being small losers and users being small winners)