skysight-inc/HackerNews huggingface dataset:
Problem is not that all of us are capable to come up with good solutions at time constrained conditions. For some (including myself) sleep over the problem is required. Experience helps in some cases to answer immediately but not always.

Like for the mentioned task: "returns a boolean in response to the question of whether sequence A is a sub-sequence of sequence B."

I recall immediately that there is a well known algorithm for that (due to experience). What's the name and its idea - out of memory... Myers Diff, Boyer–Moore, something like that.

Yes, we can start immediately writing brute force solution and analyze it. And probably that's the way of how to answer interview questions: write simplest solution and come up with optimizations.

In any case coding at interview is far, far away from real coding.
Memex solves this problem.

Allows you to search your history or bookmarks by page content, not just title.

https://memex.garden/
You can also use ZZ. It is equivalent to :x
> People live their lives, this type of thinking shouldn't be normalized.

Okay, but hiring someone is an investment. You pay them money for month until they become productive, you'll need someone to explain things to them etc etc. "Will they stay on for more than three months?" is a valid question to ask yourself when you're making a hiring decision.

It's not all about the potential employee's self-actualization.
So, there is this cup of coffee that is given to you by a waiter who gave out 30 cups of coffee since morning and will give out 40 more. The waiter has to say something while giving it out. Effectively, you are demanding that waiter personalizes the message to each customer instead of just saying stock "enjoy your meal". That is genuinely demanding too much.
Last time I used Perl for anything web it was via https://mojolicious.org/

It even does event-based and websockets
Worth reading about Autonomation (https://en.wikipedia.org/wiki/Autonomation), which originated in Toyota.
"Autonomation aims to prevent the production of defective products, eliminate overproduction and focus attention on understanding the problems and ensuring that they do not reoccur. "
I do debugging inside the container with pudb.
Yeah, life without money is very dangerous. My model of life is there are 3 engines: money, physical health, mental health. If two go down the last one is doomed. If money engine goes down, it's REALLY hard to keep physical and mental health going. Imagine, going exercise every day while recovering or preventing mental health to go down .. and while trying to start the money engine. This shit is brutal!
Temporary defaults have happened in the history of the US govt, it's not exactly breaking news. Other governments have as well. Long term default is an entirely different matter.

Obviously you default temporarily enough times and people will stop thinking your promise is worth anything. So far that hasn't happened, let's hope it doesn't.
Or I could just solve the problem by putting an old 1070 in the box and not have to babysit something I have literally zero interest in.
https://adamjhawley.com/ - built with blogdown and use it to document stuff I learn/projects I try. Fell out of the habit of writing blogs. I’ve been focusing on small projects since and might write about a few of those soon.
Talk about Amazingly bad takes.

>They didn't mandate touch screens

ofcourse... they just mandated a large expensive screen that naturally the automakers and consumers would love to have right up front visible to the driver for about 10secs per use of the vehicle and be used for nothing else ever.

This is the kind of "forethought" that makes for terrible regulation, and unintended consequences, I bet you would make for a great elected official, ever consider running for office?

If you are going to mandate some large and expensive be put in a predominant spot of a product, that thing is going to be used for multiple functions, it is unrealistic, and a denial of reality to expect anything less

>>Care to elaborate on what the reason is then? Because that's the reason I've seen given.

I am sure that is the stated reason, there is no actual data to back that up since converters to and from the various charging standards are easily available there is no reason to believe that a device having or not having USB-C contributes at all to ewaste. No one is toss out their iPhone because it has a lighting cable, and most are not even tossing the chargers as for less than $5 you can get any adapter to any other port...

EU addiction to regulation is a real problem.

>>Fortunately, the EU market is too big to ignore.

For now, the EU economy has been largely stagnant since about 2008, Though this year seems to have has a bump largely due to inflation which means it is still flat.

EU is not really a growth market for any one.
GVim does have a menu which lists the commands next to the menu options. That's one area in which I feel neovim has regressed -having a default built-in discoverable interface. The various GUIs on offer for it seem aimed at the expert console user, rather than being an effort to bring good GUI to vim.
Almost Impossible Integrations, Sums, and Series is a nice one.
Do you have to mount the location of the code as a volume in the container also?

I use containers regularly but adding them to a development workflow for a standalone python application I could just as easily run directly without having the additional complexity of navigating container boundaries always mystifies me.
> For me the legitimate reason to code C is to get stuff done, period.

If I want to just get stuff done, C++ is great for that. Don’t underestimate how much you gain by having string, vector, and map when you just want to crank out code.

Nobody is forcing you to overdesign stuff. You can always just crank out the code you want.
Long press for some european elevators, also for some worked on the OUTSIDE button, i.e. you could override the route of an elevator from someone else who had called it earlier
> I want to refer to a registration in a registry.

But that's not the question you posed in the original post. You asked about URNs, and the URN registry imposes a taxonomy. You're wanting a registry of identifiers classified by country and type. That's a taxonomy.

Why depend on someone else's registry? Make your own, don't worry about taxonomy, and use it.
Can courts compel people to enter passwords? How is forcing a signature with a specific GPG key different?

If worst comes to worst, say "Sorry bro, lost the key in a boating accident, nothing I can do".
Working with Haskell or another functional language is pretty much my dream. It just seems like you've gotta have a PhD to get a job doing it.
Civilian drones are very limited and dangerous for military use. For example, they expose the location of the drone operator, making him a target. A significant number of operators died because they used civilian drones at the front line.
Looks like this was written almost 10 years ago: https://web.archive.org/web/20130506231540/http://eewz0z.pen...

Makes more sense in that context - what made me question the authenticity of this account was the author being seemingly unaware of the entire interview prepping industry.

An earlier HN discussion: https://news.ycombinator.com/item?id=5664839
And the US tried that, and it was a complete failure. Yet we as a society somehow failed to learn that lesson and here we are.
Viruses and vaccines are very different things than bacteria and antibiotics, I'm not understanding why you think this is applicable reasoning.
I am generally pleased with the EU's approach to defending me against pollution and traffic accidents.
There is a simple solution to this, but it is one that many in similar situations will refuse to even look at: Lower your standards, and start looking at "lesser" companies that don't follow the same leetcode-style interviews.

They will pay less. You may have to relocate. But that's life.

If you can't leverage your network to forego these types of technical interviews, you're pretty much stuck with two options:

A) Learn and master the process.

B) Start looking for work elsewhere.

If you want to earn big bucks working for the selective few, then you need to choose A. If you can't hack that, go with B. Here's a list, which may or may not be up to date: https://github.com/poteto/hiring-without-whiteboards

The absolute first priority should be to be employed, and earn money to support yourself/your family. Spending 12 months to "perfect" Leetcode questions is something which mostly only young, single or well-off people can afford.

Once you're employed, and getting a steady paycheck, then start to study harder for those LC-style technical interviews.
Yeah Win32_Product is a disaster, even by WMI standards.

The proper way to enumerate the Windows Installer database should be MsiEnumProductsEx. Except. If someone has monkeyed with a product key name in the registry such that it's longer than normal(...), MsiEnumProductsEx spits ERROR_MORE_DATA for that product and all subsequent dwIndex values (so if you're waiting for ERROR_NO_MORE_ITEMS you'll have a fun hang).

(...which sounds like it shouldn't happen, but it turns out there are a bunch of users following forum post advice to hide a product by renaming it with a _Disabled suffix. oh dear)

So in reality you'll probably have to access the undocumented registry backend for the Windows Installer database, in HKLM\Software\Classes\Installer\Products, converting the weird backwards-struct form of the UUID in each key name to the real ProductCode.

Of course not all software uses MSI packages or can be found in the Windows Installer database. You can indeed go to the Add/Remove Programs database in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstaller, except that the data there is super low quality. You'll have bogus products missing name and/or version, nonsense entries for things no longer present, inconsistently named products between versions, and products with different names on different locales. Which makes it quite difficult to do anything with this data.

There isn't really a single source of truth for "what products are installed" under Windows and all options for reporting what's installed are pretty bad.
I use `gq<movement (mostly paragraph)>` a lot. It’s a bit of a mouthful :p
Ah, I see your personality has a problem too.
oh, come on! I think you're right on this issue, but since when are opinions dangerous? He's giving his honest opinion of the issue according to his experience.

You will be much more effective if you simply try to enjoy the conversation than trying to call out people for having "dangerous opinions".
I have 10 year old android apps. Granted mine have few users and were never successful.
That kind of shit gives sysadmins nightmares
Especially since the UK has way more of a “legal precedent” style of law than the US constitutional system.
>"where the world should intervene"

The world never intervenes. The US and some other countries / blocks do.

Until there is assured punishment for "wrong" interference your argument is empty. The only countries that get punished happen to be weak ones. And you probably aware about what the US thinks about ICC.
Most =/ all. For some it doesn’t work this way and that is very costly to us all. Hence the great deal of damage that it causes. I’m not sure what point you’re trying to make, is alcohol too dangerous therefore we must legalize more drugs?
Have you considered the RP2040 for it? I switched many of my projects (they have low computation needs) to that and it worked well.
There's no penalty for drawing up a non-enforceable non-compete to create a chilling effect on the job market.

If a company goes after an individual, they have to pay for lawyer fees to fight it on top of being unable to take up the competing offer. It's a huge burden.

If individuals were awarded massive payouts for companies trying to enforce non-competes that arent enforceable under state law, you'll see this behavior change quick.
What if instead of all the money poured into law enforcement and prosecution we instead make treatment for addiction completely frictionless, effortless and guilt-less.

Like walking into a supermarket easy.

Of course progressives have been begging for that to happen with mental health in the USA for decades, so all this is a fantasy to try to help people in society.
I don’t really appreciate the spin you’re putting to my comment, but I think you’re just missing the point.

The point of my comment is not to trivialize the livelihoods of the inhabitants of “a few villages”. As you correctly point out, that would be crass and unfair.

The point of my comment is that climate change is an existential crisis at a scale much larger than “a few villages”: it’s fairly likely to result in an extinction event. For all villages.
That's one better than my personal best: 'change the green colour to yellow'.
I thought we passed peak craft beer years ago. Guess not!
As hard data from the Twitch leak proves, it's even more tilted — only 0.117% make minimum-wage income levels[0].

[0] https://news.ycombinator.com/item?id=30364685
Yes that's true. But please consider that some orgs prefer self hosting their software. In this case using their database would be preferable.
> The cellphone data also included another chilling detail, the affidavit said: The phone returned to the victims’ neighborhood hours after the attack, around 9 a.m. But even though one of the surviving housemates had seen a strange man inside and heard crying after 4 a.m., the killings were not reported to police until later that day, and there was no police response at the scene by 9.

1) This bit is weird.

2) Everything else seems like he could be framed. Take his car. Take his phone. Sprinkling some of his DNA on the knife. Etc. Given that he was a PhD student in criminology his slip ups (?) sound intentional. He can't be that ignorant of tech and crimes, can he?

3) I don't understand how he did it alone. According to the reports I've heard, two of the (female) victims were sleeping in the same bed. He got them both with no screaming? And then two more with no screaming? And the eye witnesses saw a stranger - in the middle of the night? - but weren't the least bit suspect and didn't check on their roommates the next morning?
Do consumers really want and will pay a premium to have their tv tell them when the chicken is done?

I am super skeptical about this as I would never intentionally pay for that and i am relatively affluent.

Like self driving car packages adding $15k to the price of a car or even just $3k smart tail lights I just cant imagine people in general want this crap.

To be fair, I have a smart washer dryer but only because I could not find a stacking full size alternative without "smarts". I will never hook it up to the network though.

It infuriates me that it was billed as having dozens of setting like "sports clothing" that I liked. In reality it has 4 setting and to get the rest you need to join it to the network, download the app and create an account. For a washing machine...

Fuck smart devices and fuck any corporation that wants to force me to register and use thier app to toast my bagel.
Boss has desktop loopers in the RC lineup, now. The guide in the link is more than a decade. There’s the RC202 and RC505. Not that you can’t put a peddle on a desk and use your hands if the switch design doesn’t actually require a stomp.
The public transit vs individual car ownership discussion is long running and a bit separate. My conclusion was predicated on the assumption that for all the reasons we still have individual car ownership today, we will see that remain as such through the autonomous transition.
its more profitable to sell shovels. Hell i wish i had the idea for leetcode.com, the amount of time i invested in doing leetcode, i might actually have a viable business instead of spending hours doing random puzzles.
Another perspective is that interviews can also be about avoiding anyone that might be a bad developer. If you have a large pool of applicants, it's "safe" to basically reject by default and only proceed with a select few who seem like the best (along whatever axis is important). You might miss out on a really good employee, but you're also less likely to be saddled with someone terrible. The downside risk is worse than the upside risk.
> I don't think that's ever been in question. Harm reduction isn't some utopian ideal that safe drug use == nobody ever suffers long-term negative effects.

To you, maybe, but it only takes a cursory glance at drug-related subreddits to see numerous people suggesting that you just need to follow harm reduction websites, stick to some arbitrary rules (e.g. only do MDMA every N weeks and take X, Y, and Z supplements), and you can avoid the negative consequences. You may know that’s untrue, but it’s common to see among drug users.

It’s also common to blame drug users who experience problems on failure to follow harm reduction guides, as if the guides are a perfect guide for avoiding the harms.

> Harm reduction is about making sure you live long enough to hopefully get there.

Modern harm reduction websites are about education in general, not just helping addicts survive. You will find things like dosing guidelines for first time users, expectations for what to expect, how to prepare, and so on.

These things are targeted at beginner drug users or the drug curious.
It's an interesting comment, but to take it at face value... cars back in 2000 didn't force good drivers to operate unsafe bullshit for mission critical controls.
Unless you're a contractor, exempt salaried employees are exempt from overtime requirements and thus typically can't bill for overtime, unless their employer likes burning money for some reason.
> When you hit that 1/10 product, you will experience some pain.

There is a neat little trick I learned. Wait until leadership is under fire from customers and/or investors regarding the thing you thought might become an issue, and then present your solutions. Once you have proper buy-in, you can likely move way faster than by trying to constantly side-channel things through existing processes.

Spinning hypothetical tales of doom in order to be granted permission to build something shiny is probably the #1 thing that slowed me down in my career.
The case-book of Sherlock Holmes
HPE Microserver Gen8

- Jellyfin: Netflix alternative for local files

- Nextcloud: Mainly used as Dropbox alternative

- Borgbackup: Deduplicating backups to my other Mivroserver at my parents home

TP Link AC1200 router

- Running OpenWRT with a dedicated, isolated WiFi for "smart" devices

Raspberry Pi
- Pi hole
You use this before starting the journey, or after pulling over if the destination must change part way through the journey.
You gave up too early:

"Electronic Control Units (ECUs), which are responsible for the smooth operation of a vehicle’s engine and predominantly sought from China, are embedded with SIM cards before being sent to car manufacturers as sealed units, according to a serving security source.

The manufacturers fit the parts in cars without opening them because of various warranty and commercial agreements, the serving security source said."

And further down the page:

"How SIM cards can be used to track vehicles

SIM cards are commonplace in vehicles, installed by car manufacturers for connectivity purposes, or simply to feed back data on the performance of a car. Most cars will have at least a 2G connection. But intelligence officials warn they have created an increased vulnerability to eavesdropping from hostile states.

Most commercial trackers are essentially SIM cards attached to batteries and every geolocation tracker that sends data via a cellular network requires one. A built-in navigation system in a car with the ability to give live traffic updates will need a SIM card to connect to a signal.

However, the SIMs allegedly embedded in ECUs by Chinese companies are put there without the car manufacturers’ knowledge and appear to give the Chinese suppliers the ability to connect to the car and collect data – including where it has been, how long it has been stopped in a certain place, and even the way in which it has been driven."
What people forget is that when everyone is an influencer or a creator, nobody is.

When a youngster tells me they want to be an influencer for their profession, I simply ask them "who are you influencing, and what sort of credibility do you have in order to influence them?"....seems to get the kids every time - they haven't put 2 and 2 together. The credibility needed to influence comes before everything else, and people really don't understand that, for some strange reason.

The original influencers were people who were already doing cool stuff and just decided to film it and post it on Youtube 10+ years ago. Shit, the electronic musician, deadmau5, was streaming his production sessions online in like 2007 or 2008. To me, that's a creator - someone who creates for a profession and would be doing so regardless if social media existed or not. The guy was also an early influencer in the music tech space because he would talk on his streams "hey yeah I've been using this plugin or that piece of gear in my latest tracks, here's what it sounds like, and here's how I use it". I dig that, that's legitimate - you have a professional talking about tools used in a professional environment and how to use them.

Nowadays everyone seems to think that because a few hundred bots have followed their Instagram account, they are entitled to make millions of dollars by posting stupid dance videos or copying the latest trend.
That's a really bad affordance. It makes it possible for the user trying to do something non-destructive (only write if there are changes) to accidentally destroy and replace the file.
I don't want to be negative because launching a thing you believe in is always a good moment, so congratulations for that.

Maybe it's just that the landing page and demos don't show where the value is, but I don't see how this is a business, let alone a 350/mo one, and not just a framework.
Do the projects at Google not also have to provide value to people? Given the number of products they kill, you’d think that would be a higher priority.
I am not as comfortable having a back and forth on substack than I am on HN. I am not sure as to why people who use tools like [1], [2], [3], [4] have to declare as such that the parts of the content may have been edited with help from computer tools if the end goal of conveying the information has been satisfactorily achieved. This seems like a rehashing of the "AI generated art is not real art" debate [5] again.

[1] https://huggingface.co/EleutherAI/gpt-j-6B
[2] https://huggingface.co/docs/transformers/model_doc/bloom
[3] https://www.jasper.ai/
[4] https://openai.com/api/
[5] https://www.nytimes.com/2022/09/02/technology/ai-artificial-...
I disagree. Because:

https://www.symmetrymagazine.org/article/marchapril-2008/out...

https://www.medicaldaily.com/mad-scientist-6-scientists-who-...

https://bigthink.com/articles/a-brief-history-of-outsider-sc...

And much longer: https://plato.stanford.edu/entries/scientific-revolutions/

Nowadays there are other means of doing 'citizen science', enabled by more, cheaper, and faster mobility, similar for access to information, and new technologies like LIDAR, drones, and much more.

In turn enabling the discovery of patterns which do not fit into the common wisdom.

What is so hard about understanding that?

Edit: Also 'institutional blindness', or if that's not a thing in english, the german 'Betriebsblind(heit)', meaning to be blind to things, because too far out to be recognizable, diverging too much from the established ways of doing things, and so on...