skysight-inc/HackerNews huggingface dataset:
I've been very curious about this too.

I believe there are two basic approaches.

The first is "lenticular lenses" -- the same technology used to make those shiny postcards that change depending on what angle you tilt them at.

Here's a site with an example GIF and kinda explains how it works:
https://setosa.io/blog/2014/07/07/lenticular/

Normally, the lenticular lens is glued directly onto a printed sheet of paper, but you can instead glue it onto a _screen_, which lets you change the pixels underneath. There are a lot of challenges here; for example, the pixels are usually located a bit behind the glass, so the standard lenses used for printing won't focus perfectly on a screen.

There's also another, simpler approach called "parallax barrier". This is what the 3DS used. Instead of using lenses to bend light, it _blocks_ the light coming out of certain pixels at certain angles. It's basically just an opaque sheet with periodic slits (the 3DS uses an LCD, so that 3D can be turned off by becoming transparent). Before I found a video of someone making one themselves using an iPhone and transparency sheets, but I can't find it at the moment...

3DS parallax barrier: https://www.youtube.com/watch?v=D-LzRT7Bvc0

Diagram from Wikipedia article: https://en.wikipedia.org/wiki/Parallax_barrier#/media/File:P...

A big disadvantage of parallax-barrier is that you end up blocking a lot of the screen, making the image darker.

Supposedly you can combine the two approaches to reduce the darkness.

https://www.youtube.com/watch?v=yetX2C3AdCI

There are probably even more tricks involved, and this is all a lot easier-said-than-done.

Here's a project that uses an LCD to make a dynamic parallax-barrier, that increases brightness by skipping the barriers wherever they don't matter:

https://www.youtube.com/watch?v=YrRnURU1W3E

Tangent: There's also been some attempts to do _the reverse_, and use distorted lenses in front of a camera to recover a 3D scene using only a single camera:

https://dl.acm.org/doi/10.1145/3072959.3073589 (link has a SIGGRAPH talk recorded which shows example results)
Yeah, that was a different product with the same name. The ATM I worked on was a low level font rendering utility. It became obsolete in a few years as Windows evolved to include a formal font driver interface, so Adobe repurposed the name for a font management tool.

I'm a little fuzzy on those details, but I seem to recall that there was a problem with having too many fonts available at the same time. (Memory limitations?) So this new Adobe Type Manager let you select a subset of your fonts to be available at any given time.
This is so cool. I’d buy it.
It’s a reference to a decades-old quote from Bjarne Stroustrup, C++’s creator:

“In C++ it’s harder to shoot yourself in the foot, but when you do, you blow off your whole leg.”
Making live repls behave
I love seeing these “old is new” blog posts from 16 years ago. Same game, same story, things have shifted around but not that much.
I think the above comment bears repeating:

>A good programmer could learn it, but it exposes concepts that python and java abstracts from the programmer.

Education varies wildly, and overall in industry you will not apply 100% of your learnings. I'm sure I forgot plenty of algorthms that others use daily. Likely, others forgot plenty of low-level memory management than I use daily.

Let's not turn this into a programmer measuring contest. They are different concepts and tools done for the purpose of solving problems, not flexing IQ's. coments like this are no better than the ones you complain about.
Remember that interviews are two-way.
Designer != dev, right? The top entry on his LI also appears to be a marketing role?
Cloud Gardens: A chill game about using plants to overgrow abandoned dioramas
I took 3 weeks vacation last December. I typically take a few days off a year and don’t have formal vacations — and this is by choice.

At the end of the three weeks, I was dreading returning to work. Now my compensation is over $500K a year. Financially I’m doing really well, although I haven’t quite hit the number I have in mind for retirement.

If someone is getting paid $40K or minimum wage, I can’t imagine why they would return to work. 3 weeks is all it took for me to go from loving my job to dreading going back to work. If I was home for months, I’d very much would get used to that lifestyle and try whatever side hustle I could to cover my costs.
Design is fashion
> They can double or occasionally triple my salary, but they can't offer me a private office.

You might have more luck if instead you asked about working remotely full-time. It's not the same if you want to go into an office, but companies are seriously thinking about their post-covid office plans.
I can’t help but feel Google’s only consistency is in their trying to be clean, cool, and innovative, but not actually getting the details right, and ending up looking juvenile and Fisher-Price-like. On mobile, the font is too big and too ragged. The colors and shapes look like a Kleenex box aesthetic. The spacing isn’t all that great.

I’m absolutely puzzled why a behemoth like Google can’t have exceptional, human design. Apple can do it, which leads me to believe the ability to pull it off is largely cultural. Something or someone in Apple demands design that is relatable, good-looking, and consistent, and Google simply doesn’t have the same driving force.

Google’s stuff isn’t bad, but it’s simply not exceptional.

(Edit: And to be clear, I mean Google’s design implementation in its entirety, especially beyond Android, including this very webpage which describes their new design.)
I don't like the squiggly sliders.
I think you should feel fine about 150k and miffed about 100k if it's a gig at a bay area company other than an early-stage startup.

200k is very high for new grads.
The love hate relationship of India with crypto
I am an aspie that has gaps in my resume. I moved to a fairly remote location while I was working on starting my first company. There were a few "software" companies there. The quality of the engineers was very low, as was the software they were producing. I wanted to do some work for a while to gather up some more money. These places were obviously desperate for engineers. They had ads every week for months or years. I went to the interviews. All of the technical tests were easy. Often they didn't even get their own answers right. None of them hired me though. It was very obviously for the aspie personality. They were obviously not that desperate.

You can say "oh you're an aspie. Oh you have gaps in your resume". Ahh... exactly how desperate are they if they can pick and choose while having such terrible in-house talent? The pay at these places was pretty terrible. Looking at their history, they often resorted to using off-shore people. Most of their upper management are really just family members making a passive income from the company. None of this suggests to me any real crisis or shortage in labour, just people wanting to keep raking in easy money.
>NVIDIA announced today that it's halving the hash rate for Etehereum cryptocurrency mining on the new GeForce RTX 3080, 3070, and 3060 Ti graphics cards to make them less desirable for miners.

I have a question for someone familiar with GPU technicalities.

Won't this affect other, non-mining tasks?

Crypto mining is based on cryptographic hashing algorithms.

So won't this affect people in security? That work with hashing algorthims?
I suspect tools like hashcat[0] may be affected.

[0]: https://en.wikipedia.org/wiki/Hashcat
I can't fathom the mental gymnastics needed to enact this type of regulation.

You are essentially stopping the flow of foreign capital into the country on an economy with extreme inflation and unemployment rate.

People don't need beef. Trying to make an easily substituted luxury good affordable that is bringing a significant portion of all foreign capital into the country seems short sighted, to say the least.
I've been writing C++ for like 15 years now and still need to visit Stack Overflow 500 times a day to do my job. It is not a language somebody picks up on the job.
I love the concept.

Here's the problem: "We built upon this insight to generate unique Material palettes for everyone, derived from a personal signal—wallpaper—that can be applied to their entire experience."

I like my wallpapers to be striking, geometric, interesting, but ultimately distinctive from the rest of my phone, where I do want colours.

So I hope there will be another way to generate signals for the phone colour pallette.
How is Vulkan vendor specific? How will WebGPU be more cross platform than Vulkan? (MoltenVK works very well)
Yes if you have infinite money. Do you ?
I will discourage anyone to work in europe as a software developer. Salaries are so low that you will probably make more money in the most third-world countries.
Related by Kurzgesagt "What if we blow up the moon?" : https://www.youtube.com/watch?v=qEfPBt9dU60
> Any language takes at least 3-5 years to fully master.

That really depends on the language and their background.

Going from C to C++ and you can be pretty functional pretty quickly, and comfortable in a year. Your big hurdle then is whatever specific libraries you're using.

Smaller languages like Lua can be fully adapted to in about 2 months or less.

I mean, yeah, picking someone with 10 years of Python experience and nothing else, then expecting them to jump right into a massive C++ codebase won't go well. But someone with 5 years of Ruby experience and a side project in Python will probably do pretty well if they're dropped into a Python-oriented job.
I'm also in the same position as a manager, but to me it makes perfect sense. Roughly speaking a staff+ engineer in India will be $60-100K/yr total comp including benefits (and I'm talking IIT talent, way above market wages) with skills equivalent to or better than one in the Bay Area at $500K+. Our best development right now happens out of our India office.
Is there a book about transitioning from junior to senior? I'm at a company which has no more senior devs, so am looking at alternatives for my growth.

Obviously it is not a perfect substitute, but the senior is not likely to be replaced soon.
The hiring managers don't have that power. Not sure if you have done an interview loop but I assume that as a tenure track/tenured professor you're going to be L6+ individual contributor in a research group. In that interview loop you're probably going to have a decent amount of face time with a director level or VP. IMO if you're actually interested in making the jump the right play is to get the job, and then negotiate the office with the director/vp that you'd be reporting to, they will 99% of the time not let office access be something that stops them from hiring a staff+ engineer. Feel free to ping me directly if you want to ask more questions.
I mean you cannot deny that there is zero merit to the rule. A good developer in Bangalore is $35k a year. A good developer in the US will set you back no less than $120k + 40% for all the benefits and payroll taxes and other associated employment costs.

If by "clamp down on wages" you mean control expenses in a general sense, i guess you're correct, but you sure are making it sound sinister.
I find it funny that I went to the slider section and NONE of the images were actual sliders, even with "web" selected. At least Bootstrap let's you play with the controls on the actual page.
looks like the cost of housing in Palo Alto has more than doubled: https://julianalee.com/palo-alto/palo-alto-statistics.htm

Edit: This is to say, the cost of housing has grown faster than the compensation available to new grads.
> We know how markets work

Badly. They work badly.

> But instead they insist on continuing to mis-price their products

They are not mis-priced, they are already a pretty hefty buy. If the prices were to increase even further, _then_ it would be mis-priced, as no-one needs to spend this much on a videocard to play videogames. The fact that gamers have to compete with miners (for whom it's an investment) and AI researchers (for whom it's a job tool) does nothing to justify the purchase for the higher price
Compiled dynamic CSS in React. The most outrageous of it all is their reasoning for it: best of both worlds.
Did I really just read several paragraphs of corporate marketing babble to discover that this is mostly about a universal wallpaper that carries over to your apps?? Also, the quote about form following feeling is basically ripped off from Apple/Jobs lore. Replace feeling with emotion and it’s almost a direct quote from the Isaacson biography.
On Mac, it is Alt Minus and Alt Shift Minus
Smart contract Audits and creation is pretty lucrative, with payment for work generally in a currency that's not in a period of 'Transitory Inflation'. I've been learning rust/ substrate tho, ETH is a bit dated by now.
I loved the original Guild Wars. There was a decent solo storyline, and then you could play with friends. I've had a hard time making friends on other MMOs...

One thing that instantly turns me off is micro-transactions. I'm happy to pay a monthly subscription if there's enough gameplay to make it worth it (I.e., not just grinding quests like WoW), but when the only way to get the best gear is by paying for it, I'm out. I like games where I can win on my merits and skill and group dynamics, not on how fat my wallet is.

I used to play a MUD (kind of a text-based MMORPG) back in the day. You'd get about 50 levels of solo play before you had to start playing with other people. You COULD play with others, or you could play by yourself. It was really fun! There were ~1000 levels of group play. This was a great way to meet some folks who were also in your level. Over time, you made friends! After you reached about level 900 or so, you could advance to the next tier, at which point you HAD to play with groups.

In this last tier, the entire group (as many players as possible) would go out on a single raid to take down a single monster, and it took a lot of work and it took forever. The monster would drop a few pieces of loot (including one "top tier" item), and there would be a lottery system to determine the winners of the gear. It was a really fun way to play, especially because everyone was a good sport about it. If you already had the gear, you would pass on the lottery, usually. People who already had the gear would go along on the raid just to help other people (and of course to have fun)! It was a very team-oriented culture.

I haven't found a game since then that had that spirit. I really wish I could find something like that.

To me, micro-transaction culture and uber-competitive has completely killed gaming for me. I'm just not interested in pay-to-win scenarios or playing with trolls/jerks.

But a solid single-player experience and a solid cooperative experience where you can play with nice, decent people (especially people you already know)... That would be killer for me.
Have a good and relevant linkedin profile.

Post on Hired.
The poor you will always have with you
No web implementation for date pickers? come on, man.
As the video description says, it's not ACTUALLY live, due to legal issues. But it is a long, ongoing stream, and to my knowledge the videos are swapped out on a daily or weekly basis, so you are getting a somewhat "real time" idea of what the route looks like.
Shooting for the stars: the otherworldly art of astrophotography
> When I graduated with my CS degree, I was _thrilled_ to be offered 50k. Now new grads feel lowballed at 200k TC.

It might have something to do with increasing property prices.
Ha fair enough. I occasionally watch some of that as well although I try not to. But yeah my impression is that almost all of the voices calling for hyper inflation are coming out of that sector.

To be fair, I would say even Dalio would expect strong inflation but not hyperinflation from what I've heard from him.
The cited version of Programming in Lua was written for Lua 5.0 and published in 2003. Lua 5.3, released 2015, complemented the floating point type with a 64-bit integer type, which is much more ergonomic for 1) bit manipulation and 2) interfacing with 64-bit integer types in C.

Also, because of Lua's emphasis on embedding, the arithmetic type in Lua has long been customizable using compile-time preprocessor definitions. Prior to Lua 5.3 it was common for embedded environments to use an integer type for all arithmetic operations. Nothing in the core language requires floating point types, and the VM is carefully written to be agnostic to arithmetic type.

Part of Lua's original focus was programming pedagogy, and it was and remains a common argument in that niche that floating point is more than adequate. Lua predates JavaScript, and of course JavaScript lacked a primitive integer type for the same reason. (JavaScript might always lack one--a primitive integer type--because of the ubiquitous use of NaN tagging in the major implementations.) Lua just held more steadfastly to that view a little longer than some of its contemporaries. It might have stayed that way, too, if the width of floating point types had grown to accommodate larger integer types. (That is, if ABIs with 64-bit integer types also included an 80- or 128-bit floating point type.)
I suspect it’s structural, and that Apple has a lot more levels of internal design critique — in everything top to bottom.

Google seems more loosely linked and in most things seems like the left hand doesn’t know what the right is doing.
This is one of the most harped on topics on HN.
In chrome when a site hangs its process the browser chrome is still responsive. So you just close the tab.
There is no shortage of software developers. It is a rumor created to bring more people in

https://youtu.be/6X-SG6bA4Zg?t=77
I had a cat crawl under the covers and sleep next to me. Once I woke up because it was.. dream running or something?!?

The feet twitched back and forth along my ribs and I am quite ticklish!

I was amused and glad it wasn't claws out dream fighting!

So I think cats can't be ruled out regards moving while asleep too. :-)
> It’s hard for me to fathom that such a large proportion of candidates are terrible.

It’s not that most candidates are terrible, it’s that most job applications are 90% mismatched. Don’t forget many many people are applying to multiple jobs, and most of them are great candidates for something, just maybe not the high paying lead role as the first job out of college.

As someone who’s done a lot of hiring and mentoring, I often tell people to apply lots of places and punch above your weight class, a little, for some of it. This is just like applying for college - you put in the app to Harvard on the wild off chance you’ll get in, you put in the app to your state school so you have a safety, then you apply for a range of schools, half of them long shots. Turns out, Harvard rejects more than 90% of their applications... because they get a lot of them, and most of them are long shots. This does mean they have some filters in place, for better or worse.

I see this same advice play out among applicants - many of them are applying for jobs that they might have only half or a third of the qualifications for. But maybe that’s okay, especially for junior positions. Many companies hire people who don’t have 100% of the listed qualifications, so as an applicant, it might be worth checking if you pass their filter, and as a hiring manager, it might be worth learning how to avoid interviewing people who are obviously more hopeful than qualified.
Damn. I've been coding in Python for 10+ years and never came across this "metaclass" thing. Starts wondering whether I'm rusty and un-hireable. Curious what it is, I read the first result on Google, which goes through an example that I don't understand the point fully, and it concludes with "metaclasses can easily veer into the realm of being a “solution in search of a problem.”"

Oh well, good luck hiring python devs :)

I'd agree more on the closure part in javascript though.
Thank you, your explanation was _indeed_ better :-)
I know approximately what a closure is, and I am sure I have used such constructs instinctively in my work many times. I don't have a formal Cs education, but have never failed to not be able to finish my coding work because I didn't know stuff.

Once a guy asked me to write out merge sort on a whiteboard and I couldn't. I didn't get the job. Surprisingly I'm doing just fine in my current position and am very productive (as much as I may say so myself) and have never heard complaints from anyone that I don't know what I'm doing.

So if you don't see a CS degree in the resume then don't ask what a closure is or to implement a merge sort in the interview. Ask them to solve a real problem. The top computer scientists didn't discover the merge sort for years or decades and you want me to figure it out on the spot? Or you just expect me to memorize useless shit like this? Give a problem a programmer would encounter on a day to day basis that wouldn't need a lot of googling. Let them figure out how to solve it and see if it works for you.
They also sometimes do GPU BIOS modifications, which is a fun thing to discover once the card ends up on the second-hand market and you happen to buy one. Luckily the fix is to reflash the BIOS using a matching one from TechPowerUp GPU database, but this assumes that you even know that this is something to pay attention to.

Source: happened with an RX 560 that I bought second-hand. Driver installation failed in Windows 10 due to the modified GPU BIOS. Was fixed with a reflash of a stock GPU BIOS using atiflash.
Ransomware’s Dangerous New Trick Is Double-Encrypting Your Data
What are the geographical locations - can I choose which data center? What kind of redundancy or backups are there?

Does a full table scan count as a read? Is there planetscale specific tooling for managing indexes or primary keys?
The wiggly sperm play progress animation is incredibly distracting. UI should never obtrude on the actual content.
But what is "market rate"?

Likewise, if "market rate" is above "value produced by the employee" it doesn't make any sense to pay that much.

There are lots of companies out there that need some tech and some programming, but when the company revenue is only a few million that has to span a few score employees, and costs... its not possible to pay the small handful of devs six figures and keep everything in the black.

Likewise, there are new grads that are scoffing at working for 2x per capita income for the area in the midwest when that's less than 100k (and then complaining that they can't find any jobs).

There is a mismatch of expectations - possibly on both sides of the table.
We did get tremendous asset inflation. QE is arguably one of the greatest drivers of wealth inequality. If the QE was done to fund social security payments (i.e. a broad check to every American instead of asset inflation mostly benefitting the wealthy), we would see real inflation materialize. That is basically what is happening now, and commodities have already been putting up 30%+ inflation numbers. It's only a matter of time before the contract for the beef in your Big Mac (which was negotiated years ago) is renegotiated in the current inflated commodity market.
Illegal btc -> UniSwap -> btc/Monero -> Monero wallet -> Monero Wallet 2, Money is cleaned. Monero doesn't include wallet headers.
FWIW, I’ve seen incorrect email addresses in bank accounts and someone else getting all transaction information and statements. The state of “encrypted bank statements” is so poor (a combination of part of the name and part of the date of birth) that I don’t get why they even bother with such theatrics.

I also don’t know how to get such instances corrected. As per the company, you’re not the customer. So you can’t ask them to edit the customer records of someone else. Any reporting may also be considered as you trying to commit fraud or have used the information for fraudulent purposes. This is a very tricky and messy situation, IMO, especially in the Indian context (where it’s increasingly guilty until proven innocent).