skysight-inc/HackerNews huggingface dataset:
>Fun fact: DWM enforces >1 frame of input lag on every Windows application running in a window. It is impossible to do better than 1 frame

AFAIK you can avoid it by using DXGI flip model.

random page:

>(DXGI) Flip Model is a new mode introduced in Windows 8 that makes the SwapChain work efficiently with the Windows DWM (Desktop Window Manager). Flip Model eliminates performance penalties normally associated with windowed mode rendering and introduces new methods to measure and regulate render latency.

https://wiki.special-k.info/SwapChain
Just FYI, this is being worked on:

https://github.com/skoppe/spasm

https://forum.dlang.org/thread/jggmwuavbkxarzhpvtto@forum.dl...
I think that the problem with SOLID principles was the use all capital letters and the word principles instead of guidance.

Now that that original sin has been committed, it is super easy to take shots at it.
It's difficult to come up with quantifiable evidence when your method doesn't have a precise measurable definition.

But good practices in a craft don't necessarily need to be quantifiable to be useful. If you learn a group of concepts on how to improve your work, you can ask yourself: "Is any of the SOLID principles applicable here?" and "Is the resulting code better if I apply them?"

If you answer "yes" to both questions, you're using the principles in practice to improve the code without having empirical proof that they worked, just gut instinct.
it is in fact less energy to send something at escape velocity out of the solar system from earth than to slow it down to to fall into the sun.
As the author described it in the preface, the topic was rather meant to be engaging and entertaining for the occasion. So let's not confuse this with a true debate over SOLID.

> "... So what would I do instead? I thought there might be a one-to-one correspondence for each of the SOLID principles and patterns, since there is nothing inherently bad or wrong with any of them, but as the saying goes, “If I were going to Dublin, I wouldn’t start from here.”
"

As anything, SOLID is a guideline, not a dogma. The purpose is to encourage developers to approach the design of their code mindfully.

Personally, in my memory the advent of SOLID principles coincided with widespread promotion of better approaches to testing. These principles indeed helped design for better testing. And better testing provided more freedom for changes going forward.

If another set of priciples help one's projects better attain the set goals, well, sure, embrace these by any means.
"It was good for something"

The post does seek out where the SOLID principles came from. And it's not really debunking them; just saying they're not absolutes. Which, yes, the title is click-baity, but I've certainly found people who treated them as absolutes, or tried to talk about code from SOLID perspective, and I've certainly never found that useful.

In fact, I've not found -any "best practice" to ever be absolute in a generalizable sense, and it's never been useful rhetoric to bring them up in a design discussion because of that. In fact, they sometimes run counter to each other. "DRY would say we should combine these together" - "Yeah, but Single Responsibility; while the code is mostly the same, they fundamentally are dealing with different things in different contexts".

Learn the heuristics, then deal with the subjective realities each project brings; anyone who tries to treat a given codebase as having an objectively correct approach, rather than a nuanced and subjective series of tradeoffs, is not someone worth talking or listening to.
Ah got it!

And Wyoming and Delaware are actually the two most popular options for non-US residents :)

If you are a US resident what we've learned is forming an LLC in the state you live in / "do business in" is the best option. If anyone is curious about how to choose the "best state" to form your LLC in or more on "Wyoming vs Delaware" check out this post we wrote which dives in to this! https://www.startpack.io/blog/what-is-the-best-state-to-form...
> like New Zealand,

You mean an island nation with strict control over their ports and borders?
"Officer, I didn't know these were stolen identities when I purchased them"
Win Abel Prize for Work That Bridged Math and Computer Science
Hook – Find Without Searching
Before it was announced that uBiome was committing insurance fraud a few years back, my friend and I compared our test results and found that our very detailed, 10-page personalized biome reports were completely identical except for our names. So I believe they were also just completely fabricating their test results from the beginning, and some of the employees at the company must have known this.
I’ve heard it argued that our immune systems need exposure to germs to keep them effective.
V60 pour over set. Takes less space than a coffee maker and is cheap.
Of course English speakers can talk about the concept using circumlocutions or using a number of overlapping concepts.

You can't really believe that I'd deny that!

But the concept Bildung is not central to Anglo-Saxon pedagogy or education, that's why you don't have a real word for it.

It is highly important to the German strain of pedagogy, though. There is a real difference in the German tradition and other traditions.
This looks really good! I don't have a Windows PC at hand to try it out, but Notepad++ has pretty much been my go-to when I do use it. This looks a lot more attractive, I hope it grows and matures over time.
The OCP is imo poorly named, but it has far bigger implications than the post acknowledges. For one, it implies the concept of abstraction layers. In particular, base libraries should provide abstractions at the level of the library. In this way it's able to achieve being "closed for modification but open for extension".

https://drive.google.com/file/d/0BwhCYaYDn8EgN2M5MTkwM2EtNWF...

Flipping it around, if base libraries were to be always open for modification instead of extension, then instead of writing your feature logic in your own codebase, you might be tempted to submit a pull request to React.js to add your feature logic. That sounds ridiculous but that's the equivalent of what I see a lot of new engineers do when they try to fit the feature logic they need to implement anywhere it makes sense, often in some shared library in the same codebase.
It's bad to require competitors to pay $15.

This is the thing that regularly gets lost in the minimum wage debates. Some jobs suck more than others. Amazon warehouse jobs suck kind of a lot. You spend all day standing up and doing manual labor. Because that's what it takes to make unskilled work produce $15/hour in value.

You pass a law requiring competitors to do the same and the ones who were paying $10/hour but workers had more down time, will have to make them more like Amazon jobs. In other words, will have to make them suck more.

There are a lot of people for whom that is not a good trade off. For a 20 year old who can physically do the Amazon job, it might be a good choice in order to make more money. For a 60 year old who can't physically do the Amazon job, taking away the less demanding job they can do is really screwing them over.
I will happily ignore NFTs, but look at money itself - it's a token too. It was supposed to represent and be coupled to real-world productive activity, but clearly there are many cases where the two have become decoupled. A price can be below the intrinsic worth of the item, and can be almost arbitrarily high. The source of truth is supposedly the item, the productive work that went into it, but in a heavily financialized economy, a lot of people make more money from mere price fluctuations than from productive activity.
Every single person who "didn't do it for me" relied on an enormous network of people putting themselves at risk daily to keep the supply chains functioning.

It's virtuization of fear and little else.
I assume unless the spike protein mutates, these variants would still be covered under the current vaccines.
Душистый+табак:+описание,+виды+и+сорта,+особенности+посадки+и+ухода
Reproducible build require source code access.

Which is the first point I think is necessary:

- Access to source code for at least all entities using the software (including allowing hiring entities to analyze it). Preferable open access to source. Even more preferable open source.

- Combine that with reproducible builds and automatic code analysis and you gain additional trust.

- Naturally this both requires proper code and artifact signing (which was compromised in the supply chain attack this article refers to).

Funny thing is I'm 100% convinced no SBOM, reproducible builds or similar would have prevented this attack. It would just have changed how exactly the attack looks (IMHO).

Still it would be an improvement anyway.
New Zealand’s results are largely due to it being a small, isolated nation. Hawaii similarly enjoys the fewest COVID cases per capita of the US.
There's a larger amount of overlap with https://spectrum-os.org/ (which builds on Nix). https://roscidus.com/blog/blog/2021/03/07/qubes-lite-with-kv... is also really interesting (and discusses Nix and SpectrumOS) and itself was discussed at https://news.ycombinator.com/item?id=26378854
I assume SpaceX is like the game industry. People are overworked and underpaid because their work is their passion.
In games, you have the thing of value itself. It’s not an NFT just because it’s digital.
It's interesting how much art direction there is involved in a relatively simple video (train driving from A to B), and for example rmoriz's cycle videos. What is the field of view, how high is the camera? How is sound recorded? Do you cut when the train is stopped on station (or bike in traffic lights), do you fast forward or just show the stop in real time?

As a viewer I'd want there to be zero cuts: If your video puts me on a train I want to experience the whole train journey. Some train videos record audio from the train cars, maybe to avoid recording radio traffic in the engine but this also makes the experience somehow worse.
Thanks. I’ll read some of his stuff on the subject.
> One works for the government doing mostly nothing

What department? I couldn't stomach working at a particular 'international trade' department, because they managed to hire the most awful team of over-engineers to build a CMS.

I couldn't understand what the fuck they did there, other than force me to do superfluous shite for months after I delivered what they wanted. That superfluous shite being the bifurcation of a PDF generator Django application to a 'server' and 'client' micro-service that communicated over an HTTP API; which they also demanded that I write a pip installable client for (a client for an API that had one endpoint!)

This was years ago, and I still have no qualms about deriding these jackanapes who work in the insular world of government Python development in London. I felt like a proper whore working for the government, extremely easy work, good pay; but a terrible inability to see how mediocre what they were doing was.
One interesting application is hooking Jason up to other robotic hands reaching into environments where human hands can't work.

Like a hot oven, space vacuum, or maybe micro surgery.

If the hands implement the same signal protocol, he should be able to switch them out.
Cool, but we can already access US payments from a lot of countries already with Stripe (not talking about Atlas here), no ?
Wasn't there an app on iOS way back at the start that was just an image of a ruby/gem of some kind that cost $999? Some people actually bought it before Apple took it off the App Store.
I have not tried sourdough pizza dough. Nice. Will try later this week.

I have two cast iron skillets. I make my bread by covering them with 9inch round cake pans. Comes out all right.

Serious Eats is my preferred home made pizza: https://www.seriouseats.com/recipes/2013/01/foolproof-pan-pi...
Modern society has become incapable of proper Risk Analysis

COVID has really highlighted this rather well. People do believe there should be zero risk, they will only accept risk when it has already been assimilated into their lives, but as a society we seem incapable of assimilating of new risk.

I use to think we would get fully autonomous cars, but now I am pretty sure we will never see this technology on the public roadways, not because it is infeasible, but because it can never ELIMINATE all risk to human life, as such it will be rejected by society.

Just like the "2 weeks to flatten the curve" transformed to "everyone self isolate until covid is no more" Automated driving is no longer about being "safer" in an objective way, it has to preventing all death, and if an automated car even causes one death then we must continue with human drivers, at least that is the view of many in society. We can not allow an algorithm to resolve a trolley problem, it is better a human do that.

As a society, we have become very very very risk adverse.
There aren't only americans on this site. FWIW as a european (Belgium resident), your statement doesn't apply. Belgium did a shitty job since the second wave: We didn't go far enough and only applied a weak lockdown which has been in effect since October. So life here has been just bad enough to test everybody's patience for about six months. And now we're in a new uptick and everyone's losing their shit.

Korea meanwhile applied strict, severe, surgical lockdowns and then were able to fully reopen after containment.

People haven't been able to go see their families out of the country. I've not been able to practice my sport (figure skating) since October (they even banned it outdoors during winter!!). And there is a pages-long, ever-changing document on social bubbles, checklists on who you can see which take things such as age and household size into account, etc. It's dumb, people don't follow it, and it has deeply eroded trust in institutions, and it has pushed people into antivax groups because those are the most vocal ones against measures like these (so they are the sole ones sounding like the voice of reason).

The "alternative" to the above is not brazil, and I would personally much rather be in Korea.

And these measures, while on paper sound like they're slowing the spread, are also pushing people to be against government measures as a whole and feed into much more dangerous sentiments. Would you apply a measure that reduces the spread by 0.1% if it also meant a 0.1% decrease in mask usage? Or a 0.25% decrease in vaccine uptake? What if you can't know any of those numbers, you just know they exist?

----

Edit: Just to really drive home my point: I've been advocating for this for months. Just as I posted this comment, the following article shows up on the Brussels Times: "Belgium needs a short ‘real’ lockdown, warns expert"

https://www.brusselstimes.com/news/belgium-all-news/161157/b...
shrug I think every time I've ever seen a disagreement about code quality it's boiled down to both developers thinking "I know it when I see it" about their separate approach.

If a set of principles lets them both think they're both correct and the other one is wrong, what exactly is the point of those principles?

This isn't just a coding thing. It's also, say, why society follows a body of laws rather than something like the 10 commandments.
Microsoft halts rollout of Windows 10 KB5001649 emergency update
Here's a hint: if you are starting up ANY company involving any type of biotech or medical application and there are no people with STEM degrees running it or on the board, 90% chance it's fraudulent. STEM smarts is not something you get out of a crackerjack box. And especially NOT with biotech or medical.

Exactly like with Theranos, ANYONE who invested in this and didn't see this coming or do enough due diligence to, simply deserves to be fleeced!! No sympathy.
We have automatic version control for our platform, give us a try when we launch.
And had mandatory lockdowns
I know. I was making a bit of a joke. It's a very impressive build. ;-)
> A lot of day jobs structurally inhibit capital formation. If I were a Marxist I'd say "And this is an intended consequence of Capital's desire to keep Labor subservient to it", but I honestly think it's true even without anybody needing to twirl their mustache.

I feel for the author's Marxist friend. That no mustache-twirling is required is kind of the point. But I guess it's a hard one to communicate in our superhero-focused culture where everything happens because an individual intended it to.

Anyway, aside from Patrick's misguided idea that he's a capitalist, the article resonated with me. I spent 10 years working at a place where I usually had something built by the end of the week that I could show off, or talk about, or put to use on the next project, or that at least made my and my coworkers' jobs easier, and that kept me going. But I'm now at a job with a sprawling swamp of a codebase where it's plainly clear that nothing I do is going to matter.

Over the years I had moved away from software side-projects, but am finding now that having one now is kind of important for my sanity. It helps me feel like I've actually accomplished something more than just a paycheck, keeps the brain somewhat sharp, and might turn out to be useful as a thing to show off/talk about to potential employers, if not a useful tool in its own right.

Oh for a long vacation where I can just work on my side projects.
It's a challenge, but it's an uninteresting one.
It's an ultra high resolution sales forecast model for a national retailer. It's made somewhat more manageable by the fact that the data is 1D instead of 2D though.
Sedation is death with a respiratory illness like this. How were they feeling before they were sedated? Probably like they’d been drowning for hours. For all intents and purposes, that was the end of their life as far as their experience of it.

Don’t get me wrong, it’s great that we can provide palliative comfort for those final hours/days. But it doesn’t tell the full story.
Can you provide more details?
What city / area are you looking for jobs?
What programming languages do you have development experience in?
How many jobs have you applied for? How many have called you back? How many have gotten to a white boarding / homework assignment?
Are you aware that its a difficult time for non-senior engineers to find a job?
How recent is your experience? It definitely was a thing for a while (especially from Microsoft), but my impression is that this particular issue has been resolved in the last couple of years.
Thanks.

I aspire to make Tartine morning rolls. But haven't gotten past the croissant dough yet.
Clever.

If we can just teach audiences to clap one sixteenth-note later than usual then all live music could go completely digital!
Uncle Bob has actually written a blog post about Dan's presentation: http://blog.cleancoder.com/uncle-bob/2020/10/18/Solid-Releva...
That's a crap analogy and you know it. Email started as a federated, open system. This Amazon is closed, for profit.

Everyone there is part of the problem and excuses their behavior with bullshit like "I'm only working on a small percentage of the exploitation". Is everyone so bad a maths now you've forgotten that 10 tenths makes a one?
Sure, but that is largely useless information. At the layer of abstraction we care about (human and societal behavior), those systems are so chaotic that even if they are deterministic it is completely non-actionable to say "well it all derives from physics".
Although I’m sympathetic to your complaint, I think it’s misguided. I can’t think of any design technique or principle that has the kind of objective evidence you’re requesting. And yet, I’m still capable of subjectively evaluating a design.

The underlying problem, I think, is that design is a human problem, not a technical one. Design is about making code is to understand and modify. How can its quality be measured?

Without an objective criteria for design quality (and stuff like cyclomatic complexity are far too simplistic) then no study of design principles is possible.
Game Preservation Group Releases over 700 PS2 Prototypes and Unreleased Demos
And often surprisingly below average in everything else.
Not as fun :)

Besides, you just need the old and new roms to generate an IPS, eg. https://www.marcrobledo.com/RomPatcher.js/

And someone has already requested this: https://github.com/stevebob/mos6502/issues/1
Wow, you sure seem to know a lot about this person you've never met before!

Hell hath no fury like someone who thinks some other person has too much on the internet.
Careful there, how many degrees removed is it from other cryptocurrencies? If people follow this logic it will lead some people to be mad.
Not sure why this is downvoted; it’s absolutely correct. European, Asian, and North/South American supply chains are internally integrated. A truck driver transports goods from the Czech Republic to France and unloads them at the destination. For New Zealand it’s not like the ship’s crew is unloading goods at the last mile. A similar effect is at play in Hawaii, but the latter can’t deny entry to US residents because unlike New Zealand it isn’t a sovereign nation.
Undocumented Microcode x86 Instructions
DRY should really be DRYUTETNRYDTP - dont repeat yourself unless the effort to not repeat yourself defeats the purpose

I also propose LAWYD - look at what you've done, a mandatory moment of honest reflection after drying out some code where you compare it to the original and decide if you've really improved the situation
Agreed. I think of the 5+ times I’ve gotten sick from planes and airports and I kick myself for not having worn masks during air travel in years past.
I think you mean append only. Blockchains are immutable thus not writeable
Buying it from such a Legend is what gives it value.

It's like Cleese is personally making fun of the buyer!

I'm pretty sure this will go down as the Pet Rocks of this era. But... I'm not entirely sure.
Consider trying it again, but make sure not to reuse an old workspace/project, since you'll be importing a bunch of hot mess :-)
Why did you ask me this question if you already knew the answer?
Interestingly enough, a side effect of CO2 emissions IS reforestation. Earth is getting greener because of increased CO2 in the air.

What is not obvious though, is if this is going to make the problem worse. For one, the green albedo is often darker than what was previously in place, and retains more heat. However, obviously a fair amount of that energy presumably goes towards photosynthesis. Trees also tend to bring a fair amount of water into the atmosphere, however, and water is actually one of the most aggressive greenhouse gasses in terms of its capability to retain heat.

TL;DR, carbon capture is very important, and planting trees is probably a good thing, but there's a fair amount of debate.
The Amazon jobs aren't forklift drivers. The wages of forklift drivers go down because Amazon automates a lot of that work, which means there is less demand for forklift drivers. It's the classic automation story and has basically nothing to do with what they pay to pickers.
Adjustable VESA mount for your monitor. Height and angle adjustment does wonders for ergonomics and pain.

Over-ear headphones. Go wired if that's not an issue. The quality is incredibly good and the outlay is much lesser. Samson and OneOdio have great lower-cost pieces.
I don't think that stuff is available in a city during Covid lockdown.