skysight-inc/HackerNews huggingface dataset:
"Consistency is the most important" seems to be an axiom...

"having n spaces between class methods" is definitely *not* meaningless. It affects code readability and black has very opionated (and often inappropriate) ideas about what counts as "readable" whitespace. When you raise that problem with people, they always say "well too bad, you should write shorter functions instead", which just introduces another layer of opinionatedness.
The most lovely language that I never want to use again.
That’s literally a feature (the firehose).
I think the algae is great but this also shows how very, very little power you need for small embedded devices these days. You could probably run this CPU off of almost anything. Moldy old pop tart? Go for it!
Avoided by many ESG funds, so you get to benefit from lower valuations.
Wrong. You claim that AAPL goes from $100 to $99 when it distributes $1. The only way that mean anything is if you also claim that the next year, AAPL hands out $1 and drops to $98.

Clearly that is not how the stock price has developed over the years. Dividend paying stocks don't decline in price. They increase in price, just like any other stock. And some decline, like any other.
More importantly, it's also the abstraction that the CPU itself provides, not C. It'd be neat to be able to control all those things, but that's largely impossible, so I'll take the next best thing.
As others mentioned it's being placed in a very low risk category, which you probably can safely ignore (and, I suspect, is probably only of interest to researchers)
Pocket recently changed their iOS app which sent me on a journey to finally get rid of it.

I had really bought into pocket. I paid for the extra reading features and fonts, and I bought a kobo Clara specifically to use pocket.

I built a proxy to use omnivore (https://omnivore.app), an open source alternative on my Kobo ereader. https://github.com/Podginator/KoboOmnivoreConverter

I have used pocket for over a decade. They finally broke the camels back.

Why a company would completely gut the reading features, the primary reason for the apps existence, is a mystery to me.
My sniff test failed:

Couldn't find Proximus ( https://finance.yahoo.com/quote/PROX.BR?p=PROX.BR&.tsrc=fin-... )

Since it has a 20% dividend based on it's current share price

Equally important as finding it , is that Belgium has 30% dividend tax.
The economics of making it rain
I think the limitation here is mostly the PE format, not the .Net framework.
I dare you to visit the site without an ad blocker and say the same thing. It's worse than gizmodo
Consumer Driven Contracts is one way https://martinfowler.com/articles/consumerDrivenContracts.ht... (implemented in pact for example).
The same way as you do it if people commit on the wrong branch, or commit SQL concatenated with plaintext, or if they are toxic towards a coworker...
> Would you feel comfortable doing the update, without checking whether the project still compiles and passes its test suite afterwards?

> If you answered "no", then you are basically admitting that Semver is worthless in practice.

Because everything that is not perfect is worthless indeed… Some people should really learn about nuance.
If I'm not mistaken, this algorithm doesn't result in an optimal solution.

You can see that in the example in the end, a random cube resulted in a 20 move solution, which is the upper bound for any solution [0]. There are not many cube configurations that require such a long solution and the chance that we hit one randomly (and solved it that quickly) is incredibly small.

In order to make this algorithm optimal, you'd need to do iterative deepening, trying to find solutions of length 1, 2, etc. up until 20.

[0] https://www.cube20.org/
No, it doesn't.

It can't be represented in TypeScript type system.

You can't create utility type to have it.

Have a look at Flow docs [0] if you want to learn more.

His utility type works on diff between two provided types, this is something else.

Exact object type is a kind of type which doesn't allow extra, undeclared properties to be used for it to be satisfied.

You can't emulate it if it's not supported by type system.

The whole thing is implemented way better in Flow than TypeScript, ie. spreads map to how runtime treats them, this is also not something TypeScript can represent and Flow supports.

Also opaque types have first class support and many other things.

[0] https://flow.org/en/docs/types/objects/#exact-and-inexact-ob...
KDE offers Android apps and they have their own FDroid repo.

https://cdn.kde.org/android/stable-releases/fdroid/repo/?fin...
> Built with recycled materials. Engineered to last longer.

> OS upgrades: 2 years of OS upgrades

> Security updates: 3 years of monthly security updates (From the global launch date of the device)

And I didn't see any iFixit rating. Aside from using recycled materials, don't see much in common on the surface.
https://archive.ph/Joh4a
> C is full of quirks. From cryptic "undefined behaviors" to a type system that isn't really a type system (more like "size hints for the compiler"), the language doesn't feel easy to use/debug.

I guess because I just don't agree with this viewpoint at all. I've been writing C on and off for over 20 years now and I simply haven't encountered the amount of distress and pain that I see others deal with, especially when related to memory handling or undefined behavior.

I wrote a piece of software in Win32 C for a gas integration company many years ago that did tons of string manipulation to recalculate reports coming out of another piece of software. It even included a custom built on-disk database which basically ended up being my own version of BDB. Scratch that, I wrote this software twice because my first version was lost in a disk crash and I had to hex dump the database format to recover my original implementation.

Last I recall that software ran at that company for over a decade and probably helped them make millions in revenue. I didn't have a single support ticket and to be honest the last time I talked to the owner I thought they had just stopped using it. I was very surprised that they were still very happy with it and it was working fine.

That's just one of many examples of projects I've built or debugged in C. I've regularly been able to fix issues in OS drivers, large projects like Asterisk, and things like deadlocks in toolkit-based GUI programs. It's actually easier for me to use C than most other programming languages because it's clearer to me what should be happening, especially when dealing with anything systems-related.

That's just my experience. I totally get that others don't share that same experience but to be honest I'm pretty tired of seeing all of the confused hatred for C.
If open source makes money thats great. But if your site contains more ads than content I don't spend my time finding out how you differ from other linux distros. Being "Free" is definitely not enough.

But I get it, that was no constructive criticism so I try to do better.

- the ad/content ratio is way to high

- too many unnecessary animations and the choice of colors make me think its bad design. And i transfer this opinion on the main product.

- its not clear at all to me why I should choose this distro over all the other free, easy to use linux distributions

- all of the above points drive me away from spending more time on the site to find out more about the project

This is highly subjective, but it seems like I'm not the only one struggling to find the information I want in a time I'm willing to spend.

(Edited to fix formatting and typos)
If you want to be treated interchangeably to everyone else in the industry, yes. Otherwise, I don't think that's a good thing for you as a programmer
Do not strictly enforce versioning (still publish guidelines and make tools though). Allow third parties to publish adaptors between different versions instead. The correctness of adaptor can be verified to varying extent in many ways.

People seem to give too much weight to versioning, but it's just a means to communication. Like any other communication mechanism, it's subject to error which should be somehow detected and/or corrected. And versioning only concerns with detection---it doesn't say what you should do when a breaking change is dropped! Focusing to the error correction is more sustainable and user-friendly.
early dent-oriented shaders
> The point to me is that using memcpy instead of pointer casts is NOT an improvement.

The improvement comes when there are multiple accesses that could potentially point to the same memory. Consider a silly function:

void f(int16_t* a, int32_t* b) {
for (int32_t i = 0; i < 100; i++) {
b[i] = a[0] + i;
}
}

If type-based alias analysis is enabled, then the compiler can assume that a[0] does not alias b[i] because they are different pointer types. So it can hoist the load of a[0] outside the loop, improving efficiency. If strict aliasing is disabled, it cannot assume this, so it must reload a[0] each time: https://godbolt.org/z/E7jxfYsbx

The memcpy() makes it clear that the memory could alias anything, so it will generate the less efficient code even if strict aliasing is enabled: https://godbolt.org/z/KoPxK9fPj

Memory aliasing is a huge thorn in the side of the optimizer, because the compiler frequently has to allow for the possibility that different pointers will alias each other, even if they never will in practice. The code might end up being slower than necessary for no real reason. Strict aliasing is one of the few tools we have to tell the compiler that aliasing will not occur.

I don't think that C actually forbids this code:

*(int*)0x12345678

The rule is just: if you access it as an int, you have to consistently access as an int. You can't mix types from one access to the next, eg:

*(long*)0x12345678
*(int*)0x12345678
it was a third party extension:
https://twitter.com/jordanpittman/status/1526247984349978629...
https://github.com/shanalikhan/code-settings-sync/issues/136...
I wouldn't consider accessibility (via masking & shifting or struct bit fields) to be the on the same order as the byte-level addressing you get with pointers.
Yep 100% agree. Unfortunately
As the details are not disclosed, my guess is some kind of race condition or using messages wrongly. I.e. have deposits or withdrawals credited, but not debited. I would not be surprised many such gotchas could exist with the US legacy payment infra like ACH.
1080p, no ray tracing ... long way to go.
There's paywalled sites and then there's the tools you get at Schwab, e-trade, Fidelity, TDA, (maybe Vanguard, their apps investment is lagging), which have detailed info about std dev total returns, Sharpe/sortino ratios, correlations, tax consequnces on a large universe of assets

- quarterly pays,

- preferreds

- laddered investment grade bond portfolios,

- asset and mortgaged-backed

- high yield bonds,

- REITs, hot sectors are cell towers, datacenters, p ersonal storage units

- LP, MLP (especially energy pipelines) royalty trusts

(and that's just US domestic... )

_________________

this vid (Ben Felix) about JEPI/XYLD type "covered call" etfs is instructive https://www.youtube.com/watch?v=YMLVdY8y8vM&t=312s
There are a few reasons:

The Lindy effect.
You can run C code from anywhere.
There are places where it is much easier and better to run C code than anything else.

All of these are related to how long C has been around. I think that's also the reason why we use JavaScript extensively.
Japan stays free of litter because residents keep it that way (despite not having many trash cans in public), not because someone's there watching over everyone and enforcing it: https://www.bbc.com/travel/article/20191006-what-japan-can-t...

Individual actions may not make much of a difference on their own but in aggregate they do.
Really tough question because I am still finding out the answer myself.
A lot happened in two years.
A couple of observations though:
- I spent 1.5 years after jumping ship exploring different audiences and problems i could solve. It might help if you have a rough idea before you jump ship because you're burning time and cash.
- Do plan for things going wrong. In these 1.5-2 years I had opportunities and partnerships. Some of these were with people I have worked with before and I thought we had really good synergy back then. Most went sideways and put me in a financial position worse than when I initially started. So plan for this eventuality but don't adopt a pessimistic outlook.
- Marketing is a huge part of the journey. I discovered that the hard way. I overestimated my PR and network which was too niche and wasn't as beneficial as I thought in my new focus area. As a 41 year old with 15+ years in consulting and , I found myself having to reintroduce myself to a market that knew nothing about me and I was as good as the guy who just graduated or spent only 1 year at a big brand firm. You don't survive on marketing alone but it's the number one driver of value perception.
- If you're under pressure, you'll make emotionally charged decisions and your emotions might blind your ability to reason through a decision. In general, the more pressure you're under when you're making the decision, the more you should increase your financial runway. So if in normal circumstances you'd make sure you had 12-16 months of runway, multiply that by a factor that represents the additional risk.

Do a personal cost benefit analysis or SWOT analysis. How does it look like? Is your tenure at Apple a + for your future network and vertical? is marketing the forte of one of your partners? What if things go wrong and the partnership breaks? Do you have enough financial runway? What if you burn too much cash too fast? Is there a side kick you can rely on to make extra money if you have to?

In no way is this comprehensive and I am still figuring things out.
Definitely made mistakes on the way but It's not always this bad. I started with a very disadvantaged position. I jumped ship because we lived through a local financial crisis as well. People took advantage of that. Make sure you have leverage on the negotiating table.

Hope it helps
It's not only the Asian workers! They also go to great pains to make sure the people mining the basic resources, for example in the Congo or in Peru, are paid more fairly than usual. That combined with pretty much what you said makes the price easily worth it for me.
Most of it's not technically in the passive voice (only 'be laid off' in the second paragraph).
Didn’t Someone solve 1LLL already?

https://www.iflscience.com/the-full-1lll-a-rubiks-cube-holy-...

https://www.reddit.com/r/Cubers/comments/whuhkq/i_learned_fu...
That mocking is tautological is true. However it helps to know that the “wiring” of your code “works” if you’re using a non-statically typed programming language like JS or Python. Unfortunately for the countless of junior engineers I have seen come and go, mocking seems to be the “real” way of testing because they usually don’t know something else besides JS and associated frameworks.
It's about price detection. If you offer several versions of a product to discover the maximum reach consumer is willing to pay, then the cheapest versions need to be meaningfully worse to drive those who can pay to the me expensive versions.
> The one solution that will work (and is vehemently resisted) is to pay teachers a base salary plus a bonus for each student that meets grade level expectations at the end of the year.

You're talking as if this isn't how the system works today. Your proposal is literally how US education has worked since the 80s. The disaster you see in the public education system in the US is in part caused by merit-based systems including merit-based pay for teachers.

The key problem is that we cannot measure how educated someone is. We can only measure their results on a test. Garbage in, garbage out.

This means that everyone teaches to a test. That's a horrible experience for teachers and students. And it literally leads to the solution the article warns us about: water down all the tests and eliminate as much knowledge from the curriculum as you can so that everyone excels and everyone gets their merit-based pay.

We also know that merit-based pay has a tiny impact on student scores in the short term at the scale that one teacher can control over a student-year, under 0.1 standard deviations. https://journals.sagepub.com/doi/abs/10.3102/000283122090558...

So not only does merit-based pay for teachers not work, not only does it not raise scores in any meaningful way, not only does it erode the curriculum, it's literally a big part of the current problem in the US.

Oh, and let's not forget kids with any kind of disability. Under this system they become a massive liability. Instead of teachers trying to help such students, they're quickly routed to the closest holding area so that they don't affect scores. This has been going on for almost 20 years now because of No Child Left Behind.

This is why teachers are opposed to the idea of doubling down on merit-based pay. It's not because the best teachers don't want to make more money. It's because it only rewards the teachers of kids that are already performing well, while punishing teachers in schools that aren't performing well, without any means for the teachers to meaningfully intervene.
Blue text color and underline are two things that universally help people recognize links – so no matter how custom your CSS is, using any of these traits for other purposes is a bad idea.

Of course, nowadays links can be any color and without underline, and we're getting used to it too. This only means that using any color to emphasise words in a text is a bad idea, as more and more people would see that as a link and get confused.

Just stick to the good old italics.
I don't agree with most of the article, but I do find the idea of "quantitative aesthetics" interesting.

I am but one sample, but I would really like a feature in Instagram to view posts that fall within the, say, 5th to 20th percentile with regards to the number of likes. I am now condemned to the people I already follow on one hand, and the massively popular (and therefore typically very uninteresting) artists on the other hand. I would love to discover more fringe art.

The tag system on Instagram is fairly adequate for discriminating between an interest in art or cars, but both tropes are still quite big.

If anyone at Instagram is reading this: perhaps you could train your algorithms not only on popularity, but also on an interest in the _lack_ of popularity.
Python killed the game.
Is this a sign for the old 20th Century economy, or a peek over the horizon at the new 21st Century economy? I suspect it's mostly the latter, but with a heaping scoop of status quo and denial.

That is, for years there's been chatter about the 4 day work week, perhaps the tipping point is coming? Maybe X aggregated 40 hr week hours are better off distributed based on a 32 hr week?

Side note: A couple of dev gigs ago, I negotiated every other Friday off (with a pay adjustment). It was inspiring. Mind you, not everyone can swallow a pay cut, but if you can I'd say it worth trying. See how your health spectrum improves, etc.
The problem with free is the adtech surveillance system.

“Can’t pay” is a sliding scale - without going into a detailed discussion it’s hard to say what a product is worth, but i get your point.

There needs to be some cost to cover operations of the business.
This is one of the reasons I find it hard to like TypeScript. Despite proclamations about reducing errors and maintainability, I have seen many developers largely motivated to introduce TypeScript for no reason other than the ability to hit "." and see what comes next. While that is a good goal, transmogrifying a type system (and a rather weak one at that) into an IntelliSense annotation mechanism seems excessive.
There are good reasons for not having a standard code formatting style in a team. They might be ones you don't agree with, but saying there are no good reasons is IMO a bit disingenuous. With mature team members, it's perfectly possible to respect each other's style and if executed well, it can have advantages such as being able to very quickly identify who wrote something (who to pester about something), making readability decisions locally instead of globally and benefits like that.

Of course, that requires a team with emotional maturity, which is I get, not very common in the software industry.
Uh? gcc (11) produces, eg

/usr/bin/ld: main.o: in function `main':
<path>/cptutils/src/xycpt/main.c:148: undefined reference to `xycpt'

You get the file, the line, the name of the missing symbol ...
They want obfuscation. Rust libraries necessarily include the AST for public generic functions. So it may not be suitable.
You never have the right version installed though. Every time I've tried to install a .NET program it's always asked me to install a different version than the one I had.
I fully agree with the idea of the text. Also, I like the idea that investment advice only helps few open minds. Usually, people just want to stay in existing thought patterns.

I'd add one thought: There are many semi-professional investors that work long hours to create the perfect portfolio. However, most don't even beat the market.
One advantage of maximum diversification is that people don't have to make decisions for months. They can spend this time working one other things or just enjoy life.
https://archive.ph/MlGhF
I have grown to learn to choose my battles when the PR is in a corporate setting. There's a lot of incentive for performative optics there, which makes people to prioritise "looking good" than "delivering good software".

If the reviewer wants me to add an unnecessary `try... catch`, I simply do that. No point arguing with someone's ego, which takes way more time. If the reviewer is asking me to code for the eventuality that Google will suddenly change their the JSON model in their API response? You got it bud. You want to preserve some convention without explaining how it applies here? I will squish my code to it, keeping it correct.

I know it makes my code less readable, more complex. But I care about delivering the value as early as possible. Also the code is not my baby, it's the company's baby. I try to fight comlpexity in the design phase, while also ensuring the ego folks get to have their optics.
As a very recent grad, the hackathons I've attended are usually more chaotic than this but the situation regarding viewing angles is the same. You cant be bothered to bring an entire monitor, or even stands to the event.

Some venues provide a monitor, but thats usally one per team.
When you have hundreds of engineers working on the same codebase, it becomes very jarring to read code with different spacing, bracket formatting etc…

The benefit of automated linting is that the codebase becomes more coherent and easier to read.

The down side is that you can’t add your personal flare to your contributions… but in my opinion that’s not too important
Thank you for your reply, I don’t really listen to the radio a lot because it tends to play the same type of music over and over. I started this project when Spotify recommended me a small artist out of nowhere and I thought it was pretty good. I then searched a way to find people who have talent but don’t get the recognition they deserve and here I am. I really hope that this project will help them reach a wider audience and I’m searching more ways to promote them. For the moment, I’m only doing Friday interview and occasional new single/album promotion.