skysight-inc/HackerNews huggingface dataset:
I would add that pushing users to behavior the company wants, but users mostly don't, as a very common reason. Sometimes more profitable features don't get the hoped for amount of traction, or the company wants to push users towards behavior that lets them collect more data or show more ads.

I've seen even stupider reasons too, where a team is sad that some functionality isn't getting used much, so they push for a redesign to shove users into it.

There are valid reasons to redesign an app but I would say that the majority of them are not done for the benefit of the users.
They do a lot of low effort clickbait stuff, but that pays the bills for them to do higher quality journalism. They have done plenty of high quality reviews of new tech.

Plus they have made a big investment into doing even more advanced testing and reviewing. So I don't really agree that they are "all-in". They do it because that's what makes money, but Linus also wants his channel to be a place for high quality journalism.
> They do not speak like you.

Does this automatically make what I said incorrect?
Happy birthday Hacker News! It's usually the first site I pull up everyday, and even though I mostly just lurk I've learnt a lot of interesting info from the site. I appreciate the linked articles and insightful discussions on here.
Arithmetic coding is generally superiour to Huffman coding, but was very underused because of the patent situation. Will we see a rerun? If so, it would be another case a software patent set back the industry.
Time. Watching TV costs time - the real unobtanium ;)
I strongly disagree with this. Setting them up for life is actually setting them up for failure. The great thing is every family gets to make their own choices!

My parents are millionaires and they havent given me anything post undergraduate. There were times I was desperate for money (e.g. to make payroll) and they wouldnt bend. They said you will find a way and be a stronger person for it. They were right.

My whole life I knew that all my parents' money was going to my disabled brother and so I haven't planned for it and am fine.

True happiness comes from within, not from material goods (beyond basic food and shelter).

What my parents did give me were the tools and education to know how to not live paycheck to paycheck. It doesnt matter how much money you make, it matters how much you save. When I was in grad school (90s) I made about 12K/year and saved about 2K/year. I did get myself into credit card trouble early on but dug myself out and then had a surplus.
Tesla does exactly this and it gives rise to the phantom breaking problem. Still seems like a good solution for a small bot with no passengers
> rewriting the whole thing

It's not something that has to be done wholesale, obviously. Language interop between Rust and C++ is constantly improving, with one goal being to make rewrites happen gradually while keeping the same interface wrt. outside C++ components.
Oh man I wonder how long till we get companies paying for 'LTT Labs approved' on their products.
> That's what the infrastructure is there for. To be used.

By anyone who decides to ? With no regulations ? Nice, I'll open a BBQ stand in the middle of the crossroad next to my building then.

Stopping for half a second to wonder where we're all collectively going might be a tiny bit more useful that what you insinuate, but I guess that makes me a turbo boomer.

You seem to think that every new technology is by default "progress" and we should accept progress, because why not, hence every new technology should be accepted. I assume you're smart enough to see how that argument doesn't hold water.

Technology doesn't just automagically happen, people make it happen, people with opinions, opinions which might not be aligned with other people's opinions and should be discussed.

> things become more convenient.

For who ? Not for the old woman with a cane who has to walk on the road to avoid the scooter on the sidewalk. Not for the "juicer" working all night to charge your e scooter for a few $. Not for the mom and pops shop who have to buy/rent/license amazon (or whoever) bots to deliver their food to customers through some third party app which takes a cut.
> and your department wants to get rid of you, they’ll find a way to get rid of you

That's not MIT or even academia, that's everywhere. Once I realized that bonuses and promotions are just popularity contests, it completely changed the way I approach work.
Ask HN: How do I start off as a software engineering contractor?
I have been working as a Software Engineer at a customer experience management company.
Exp - 3 years
My stack - Python, Tensorflow, Pytorch, Transformer, Kubernetes, Docker, Mongo

What should I learn to become a contractor in the future ? I don't want to stick with a 9-5 job for long.
It’s also because of entities like In-Q-Tel that we have Google Maps. I said it before, I don’t understand how come Russia has allowed the Streetview cars to do their thing on the streets of Russia more than once.
The Next Pandemic Could Start with a Terrorist Attack
Rewriting C++ code in Rust is probably not economical.

Rewriting C code in Rust is probably quite economical.
Oh wow, here's the disclaimer on a marketing job for Abercrombie and Fitch [1] and [2]:

"This position is not open to applicants residing in or otherwise based in the State of Colorado. The work location is flexible if approved by the Company, except that the position may not be performed remotely from within the State of Colorado."

I looked at one of the links on the site for Spotify, but I couldn't see any mention of Colorado on the job req [3]. Maybe it's somewhere else?? [4]

1: https://www.linkedin.com/jobs/view/2818550867
2: https://www.coloradoexcluded.com/company/776
3: https://www.indeed.com/viewjob?jk=11c21b0e0ec9f40d&tk=1fmsmo...
4: https://www.coloradoexcluded.com/company/509
Theoretically, could you use an 3D grid of these devices to continuously sample the gravitational potential they're experiencing, and build a dead-reckoning navigational system?
Uh I didn’t know that - have you run it on an SD card successfully?
What options did you use?
How to Detect Country from IP Address in PHP
It was not unintentional. It does fit better and has no pair programming.

But, the non star soccer players in competitive teams are significantly better then what you imply. And do way more work and have way more knowledge.
No problem here. Latest JRE plays just fine (EU)
That's why RF loss equations use dB instead of ratios or percentage. GPS is anti-jam in nature due to it's spread spectrum method but a wideband jammer could make it difficult for a receiver to build the link. Jamming mitigation includes things like using highly directional antennas and smart receivers that can recognize jammers and null them out dynamically. Additionally there is a new encrypted M-code that allows military users access to a much harder to jam signal. A smart jammer works by not just putting noise into the GPS signal bands but by mimicking the GPS signal. You don't need much power and can use an antenna array to point at planes like radar systems do. Using an encrypted code would totally prevent someone from broadcasting a fake signal because the receivers would not lock onto it and would instead lock onto the weaker, correct signal. Although encrypted M-code has just come out so I doubt Ukraine has access to it. Maybe NATO countries will have access but that's not the reality for Ukraine now.
Show HN: Blokfeed – A simple crypto news aggregator
Hi everyone! Scratched an itch and solved an issue I had while trying to stay up to date with crypto and blockchain news. I realized I was spending too much time bouncing around various sites to find recent news articles. So I built blokfeed.com to help me sift through crypto news more efficiently. I have plans on building in more features.

Check it out - hope it helps you as well!
blokfeed.com
Isn't there a similar rule going into effect in NYC?
Google removed that option without even trying to spin it as a pro-consumer change. The only problems I can think it brought to Google are clueless users complaining that they can no longer see microsoft.com in their results, and having a negative impact on unethical advertisers.
In my experience, most issues are related to kernel interfaces which LXC disables inside unprivileged containers, paired with software that does not check if those interfaces are there/work before attempting to use them.

These issues can be observed in the official Ubuntu image and seem to get worse over time. I would recommend to just use VMs instead.
Yes, I know this, but this is going the other direction and seems kind of noteworthy: OCamlPro exists to promote OCaml, and it looks like they're making some forays into Rust?
https://blokfeed.com
I never hear systemd-nspawn mentioned in these discussions. It ships and integrates with systemd and has a decent interface with machinectl. Does anyone use it?
This is terrible. Folks need to be able to install Windows on offline devices for maintainence...
Literally none that I've tried have given me problems.

But to the working games, let me add: Overwatch, League of Legends, Anything from GBA/GB/NES/SNES/DS/OtherRetroSystems, Starcraft. Oh, and Minecraft of course.

I'm sure I can come up with more.

Edit: One steam library checking later - and I'll note, this is stuff that I've actually played on Linux (and is also filtered by names I think people would recognize): Arma 3, Blitzkrieg 2, Pit People, Castle Crashers, BattleBlock Theater, Unturned, Invisible Inc., Baldurs Gate, Undertale, Speedrunners, Dota 2, Gary's Mod, Everspace, Raft, AoE 3.

This makes up the VAST majority of my steam library, none of which was purchased checking for Linux compatibility.

It's one thing to say that a specific game you want doesn't work, and quite another to say it in general doesn't work.

Edit again: Rocket League. That's it. That's the only one that I know of issues with, and I don't know if it even still has issues - I stopped playing when it required an Epic account.

Oh hey, lookie there: https://www.protondb.com/app/252950 . Sounds like that works too.
On Monday, Bing removed Serebii from its results without explanation
I let him back in when he asks for it.

About self-governance, honestly I don't know. I know that what kids are dealing with online is crack compared to the coffee I grew up with. I don't know if anyone can have a healthy relationship with Roblox, Tiktok, and Youtube.

I also know that now he finishes his school work, is learning guitar entirely on his own, and talks to us about school and his friends. Before he would stare at the computer until dinner and go back to it after unless we forced him to do something else.
Yeah I was not working for me for about 15 mins ago. Now it's fine.
Since US law is heavily based on British law all I can say is uhhhhh.....

https://nypost.com/2022/01/14/facebook-faces-massive-lawsuit...

Britain has populous based representative system so they have representatives: https://en.wikipedia.org/wiki/Government_of_the_United_Kingd...

Britain does have an elected government so they can contact their government for help.

I don't understand your attack? The meat of my argument is true and you are attacking small details which is a cheap illogical tactic.
That doesn’t answer the parent question.
Yes the jammer is dangerous and bad. Putting the father in jail doesn’t fix that or particularly help.

A fine, community service or something like that seems more appropriate.
Show HN: Morse Codle – Wordle with Morse Code
From what I said in other comments it is clear that I admit that these things do happen.
For this particular topic you should definitely read more of the books before commenting on the theme of the series. The GP is more thematically correct.
Moreover, at some point the rubber meets the road and some "unsafe" code almost certainly must exist at that point. The goal should not be to have zero lines of unsafe code, but to have so few that it is possible to review and understand them and to understand why, though they are "unsafe", they yield safe behavior. Rust does do this!
You state "O(1) complexity to find the minimum value", but usually without further qualification, that refers to time, not space. With O(1) time, the easiest solution is just to store the minimum-to-date next to the value in the stack. Consulting the minimum is then just looking at the top value's minimum entry.

In this case, the big clue is that O(1) means that there must be somewhere "constant" to look for the solution. In a stack, there's only one practical place to look in O(1) time. (In principle, "the second element" is always O(1) as well, as long as it is always the second unconditionally, but there's no clear reason to add that condition.) Since that place is incorrect, you're going to have to add one. Then it's only a matter of per-element, or per-stack, and from there it won't take long to work it out.

Larger O() factors imply a larger possibility of places to look and possible things to compute.

Not that I ask these questions in interviews anyhow, but I think a case could be made that's not entirely an unreasonable question. (Albeit weird for a QA position, unless you're going to be literally testing underlying APIs. Any UI-level QA position this is massive overkill for.) That is at least in the ballpark of problems I do solve all the time. I am always adding fields to things for faster lookup or something, even if I'm not implementing a generic stack.

The "do it in O(1) space question" can be a trick question, either accidentally or otherwise, if the interviewer isn't careful to specify that they want it done for integers specifically. A lot of the clever "pack it in a tighter space" questions revolve around exploiting the properties of integers, and involve having seen uses of XOR or things like that. If they don't communicate it's integer-only, and the interviewee makes the completely reasonable assumption that "stacks" are meant to be data-type generic (since that's how we usually encounter them in the real world), the interviewer has accidentally asked a question which may be effectively impossible. (Which, in principle, means you should further ask your interviewer about it. However it seems the sort of people asking this question are also often inclined to not be that specific or something.) If you are not exceedingly fast on your feet with integer manipulation, in many ways the answer is just that you've done enough of these to have more-or-less memorized the tricks.

Unless this is an interview for a super-constrained embedded job, I would not consider this a good interview question. There's a lot of games you can play with the integers specifically, because of their confined range of values and the strong relationships between them, but I almost prefer that you not know them, or that if you do know them that you keep them to yourself. I don't want to see that kind of game played in my code without a very good reason. Plus it's just memorization.
PiHole is just DNSmasq (unless it has newer features?)

my teenage kids have figured how to get around that
> But the advantage of Rust goes far beyond mere safety...

Could you say what they are?
> Also, a language is more than the sum of its parts. If it weren't, kitchen sink languages would be the best ones out there, because they have the most parts.

I've been hugely interested in this recently, at least part of what you are describing is programming language affordances.
An online game to crowdsource the science of letter shapes
There's nothing special about cycling. You can deplete your glycogen stores and hit the wall with any aerobic activity. If you have a healthy metabolism and stay in heart rate zones 1-2 then you'll mostly burn fat stores and can cycle for many hours without hitting the wall. At higher zone 3+ efforts you'll need periodic carbohydrate supplements to keep going.
Correct, temporary diets don't work. You have to change your lifestyle/diet permanently. This means after weight loss, you need to adhere to your new caloric intake baseline, which will be _lower_ than when you started. The more you lost, the lower it will be. This is hard, but not impossible to do. I can't speak for the obese because I was never there, but I was solidly overweight and proceeded to dump 40 lbs a decade ago, and never gained it back. Had I gone back to my pre loss diet it would have all come back.

NOTE: Before someone points it out, this is NOT incompatible with my parent comment. Going on a 500 cal/day cut and losing say 8 lbs will not lower your caloric baseline all that much, so temporary more or less works fine. If you use the same method to dump 40 lbs, you will need to readjust your baseline when done or you absolutely will gain it back as your caloric intake needs have been meaningfully reduced.
Speaking of pushing boundaries. Parents in the generation had to get a physical box with a padlock in which the phone was placed. You could still pick up the handle to answer a call but you couldn't reach the dial. Some figured out how to tap dial but I never did.
Spot on. The UI and UX should be forgettable. Forgettable in the sense that the user should walk away with a feeling of their accomplishment, not how pretty the drop shadows were.
There are plenty of companies (mine included) that are moving into Colorado despite all of this. Tech is growing rapidly in Boulder and Denver. I wouldn't worry too much about it. Boulder is an amazing place to live!
From the tweet linked below [1], which sparked a lot of controversy about the definition of piracy (which I entirely disagree with Linus on), about 65% of their revenue comes directly from sponsors and 32% comes from merchandise.

[1] https://twitter.com/LinusTech/status/1486918784401088515
The rational part of our brain isn't fully developed until age 25[1] give or take. For me it was several years past 25.

How is freelancing going? That sounds like a great path to being able to some level of independence.

Mindset is a huge part of motivation. I don't think 100% of gigs out there are "meaningless work for corporate overlords". That perspective is adding another weight, which is slowing you down.

> My plan currently is to pour 100% of my resources into my own ideas.

For the 0.01% that is a great plan. Aaron Swarz accomplished more in his twenties than I will over my entire career. But for the vast majority of us, engaging with existing businesses at age 21 is a great source of ideas and projects. Keep freelancing!

Ultimately success is about serving others. Your idea has to be something someone else needs which they find out about through a reliable distribution channel.

[1] https://www.urmc.rochester.edu/encyclopedia/content.aspx?Con...
I'm not in favor of civil asset forfeiture.

That said, hard to believe they have no idea WHY it was seized.

And in white collar crimes, the case lengths are unnecessarily long and the money is often hard to recover. They should work on both those issues longer term.

After Amazon wins it's lawsuits these folks will be filing various bankruptcy claims and the money will have been distributed all over the place (some to lawyers, some not) over the 5-10 years it takes to fight these out.
Thanks for the clarification, yep I meant the web client.

We didn't rewrite iOS/Android either, any memory unsafety bugs just cause odd behavior on that user's device, and wouldn't e.g. give an attacker root access to our servers. The costs of the occasional memory unsafety bug didn't seem to approach the cost of a rewrite.

I should say, rewriting servers (especially public-facing ones) in a memory-safe language like Rust or Java is a much more reasonable proposition, but for client code, it's a slightly different story.
The reason this is available for this price in every house in the city of Zürich is because of a law that passed requiring every house to have fiber. The infrastructure is operated by the power and phone company and any service provider can use this fiber.

I hope the whole of Switzerland will do something similar because there are still a lot of places without good internet and fiber is quite future proof.

Home office out of a mountain cabin would be cool...
Not to mention that Meta is not a ship on which all the lives of the mates depend...hence the original saying that puts the ship before the people on board.
Bad strategy or not, it's a working strategy across nearly a half-century. "Bring your favorite language to DOS [later Windows]" got a lot of developers building for DOS and then Windows. It also keeps entire industries afloat as legacy code written in boutique languages survives pretty much intact across many versions of Windows. Not having to rewrite software every half-decade because Apple changed their mind on preferred programming language or preferred CPU architecture has left Windows with a lot of enterprise/industrial users that would never consider using anything but Windows because they don't want to budget for that.

To some uses, Windows having a diverse mishmash of UI frameworks from multiple decades/eras/epochs all living side by side and mostly interoperating without challenge is a massive feature rather than a bug. Sure it's ugly, but it's stable.
so very deeply interesting :)
Haha, I'm definitely thinking of the issue; I've raised several kids and this is stuff we dealt with all the time. It's not easy and as a parent you screw up a ton because you're usually figuring it out as you go and making lots of mistakes along the way. :)

These sorts of issues aren't things you address in a moment. Yeah, if you suddenly take a phone away, you kid will likely blow up. But the problem wasn't created in a moment, either. Things got to a bad place over time so it's unsurprising that improving them takes time. Further, in the heat of the moment everyone (including the parents) are less even-keeled, so most progress happens when tempers are cool.

One thing we did for awhile was, as a family, we came up with the rule that from 5-7pm (IIRC) each night there were no devices/screens and we had to be around each other during that time. (We settled on that after a family discussion and some back and forth negotiating, but eventually everyone committed to it.) We did it for /months/ before I felt like it really paid off, but eventually every one of the kids recognized that we were stronger as a family and that they actually enjoyed the screen breaks. And one side effect of it was that we all started talking to each other a lot more, but again, it was a slow process. What works varies by family and changes over time as the family changes, but the meaningful changes seem to always take a lot of time.
Traveling Spoon
Yes they are. Cars are separated from pedestrians. Scooters and e-bikes aren’t. There is always some jerk with scooter trying to push through the cyclists on the bike lane or show his driving skills between pedestrians when I go to the office.
Fed formally adopts new rules for investment and trading activity by officials
They adapted after Anand and Brian Klug left, so hopefully they can do it again.
"Winners never quit" and "quitters never win" are logically equivalent.
It mean that you can't quit and win, ie. quit AND win <=> FALSE

The truth table is:

QUIT | WIN | result
-----+-----+------------------
no | no | possible, idiot
no | yes | possible, winner
yes | no | possible, quitter
yes | yes | impossible
Been following defense tech since 2013. (built one in 2014 but failed)

Highly recommend:

- Founders Fund

- Lux Capital