skysight-inc/HackerNews huggingface dataset:
My guess is this is Java or something close? We can make that much more readable. We may have to do away with bad libraries. A lot more could actually be magicked away, which can also be a problem sometimes. In a "real" application this resource's interface would probably not just take a comma separated string in a body but accept a proper JSON object or somesuch and not just be a "sort endpoint" but it's not going to be much different from this if written properly. I happen to like the few annotations you'll see me use here. I also think that something as simple as a line break can unclog things. Also the choice of having each of the stream operations in a separate line is deliberate for readability. There are linter/auto formatting rules to enforce this (we do this at my current place for example).

@Path("/sort")
public class SortResource {

@GET
public List sort(@Body String input) {
validate(input);
return Arrays.stream(input.split(","))
.map(Integer::valueOf)
.sort()
.collect(Collectors.toList());
}
}

I do recognize the kind of code you pasted. Had to work in code bases like that for way too long. Never want to work in one of those again. There's probably lots of EJBs and other such nonsense around that?
Which is the point of the piece.
No, the accusation is that Google is so deeply in bed with US intelligence agencies and the military industrial complex that it might as well be considered a CIA shop that just happens to run a few publicly available services like Google Search and Youtube on top of America's vast surveillance, propaganda and psychological operations infrastructure.

And that accusation would be correct.
I went from maybe someday I will buy a car to being fuck it, no reason to buy something so expensive that I clearly don’t really need. This article made cars look even more like a luxury good than they already are.
LOL. Nice to know the journalism quality barometer over at “The Science Times” is ok linking memes unknowingly.
I live in the US but I have always called them/heard them called "Bulldog Clips" as well.
This might be the first time I've seen one of these in the wild since I learned about this in college. Thanks for pointing it out
For what it's worth, I think it's unreasonable that it was downvoted.

But also: most municipalities that I know of do not require their buses to make stops if nobody is either waiting or signaling to get off the bus. NYC goes beyond that, and allows you to request a drop-off anywhere along the route during night service[1].

[1]: https://new.mta.info/guides/riding-the-bus
This is interesting to me because Seinfeld is a stabilizer-rationalist in general temperament. (Even if he didn't invent it, the concept REALLY fits his style well)

He will generally tend to give you bell-curve advice based on stabilizing a routine.

Seinfeld likes Cheerios and Superman and the old stand-bys and so on. This is a bell-curve person who sees that curve, socially and behaviorally speaking, as finding sanity.

(IMO he is also likely terrified of displaying what he sees as a latent insanity. But that's just my opinion, for fun, etc.)

To me--I can't get sustainable results that way. What's stable for me is irrational for Seinfeld, or for someone who finds this kind of technique sustainable.

For example, one of my favorite ways to not procrastinate a thing you are trying to do is to teach it. Guess what, class starts tomorrow and you don't know jack. Or to start at the end, connect with experts, and learn it backwards, eventually ending up at first principles.

This is not rational or bell curvy unless you redefine rational and bell curve based on a new context.

IMO if you aren't a routine-based person to begin with, these kinds of routine-based hacks, using chain metaphors and such, can be risky to your sense of well-being. First, they sound rational & make sense. And second, when they don't work--for whatever reason--they make you feel _special_ in the wrong way. Maybe more like "different" in that you feel really hopeless or dumb.

God, I broke the damn chain again! Sometimes it's enough to make you want to start googling up "chain-breaking ADHD" or something.

One of the most interesting questions I've found to determine the difference in subjects/suitable people for this kind of work is: "Do you sometimes feel like you are meant to live like a cat, passing days, weeks, maybe even months without making meaningful progress, then BOOM one day the big plan starts as if by itself, and you do something amazing?" If yes, then probably focusing on a don't-break-the-chain model is looking in the wrong place. But not to worry, there are gobs of ways to get where you need to go!

(Another crazy opinion of mine is that if you are an autodidact, depending on how autodidactic you are, you should probably not be learning by rote or routine-focused means.)

Still, I love that this particular model comes with a well-known personality attached to it, and for a variety of reasons I wish more productivity models were like that.
I think that a lottery has potential if we use peer review as the bar for quality.

My prior is that peer review is better than random chance. This seems sensible; after all, a human being should be better at determining scientific validity versus random chance. Under that assumption, it makes sense to have peer review to narrow the pool down to a smaller number of grant proposals.

It doesn't seem unreasonable that peer review could get the "best" proposal into a pool of 10-15 applicants around 90% of the time. I think that would reduce the pressure on proposals by a decent amount.
They are, see https://news.ycombinator.com/item?id=32233415
We do share a disdain for the DataKraken, yet META dominated in June '22 across the most downloaded apps. [1]

[1] https://app.finclout.io/t/b9BbQa4
This isn’t “Taco Bell outsold McDonald’s for six months so all of a sudden McD’s sells McTacos.” This is, “McDonald’s realizes about two years too late that no one wants to eat burgers anymore so in a last-ditch attempt they add tacos to the menu.”
You're not supposed to disclose you work for the CIA while you work for the CIA. So naturally the only people you would meet who would tell you they work(ed) for the CIA are going to be retired.

Even during the interview process you're encouraged[0] not to tell anyone you're applying to the CIA.

[0] https://www.cia.gov/careers/how-we-hire/hiring-process/ ... see "Discretion" under "More Considerations"
The alternative would have been to pull the SIM card to access 911 through any available cell network, but not many knew about this.
https://www.jordanmechner.com/books/journals/?lang=en_EN
Mind sharing the name of the course?
Or, more plausibly, because it introduces additional middlemen and tax obligations to a straightforward donation drive?
If you murder someone, you go away. If you rob 100 million people of 0.00001% of their life, you just did the equivalent of 100 murders. Seems no less criminal to me - in fact more so.
The don’t break the chain thing is nice. I’ve used it a few times, but it can be very demotivational when you had a super long chain and you broke it. It’s very hard to get momentum again.
While the place looks impressive, it also looks ridiculously excessive. The amount of wasted space, the running costs and maintenance required for all that space, etc etc… a hackerspace just doesn’t need that. They clearly got over-excited about being “fancy” rather than concentrating on being sustainable financially. People use these spaces for the equipment and socialisation, it doesn’t need to look like an Ikea.
Having the wrong experience can also be better than no experience. My early career was full of what I call "negative learning" experiences. I was essentially taught what not to do with clear demonstrations of why it shouldn't be done. Eventually it became apparent that every job, every experience even has lessons you can learn from, whether they be positive or negative reinforcements. This open minded approach where I strive to be as objective as possible made working as a solo dev for 7+ years a successful and not particularly scary endeavour.
I don’t understand how a business’s PR concerns should affect my freedom.
Well, the good news is that there are plenty of companies out there who are solving Real Problems that need good developers.

Perhaps it’s time that bright, young, talented minds are dedicated to solving Real Problems again in the world.
> So is it better to do this, or do an Apple and just have the software silently start handling things for you in order to protect your battery therefore protecting you?

I always thought Apple should have offered free battery replacements, ideally ones that had been re-engineered to better maintain voltage, so I think Chevy's approach is good here given the predicament.

Having to accept a very small risk of fire or lose range temporarily is really unfortunate, but all 2017-2019 owners are getting a 6kWh (20ish mile) upgrade in addition to everyone getting a brand new battery with a fresh battery warranty. Options for buy back or partial refund would be good to present as options but idk how many people would take it in this car market and/or with the option to get a brand new battery.
More like MTV non longer showing music videos imo. Facebook could have stayed your personal Rolodex and serve that use case but decided to chase engagement wherever it could.

Maybe it was inevitable and necessary to avoid death or maybe they abandoned their primary purpose and turned off their users and therefore the network / social graph from which they derived value.

Or maybe they will continue to print money.
Netflix sometimes has stereo audio tracks if you look at the list of possible audio tracks, and other times not. I don't have a soundbar or 5.1 speakers so I'm aware of it
can you give examples on some use cases? seems like a cool tool, I come from ecom and was thinking of how this could solve a problem for me, but couldn't think of anything
Used to use these in architectural applications all the time. They definitely combine some of the best features of both rivets and threaded fasteners, but can be a little finicky to install correctly, just like regular rivets.
I wonder technically how they implement this. If the battery stops charging at 60 wouldn’t that potentially have a negative impact on the battery life depending on the battery chemistry? I guess the alternative would be tracking power used and cutting off at 30 left which would actually be better than running down to 0.
Contradicting hard medical evidence about reduced negative outcomes of the COVID vaccine that the entire medical industry has consensus around is just crank stuff at best.

The vaccines are unreasonably effective given how radically the virus has mutated.

The argument that things had to go this way, that we should just lay down our arms from the outset, throw immunocompromised, children and old folks under the bus, and treat it like "flu season" (which has a vaccine for f's sake!) has bequeathed our massive world-wide (or at least west-wide) gain-of-function laboratory that is bringing powerful new mutations to a geo near you.

Track-and-trace and countless bog-standard public health responses (like requiring masks on planes for f's sake), and yes the occasional lockdown, PLUS the fact that we got lucky on how fast we got vaccines delivering measurable improvement in outcomes, would have been a powerful combo. But it wouldn't have made any money.
Went to facebook for the first time in months to check this out. Clicked the little TV icon and waited for 20 seconds on a blank page before some worthless smut loaded. I don’t see this going well for facebook.
Trauma is tough. For the toughest problems, partial solutions can often deliver great value.

Becoming more successful as a result of alleviating procrastination, might be solving a symptom of a more general problem. But it will still be gratifying, and take back some of the power of the general problem.
Take 1 life, go to jail. Take .00001% of 100 million lives, go to jail. Seems logical & fair & socially constructive to me, like justice should.
Heart breaking to see places like this close shop. I’ve seen first hand how many people learn new skills from the kind of hands on community learning that these places can offer. If anyone has the finances to turn this around I encourage you to do it.

I can’t offer that, but this situation reminds me that things don’t have to be this way. There are alternative land use strategies that hold land in trust for the use of communities so that land use doesn’t have a monetary cost associated with it, or costs are managed as a community. Most prominent in my mind is the way the city government of Vienna Austria buys land and builds housing to keep prices low. We absolutely should have community spaces for our communities, but our notion of land as a private investment makes land super expensive, and in an unequal society regular people can’t afford commoditized land prices. Instead we all end up working as hard as we can to meet ever rising rents. But it doesn’t have to be this way.
What other ways are there to (mis)pronounce it?
:shobon:
I wanted a clear example without going into details that might distract from the point.

But you are correct that "not very nice" is a significant understatement. He was horrible to them and I honestly don't think his art balances out his behaviour.

If life was justified, he would have been in gaol quick smart and his art career never would have happened.

But after the fact, we can take what we can from his art - which others seem to do more than I - while acknowledging his deplorable behaviour and sanctifying the respect and dignity of his victims.
> For example, in the case of the amphibians, the wave of extinctions have been traced to the rapid spread of a fatal fungus through global shipping.

Out of curiosity, has anyone seen any research / studies / compilations of things that were revealed once the Covid lockdown(s) sniffled the supply chain?
Really fascinating. Surprising to hear the prominent key of the UK is F#, the polar opposite of C.
Agreed. Great motivator. Slightly different twist is if you have kids - rambunctious kids are even better. We had an issue with a home renovation project that was not completed (we had stupidly paid the final invoice on time, lesson learned- always hold back 10% until you’re 100% satisfied)

My wife got pissed at their lack of response. She took our two boys to their office, sat down, and instructed them to feel free to touch and play with everything (tile, wood samples, etc.) Salesperson notices and approaches “can I help you?” She explained the situation and the salesperson said no problem we will send someone next week.

Unsatisfied with this answer- we had already experienced many weeks of “soon” - she said ok no problem, we will just sit here until someone shows up at our house to finish the job.

Sure enough a worker showed up later that day and installed the three punch list items we had identified. Worked like a charm!
How can this possibly be enforced? What if there’s no email service on that domain? What if the business has no email address at all?
To be fair, the US has made a habit of losing against countries with GDPs closer to Ukraine than to Russia.
Somebody “ate the onion“
Did Facebook ever really need to become such a behemoth? Could they not have been mildly profitable just hosting pictures and helping people stay connected? Would it have been impossible for them to simply keep operating without capitalism's Blob-like need for growth at all costs?
Russia has a "smaller" GDP than California, but check the price of electricity in western Europe today. Few industries in Germany can survive energy prices tripling. It won't be much of a war of attrition with "NATO" if a bunch of NATO members drop out and pursue a separate peace.
Aside from iPods, which they have wisely cannibalized themselves with the iPhone, Apple still sells all those items, with headphones a Fortune 500 company all on its own.

It's not that Apple changed its menu, it expanded it.
Why would a non profit be paying taxes?

edit: turns out they're not a non-profit.
DRAM markets have been notoriously price fixed in the past[1], and it would not be surprising if there's still a lot of winking, nudging, and backdoor handshakes going on. The chip shortage makes it even more excusable now.

[1] https://en.wikipedia.org/wiki/DRAM_price_fixing_scandal
lift and shift migrations dont really make sense. It would make sense to do architectural rewrite, from on-prem Oracle monolith to cloud native serverless stack for example. Digital transformation, yeah
Went to the Santa Fe Meow Wolf and it is jaw dropping amazing.
That’s what I was getting at. I hope they get some real feedback from Nvidia, AMD, Intel, Qualcomm, etc before making something that is really only useful at Google.
Unfortunately data shows they convert better. Same with scenes that span multiple screenshots.
> I claim writing the type before the name is much more readable. Compare

I claim writing the name first is much more readable. Compare

integer five = 5

or

five: integer = 5
There is nothing inherently dishonest about coming to a conclusion which is adverse to Google. Google's interests are not coextensive with honesty.
Sounds awful, but it could be worse. At least the Facebook-managed McDonald's is trying to chase after what most people seem to want. A Google-managed McDonald's would just shut down, even though everyone loves McDonald's, because somebody at Google figured starting a new fast food chain is the best path to a promotion.
> TikTok is really taking over and is a force.

So that means what? That other social medias can't exist unless they are on the absolute top? Sounds like a race to the bottom, patched up with investor creole language bullshit.
The person who @'d the Epic org owns very little of the blame, in my opinion. If you have a button that causes 60m+ emails to be sent, and you leave it in a public place with no warnings and no confirmation dialogs, that's your bad choice. The person who presses the button is incidental; someone was going to.
It sucks, but they're not going to find that benevolent millionaire.

Hackerspaces all over the place have gone through this exact cycle. There's always some hope of "well we're all the grassroots of the tech cycles. Surely the ultra wealthy in our tribe will toss us a few scraps!"

But no, they won't, and it breaks my heart.
> TikTok-style "discovery engine" model shares many of the same problems.

> - Posts are even less rooted in a web of social relationship.

> - The larger the crowd, the louder the threshold for speech to be heard.

This is prescient. The "social media" of today is more like Napster than it is like the the early-2000s Facebook:

* People look for content that they want (political rage, softcore pornography, funny videos), with little concern for who it comes from.

* Content is exchanged between peers, but centrally indexed and mediated.

* While the network is ostensibly peer-to-peer, the content exchanged on it is filtered by the central entity according to any policy they see fit.
asan/ubsan do not detect uninitialized memory reads (though ubsan can detect when bools take on invalid bit patterns from uninitialized memory), and msan requires rebuilding the standard library or something, so I've never used msan. Valgrind is slow, but detects uninitialized memory reads properly, and doesn't require rebuilding the app (which is useful when running a complex or prebuilt app for short periods of time).

On the topic of profiling, callgrind can count exact function calls and generate accurate call graphs, which I find useful for not only profiling, but tracing the execution of unfamiliary code. I just wish rr had similarly fast tooling (pernosco is close enough to be useful, but I think there's value in exploring different workflows than what they picked).
Transitioning out of a career in HS education and seeking a path in PM. Looking for useful prep references and remote referrals if anyone is willing to extend a hand.
Your analogy doesn't work because people /do/ like Tacos, and people /do/ like Facebook to not be TikTok. The proof is in the active users. Silicon Valley is such a self important circle jerk. You can operate a business, it lose users, and still exist. Christ.
But I don't want to rotate it. I switch hands very often, and in situations where rotating it might be uncomfortable (i.e. when holding other things).

EDIT: to clarify, it isn't just about the waiting for me. It's about the physical action being massively inconvenient compares to just shifting hands
My 20-person biotech startup runs on Linux including the workstations of a vast majority of employees.

There are definitely pain points, but also substantial productivity gains. For anybody trying this, my advice would be to attempt to ship the lowest number of possible HW configurations internally - with the ideal being having everybody on a same model of a laptop.
Honestly it seems like retaliation for the Shanghai gang and Shanghai politics.
5 Lessons Learned from Getting SOC 2 Type II Certified as a Startup
We got SOC2 Type II certified as an early stage startup. We wrote up a summary of our lessons learned. Hopefully others find it helpful!
I have met tons of business people that never got their business off the ground because they couldn’t build the product. For every failed technical founder, there are 10x more failed business founders. It’s not all just one or the other. You need a bit of both and tons of luck. Starting a business isn’t just all skills.
I'd argue that most FOSS devs just have amnesia about certain things, like dual-licensing that lets you sell licenses to companies but keep things open for humans. For example an Office competitor could sell licenses to companies in this way, but allow individuals to use the software on their personal machines.

Say you have a game, you can make the source available and still charge money for the game, and it doesn't get any easier to pirate than before. You even get tons of people modding your game and contributing to its appeal.

There are also techniques like 'selling support' for your software.
No, I sure did notice --- that's why I said "the only victory". All the other battles seem to either have been lost or surrendered without a fight.
Meta already knew Facebook would sink someday. As they have Instagram, they don't care and Meta will be around for another 10 years to extract more from Instagram and their other unused platforms.

I'd expect the hype and growth around TikTok to peak once their parent company IPOs, as more corporations, advertisers, mainstream media accounts, move in to the platform to ruin it just like they did with the rest of the other social networking platforms, especially for YouTube and Instagram.

If they don't IPO soon, TikTok will get much worse for their users. Either way, the users will eventually get annoyed by TikTok's changes, pushed and boosted by the company.
Is the term "stabilizer rationalist" just off the cuff, or is it something from a larger categorization, perhaps from a book?
It took 1 month or so for my app to be indexed in App Store searches…
What's python.com, and what does "python.com APE" mean? Is python.com an executable that runs on multiple OSs? Also why is the flask demo so slow?

I think some explanations might be helpful. I'm familiar with python, but not cosmopolitan libc.