skysight-inc/HackerNews huggingface dataset:
Compass Regulatory | Software Engineer (full-stack) | SF Bay Area | $110k-180k
We’re Compass Regulatory, an early stage technology startup building the regulatory and compliance platform for the ag industry. Our team comes from some of the leading companies in the AgTech industry, and has received investment from notable SaaS and AgTech investors.

We are seeking a talented and ambitious full-stack engineer to join our small but mighty technical team. As an early member of the technical team you’ll influence key architectural decisions and have the opportunity to build and own core parts of the platform end-to-end. We care deeply about building the right technology for our customers as well as building the technology right.

Tech Stack: AWS, Terraform, Docker, Postgres, Python, Django, HTMX, Alpine.js, Tailwind

Details: https://www.linkedin.com/jobs/view/3920185376
Contact me at graham@compassregulatory.com
www.compassregulatory.com
Typically this is done by using a look-up table to convert the 8-bit gamma encoded intensities to 10-bit (or more) linear intensities. You can use the same look-up table for R, G, and B. Alpha should be linear.
When I interviewed at Google I was making iOS apps using Objective-C at my current job, so I decided to stick with that for the whiteboard so I wouldn't blank out on some syntax at an inopportune time.

Big mistake. The method names get so long I was kept running out of space on the whiteboard and it took forever to write it.

I don't remember exactly what I wrote anymore (it was over a decade ago), but this site[1] has some examples of really long property and method names in Cocoa (its framework), like:

splitViewControllerPreferredInterfaceOrientationForPresentation

or

initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bitmapFormat:bytesPerRow:bitsPerPixel:

Anyway, for that and other reasons I didn't get the job (I apparently didn't prepare quite the right things, despite preparing for a few hours every night for the two weeks prior, which is how long the recruiter gave me before flying me to Mountain View, so my performance for at least two of the six interviews I had that day were a bit weak).

[1]: https://github.com/Quotation/LongestCocoa
Or sponsor book fairs and bookit programs ... which have higher costs than digital ads.
The punch line is that the equations he worked out ended up being useful for his Nobel Prize winning work. So it ended up being useful even if that wasn't the goal.
This is clickbait nonsense. You can't assume that two hi-tech items with the same name are equivalent. The quality of electronics from Temu has been so consistently horrendous that I don't even look any more. I do still buy non-electronics on Temu.

For whatever reason, AliExpress seems to have slightly more reliable electronics. More vetting of vendors?
Personally I only ask super easy questions because you should at least be able to talk about something trivial. Yet unfortunately the question “find the second largest number in an array of numbers” has a high failure rate as the first question, because there are a lot of people lying on their resume just throwing spaghetti at the walls.
I read your description and thought of a building in Chicago, but there must be a few like this. The one I was thinking of is in River North along the river.

It’s a beautiful building, with roomy communal spaces and vintage timber all over. I probably would have bought there if I weren’t too noise sensitive for timber floors.
Appealing to authority doesn't negate what I said. There was a clear narrative to the story, Kubrick failed to convey it. That is poor film making.
How do you end the interview? To me it seems like that might be awkward.
That's right, batteries! They enable us to capitalize on energy price fluctuations.

You can of course charge them however you like, but I have a feeling Santa Clara's purported 3x price fluctuations are not due entirely to natural gas.
You may like this video of a tunnel being built under a highway in one weekend: https://m.youtube.com/watch?v=btOE0rcKDC0
This provided me with a fascinating, albeit somewhat familiar, piece of insight: which is that I don't really ever hear my inner monologue. I'm not sure I have one! I'm either typing out my thoughts as I have them or speaking them as I have them.

I struggle in coding interviews precisely because of this: either I end up vocalizing my emotions and insecurities instead of coding, or I end up coding instead of talking about what I'm trying to accomplish. Often I will see many alternate pathways branching out before me, but if I try to start talking about them, I am no longer coding, and so my brain context-switches to "social and emotional."

Probably something I could get better at with practice, but I honestly end up commenting on places like HN simply because it "allows" me to think. If I could have a coding interview in the form of realtime text chat + code, that would be ideal for me.

I guess I have seen companies do things like "contribute to this open source project and work through an MR." I do find that quite appealing as an interview process.
Assuming that a company does not look for candidates who are naturally good at ICPC-type of questions or geniuses who can come up with amazing algorithms in a matter of minutes, there is actually a different way to do coding interview: just give a high-level description of a sophisticated enough algorithm to a candidate and ask the candidate to turn that into code. I think it strikes a good balance between depth in CS and the coding abilities. This type of interview is similar to what engineers do at work too. We rarely invent new algorithms, but we do read white papers or blog entries or books to pick an algorithm to implement.

There are many variations in questions too: search a tree or graph with some customized criteria, using a double buffer to implement a tree-style prefix scan, implementing an integer multiplication with unlimited digits, some streaming algorithm, tree-walking to transform one tree to another, a simplified skip list, the options are unlimited. A good candidate tends to grasp the high-level concepts quickly (and they can ask questions), and is quick to convert intuition into working code. I find that there is a strong positive correlation between the performance in work and the performance in such coding interviews.
Yes, but we're talking about the “pro” version here which makes even less sense!
What do you mean, promoted?
Many civic planners will see a video like this and say “that’s not possible” even while watching it happen.

They have no appetite for anything new and they have no appetite for not being the one who thought of it.
i am curious how much they are actually paying. i have no intrinsic qualm with it and agree that developer time is expensive
> Is that really applicable?

Yes. Congress gave the FCC the power to block foreign control of American radio stations. Rebrand the TikTok bill as a 20% cap on foreign control of social media apps with a laundry list of exceptions (everyone but our adversaries) and it’s in the same ballpark.

> because the airwaves are a limited public resource

To grant licenses, sure. But the foreign ownership component is orthogonal to that. App stores are our new airwaves.
On my M1 air, I find for casual use of about an hour or so a day, I can literally go close to a couple weeks without needing to recharge. Which to me is pretty awesome. Mostly use my personal desktop when not on my work laptop (docked m3 pro).
A blue screen would prove someone wrote shitty drivers so we'd know the universe is more like Windows than like OS X
Just wait until you buy an Apple Vision Pro...

[It's got the same restrictions as an iPad, but costs more than a MacBookPro.]
Thanks! I couldn't see it on Chrome due to React Devtools interference.

Turns out the page was ending up in bfcache (https://web.dev/articles/bfcache), which in turn led to the button's loading state being preserved when clicking back. Listening to the `pageshow` event enables one to handle that somewhat gracefully.
can you explain why parking would be an issue? Typically offices are more people-dense than residential. So converting office to residential should reduce the number of parking spaces needed.
Very cool. Reminds me of this video I saw recently about the new subway being dug in Vancouver. There they build a temporary road surface above the underground work: https://www.youtube.com/watch?v=D4YFFtTEUQc&t=380s (I linked to the most relevant part, but the coolest part of this video is probably the machine that bores and reinforces the tunnel in one pass.)
I haven't used them. Why does "ad hoc fixing" require searching and boilerplate?
Does gradient descent really do well for deep learning when the gradient is computed with respect to the whole dataset? I assumed that the noise in SGD played an important role for escaping local minima.
Changing a PostgreSQL column type without following the author's instructions and just running the following command is VERY anti-pattern. Confused why people do this in the first place.

ALTER TABLE table_name
ALTER COLUMN column_name
[SET DATA] TYPE new_data_type

>you need to make sure the source system has enough disk space to hold the WAL files for a long enough time

if the asynchronous replication process has an external buffer instead of the WAL, then it addresses this issue
I believe that's what we call "physics"
While it's true that they did that and why, I'd ultimately chalk it up as more of a flaw than a feature. Vocals never sounded great on wall of sound shows because they could never sing perfectly into one mic. This can be confirmed by listentng to soundboard tapes of the shows, and comparing them with ones a year or two either side - the full on Wall was only used for about a year.

While the WoS laid much of the groundwork for how modern PAs are designed and operated, it was more of a white elephant than anything, and many of it's actual ideas were discarded. It was totally impractical to tour with and they lost money doing so. The only real technical legacy it has is of using coherent phased line arrays.

Really it's whole reason for existence (getting a coherent, in phase, non-canceled signal at an extended distance from the stage) isn't even relevant, as these days secondary speaker arrays with delay lines (to sync them perfectly with the mains) is almost childs play. Literally plug and play. Modern PAs can self-tune the whole system just from playing a short burst of white noise through the system, and listening for the response.
We have a pound of prevention which is worth an ounce of cure here.
You cannot functionally limit wealth. Does 10 million include assets? What about company ownership? If a piece of art is worth more than 10 million, does it need to be owned by more than one person? Does it need to be cut in two?

If something you own appreciates and your wealth increases as a result, how quickly before you have to divest that asset?

What about non profit organizations? What about IP? What about software? When Minecraft was sold by a single owner, it was worth 10 million many, many times over. When exactly would it have been necessary for him to sell his company, and who would he have been obligated to sell it to?
Ok, this needs to be a thing everywhere.
> I assume zed isn’t doing that either as it would be horribly inefficient.

What are you supposed to do instead? Zed uses the GPU. It's not making calls to retained-mode widgets to individually reposition them, nor is it blitting into a buffer using the CPU. It's using the GPU which eats pixels for breakfast. You've been able to rerender the entire screen each frame for over a decade - just look at Windows 7 Aero, which ran on the laptops of 2009 for the exact same reason: it used the GPU!
For my part I know the same because I did it and then gave both the content and the generated report to my father: an orthopaedic trauma surgeon / my cousin a radiologist and surgeon / my other cousin a cardiovascular surgeon. All for different things.

Varying degrees of enthusiasm (my father was the most thrilled) but all remarked it was accurate. Of course I did these things for a laugh because I can just access the appropriate professional on-demand.
I'm not following, what makes a poorly written React component better than a poorly written web component?
Amazon Titan Text Premier LLM with SOTA Common Sense Reasoning
I think you are making the opposite error that you're accusing Ehrman of making, specifically that you seem to be taking (what survived of) the Bible at it's word, putting the benefit of the doubt on everyone/everything else to disprove it, rather than giving it the burden of proof on its claims. You seem to be giving it more credibilty because it is old, but there are plenty of similar aged or older books that are clearly not accurate/true just because they are old and can't be disproven. If that's your standard, then you must also accept the existence of a lot of Pagan gods as well. Even if we just limit it to "the Bible" then you have to accept that Asherah and other early Hebrew gods really existed, and had priests and prophets capable of doing miracles and curses/blessings, etc.

Of course there is historically accurate stuff in the Bible, but there's also a ton of supernatural claims that can't be proven or disproven (aka they are non-falsifiable). For that matter The Odyssey has survived a long time and has some accurate historical things in it, but we don't take the Odyssey's stories about supernatural things at face value.

It's also not hard to show that The Bible is not historically reliable just by comparing different sections of it that contradict each other.

For example, what were Jesus' last words on the cross? Mark, Luke, and John all disagree on this and have different words. They can't all be his last words.

What day did he actually die? Was it the day after passover as in Mark, or the day before as in John?[1]

We absolutely agree though on reading lots of perspectives on it. There is no shortage of PhDs who debate these things, so at the end of the day you'll have to either choose the stay agnostic on it, or go with what seems "most likely" to you.

[1]: https://ehrmanblog.org/why-have-i-stopped-explaining-how-i-l...
The point is that they are trying to address inequality and immoral use of wealth and the article treats us to biblical and historical examples. Then the idea is applied "equally" only within political and regional constraints. Is limitarianism a philosophy or political stance?
LA is one of the most underdeveloped cities in the US. It is ripe for much denser housing in its urban core.
The road to extinction through resource exhaustion and tech-saviourism
Old people vote, no politician wants to be voted (or revolutionized) out of office, the money will come...

When Covid lockdowns started, both sides quickly agreed to print money to bailout the whole population (or as the deranged called it, to induce inflation and transfer money to corporations and the wealthy).
People leaving California is a good thing both for California and the places they go.

There’s a massive housing crisis in CA. Getting people out of it reduces demand which is the only solution if you persistently cannot or will not solve supply.

The Texas energy grid is actually greening rapidly. Although everyone deploying solar in Texas should also deploy a local battery. If you don’t you can’t run your solar when the grid is down.
Interesting that some people would take that as an Apple problem and others would take it as a Google problem

Who’s at fault for not having built-in messaging that works with rich text, photos, videos, etc?

Google has abandoned more messaging products than I can remember while Apple focused on literally the main function of a phone in the 21st century. And they get shit for it
Excluding multi-column keys and joins, I'd describe a column as a foreign key in the context of a given query; i.e. when that query references a unique column in a JOIN condition on a related table. This differs from an explicit declaration of a foreign key constraint which provides all the useful referential integrity characteristics that you eluded to. If you said to me "Database Foo doesn't support foreign keys!" I'd take that to mean that you couldn't perform queries with joins.

In my experience, working on systems where foreign key constraints are liberally applied has been a net negative. Certain classes of DML statements (ON DELETE CASCADE I remember as being infamous) are certainly worse in performance than they otherwise might be. As an administrator I remember being repeatedly and painfully hamstrung by the inability to make arbitrary DB writes, which may momentarily violate strict data integrity, but are necessary for immediate practical reasons.

Obviously data integrity suffers without explicit constraints, but I'd rather work to backfill and/or clean up messy data than deal with a frustratingly rigid and poor performing system. I've worked on a number of large-scale MySQL database deployments at various tech companies, and I can't recall many, if any, that required or possessed pristine referential integrity. I can see why it's conceptually compelling, and I appreciate how automated tooling can generate very useful entity relationship diagrams if FK relationships are explicitly spelled out by constraints.

I think the "performance hit elsewhere" only happens given the assumption that strict referential integrity is a requirement, perhaps in a banking context or another where messy data simply cannot be tolerated.
I feel like free transit is a bad idea in the long run. People generally devalue thing that are free in my experience. There's also culture, transit is seen as "the thing poor people use" in most of the USA and making it free just seems to re-enforce that prejudice. (oh, it's free? it must be for poor people, not me).

Free would also mean it's a place to just hang out. Homeless? Sleep on the free train, why not? It's free! Oh, they wake me up at the end of the line? So what, exit and re-enter. It's free and at least not too hot or too cold and I'm not getting rained on. Of course the homeless should be cared for, but if they end up in the train system even less people are going to use it.

Also, it's looked at as an expense for the city so there is always a push to cut it's budget or not raise it enough to do what's needed to make it good. It doesn't help that the previous two points make the non transit using tax base see it as a waste of their taxes.

I'm totally for transit. Hate driving a car. Love taking good transit in Paris, London, Berlin, Tokyo, Seoul, Singapore, etc... So if free works great! But, if free ends up making things worse for transit that would be bad.

I feel like Japan did a good job by privatizing their train system and giving the companies incentives to make the train system great by having them build and run adjacent businesses (offices, retail space, apartments, stores). The more people ride their trains the better these other interests do and visa-versa. Bad trains in this system = people move to a better line run buy a better company. They may not directly think that but they do hear that station X is the new up and coming place with all the cool stuff nearby and much of that is from train company investment so their appears to be a positive feedback loop.
Clever, thanks!
I have seen something similar happen in Birmingham, AL while living there since 2015 to 2022.
I use Bluesnooze [1] on my Mac for that reason, it won't even disconnect when suspended otherwise and you have to log back in to turn off BT. It's pretty easy to disable on phones/tablets otherwise.

[1] https://github.com/domzilla/Bluesnooze
But not that far fetched in 2024, Bitcoin limits the total amount of coins. I'd think at a certain amount of money, probably a significant part is likely idleling (and not adding to economy) or not in full control of the owner.
Could you try giving it a good stir right before putting it in the microwave?
>Unfortunately, it is very hard to judge somebody's coding ability in discussion alone. You can sort of get the idea whether they have or don't have experience and whether they have luck being asked about topics they know (although you can help your luck just knowing a lot of stuff).

I disagree with your stated difficulty in judging coding ability by discussion alone. A skilled interviewer is easily able to ascertain breadth and depth of the candidate's experience provided the interviewer is also an expert and curious. And part of being a skilled interviewer is using all of the information at hand in their CV.

>The task is usually ambiguous a bit and this is explicitly stated so that the candidate is actually expected to get stuck, don't know things and have to talk to me to get the problem solved. You would be surprised how many candidates do not listen or can't follow simple advice even when I am almost giving them the solution on a platter.

Would instantly pass on working with you based on this alone. The intentional ambiguity is deceitful. The expected dependence and expected deference is so patronizing and manipulative. I don't need to have an ego measuring contest in an interview. You win, you're the smart, awesome guy. Go enjoy all that success, bro.

I've had too many interviews like this where the dudes on the other side of the table have internalized their superiority at proctoring their simple tasks. These dudes think they are the great gatekeepers of... something. Like, the candidate just wants to cut code so they can pay rent and eat. They don't really care, nor should they, about your product, or your customers. It's an exchange of labor for a pittance of the value produced. And the dudes on the other side of the table are gate keeping it.
The greatness of the Texas energy market is the fact that the grid goes down all the time. So deploy solar and a battery so you don’t die in the winter cold and the summer heat.
But what does that have to do with the price of milk in Turkmenistan.

Because Boeing's issues have nothing to do with privacy or security and since they are not consumer facing have no relevance to what we are talking about.
Apple privacy is marketing https://www.eurekalert.org/news-releases/1039938
Giving up on a shitty book feels the same as cancelling plans that you don’t want to do. Feels great.
This is incredibly smart.

Although the risk is that if the machine somehow gets damaged/malfunctions or if a car crashes into it, the setup can become more of a liability than a benefit.
You know what would really help Apple customers increase their privacy when communicating with non-Apple devices?

Having iMessage available to everyone regardless of their mobile OS.
>I can think of one country in the whole world (Iceland) where a company can tell the country it operates from, NO.

Are you claiming that businesses in Iceland are not required to comply with court orders? On what basis do you believe that to be true?
That is exactly what I am saying. Lots of new residential not only helps drive demand for the currently underutilized office space, the increased 24/7 foot traffic will drive demand for restaurants and other local businesses.
SMIT in IBM
It's easy to imagine that the two doom loops are in fact connected. A vacant downtown is essentially what GP described, and the crime seemed to follow and exacerbate the problem
Is this open source? Can I self host?

Why would I choose your offering over LangFuse?

---

Edit... You MITM the OpenAI requests? I think that's going to be an issue for most would be users. There really isn't a need to do so in a product like this and there are alternatives that don't.
Eh, if you hate coding interviews such much you can try something else like welding.

Oh wait, welders have to prove they can weld before they get hired? [1]

---

The general issue with coding interviews is most companies don't validate that the interview is actually correlated with job performance. Of course a process where the blind leads the blind is going to have issues.

[1]: https://www.reddit.com/r/Welding/comments/26ppfb/what_to_exp...