skysight-inc/HackerNews huggingface dataset:
I disagree with this take. In both examples (the original article, as well as the one posted right above) the code under review was slow but simple.

Taking just the two from the comment right above this:

Double.parseDouble(foo.toString())

This will work for basically any possible value/type of foo, assuming foo supports .toString(). It will work for NaN, it will work for infinity, it will work if the value is already a string.

It's explicitly avoiding the complexity of having to consider those cases at programming time, in exchange for taking the slow route (code someone else has written to already do that for you).

Simply casting to double will probably work, but not always - worse, the warnings you get, and the edge cases you might need to deal with will vary significantly across languages. Ex: Java will do different things than C++, which will do different things than C#, Python will vary by flavor (CPython and Jython use different underlying types).

Basically - it's saving the programmer a boat-load of complexity (reduces the edge cases down to just the exceptions parseDouble() might throw), in exchange for doing something slow.

---

Take the hashmap example right after the double example. Will a hashmap let you speed up some algorithms by avoiding n2 in favor of n? Sure - at the expense of memory size and longer initialization. In most places that's probably a sane call. Is it always the right call? Nope. Would not be ideal for my arduino - the memory is so limited n2 is unlikely to matter most times, and again - the memory is so limited I'd rather go slow and finish than try to go fast and segfault.

It's also not the right call when the expected length of the data is always going to be small values of n. If n is always going to be less than 5, I'd bet you good money the hash implementation will be slower in most cases.

----

Basically - optimize when optimizing becomes important, because something is slow and it sucks. Until then... slow is smooth and smooth is fast.
I know it's not exactly a reliable record, but Japanese high school anime are a popular genre and pretty consistently depict a fairly intense atmosphere of bullying. It's often not the focus so you have to read between the lines a bit in some of them, but it's usually there. Not sure how much of that's true and how much is fictional trope.
I've come to look at it the other way. "Because that's how large companies work" is a lazy non-answer. An honest answer to this question would break it down: # of engineers, # of ops, # of sales, # of hr, etc. And ideally break it down by business division. Of course that requires some real domain knowledge.

I've personally watched morons come in, hire lots of useless employees, and destroy millions of dollars of cash while producing negative effect on the product in a company I cofounded. It happens.

Despite the common refrain, the question is genuinely interesting and it deserves an interesting answer. What's old is the retort "that's just how big companies work". It might entirely be true that 4000 employees is reasonable (or even low!) for an exchange, but I'd really like to hear the arguments.
The problem of old technologies isn't specific to the shipping industry, this is true for many large, long running industries where working systems matter. You see old technologies in banking and you see it in transport for example. Shipping has a better fitting use case for blockchain than many industries due to interoperability with third parties and the need for tracking and auditing. Maersk won't have bet the farm on this, I'd be inclined to see it as leading a forward looking experimentation with new technologies that hasn't panned out.
Power. Management really doesn't give a shit about being the most productivity, in reality those who have been deemed "above workers" want to feel that way and be able to observe their serfs in the field toiling away. It absolutely terrifies them that having a task master breathing down the neck of workers may not actually be necessary for things to get done, because why else did they spend 2 whole years paying 150k for that MBA from an Ivy League if their role is truly pointless.

Dealing with all these contradictions is very hard and may require a review of how we imagine "work" on a societal level, so it's much easier to force everyone back into the office and sweep it back under the rug.
Russia's invasion of Ukraine had a very strong impact on investor willingness. It indicated a new period of uncertainty where people preferred having their cash in stable vehicles.

I've seen startups struggle to raise in March when less attractive competitors raised with ease in February.
Give it a few more months
In my experience no body followed the calls to shut their devices down.
But because there is no internet, people rarely use their phones anyway.
Thats shifting the goalpost, I didnt comment on SpaceX overall work hours. I commented on a specific employee being disabled. That said, his rockets work - so what argument do you really have?

for jmull below: "no relevant information" He needed back surgery and I have myself had back surgery. I have first hand experience on this topic. Your comment is really out of touch.
Going back to the office with the technology we have now seems silly to me. While Zoom and Slack won't give you the same level of collaboration if you were in the office, it gets you about 95% there. I recently became a manager and talking to other managers there seems to be a slit between those that want a return to the "old times" of office work and those that have fully embraced "remote work". I tell all the managers that want a return to the "old times" that remote work is the future and they need to adapt to it. Sure there are compromises, but the benefits across the board are insurmountable.
I read the article and it's clear to me that he was mistreated. The last example you reference, however, is still true.

> This may be unpopular to some here, but it is dangerous to let one man run a substantial part of the company's operations.

A company can't have so much knowledge critical to operations tied up in the mind of one individual. The "retire or die" comment was crass but it applies regardless of age.

It's irresponsible to allow a situation to continue in which the departure of a single individual would completely derail a project for months.
> Processing personal data to generate the cohort assignment without the proper consent could also be a violation

Using personal data to assign a cohort counts as using personal data. Duh. The approach described in the article doesn't use any personal data, though?
> But that's clearly wrong.

Woefully lacking in details here.
I'm desperately interested in this as well.
My direct reports have the same problem.
Disclaimer: this is just my opinion, I have no idea what the actual reason is.

I think the problem is not malice nor stupidity.

Most youtube users are non-technical/layman people who don't really know what they want. They type "fun cat videos" or "minecraft" or whatever and want suggestions of popular things to see.

The technical people who know what they want are the minority so it's not profitable to create a separate search mode just for them, because they are tech-literate enough to figure out the idiosyncrasies.
Would you be happy for your roles to be taken off you with no discussion or involvement in the process? After all, you might die?
It would be interesting if it is also possible to abuse it. If it is possible to create enough unique timestamps, that browsers still accept them. Can you add milliseconds to the TS, and do browsers store them too? Or do browsers also accept timestamps from months or years back and re-send them? If you can use the whole scale of Unix time (int32), there is a huge pool of entropy available.

In this case they don’t do this evil thing, and it probably would still violate the European GDPR, even if it’s not an actual cookie, but somebody has to find it first.
It's an interesting move from GitLab. About 5 years ago they offered single-tenant hosting as well, but they shut down this service. Back then we had just started single-tenant GitLab hosting (focusing on the European market) and were a good alternative, so GitLab referred their single-tenant customers to us.

Fast forward a couple of years and now they are back again. :) In the meantime we also started offering HA GitLab hosting (on AWS, GCP and Azure), so if you're interested but don't want to wait or don't have > 2000 seats, feel free to reach out: support <at> gitlabhost <dot> com or check out our website[0].

[0] https://gitlabhost.com/services/dedicated-high-availability-...
FTX's Banking Web Raises Uncomfortable Questions for Regulators
> I told my boss that I was perceiving age discrimination, and he reported this to HR.

For me that would signal the boss knew perfectly what was going on
> after combining with other data

The post says that they don't combine datapoints because that would negate privacy.
Yes, Doordash with Dashpass still has a service fee. Dashpass reduces the service fee but does not remove it. My bill from yesterday:

Subtotal $24.45 (total cost of the items as listed on the store page)

Delivery Fee $0.00 (would've been non-zero without Dashpass)

Service Fee $1.22 (annotated as "This reduced service fee of 5.0% with DashPass helps us operate DoorDash." Would've been $3.18 without Dashpass.)

Estimated Tax $2.56

Dasher Tip $3.50

Total $31.73
Would that person have changed their attempts to destroy your reputation if you had similarly molded yourself into whatever shape necessary?

I’m not saying you shouldn’t adapt, or make smart decisions given the circumstances you’re in.

But they’re a big difference between political awareness/navigation and becoming part of the problem.

> Integrity is not a virtue anybody respects these days.

No offense, but this seems like an incredibly jaded response. It sounds like you went through something that led you to believe that, but I know from direct experience that this isn’t true.

I do think it’s harder and harder to find, but the decline of integrity is hastened by people who choose to embrace the opposite.
At some point it’s just a pixel in the distance. Still, watch for falling sh!t.
From reading the article he would have been fine if they assigned him as the manager to train them. But they took over his roles, required training and didn't report to him in any way.
I think with discord they can easily collect lots of examples of prompts + results to feed to their model to improve it.
> Unless someone has a truly impactful psychological or physiological obstacle to implementing that advice

As someone who lost about half their body weight, I feel very much that just about everybody who has a problem with weight loss meets this criteria.

The question is: why is it so easy for so many people to stay a healthy weight without even paying attention to it, and for others it require constant attention and suffering?

Until we can answer and that, weight loss is most definitely not a solved problem.
Barkeley is such an important person in the ADHD community and I wish more people knew about him and listened to him.
People complain about how these announcements say nothing, but what would you expect a company to say about their layoffs?
yep, well summarized!
Is this really all that surprising? I’ve taken adderall a few times and it becomes very, very easy to do a lot of work. It’s an amphetamine.
Tesla is down 52% vs 9 months ago

Bitcoin is down 63% vs 9 months ago

Just sayin
I've had good luck finding a local(ish) business to print things for me using Treatstock. Shapeways may also be an option.
Exactly. The tech layoff contagion is still spreading when all that cheap money has left. Crypto included.

And yes before HN denies 'engineers not affected in layoffs narrative', they certainly are affected.
Would you find it equally as acceptable for anybody "being a literal" communist to land in jail? Just trying to gauge how consistent that belief are.
The Cult of Gai
Ah I see. I agree too much of our food is processed into things that are not necessary or good for us.

Could you also argue that value add can preserve food in ways that reduce cost? Thus freeing up income and human capital for other sectors.

How can we find a balance of reducing the insidious forms of value add while also keeping food costs down and allowing people to work in non-agriculture?
Okay -- what is your idea for how to get people to practice moderation and self-discipline?

I don't think anyone would disagree that these would be effective if they were accessible, but practically speaking, telling people that they need to do this doesn't work as a medical intervention.

And I would be surprised if there were obese people that were not aware of this already. The solution is "simple but not easy" and so is ineffective for the vast majority of obese individuals.

In the meantime, the article talks about concrete progress being made to reduce obesity along with it's associated health problems. It's all well and good to say that "it's your fault for being weak and undisciplined" but saying "and therefore you deserve to die" seems a bit extreme.
Unfortunately that's the case in MineCity 2000 as well
> Hobbyist sending art to like a thousand people

> Billionaire "Techno-King Genius" owning a platform and tweeting transphobic and racist conspiracies to hundreds of millions of people

"These are the same thing" ~ You

You can both be ok with narrative art and be against widespread misinformation campaigns that lead to tangible deaths and hate crimes. These are not conflicting viewpoints.
Scientists discover secret to waking up alert and refreshed
Sex roles in the animal kingdom driven by the ratio of females to males
You think the engineers that build rockets have to take ethics courses? And furthermore, that the lack of ethics courses and similar red tape is a huge loss?

I'm happy to say it's definitely no on the first count and the second one is very subjective, but it's a strong no from me.
I think this is more socially engrained in the USA than people realize and not SpaceX specific. I’ve personally seen numerous cases where relatives/children/“friends” pressure and/or believe it is best to stick “old” people in nursing homes even when they are perfectly capable of being on their own and contribute to society. They believe it is “too much of a hassle” dealing with “old” people even if it is their own parent(s).
I’ve never made more money before than I do currently with Go, Python and Kotlin.

I guess it depends on what you are trying to achieve.

In general, it would be more beneficial to learn supporting topics like building distributed systems, database internals etc than purely just another language.
Change 'last-modified' to use a secure hash of the contents, like sha256. Then the browser can detect if a website is giving bad hashes, potentially using them for tracking.
I have a program called LLS that uses SAT solvers to find patterns with specified properties. https://conwaylife.com/wiki/Logic_Life_Search But it only works cell-by-cell, so it can't make big patterns like this.
> I got on meds for ADHD and they objectively didn’t help that much.

There are different meds for ADHD. One not working isn't indicative of all meds not working. Neither are they all $300/month.
If the medication tastes like human waste, can you blame the patient for a low compliance rate?
I'm not an economist, but it does seem like the inflation is primarily attributable to geopolitical factors: the various spending programs countries embarked on during the pandemic, China's zero-Covid policy, the Russian invasion of Ukraine putting a premium on both oil and grain.

Are you suggesting that crypto is to blame for inflation? how would that work?
> Sam Bankman was clearly a smooth political operator

No, he wasn’t. This is a myth he crafted for his retail audience. He threw money around. But D.C. is filled with schmucks buying photo ops for millions of dollars.

> don't have meeting with Gary Gensler the head of the SEC otherwise

You’re saying SBF’s donations, and not his role as CEO of FTX, got him a meeting with FTX’s regulator?
Like with most things, I think the right move for an adult is to help the child solve the problem themselves, rather than do it for them. As other posts have mentioned, learning when and how to apply violence is a critical skill. We (particularly children) do not live in a post-violence society. Children should of course not feel abandoned by those closest to them, but being overprotective can have its own negative consequences for development.

It's clearly a fine line to walk, but if you're being bullied then what you need is to learn how to address/discourage that behaviour - not an intervention. Otherwise all you're doing is deferring the learning experience until next time. Past a certain window it's very hard to learn this skill, and you can be stuck with a helpless mentality for your whole life.
Twitter timeline page now takes multiple seconds (5-9seconds) to load for me.
> You can't go anywhere unless you have people who can do your job when you leave.

Or when you want a 5 week holiday. It’s all very well having a nice leave allocation, but you have to be able to use it.
Try WASM.
San Francisco will allow police to deploy robots that kill
Time to spin up the ole SC2k again. I haven't played Minecraft in VR yet, and this seems like a really good reason to try it out now.

I would definitely love to see more things like this that spin old games/software into new experiences.
As a side note, I really like the framing of "operate on their belief"

> Does anybody actually operate on their belief that "geopolitical factors," rather than astonishing amounts of fraud, are responsible for the current downturn?

What people believe is such a slippery question, especially when those people are participating in or proximate to fraud. It might even be a category error. But pivoting to "operate on" moves the discussion from something unknowable to looking at observable behavior. It's along the lines of "Don't tell me what you value. Show me your budget, and I'll tell you what you value," in that it can skip over whole swathes of PR and other BS.

I love this and I'm borrowing it for sure.
1. I am not the only individual on this team; there are more experienced individuals.

2. Thank you for the link. In fact, search was my first attempt--at which point I realized I know so little about this topic, I'd be unable to effectively parse the search results. Thus, I asked for recommendations among a group of folks who seem pretty experienced in this domain: HN.
I don't think Huawei deleted any videos of that.

I'm also not sure how an international crime against peace has all that much to do with... Non-police suppression of domestic protests.
But how do I then tie that unique timestamp to an actual person? Which is what GDPR is concerned about.

(edit: spelling)
What makes you think this in any way is leading to a collapse? If they were heading that way they would just keep hiring right now.
Designing medical devices does not equivalate to having had a back issue and knowing what that entails. They run a lean team, they need their people now. Not in 6 months to a year after a back issue is resolved. Its not a union job. Thats what you sign up for.

for teh_klev below: You're taking a complete strangers begruntled story at face value. Again, I had back surgery, there is no way in hell he only missed a few days of work or was working anywhere close to capacity through this ordeal. Back injuries where you need surgery dont just disrupt your work, it disrupts your entire life and it takes time to put the pieces back together.
I think you might be underestimating the Universe’s capacity to surprise.

If you’re still around and the site is still aroun in 20 years, I propose you write a retro post about how it went, compared with your expectations. I predict divergence. I can’t guarantee a response from my part, since I don’t underestimate the Universe’s creativity.
This is called Art... Have you never seen an ARG (Augmented Reality Game) website where they tell entire fictional stories as if they are real?

You can suspend your disbelief in the most inane shit for a movie, but this form of art you just can't do it?
I'm aware. You apparently did not notice my point #2 above:

> 2. some kind of filtering + buffer + delayed send

Resources (compute, storage) are needed for filtering, buffering, sending. However, these actions are not "free": (1) they increase the chance of detection later; (2) they require electrical power; (3) they require additional design and testing for the device using them. Isn't raising the cost of breaching security the basic idea?

So my point stands: A hardware kill switch serves as a security layer. I'm not saying it's perfect, but it is not (in general) simply security theater (your point above).
I'd like to know why they believe this.
author here, the way I see it is that nothing about my software per se will change. I do indeed like to write things in a "plain" fashion instead of littering my code with high-level constructs that only a few people understand.

However, it is "generative" knowledge. Having a good intuition for monads is what allows me to break down a fair amount of the mundane tasks I have to do (say, breaking down and migrating infrastructure configuration) in steps that work and stand the test of time. That's the thing about say, monad. An applied monad just looks utterly trivial, because, really, they are. If they weren't they wouldn't be worth using.

It also allows me to mine the literature or reuse things I've worked out in the past, for example exploiting monoidal structure for optimizing computation by leveraging associativity, for example.
My concentration face looks like I'm daydreaming, and I've been called out for not paying attention.
This approach sounds lovely, but have you tried scrolling HN comments for hours instead?
I’m definitely not suggesting that someone should disregard how a firm communicates.

Political awareness and the ability to navigate these environments is absolutely a necessary skill.

But there’s a big difference between awareness and smart communication vs. directly perpetuating the worst aspects of such environments.

Baseless obstinacy is a road to nowhere.
Bot, you broke?
Sure if you are being pedantic you got me. I was just trying to make the point that there are very risky positions you can hold in traditional finance as well and you can be down thousands of percent.
Thing is, this is the way that many companies go about it and they have done so for years.

"Aging out" has been a huge problem in the Silicon Valley for decades, for example.

This is probably only making any news because it's SpaceX.
The Dems have found a loophole.

As private companies, big tech can legally suppress speech and censor anything the Dems dont like.

And in return the Dems allow them to retain their monopolies and massively unethical business practices.

I dont see this ending well.
There is a strange trend I’m seeing where it seems like people think they are entitled to a job at SpaceX, or Facebook/twitter/etc.

Here are the job requirements:

* Work 80 hrs a week

* Have no life outside of work

* Be the smartest or nearly the smartest person in your field

If you satisfy these requirements, then you will be working at these companies. If you don’t, then there are a nearly infinite number of other companies that will hire you.

I just don’t get why anybody is upset at the requirements being what they are. If you don’t like what the company is asking for, then don’t sell them your labor.
Not every engineer wants to be a people manager.

Which is why at some tech companies, they allow you to continue to advance your career as a distinguished individual contributor.
I really like the mix of drag and drop with the ability to also write code. This is something that I always run into with tools like Zapier - they get me close, but then I need a small amount of customization that isn't built in and then hit a wall. This seems like it might be a nice solution. Congrats on the launch.