skysight-inc/HackerNews huggingface dataset:
I had considered, but not tried, using this algorithm for a dark-seeking robot (perhaps a pedigree of the Braitenberg or BEAM style robots).

Knowing where the darkest place in a room is seems unknowable for a simple robot.

So take a random walk for perhaps 3 minutes or so while recording the darkest light level. Then wander for another 7 minutes stopping if you record a lower light level during the initial wander.

Within 10 minutes I would like to think your robot will have done better than average at finding the darkest place in a room.
no, it's all in software because you can create any smart contract and it can call any other. There is a difference in knowing after the transaction has finalized and predicting beforehand, which is when you would want to block the transaction.

https://www.youtube.com/watch?v=macM_MtS_w4
My GPD Pocket experience was pretty bad. The battery swelled up and there was no replacement stock available. The reply I got was: sorry old model. The thing wouldn't even turn on without the battery connected, so it was trash at that point.
I would go further and ask for a day off after each on call shift
No need to wait; HTTP got a similar full overhaul across several RFCs. Read all about it from one of the editors:

- https://www.mnot.net/blog/2022/06/06/http-core

- https://www.mnot.net/blog/2022/06/08/http-extensions
Having Googled it, CVS came out in 1990, and there wer other pre cursor systems. So, pre-widespread internet and collaboration, yes, maybe people had some limited control systems that worked, but I don't think it even comes close.
> I wish I was knowledgeable enough to tackle more complex hardware like webcams. Perhaps one day I will be.

https://lkml.org/lkml/2020/9/17/363

People who started the job on Surface webcam hardware didn't even know C to begin with ;)
Asemica is a generative algorithm that creates typographic compositions
Reaching that level of expertise requires hours and hours of practice. I will just recommend you read https://www.wired.com/2010/11/the-cognitive-cost-of-expertis... [1]. The actual cognitive load of imagining variations is higher at every level of play, I personally don't find it easier when looking away, but I am not a grandmaster. I think an alterative explanation is that they simply want to refresh their internal model and make sure they are not simply overlooking any positions that may lead to a blunder.

I think it's unfair to compare yourself to an artist at that skill level because you can't judge the amount of hours it took to get to the level of being able to translate what they imagine onto paper.

I mentor all the time and the hardest is when I have to explain to kids starting out CS how I "know" what to do when I have to go from a figma mockup to a working proof of concept code. I don't know how, other than that it feels more like muscle memory than it does actual thinking. It's hard because even I don't know all of the little things I needed to learn to accomplish my goal.

[1]>"Groot's first experiment seemed to confirm this theory: He placed twenty different pieces on a chess board, imitating the layout of a possible game. Then, de Groot asked a variety of chess players, from inexperienced amateurs to chess grandmasters, to quickly glance at the board and try to memorize the location of each piece. As the scientists expected, the amateurs drew mostly blanks. The grandmasters, however, easily reproduced the exact layout of the game. The equation seemed simple: memory equals talent.

But then de Groot performed a second experiment that changed everything. Instead of setting the pieces in patterns taken from an actual chess game, he randomly scattered the pawns and bishops and knights on the board. If the best chess players had enhanced memories, then the location shouldn’t matter: a pawn was still a pawn. To de Groot’s surprise, however, the grandmaster edge now disappeared. They could no longer remember where the pieces had been placed."
> incredibly good implementations on x86

In my experience Ryzen support on Linux is far from optimal. Have experienced tons of issues on zen+ and zen 2.

And don't forget that the x64 code is slowed down by tons of security mitigations. I don't think most of these are available on M2 yet.
This[1] might be what you're looking for.

[1]: https://www.mnot.net/blog/2022/06/06/http-core
But the interviewer most likely is not doing the same job that you are applying for?
For "demographic workforce data" it's legally required: https://www.eeoc.gov/employers/eeo-1-data-collection

Also in order to establish the level of diversity in the company, they need to count how many of each kind of person there is.
Have you tried riding an e-scooter on a busy road?
How does Tidal do this? My understanding is Tidal is a music platform like Spotify.
I think "what source control tool do you use" is fine, it's the "and why" where I start to think that you're asking the question to be combatative. I agree if you're expecting a couple word answer like Github etc, then perfectly good question to ask.
Yes. This makes the comparison much more fair.
> What good introductions to functional can you people point me to?

When people hear "functional programming" many of them will immediately point you to Haskell (and totally forget to mention The Haskell Pyramid [1]). I'd advise you to stay away from it until you _want_ to go deeper down the rabbit hole.

Play with Elm and Erlang ("Programming Erlang" [2] and "Erlang Programming" [3] books are great) to un-learn imperative patterns, tinker with OCaml to learn a new way to modularize code.

[1] https://patrickmn.com/software/the-haskell-pyramid/

[2] https://www.amazon.com/dp/193778553X

[3] https://www.amazon.com/dp/0596518188
Unfortunately, I think we are heading in the opposite direction.

The Moore’s Law/Denard Scaling disconnect has created a growing need for dark silicon [1] on chips. Thus we are likely to see even more specialized components rather than fewer. The Apple M1/M2 is a perfect example.

[1] https://en.wikipedia.org/wiki/Dark_silicon
Although is a good starting point for things to look for, you might get a pass for things that shouldn't. I used to work at a place that every client project was spun out from a monolithic repo (that continued being developed) by... local copy, sure they were using git, but no libraries, modules, packages, etc. Getting a patch in was ridiculous. So YMMV.
Quick, alert Douglas Hofstader!

https://www.goodreads.com/quotes/498192-the-paraphrase-of-g-...
I tried that, at least until the supposed quality of FB Market placed seemed to average out to Gumtree/Craigslist levels.

It had some odd results - for a long time, it would only suggest accounts from central Africa as potential friends. Then it quite suddenly switched to likely-looking people from my own country, and scarily interspersed with people that I really did know.
Had to check again on the diversity questions and yeah...wow. Almost no one has those numbers on hand, nor should they.

We typically refer to it as Diversity & Inclusion, and a company's initiatives should include things like a diverse hiring policy, training on unconscious bias, how to identify and resolve in office bullying, anti-harassment training, and more. In an interview I'd want to know what the company has in place AND how seriously the company treats it (because some training is legally mandated).

Boiling it down to percentages of demographics is naive.
Two glaring issues:

1. The MacBook only has 8GB of ram whereas the Ryzen has 16GB

2. Comparing x86 linux vs arm linux on a MacBook (which is still early days) rather than the most stable and mature OS for both
Thanks for sharing Andy!

> Today, 30%-40% of my customers come through our YouTube videos or blog posts

Could you talk about how you get the other 60% to 70% of customers?

Thanks!
It's not the best comment i ever wrote, but I never said I'd dismiss devs caring about source control. I said that a series of questions like that suggest that the dev might care too much about stuff like that to the detriment of other stuff.

If you keep shipping and growing but don't make your internal tooling and processes better, you're going to grind to a halt. If you only make your internal tooling an processes better but not shipping, you're also going to grind to a halt. My argument is that you need a lot of the first and a bit of the, latter. An applicant who nearly only asks detailed technical questions about internal stuff, and makes me defend our decisions when we're not ticking off all the hypes du jour, suggests to me that we're not on the same page wrt where that balance should lie. Yes, we iterate on that stuff. No, not fulltime.

PS. I feel the jab about my EQ was unnecessary.
According to Wikipedia and Wiktionary its etymology is English. I also checked with A Pronouncing and Etymological Dictionary of the Gaelic Language by Malcolm McLennan, which has "tocsaid, n. f. a hogshead ; fr. the Eng." Gaelic for barrel is "baraille".

The Irish for hogshead and barrel can be found at https://www.focloir.ie
Considering the period of concern over global cooling (from last century), claims of "we've known this, but have pretended not to for a hundred years" are just historical revisionism. When you lie about facts in favor of pushing a "more important truth" you don't convince people. You just give people more reason to doubt other things you're claiming.
> Companies never use addresses outside of their domain.

As others already pointed out, this is outright wrong and very bad advise.

Some companies do have their recruitment effort assigned to divisions within the company which do not share the company's institutional domain.

Also, some companies also subcontract their recruitment effort to recruitment companies.
I’ve always been curious of the whole “wind turbines disturb wildlife” thing. Surely climate change will disturb them much, much more?

Also I’m not sure depopulation is exactly a “zero compromise” solution.
Whether or not the US has done bad things isn't a factor in whether Ukraine deserves support against illegal invasion and war crimes by Russia.

Yes it would be much better if countries like USA has perfect track records, and hopefully they'll get better at not harming other countries, but that doesn't change the fact that they're on the right side in this situation.
I think of a wheat field a bit like a factory floor.

There is little biodiversity inside the factory. Few species thrive there. But that doesn't mean life outside of the factory is doomed.
You know what I can't accept about statistical probability? While it does indeed acurately measure past events, to accept it you also have to accept that outcomes are not random but somehow implementing causal events a certail way like in the solution to this problem will result in more likelihood of desired results.

The only thing that this tells me is there is an underlying causal relationship. Otherwise, what is the alternative? That all events in reality are a complete throw of the dice and probability just makes sense of how things were pre-determined?

Another issue I have is (taking the problem at hand for example), the applicants are ordered randomly right? Thay discards a key piecie of information on their ordering (first applicants want it most or they are undesirable for example).

And when you randomize, that simply means you discarded the information about your new reordering. In reality, your arbitrary shuffling has a cause. If I asked you to pick a number at random, there is a reason why you arrived at that number and that reason or cause also has cause and so on, so nothing that is a product of cause can be truly random.

Last point for this post, what does the pool of candidates look like? keeping it simple, 3 people apply, since you shuffled them, the desparate first applicant is middle,the mediocre last applicant stays last and the talented person that applied a bit late is first. So you get bad or mediocre. Since you get to shuffle only once, this ordering I mentioned really has two groups which are desirable top talent person and undesirable mediocre or bad hires. So if your shuffling is truly random it is similar to a coin toss where probability is 50%. My point with this is, in reality not just in hiring but in many other things the vitality curve applies where you really only want the top 10/20%. It might work if your goal is "the best of the mediocre middle" but if your goal is binary "top 10%" vs "bad hire" the implication here is your sampling of the first person is the equivalent if a coin toss but the coin toss here was really your one chance shuffling of applicants. Does this make sense? The solution makes sense to me if maybe you kept reshuffling their order after each interview.
This question can be fine addressesd and be done with in 10 seconds.

If you cannot answer this positively quickly I'd doubt your ability to ship a product (long-term).

Especially the remark about "
obsessing on code/process quality can be useful" .. erm, asking about source control is not obsessing about code/process, it is the bare minimum and more to me like e.g. ask my future truck employer if their trucks have seatbelts.. tbh if I'd hear that from the guy that runs a small startup I'd run .. and that's good, people are different.
That's a very good point. I always ask when they last worked in the weekend, but I didn't consider work expecting you being on-call without mentioning it.
> They don't do water to whiskey anymore

Ah, so I see. It has been a while.

The stop to dig peat was fun, but it's still a really good tour without that.
uh.... afhganistan, then iraq, then libya, syria,

https://en.wikipedia.org/wiki/United_States_involvement_in_r...

so america can be involved in so many regime changes for the lulz, right?
But this is not an API and it is a disorder so equivalent to an error. But who says you wouldn't want to handle it in either case?
I am a bit skeptical about millions and millions of kids all across the world having fountain pens.
then isn't ukraine a target or the rules have changed?
Agree on mobility vehicles for disabled persons, I didn't mention them specifically but they are in their own category as they do need to navigate walkable surfaces.

I believe that a modern city should not tolerate powered vehicles not fitting any of the specific categories though. There is no limit to technical possibilities, but if we can it doesn't mean we should and meanwhile people have to live and go places without feeling constantly in danger, that's just not healthy.
Very good point indeed. I was in a EU team where it was helpful to start 7 AM, you'd have more contact time with the people based in India. I'm a morning person so it was nice.
Friday is the UK's most popular remote working day, says survey
There are a number of techniques you can use, but it really boils down to practice repetition. Some exercises that seemed to help me, when done at night before going to bed (about 5 minutes or so) is to take a piece of paper and write a bunch of parallel lines (basically small letter "L") and try to get them to be exactly the same. Then draw a bunch of circles (letter "O") and try to make them the same size and perfectly round. Do it slow enough at first so you don't practice in bad technique, then try to get faster at it.

Also, as part of a woodworking hobby I'm getting back into, I needed to start drawing out sketches of projects. I started with some light graph paper to get proportions right, but now can somewhat easily draw out the board layouts of things like desks or dressers and get fairly straight lines over distance on the paper. I couldn't do this before.

Oh, and getting something like a good fountain pen that flows good, with good paper, will make you "want" to write whenever you get the chance. Get a nice one or two, but also pick up a pack of Pilot Varsity disposable fountain pens -- they actually write fairly decent, and aren't fussy at all.
> Ryzen support on Linux is far from optimal

What kinds of issues have you seen?

I've been running a home server with a Ryzen 7 PRO 4750G and so far it's been stellar.

> slowed down by tons of security mitigations. I don't think most of these are available on M2 yet.

Are they needed at all? I thought the security mitigations were mostly for x86-specific architectural issues. Would you mind to elaborate?
Depends on the version to be honest.

The newer ADO with git as the source control is fine with me but I suspect if the company started with some of the early scrum templates and rolled forward it could be a complete horror show.

I wouldn't use it for Linux kernel development, but for a general .net shop it's what I would expect to see. I don't really interact enough with Jira to have a solid opinion.

I think the 2005 version source control was awful though, it got better and these days I'd hope everyone was using git.
pretty weird to call rape a “flaw”
Given the likelihood that each side could see improvements from code changes and optimizations, and that the results are similar-ish, that leads me to say that one is just as good as the other in general.

This is especially true for most people, because most people will not be doing any one of those workloads _most_ of the time. Most of the time of computer use is doing many different things (at the human level and the software level), so the final compute comparison is basically comparing the difference of a small percentage of overall human time.

So the choice between M2 and Ryzen is really about everything else - the use case, the hardware styling, the OS features, etc.

It's good to know this benchmark info, though, because it means we can cross that concern off mentally.
No, the blockade was not a war crime under the rules in effect at the time. And Germany actually declared a blockade against the UK first. The UK blockade against Germany was declared later, in retaliation.

https://www.britannica.com/topic/blockade-warfare
Ted Nelson on What Modern Programmers Can Learn from the Past (2018)
It depends what is understood as code quality. After a while, writing code that is not verbose, fairly maintainable, and readable, is a given. There is a minimum bar that each team set and it is gated by code reviews. The tradeoff start to happen after those minimums are reached.

I think quality in terms of correctness is always the target, and performance usually has a target SLA.
“Something useful that feels like it's worth being made”

Example? What is worth making?

“technically interersting to make (which to me generally means challenging to keep me interested)”

What do you find challenging? Sounds like writing a programming language and using Rust are interesting to you, given your projects?

“with good quality tech practices where you can feel satisfied you've done good work.”

If you don’t mind me saying, it sounds that you know what you don’t want, but do not have a good handle on exactly what you want (or haven’t expressed it) or how to get where you do.

As an exercise, follow up on some of these threads. Multiple people have made suggestions and you have been a bit dismissive. Go a bit deeper. If you want a job programming Rust and building programming languages but find you are not getting the interviews for programming language companies like JetBrains, its possible you could also just take on open source tasks in Rust’s existing community. It doesn’t have to be the core team, maybe one of the game dev rust environment frameworks. What are the pros of doing this? Ignore the cons for a moment since you are feeling stuck. Is it worth being made? Is it technically interesting? Is it good quality tech practices?

I have noticed for me that my interest in programming languages peaks when I want to sharpen the saw. When I want to learn and get ahead of the next wave (our industry is so faddy, I find it silly to ignore it. It’s an amazing way for new people to become the experts quickly in a new area and ride the demand). When I dive into it, I realise that its not so much the language, it’s just a new work environment and opportunity I want, then I dive into a new industry. For me, my passion was really being in something used by millions/billions of people. I went to big tech and loved it. I came to recognize that I wanted a team that knew what it was doing in a big org with possibilities and lots of learning material. When I get the programming language itch now I recognize it as being bored. Thats me, not you though. I am just illustrating. What appeals to you specifically as making a difference? Who do you want to learn from or work with?

To help you out, it can seem that you are going in circles and the doors you want are closed. But those doors are not the only way into the building. What building do you want to be in?
Exploring Traits with Erased 'Serde'
Yeah that's impressive... I have to step up my game then. :)

I was able to intercept and reverse engineer much of my laptop's USB features. I hit a wall when I tried to figure out the ACPI stuff. There's some fan control functionality in the Windows app that's missing from my software but the fans are terrible and always at 100% anyway so at some point I decided to just let it be.
I'm a little worried HN will meltdown given this is a post with both Fly.io and Tailscale in the title. I would keep your hands off the keyboard after clicking the link...

Seriously, this is super interesting and useful.
Dunno about you folks but I haven't flaunted me willy in a long while at the gates. Joke aside, I said "biometrics" - in which a camera and a fingerprint scanner can do way better than feeling my underwear.
Hi don't think anyone would want or need to plow through 100-200 questions but I'd certainly not take a job without getting good, clear answers to perhaps 30 of these.
> I know, it’s strange… since 1972 everyone was thinking that we were manipulating versions, but, it turned out, surprisingly, that thinking about the changes themselves as first class solved a very important problem: the problem of merging branched code.

This is a very good point, and it really was revolutionary.
Show HN: We're building an automated CO2 emission tracker app for households
Hi, we're Zerofy, and our goal is to build a fully automated, real-time, and holistic carbon emission tracking app for households!

Our approach relies on tapping all digital data streams representing your life and calculating carbon emissions from them.

In the linked post, we describe our approach, show a demo app, and are soliciting feedback!

(Once we track emissions, we want to build AI tech that helps reduce. But that's for another post.)
I’m not sure if it’s what the author intended, but I understood that to be talking about the actual trip being more expensive. I’ve looked into sea travel before for short (e.g. Melbourne to Tasmania) and longer (e.g. Melbourne to New Zealand), and it consistently ends up a good deal more expensive than air travel because it’s basically a hotel and restaurant for overnight or however many days or weeks or whatever, whereas with air travel that part is minimised, and accommodation and food at both ends can be much cheaper (e.g. free accommodation between one’s own home and friends’ homes).
I think auto-switch to USB makes a lot more sense.
That’s also how the Apple keyboards, and trackpads work.
Did they say why? I'm struggling to think of any difference?
> why are these same people trying to fault Russia for doing the same thing they did?

You mean unprovoked Ukraine invasion vs an attack spurred by Pearl harbour (at a time of World War that Japanese where allies of Nazi Germany). Not really "the same thing".
The problem isn't the question there though, the problem is an invented scenario that happens due to the response. The followup to that response could easily also be "Oh cool, how does that workflow work? Why did you go in that direction? What do you want to improve about it?"
That article doesn't seem to explain why it is called the Secretary problem.
Was it just because someone choose to illustrate it with a hiring a secretary example, or was there some peculiar reason this is or was the practice when it came to hiring a secretary?
Most clients I work with read HN. It's completely normal in my circles.