skysight-inc/HackerNews huggingface dataset:
> The first detail is that most computer monitors run in 24-bit color mode, which provides 8-bits of color detail for the red, green, and blue channels. But most older game systems do not specify colors in that precision.

> For instance, the Sega Genesis encodes 9-bit colors, giving 3-bits per channel.

> The solution to this is that the source bits should repeat to fill in all of the target bits.

000 -> 000 000 00...
010 -> 010 010 01...
011 -> 011 011 01...
111 -> 111 111 11...

This is interesting and efficient approach. Interpolating a 3-bit number (0-7) into a 8-bit one (0-255) can be done by dividing the first one by 7 (to normalize it) and the multiplying it by 255 (to stretch it to the full range). The operation order can be changed to avoid having smaller-than-1 floating numbers in the first step. So, we basically need to multiply each number by 255/7~36.4.

0 -> 0 * 36.4 = 0
1 -> 1 * 36.4 = 36
2 -> 2 * 36.4 = 73
3 -> 3 * 36.4 = 109
...
7 -> 7 * 36.4 = 255

So, these multiplications give exactly the same results as repeating the bits in the byuu's article and bits operations are much cheaper. I have some intuition on how does it work (we're increasing each "part" of the number by the same factor), but not a math explanation.
Get a Qualified Hacker
I just want to seize this opportunity to tell you all about a professional hacker i just met. I just knew my instinct wont lead me wrong when i decided to try (Jamiehacking99[@]gmail. com) out. I was scared at first because he told me i had to make a down payment before he could begin the hack. That made a part of me scared i could be scammed and a big part of me kept saying i should go ahead with it. So i followed my mind and went on with it. I sent him a mail telling him i needed his help hacking into my husband’s instagram account and he assured me a clean job with no traces and that was exactly how it came out. He is so discrete and i like the fact that he is fast and reliable. There’s nothing wrong in trying, so contact him at Jamiehacking99 [@]gmail. com and i promise you won’t regret working with him.
I failed to start a business that would provide reliable income post-military enlistment. I tried for maybe six good years a few ideas: investing in real estate, running facebook ads for business, and building routers were some of my best projects with foreseeable upside and a runway towards sustainability. I failed to focus on just one or two core products and this - combined with my active duty work schedule- really made it difficult to see each project through the tough parts.

Its not a total failure; I have a steady career with great benefits that I can retire from in ten more years (total of 20) with a pension. I've learned to focus on my core competencies which has of course catapulted my progress in the selected field. I miss my side projects but I know now that I really can't do everything at once.
Make the course content available for public please.
Yes, let's make the life of a pet miserable so we can have urban/suburban birds...

As if the problem is the loss of birds in Manhattan or Queens, and not the loss of birds in millions of acres of rural USA (where cats are not really the problem), for example...
Very useful content and perspective. I was certain it was all building to the conclusion you should hire the author's growth agency to get that 2x conversion gain and then leave the funnel alone, but the ask never came!
I hope you also periodically validate your backups with restoration as well - A backup is only good if it can be restored.
I am not that naive, thanks. One can understand that you generate X value in part due to your own skill and time, in part due to the company environment. You get a percentage of that value as a salary, the other part goes to the company as profit in a more or less fair partition. But if another developer receives less for the same work you're definitely making it unfair and taking advantage of the fact that the business has more negotiating power than the employee. That's why I say it's cheating and dishonest.
I couldn't think of something to write here. That was probably the most recent one. I have lots of others, though.
>But as an employer, why I should strive for honestness? To me it sounds like paying too much.

In my case honestness would have made several firms more profitable. I'm a high school drop out but lifelong programmer from a early age. As such I've had to work for well below market rates on my way up. Generally I do better than most of my college educated peers but since I lack the education I have been compensated much less. As a result I leave jobs every year or two, often around the time I'm really hitting my stride and providing significant value to the organization. As I tend to be above the median I end up on the projects that are critical to the company so what you end up with is someone building a quarter of your infrastructure and then leaving because "its corporate policy to max raises out at 5%" or some other nonsense. At that point you have to go back to the market (counter offers when you told me raises are warranted but impossible are an insult and I refuse to accept them) and likely pay at least market rate for a new employee then get him or her up to speed all as deadlines slip.

When I explain this to whomever I'm giving my notice to I am frequently asked "why would I pay you more than I need to" as a retort. I just shrug my shoulders and move on to the next job.
I'm feed up of Medium articles we cannot read. Can't believe programmers still use that walled garden to spread knownledge.
The Sega Master System has 6 bit-per-pixel color, 2 bits for each of red, green and blue. You would expect values 00, 01, 10 and 11 for each color to represent 0%, 33%, 66% and 100% voltage on the corresponding pin of the Video Display Processor. However, I once connected an SMS to an oscilloscope and found voltage levels much less evenly-spaced than this - and they were quite different for different console models.

Even if the voltages had been evenly spaced, would it have been correct to use evenly-spaced values (0, 85, 170 and 255) for each of r, g and b in an emulator? I believe this would be correct, assuming that the gamma curve of a modern monitor matches that of a 1980s/90s TV - which should be the case for a monitor calibrated to sRGB?
Axed adman brings a clown to redundancy meeting
As Neil Degrasse Tyson once said, even pilots aren't astronomers or astrophysicists and often don't know what they're seeing when they look at the sky.
Oh sweet sweet failures!
I'll start.
I recently started trying to quit drinking for good, since it slowly turned from a thing that made me all charismatic and happy and jumping around, to a bitter angry man.
This change started when I got together with my current girlfriend, since every time we would go out and have a (probably more than one) drink, I would get jealous (I'm very jealous and insecure, working on it) for stupid silly things.
Problem is the alcohol made my jealousy amplified by 100x (wish it would do the same with my startup revenue)and I would flip out for nothing.
Two weeks ago I promised to my gf and to myself that I would have stopped with this behavior and that I would have drunk less.
No need to say, that same night, I drank waay too much and flipped out because she just glanced at another guy and made her cry and leave me there all alone, drunk and stupid. She couldn't take it anymore.
Fortunately, the day after we talked about it and I decided to quit drinking cold turkey (Allen Carr's book helped a lot in this- suggested if you're in the same boat).
It has been 10 days and I haven't touched a drop of alcohol nor I intend to.
Working on my insecurity/jealousy as well.
Your turn!
Vintage photos: life before AutoCAD
You don't have to take on employees. My one person business has been far more stable than my previous employment. I can lose a customer and still pay the bills, that wasn't the case when my only customer was my employer.

I agree with your original point, it isn't for everybody and it sounds like it wasn't for you. But I know many people who have managed to fit their business around their life rather than their life around their business.
The beauty is in the eye of the beholder and I don't consider Deepin desktop env more beautiful than Plasma, Budgie, Cinnamon or Gnome. This title is very clickbaity, so many distros are have this strage names Clear Linux, Scientific Linux, Beautiful Linux, Stupidly Easy Linux etc. You'd never know how "deep in" the article you will find relevant information.
> such as people that are generating value for a company

Attempting to quantify this is exactly why we're in the situation that we are. If it was easy to quantify a person's "value" to the company relative to other workers, perhaps we would live in a different world. But it's not as simple as "salesman X received Y sales this month, 20% of that is Z". Who determines the hidden value of the marketing effort? How much of that should be allocated to the engineers who build and maintain the product? What about the people who find the talent to hire? Who would want to clean the toilets if the janitor wasn't here?

After that kind of thought experiment it becomes abundantly clear that there's no meaningfully objective way to quantify a worker's value as a percentage of company profit. Each person's perspective will color their estimation of a particular worker's value. An objectively bad solution.

The present way of doing things is not a result of any attempt at fairness or idealogical belief in the equality of man, it's really just the simplest working solution to the problem that anyone has been able to demonstrate.
I guess if those are our options then better for all if your cat is inside safe from cars and predators and yay we get birds!
Stand-Ups as a Whip; Agile Software Development as a Commodity
Turns out the marines don't really need a loud, expensive, fragile machine to haul their gear when they can just use a quad bike.

Robots are awesome but integrating practical robotics with mission critical operations is really really hard, especially because you're automatically competing with battle-tested best in class solutions.
Wow that's harsh! How did you feel when you realized it?
> Devil's advocate: The same could be said for a baby buggy.

I don't disagree with you, but I can be more sympathetic to the need for a baby buggy over that of a bike, because there aren't baby buggy parkings, and it's a lot harder to move your baby back and forth than it is to park a bike. The same goes for your semi-absurd comparison with zimmer frames -- obviously senior citizens have a place in public transportation and they need to be catered to. It's not the same thing as the convenience of not having to park your bike and walking.

> Bicycles are already allowed on most suburban London trains, but are sometimes limited during rush hour. It's a win-win for everyone without having an outright ban.

I already explicitly said "If we are talking about metro transportation, and not intercity trains and such" -- meaning I also recognize the need to transport bikes on "suburban trains", but for inter-city transportation with sufficient bike parking I don't see the need to cater for bikes on trains seeing the negative downsides they bring.

Also, baby buggies are already prohibited in many metro systems, and I have never advocated them to be anything else. There are better ways to transport your baby around, such as an on-body baby carrier.
Learn and Understand the Vue.js Technology
Cancer patients turn to crowdfunding to pay for medical care
Please just drink it out tonight.a glass of wine instead if jealousy
I was laid off from a middle manager position , I was with a H1-B like Visa (not in the US) the only chance to stay in my host country was to open a business and get an investor visa. I did that with a business partner, the business went down, my partner fled with the remaining money and now the government is giving me 2 months to leave since I am not longer and investor. Good times. I have always coded so I am moving into that direction. So although this is not a thread for that, if you are looking for a Rails or Phoenix guy please reach to me. I work with Python too.
Migrating away from DevMate: redirecting Sparkle updates
The French got yellow vests, the UK got Brexit - for roughly similar reasons
The extra solar panels installed on the grid to feed those carts don't have zero environment cost either, though. And neither do the batteries required to hold that energy until the carts are plugged-in, which would likely be at dusk/night, when they're not in use.

(Grid solar -> grid battery -> cart battery) involves more losses than just (cart solar -> cart battery).
I’ve read those, but unfortunately it didn’t change much my current relationship, same struggles as the op.
haha the first one is funny. About the second one, yes it's important to talk to users as soon as possible.
Dont love them to much, it will blur your vision.
Eh, there's a lot of issues with the cogito, in that the statement Descarte arrives at is nowhere near as fundamental as he seems to think it is. It presumes an "I", subject of language, capable of evaluating its own thought, a system of language, etc, and presumes a mode of being, but then the being comes after the identification of the being itself, and so on...

It's all so much more confused than most folks, including Descarte, think it is.

He does identify something worth naming, but gets the cause and effect all mixed up. It'd be more sensible to say that I am, therefore I have the possibility of thought, and the possibility of using thought to identify my own being.

Thought being a material process which occurs in-and-of the world.
I was talking about the assertion, not about if it was feasible or not.
Because very few people have covered every last spot on their roof so you would be designing a product suitable for very few people
I think it's because we're sold on the idea of progress (technological and other types) as leading to improvements in our lives. But generally they aren't realised.

Automation, for example, was supposed to lead to easier lives with more free time for our own activities, but as I look around I see everyone being so so busy. As a society we are able to produce more and at a greater pace, but all the proceeds of that go up to the top and all of the rest of the people lose out from it.
What is it with Spanish prisons? I live here and have heard about the problem of foreigners from UK and US not wanting to serve time in their owne country. They prefer here, but overpopulation is a problem, hence the articles about the cases.
It's political. Would you run a OS that comes from a totalitarian surveillance state?
The Sion has other advantages apart from the solar panels; it has a socket for charging other things (e.g. other electric cars), and custom built-in software and smartphone app for renting it out when you're not using it. This means you can make money from it when you're not using it.
How to Start Making Money Coaching Today
You almost got me! I'll opt for a glass of chocolate milk, but thank you :)
Also here:

https://threadreaderapp.com/thread/1172283772428906496.html
> Could we avoid straw man arguments?

We can - but that wasn't a straw-man argument.

> There is an element of racism on issues regarding China.

I agree. There is also an element of "that's racist" being used to deflect criticism.
That was an example of what could be called a teachable moment. I'm remembering my standout moment as I type, the 'oh no, oh no' as I realised what was happening.
I failed starting running.
I failed getting into my preferable school and disappointed my family
I failed getting a gf this year also (3 months left we all going to make it)
>The owners started the business, took the risk, etc.

This does not seem like any kind of justification for continual reward, not to mention it doesn't apply at all in situations where the workers themselves take on a lot of risk day to day (e.g. construction). Furthermore, this would only work as a justification for when the owner really did take a risk, and companies where the current owner is the same as the person who started the business (i.e it's not clear that future CEOs shoulder the same risk). And of course, all of this is based on the idea that risk is an inherent good and worthy of reward and praise - I can see many cases where it's not, especially in very exploitative businesses.

>he can always ask for more

He can ask for it, but with the weakened power of collective bargaining it's unlikely he'll get it. It also depends on how replaceable the worker is. Did you see the article on HN today about how Kickstarter fired two union organizers?

>change employer

From the point of view of the worker this doesn't help much at all, since there would be no reason they'd necessarily get a better wage at other places.

>or start his own business

With what capital? Even if he had capital, why would a worker who is so disillusioned with the nature of wage work feel compelled to start a business? Unless he doesn't care for the plight of others against what he experienced while he was himself a wage worker.
The problem is that patenting a kind of screw is not the same as patenting an algorithm or field of computer science. Software uses many more kinds algorithms than any physical product uses screws. It's impossible to avoid minefields for any reasonably large project.

Let's not forget that for quite a few years, asymmetric cryptography was patented and you couldn't implement any kind of cryptosystem that used it. God knows what the state of cryptography would be today if we didn't have our equivalent of a "dark age" thanks to fears over patent litigation.
Thanks for taking the time to write about this and articulating what I’m living through too.
Looking forward to the replies and the books recommended here.
I think you would first find the two closest brightness levels for each pixels, and blend appropriately between them - then simply use additive blending to composite all the pixels together. A naive approach would require compositing as many images as the number of pixels in the input signal, which seems extremely expensive, but in practice I’m sure you could optimize it quite a bit, as most of the area of each photo would be almost completely black.
The calculation `red = r << 5 | r << 2 | r >> 1` is equivalent to `red = floor(r * (1 << 5 | 1 << 2 | 1 >> 1))`, which is `red = floor(r * 36.5)`.
>Yes, let's make the life of a pet miserable so we can have urban/suburban birds...

Responsible people don't let their dogs roam the streets as they can be a threat to strangers, children etc.

why should we treat cat's any differently especially when cats kill far more.
There should be some website for telling people about logically valid stupid idea, like making roads out of solar panel, and this, and hydrogen car. The other day, someone suggested me to put motor on wind turbine so it can produce more power in low wind condition. Someday, people will install wind turbine on top of car for car charging even while driving.
I failed to start an IG video channel talking about starting your own contracting business. Released two or three videos and then just stopped, and probably won't go back.

However, I have now started a Youtube channel for vlogging which is one of my old loves. I had a vlogging channel in 2006 and stopped because of bullies and life getting in the way. Feel like I'm getting my creative side back which has been a revelation for me.
The Windows port never used raw system calls.

The Solaris port never used raw system calls.

The MacOS port doesn't use raw system calls since go 1.11.

The remaining ports for Linux/BSDs/Plan 9 have a stable syscall interface.
Don't sweat it. My brother in law was in a similar position (education instead of work though), and is now doing very well for himself.
Not necessarily. The drive through employee is essential, but the cook is also essential, and the restaurant manager is also essential probably... The value is shared among them.

Also, Labor Economics tells us what happens, and I do not argue with that. I am saying that we should take more into account actual value and avoid extreme profit-driven views, such as reducing someone's salary for the exact same job just because they live in X country instead of Y.
> untrustworthy because of its Chinese origins ... everything of Chinese origin is untrustworthy

Settle down there Satan.

My Chinese made coat hangers aren't much of a risk

This has nothing to do with anyone's Han-Chinese-ness, don't be ridiculous.

It's entirely about Chinese-Communist-Party-ness, government influence.

All governments are doing everything they can to spy on each other, that's a known quality. The CCP probably has a greater ability quantitatively due to China being a significant manufacturer of devices that could present risks.

We're right to ask these questions and attempt to examine the chain-of-trust.

There's no need to get hysterical about it.
And of course for that you need some training data.

https://imgur.com/3jYKQ6r
Comparing A:B against C:D is much less intuitive for us puny humans than comparing A:B against C:B.
Check out CRT Royale / CRT-Royale-kurozumi which also does some phosphor fading.

https://github.com/libretro/common-shaders/tree/master/crt/s...

Sonic
https://www.youtube.com/watch?v=u77TUkFHNyI

Streetfighter
https://youtu.be/xrpm8o17cHE?t=903

Other resources:
https://www.resetera.com/threads/crt-shaders-scanlines-ot-be...
https://www.youtube.com/watch?v=qBzB0YdHn64
is this just an american thing? why on earth does it take so long? i suffer recurrent spontaneous pneumothorax so im no stranger to them, whenever it happens i go to A&E get an xray and they usually tell me there and then if ive got a collapse
I dont really buy that argument. Local developers are not going to quit because you are paying remote developers less. Location is substantial factor in salary, and almost everyone seems to understand that. Onsite developers are paid generally substantially more.
Photo looked cool before the "whitelist us from your ad blocker" popup.

Pass
And yet the American human/civil rights record isn't nearly as bad as the Chinese one. I'm not a fan of either at all but if forced to choose I'll go with the former one.
It's also unrealistically good as you don't get high noon insolation for 9 hours a day.
in overcrowded locations that have reached their maximum capacity.
kudos man! And good luck :) I haven't drank since uni (about 5 years ago), and don't miss it :) You'll be fine, no worries.
I was wondering the same. It might be the flat "registers" that were off to the sides.
How is software creating jobs rather eating them?
All current headlines about Software and AI are pretty doomsday scenarios on jobs. Besides sweatshops in the form of Amazon Mechanical Turk and other data labeling startups, is there a possibility to reverse all of that? I mean we did invent automobiles, they too are like some kind of robots but created so much wealth.

What are your thoughts?.
Basic Requirements to Be a Technical Writer
Well being onsite adds value to buyers. If you dont think so, the only way to proce that is by starting your own company with remote-only. Remote devs are cheap so you should be rich very quickly, if they provide the same value as locals.
You should strive for honesty because otherwise you will not get the most out of your employees. If you don't pay them as described here or forgo raises, they will respond in kind by working less, taking more time, and doing lower quality work aka slacking off. You think you'll be able to tell, but you won't because from the outside it won't be obvious. So you'll get what you pay for instead of what you could get if you paid honestly.