skysight-inc/HackerNews huggingface dataset:
It's very similar to this https://www.geeksforgeeks.org/problems/run-length-encoding/1 Although I present it a little differently, and don't provide a format / don't require the value, count format (although it's fine enough)

I'm happy to answer more questions via email in the profile.

Example input would be something like

55 55 55 55 20 32 56 3F
3F 3F 3F 42 42 61 61 61

Values chosen "randomly" by me, not intended to have any meaning. Pattern is more intentional, although this isn't my best pattern; I haven't run my interview in a long time, I had a nicer pattern I think, but can't remember it.
All of my input happens to be bytes less than or equal to 7F (although in the interview setting, I don't mention that unless asked...) and not equal to 00. If candidates don't understand hex bytes, that's fine, even if it makes me a bit sad inside. When they get to coding, I'll give them in() that returns the next value from the input, and out(...) that outputs the next value. Etc.

To set people up, I tell them we're going to do some compression today with an encoding called run length encoding; in run length encoding we encode the length of a run and its value. (If they're familiar and ask questions, I tell them today, we're focused on bytes... you can do it with bits or larger than bytes, whatever, but keeping it focused on bytes makes the problem fit into a 45-minute interview slot)

There's lots of ways to make an RLE format, if you go with the basics like (count, value), or (value, count) and we have time to explore, I'm going to ask about the sequence 20 32 56; it doubles in size with that format, so what can you do to make that better while still doing a good job overall on our example stream. Lots of options, all of them are fine as long as you can decode it correctly. The basic one is fine too, if we don't have time to explore.

When using this problem, I feel like I give more thumbs up than others on my teams; but I feel really confident in my thumbs downs, and I feel I gave everyone a fair chance. I've had a few people do really poorly that just seemed nervous, and I tried to pivot towards more of a buddy problem / build their confidence / try to get them less nervous so they can do a bit better for the rest of their day.
>Some days I’m pulling my hair out because someone who has been unemployed for months has valiantly refused yet another take home problem that could have moved their application forward with a minimal time investment.

How would you/candidate know in advance that the current take home problem will lead to a hire, if completed ?
1. You didn't have to ask them for any comment, that was a courtesy on your part.

2. A weekend is very short time to give comment. If it's on such short notice, you'd generally call them to ask your questions on the phone or swiftly set up written correspondence.

3. One or two weeks, or even more, is a common time schedule for comments from the party being investigated when it comes to investigative journalism.

4. There is probably less than 0% chance that any other investigator would have published the scoop before you.
With the coming Trump administration, NASA should just wind down its operations and greatly reduce its ambition to only very small, sure-fire things it can get done with a small budget. Obviously, America isn't going to be the leader in space exploration in the future.
Congrats on the launch. How does this compare to Airalo. Your contact us page also does not work.
Staged Relational Interpreters
Awesome! Now I can get my overpriced subpar “coffee” (aka sugary disasters) and charge my overpriced “luxury” vehicle at the same time.

Only in America.
It has a variety of practical development tools built in, and more functions are continuously updated. It includes terminal, data formatting, data conversion, MySQL/MongoDB/Redis/ETCD/Zookeeper/Kubernetes visualization tools, HTTP Request, clipboard records and other common development functions, which will greatly improve your development and debugging efficiency.
Honestly, I will happily do a 4-5 hours interview but I will only do it once it's clear there's a 90% chance of a fit. In which case, I often actually enjoy it because it's a chance to get to know future coworkers and the working environment and just make sure I'm not jumping from a frying pan into a fire, etc.

But I also on the whole refuse interviews that are "leetcode" type situations and my nightmare would be 4-5 hours of some arrogant person 15 years younger than me trying to trip me up on "skill testing" trickery.

But sitting and talking for a few hours and meeting a bunch of people or analyzing a codebase together, or talking about a CS paper they've given me in advance to read? I think that's normal. But, again, that's only if we've done the first round or two and it's clear there's likely going to be some movement, and we're just doing our final due diligence to make sure both parties think it's a fit.
What’s the advantage to a 5.3g shaped charge here?

There’s already drones loaded with Hexanitrohexaazaisowurtzitane, such as the AeroVironment Switchblade.

But I suppose something that can fly all day… loitering … is even more terrifying if applied
To some of us, running any closed source software in userland qualifies as quite crazy indeed.
Show HN: LLM text based adventure game or is it?
Driving behind that thing must be exhausting.
Reached out waiting for a response if still interested in discussing.
My understanding is that it is less about them coming out as trans, but they fact that they are a socialist and hate his guts.
Do you worry about the risks of using a Chinese OEM considering the rulings against Hik and Dahua for NDAA and the FCC? Seems like the smart move if you are using an OEM is to at least use one of the Taiwanese OEMs

Consumer grade cameras are definitely commoditized, but the higher end cameras with on camera analytics aren't.
[https://www.austinchronicle.com/news/2022-09-09/texas-feels-...]
True, I use it there as well -- and then often wish afterwards that I had done a more expensive call to get the current time to print every X seconds instead of after an arbitrary number of records. Combining the two (with a fairly low %x) is probably the right answer
Common blood-thinning drug neutralises cobra venom
The problem is getting so out of it that you can't reach the wet/dry knob to dial back the wacko.
Pixi [1]. A lot of people recommend UV, which pixi uses under the hood to install pip packages [2].

The difference between UV and pixi is that pixi is better tooling for working with Conda repositories, and UV focuses in working with pip packages. Pixi allows installing not only pip packages but anything that has been packaged for Conda, which includes a lot of non-python stuff (C/C++ libraries and more).

For instance, I use it to install the Go compiler per-project, since using a global installation tends to grow "polluted" with every single go package that you have ever installed. You could even use it to install Node, NPM or ruby per-project, it just works. It also supports lock files [3].

--

1: https://pixi.sh/latest/

2: https://prefix.dev/blog/uv_in_pixi

3: https://pixi.sh/latest/features/lockfile/#why-a-lock-file
Black Mirror S03E06
https://mypy-lang.org/ ?
> Probably not.

Yes, they are. The current dominant payment models are (1) individual patronage (which doesn't scale, and disproportionately concentrates rewards/wealthy to the very most popular creators) and (2) ads (which are incredibly problematic in almost every way imaginable).

> They've been proposed all the way back to Chaum's DigiCash, but no micropayment system has ever really taken off.

"Nobody's gotten it to work yet, therefore it's a bad idea" is a basic fallacy that has been disproven many times throughout history, especially in the past few decades, where there were many ideas (e.g. VR, machine learning, high-level programming languages) attempted in the past at points when the technology and/or market culture simply weren't right yet, that were later validated as good ideas.

> All the enthusiasm for micropayments comes from people who want to collect them. Not from consumers wanting to send them.

Yes, because free-with-ads and subscription-based services are the two dominant payment models. Both are incredibly problematic (ads come with huge privacy and coercion issues, subscription services remove media ownership and don't proportionately reward creators for their work), but because they're already established, consumers don't feel a need for something else.

This argument is like saying "All the enthusiasm for eating healthily comes from doctors who want to pitch diets to people. Not from individuals wanting to eat healthily."

Paying for individual pieces of content is clearly superior to having your attention and personal information sold to advertisers, but because ad-supported services have a price tag of zero, there's no transparency as to what data is collected and sold, and the ad-supported model is popular and familiar, consumers will choose that over a new unproven system.

That does not mean that micropayments are worse. The principled arguments for micropayments are far stronger than that of either ads or subscription services.
My brother has this permanently, though whether a delayed reaction to the booster or from when he got COVID itself (a relatively mild case) not long after, there's no way to know.

It has been a major detriment to his day to day life though. Any physically involved hobbies are impossible; just walking up a flight or two of stairs now leaves him completely winded for several minutes, as his heart rate also takes longer to come back to resting than before.

Would not recommend.
I think I see the confusion. We're saying that "racist" is a useful description of a type of human thought / behaviour. You seem to think it's a demonising invocation of Godwin's Law that's incompatible with empathy.

One level more meta, though: if, as a society, we treat racist behaviour as inexcusable, that makes it less likely to occur. Treating racists as "reasonable, but mistaken" is actually in the neo-Nazi playbook. (I understand the impulse, though: I used to do it myself, until I realised that I was making up historical "facts" in order to justify the attitudes of racists. I really don't want to believe that some people are bad people… but racism is a choice, a habit; not a mere mistake about the facts. Ignoring that legitimises it.)
Yea, it's a meme but let's not exaggerate. When you consider total[1] tax burden, including property tax, income tax, sales and other taxes, California is high, but not the highest, and Texas is low but not the lowest.

There are many other states that also have lower taxes than California that don't have the massive cultural downsides of Texas. Honestly, if I were planning to move out of California (I probably never will) and wanted to pick a state to live in, there are a lot of factors that would come into play and taxes are probably not even top 5. It's just not that big a deal.

1: https://wallethub.com/edu/states-with-highest-lowest-tax-bur...
Yep, that’s how it works. LLM’s like to make lists. They could make lists of supporting reasons for just about anything. Unless it’s trained into them, they don’t have an opinion, they have all the opinions.
The first example is not convincing:

lsp\ "prin"

It has two problems:
- it's unclear why "prin", not "print";
- the usage of backslash looks scary.

Subsequent examples are also not good:

bears .column? 'Area |unique

- overloaded syntax of '.' and '?' characters;
- unbalanced quotes;
- unbalanced whitespace around the '|' characters.
Too late for me. I tried switching to Linux years ago but failed because of the awful state of NVIDIA's drivers. Switched to AMD least year and it's been a breeze ever since.

Gaming on Linux with an NVIDIA card (especially an old one) is awful. Of course Linux gamers aren't the demographic driving this recent change of heart so I expect it to stay awful for a while yet.
> "We already have UBI, it's just the overblown bureaucracies housed by American corporate structures."

Don't forget disability insurance, which is massively abused, functions like a UBI
I kinda assume that one of the things Elon is buying with his donations is huge SpaceX contracts.
That's the problem with our current socio-economic system, the level of deception near the power centers keeps growing ad-infinitum. It has become a kind of self-perpetuating corruption. Corruption occurs faster than it can be uncovered. It starts in small ways such as sub-optimal hiring practices, then progresses to full-blown nepotism and regulatory capture where there is essentially no accountability. Nobody is held accountable because nobody is willing to hold anybody else accountable because those who try to hold others accountable are replaced faster than they can blow a whistle.
Dealing with binary trees is covered in introductory data structures courses in the sophomore year of college. One would hope that the average senior developer is more capable at coding than a college sophomore.
I remember in the last year or two, a lot of fury about a mod that de-DEIed a AAA video game.

People were asking what kind of monster would do such a thing and it was pulled from the hosting site, but it turned out the modder just enabled the Mideast localization for American versions of the game, to make the streets of NYC more decked out with US flags than they were in the US localization.

So, who’s the monster? The modder for distributing a patch which flipped an internal switch in the game, or the people who put the switch there in the first place?
I am! I forgot about this. Mental model check happening.

(Still on 550.)
Troll!
To be fair, making a website that is half-baked and broken on non-Safari browsers is probably the epitome of being more Apple than Apple. :P
Apples chips utterly dominate in performance per watt versus x86. Arm64s simple fixed length instruction set is absolutely central in this. Qualcomm now exceeding Intel in their mobile chips is further evidence ISA is critically important. In the data center this is also happening with graviton 4 and eventually grace hopper.

Anyway, my point isn't that implementation does not effect performance. Of course it does. My point was that Linus has asserted ISA is irrelevant to performance, and that only implementation matters. That assertion does not hold up.
Knowing != passing the interview. They are in different layers. Any cs student would know about things like the hashmap, stack, queues, linked list. You encounter those data structures everyday especially when you are doing debugging the source code.

That's still different compare to interview though because you need to explain, code, solve a question under 20-30 minutes. It's not hard if given enough time. But most people would need to practice some questions before going into those questions so that they can solve those under the time limit.
"ya"
I think the <pre> tag with a bit of styling might do it?
> so the app doesn’t have to do anything with that

It's probably useful for knowing roughly where you are, and location is used for context. For example, you're connected to your home wifi so when you ask for the weather it can use that location quickly without looking up your location from an IP location service. I'm not saying it's a good idea, but I do see how it could be useful... not to mention locking GPS satellites more quickly.
> remaining airborne as long as it can follow its light.

Given how fast the biggest free source of light moves relative to the ground, I don't think it would help outdoor operational times that much unless it can travel at speeds closer to Mach 1.

... Well, closer to the equator anyway, but I suppose it could stay aloft longer near the poles.
And you work full time as a software engineer, or some other role? Honestly blown away if you work as a programmer that this sort of request would require looking at documentation.
I've been predicting a return to manual content curation for a while. Algos are not going to be able to keep up with the flood of new content. Record labels are going to be more important than ever.
Hey, what are you hiring for exactly? May I email you? My email is in my profile.
I was thinking of the same idea a while ago. There are more features you can add outside of summary like grammar check, rewrite (of different types), or smart response based on context. This may be a very good way to get the less tech savvy into using AI (think of your average administrator in a small business office or EA that spends considerable hours per week working on emails).
Not this, but the sqlite.js-http-vfs wasm implementation[0] (not the current official one) has the browser DOM available as a virtual table. Sample query from the post:

select count(*) as number_of_demos from dom where selector match '.content div.sqlite-httpvfs-demo';

[0]: https://phiresky.github.io/blog/2021/hosting-sqlite-database...
In my experience, it's very rare that you're in a job that requires you to come up with a solution to a problem no one has ever dealt with before. Custom solutions are often a sign the engineers in question didn't do the appropriate research to find the standard solution for the problem.

I've been a software developer for 10 years, and I've never worked on a problem that someone else hadn't come up with a solution for somewhere. And if they haven't, alarm bells go off as to why I'm the first to do this, and where down the pipeline did I deviate so horrifically from the norm.
Another article here with video:
https://www.msn.com/en-gb/news/techandscience/nasa-cancels-4...

"First and most important, this is in no way a reflection on the quality of the work from the mission team that are working to build this rover," said Nicola Fox, associate administrator of NASA's Science Mission Directorate. "They have worked diligently, including through the pandemic, to be able to build this rover to look for water on the moon."

...

"Funding for the agency's science programs as a whole was reduced by $1 billion for 2025, Fox said today."
If you have analytics, a PM being able to answer their own behavior/business questions by querying logs is really valuable.
Interesting, thanks for clarifying. I'm inclined to agree, though I think the world has a place for both types of technology.
Your second sentence is more on the right path (speaking for myself at least). It's about labeling and observing the literal physiological sensation that is occurring in your body and choosing how to react vs. identifying strongly with the current emotion and reacting.

Easier said than done, of course!
Interests me how little mention of Ultrix lies on the page. Pretty directly a BSD type, with some interesting twists, and the inclusion of DECnet support. the desktop was CDE?

OSF/1 was such a departure. Nice, but different. Strange days.
What? The problems described were created before he got to those places. And he did solve them.
> but I do need things that are essentially task-oriented tools: Uber/Lyft, Weather apps, Maps, Authenticator Code apps

> because it's exactly what I'd want.

I’m not sure it is.

Most of the things you list aren’t that functional on Watch, in my experience. It’s ok-ish to pull up on Watch after you’ve set it up on your phone, but without a phone, Watch is much more limited, IME.

You can definitely use Watch for a number of things without an iPhone — Weather is one you list that is mostly functional, Timer, and Calculator.

But beyond these basic by-design limited functionality apps, Watch doesn’t do a great job as the main driver of most apps — just more as a companion to the iPhone apps.
The six month cliff is excessively in your favour
This problem sounds interesting. Is the implementation language C? Given the constraints that’s my first guess.
> Why not just say "incoherent output"?
Because the biggest problem with hallucinations is that the output is usually coherent but factually incorrect. I agree that "hallucination" isn't the best word for it... perhaps something like "confabulation" is better.
Why do you believe policy is the determining factor?

I find myself thinking of a Lord of the Rings quote, where Gandalf is warning Saruman...

"There is only one Demagogue of the MAGA, only one who can bullshit it to his ego. And he does not share limelight."
It's cool and weird at the same time.

Cool because I'd like to think if someone made a Netflix tech drama loosely based around Bell Labs in the early 80's, this would language would appear in that series. A language created by some Nordic computer scientist who angrily shakes his fist at the world because it doesn't get adopted due to it's weird syntax. Of course instead we get Awk.
He has already committed to doing that by going from a never Trumper in 2016 (he called him America’s Hitler) to bending the knee to get his endorsement for his senate run just a few years later. Guy is just another power hungry jerk.
Unless something like a battery fire happens in your untested rover, that compromises other mission goals.
Only if it can send back pictures of itself.
> If the observed dark matter fractions of all known galaxies were 0% but the CMB was unchanged we wouldn’t assume dark matter exists.

No, astrophysicists would eventually figure out something was up when they couldn't replicate the actual spectrum with dark-matter-free simulations. Why would you assume otherwise? Unless you want to dig into the assumptions of the scenario, in which case you're probably proposing a self-inconsistent universe so of course you can draw whatever conclusions you want from it.

> There’s infinite models consistent with any observation...

You can't actually believe this and still believe in science. If observations don't constrain models, then there is no point in observing. And in the long run, there's asymptotically no difference between "prior observations" and later observations. They're just observations that all go into the same model-constraining mill. Scientists are not fools, and are capable of realizing when an initial observation put them on a wrong trail.

You're still barely touching the real point. This all just sounds like rationalizations to avoid the fact that dark matter, for now at least, and for all that it genuinely sucks, is the Occam's razor explanation for the full suite of observations. Why is this so hard to accept?
Or eunuchs..
Numerical solutions are better. Having a closed form solution is overrated. For example, the closed form solution for arc length of a quadratic Bézier becomes numerically unstable for curves that are close to a straight line. In those cases, you definitely want the numerical approach.

I also think Pythagorean Hodograph curves are overrated. Euler spirals, on the other hand, are extremely easy to work with in an arc length parametrization, it's just that you need to compute a "special function" to get back to parametrized land. Fortunately, that's easy enough to compute very accurately using standard numerical techniques.
Tangent: to run things with pixi, you need to either 1) `pixi run thing` 2) `pixi shell` to spawn a new shell with adjusted env or 3) `eval "$(pixi shell-hook -s bash)"` (or similar for other supported shells) to modify your current session.

I found that direnv [1] really improved the ergonomics for me. There's some misunderstanding that direnv requires Nix but that's not true. It does one thing and does it well: load .envrc files when you cd that path.

I have a lil `.envrc` that looks like this:

# Load pixi shell settings.
eval "$(pixi shell-hook -s bash)"

After that, you can just run `python` and it will run whatever python you asked it to install (`pixi add python` adds the latest python 3 in conda by default).

--

1: https://direnv.net/
You can still order regular-ass coffee and espresso drinks from sbux if you have the self discipline to do so.
I think it could better penetrate the skull.
As discussed on the front page last week emulating Linux syscalls, it took a while to notice it's closed source.

WebVM is a server-less virtual Linux environment running client-side

https://news.ycombinator.com/item?id=40940225