skysight-inc/HackerNews huggingface dataset:
Nothing requires a function, you can have code without a function.

I think good art (to me) requires some function. And code is art. Like architecture , or furniture design, or gardening, or dance, or many art where the design and precision and purpose is all tied into what the artist is doing.

I don’t think coding is pointless and think that coding for the purpose of being beautiful can be dangerous and painful to support or refactor. But I’ve read a lot of code and appreciated it on some aesthetic level and remember thinking, “that’s neat.”
I guess you're a believer in this "invisible hand" cult.
Also don't you see the double speak irony, that's my main point.

But I'm not allowed to even question it, as your comment shows and the flagging of these facts.

You all need to wake up, you are cattle.
I can strongly recommend Alan Rockefeller's fantastic talks on psilocybin mushroom identification: [1] [2]

[1] - https://www.youtube.com/watch?v=VcL-7u80kjs

[2] - https://www.youtube.com/watch?v=pInqVRRva7M
LightSail 2 completes mission with atmospheric reentry
They seem all-over naked pointers. I even find naked "new" expressions in Quaternion.

Anyway mtxclient looks different from the others. It wasn't listed among clients (neochat, nheko, quaternion) on the Wikipedia page.
> this thing runs fine on 20% of the staff

Every place I've worked that had more than 50 staff, 90% of the productive work was done by 10% of the staff. I mean, I can't document that; it's anecdata. But I think it's a pretty reliable rule-of-thumb guideline.

But how do you identify that 10%?
Inductive charging doesn't count. You can get out of the USB-C requirement by having only inductive charging, but as soon as you have a physical connector that supports charging one of them has to be USB-C. (At least in the EU version of the requirement)
I think it is disingenous to compare USB-C to power plugs. USB-C does a million more things than power delivery and there is significantly more room for innovation.

>Nobody prevents any manufacturer to add additional charging ports.

Except for market demands of smaller phones.

My question to you is: would you have wanted micro-USB to be standardized like this?
But what about all that current traffic and media attention ?! So many views ! :)

ps. Pls, somebody, tell Elon to switch to 6/7, personally too...
I was wondering about the contents of the site sudonull.com - seemed a mixed bag, not a tech blog. Apparently it's translated repost from habr.com - both sites serve from different networks, so I'm not sure they're legitimately affiliated, but could very well be.

https://habr.com/ru/post/152056/

https://en.wikipedia.org/wiki/Habr
It is bad the same as in the English language. My experience is with the Marathi language. There is so much junk that it feels like I am searching for a needle in a haystack.
I have not grokked git — it hasn't been necessary to. Understanding some of the basics, knowing enough of the commands to run, and figuring out which StackOverflow answer applies to my current situation is good enough. If I have to spend too much time knowing its internals and delving into its philosophies, then it is not a useful tool that lets me get on with my tasks.
I have created a completely offline knowledge management tool that can connect to singilefile and store web pages with one click.

Once saved, it supports highlighting, full text search, and creating RSS feeds.

In addition to html, it also supports importing mthml, webarchive.

Thanks to singilefile, I don't need to develop a separate browser plugin.

Document:
https://hamsterbase.com/docs/integrations/singlefile.html
> Why would that be a problem at all? If a significant advance in charging connectors is made, they can simply amend the law.

The problem is if the law of 1 country is not amended then you have fragmentation. What does apple do? Change for 1 country and be fined in another? Not release in some countries? Have different devices?
There are many BASIC dialects with a small surface area. The one I use is PureBasic, however it is commercial.
https://www.economist.com/graphic-detail/2019/06/25/what-is-...

https://bmjopen.bmj.com/content/2/4/e000774

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7649209/

I could go on and on but I think I gave you a good starting point for your own research
It's been around since Office 95.
At the very least they can add an environmental tax on anything that is not coming with a removable battery.

Then we can stop tossing entire phones in the garbage.

I have a Pixel 5. The Pixel 7 isn't even an improvement to me. The fact that my battery is at 15% after the day is done means I am on my last year with the device.

I have a Nexus 6 with basically no battery to speak of but it works great still outside of that.

So for my second suggestion, if a company claims to be focused on climate change reduction, using a non-removable battery will double the tax.

All proceeds go to renewables for whatever state has the best(lowest) carbon footprint not yet at 0.

Let's see how long the "thinness" of the phone matters.
The random spaghetti of deployment scripts, the right JVM parameters that got derived from trial and error over time so things don't OOM, and what format the git tag should be for the CI branch are problems of ones own creation.

Operating a Kafka cluster doesn't make one an expert at anything. Zilch.

The site is still up and in a month or two Elon should cut another 90% of them and it will still be up.

Some people will have to live down the discovery that they were never essential workers but rather seat fillers.

https://en.wikipedia.org/wiki/Seat_filler
On the topic of recommendations, linking to one of my favourite short story of all time. I always get a slight shiver whenever I read it.

https://www.k-state.edu/english/baker/english320/Maugham-AS....
I'd argue the problem is a combination of citations and short-termism. We don't give researchers the space to do something novel, because institutions demand results in the short term. If you give someone a tangible, quantifiable demand A and a nebulous, low-priority demand B, they will spend nearly 100% of their time chasing A. Truly novel results can take months or years of hard focus; every grant proposal, teaching duty, and routine publication is a distraction.
Could lead to something bigger. Joe Strummer from The Clash was a gravedigger at one time.
What I find so amazing about this dumpsterfire is how easy the plan to maximize Twitter revenue would have been: fire 80-90% of developers over the next year and just optimize the system to reduce infrastructure costs by 95%. Be transparent, humane and not an asshole while doing this.

When you then have a leaner organization then you can go nuts.

Musk acted like an impatiant child, all the while being mostly right.
Why? He failed to make Twitter profitable for years.

If you look at Twitter, under Jack Dorsey, as what it provided, I can see the point. If you view Twitter as a business, it should have been allowed to fail years ago. Musk does seem to take the speed run approach to trimming down Twitter, with the risk of killing it altogether. Working for Twitter can't be a pleasant experience right now, but the employees where on borrowed time already.

I might be completely wrong, but my feeling is that in 5 years we'll look back and see Twitter as a novelty of the 2010s. See humor in an old ad with a Twitter handle on it, or watch a clip from a news show where they "jump to the Twitter comment" and remember that was a thing.

There is no good way out of this for Twitter. Regardless of what he actually paid, Musk vastly overpay for for the company. They've been burning a $1B a year for a decade, and now Musk is stuck with the bills for next year. It's not that I think he's doing a good job, but he has to do something. Otherwise he'll be burning hundreds of millions of dollars every year, keeping Twitter running, and that's after having wasted billions upfront.
> Name constants based on their role, not their values. If a constant does not have a role apart from its value, then it is unnecessary to define it as a constant.

This breaks the linter in most cases because "magic numbers". Like having to declare a constant for the number of cents in a euro/dollar.

I think Google are right in this case, and linters need to be smarter.
Rust in the 6.2 kernel
> The merge window for the 6.1 release brought in basic support for writing kernel code in Rust — with an emphasis on "basic". It is possible to create a "hello world" module for 6.1, but not much can be done beyond that. There is, however, a lot more Rust code for the kernel out there; it's just waiting for its turn to be reviewed and merged into the mainline. Miguel Ojeda has now posted the next round of Rust patches, adding to the support infrastructure in the kernel.
What else do you store besides movies and audio so that it becomes noticeble for you? I also use btrfs with zstd, but mainly see the difference for OS/apps files. Movies and audio don't compress as you noted, and code and scripts take tiny space anyway.
Too bad that what they are talking about is not crypto just regular tradfi ponzi schemers who happen to have chosen crypto for their next scam.
get in the habit of commiting every few lines you write, and before creating a pull-request(tm) use 'git rebase -i' and cleaning up into meaningfull bit sized history. move related changes togheter, remove (squash) things that didn't make it to the end, etc.

oh and never join any project that uses github and force squash-commits-on-pullrequest-merge. that is a sign that nobody there knows git or they don't care about code history.

edit: and yes, some rare times, rebase -i and moving things around will cause local conflicts. do not fear them. resolve and continue. it's all code you just wrote, should be easy and is part of the understanding process.
This assumes any vendor can use any port. But that's not true. Is it? Can Samsung adopt Lightning if they wanted to?
> It’s really hard to keep comments up to date as code is moved and refactored.

Hard disagree with this.

If your comment is so volatile then that really sounds like there's something architecturally wrong with the code.

Most of the time these kind of "comments" can be turned into either a test, or a extensive description that goes into version control.

Because commit messages are just that: a comment for a specific moment in time. There are lots of options to inline comments.
Similar experience here. I can watch it for 5 minutes and then it starts showing me slight variations of the same stuff. Plus a lot of plain bad content in the mix.

The only thing I enjoy about it is that I can see clips from longer format YouTube videos that if I like I can go watch later. Kind of like a movie trailer would do.
I wish YouTube would capitalize on that and make it easy to access the full video from the clip.
Emerge Tools (YC W21) is hiring to build the future of mobile development
Crypto. Twitter as an ad agency business has not much room to expand. You just have to look at the team EM assembled. EM himself was paypal founder. Many others on his investment teams are related to payment as well...even Jack has his square. Think about it, tweeter turn into like wechat with built in payment wallet especially crypto wallets managing like an exchange by a paypal founder who happen to have good access to government relationship. With expected tsunami of retrenchments coming especially for IT sectors, EM can afford to replace entire current Twitter engineers several time over - cheaper and more efficient. Most of those tweeters tech staff seems to be very obvilious of the incoming tech layoffs. FB along expected to let go about 30K (at least 2 more rounds in 2023). Google doing their 10K. Netflix and MS expected to hit that number as well before end of 2023. The labour market will be full of very good devs out of job. Can see that? When one is desperate with tons of bills to pay, no matter how much one despise EM, one will swallow the pride and work for him. Remember EM has access to vast amount of economic data (see who his friends are). He knows what is going on and how much leverage on his side vs entire tech community. It isnt lose-lose situation...mostly rank and yank situation done with maximum drama.
I've noticed that German speakers use the exclamation mark more liberally and it's used to indicate imperative mood, even though German verbs generally have a distinct imperative form.

You'll see this is common items like signs - "Keep off the grass!" or "Danger of electrocution!".

Over here, across the eastern German border, it's usually reserved for situations where you want to express frustration. People using it in the "enthusiastic" manner, that's apparently common in SV, come off as insincere.
No. But he took it from the proverbial garden shed to a global company.

I'm not a musk fan boy, but what he did with Tesla is impressive.

Compared to the company they were buying chassis from (lotus). If someone took lotus to the size of Tesla in less than 2 decades, would you not say that's impressive?

Starting a boutique sports car manufacturer is 'relatively' easy. Making a global car company, not so much.
They're pretty common in the SE of England, where I live.
Regardless of how you feel about crypto - and I admit to seeing some valuable use-cases, while being highly skeptical of the speculation - you gotta admit that these comments are prescient and also very funny. I sincerely hope I have that presence of mind at that age.
Short term, they’re paying those folks for the next three months to do nothing.

If the chaos drives away advertisers, as it seems to be, that isn’t great either.
If your program fails in testing, and no-one reads the logs, does it ever get fixed?

There is one advantage to not having a top-level catch: if it fails in testing, it's very obvious immediately.

Though I do agree with you - and this can be done with a feature flag for dev/prod servers.
I think this is a really interesting move, that, if Elon hadn't fucked things up so badly, could actually have a chance of making the acquisition work. I think that TikTok is a political issue and the government would like to (and IMO should) kill it because of the Chinese issue, but won't because they fear the user backlash. If Vine could gain enough of a user base to be a credible fallback option, then banning TikTok from the US market would be politically feasible, and Vine would be worth a fortune.
Worse than that; the Netflix figure is for _revenue_, not profit.
This is India, it can take quite a while for legislation to catch up. I recently saw a colleague's customs form for shipping household goods, and the list of itemized goods to declare included Walkmen, digitizers, personal electronic diaries, modems, dictaphones and floppy disks.
This phrase is deeply meaningful to me, and one that I’ve contemplated a lot.

When I find myself in the depths of frustration dealing with my screaming kids, remembering that I will die one day makes me grateful for every cry.

https://www.sophrocyne.com/p/memento-mori
"What disease is ayahuasca fighting off? And specifically what is the the clinical benefit of the vomit stage?"

I have heard people describe ayahuasca purging as getting rid of mental and/or physical toxins... as getting rid of depression, emotional/psychological baggage, medical maladies, etc..
EU is like %5 of the world population. Sure, it's a wealthier %5 but companies have different product lines all the time.

This year the US iPhone doesn't have a physical SIM tray. So if EU acts slow on adopting this amazing new charging port, the Americans and Japanese can have it and EU can wait.

It doesn't make much sense to keep having fragmentation now so that we don't risk a fragmentation in the future.
Separately,

> ... freedom of speech, it makes many liberals squirm.

I think this meme can be quickly disproved by looking at political subreddits. All right wing subs of which I'm aware have rules which filter out speech which does not toe the party line.

I find the reality of the freedom with which I am allowed to discuss my ideas in righty subs to be extremely hypocritical when they are supposedly all about "free speech."
It's apparently still par for the course in cheaper laptops, like having USB-C ports without Thunderbolt or without Display Port alt mode.

I'm more surprised Apple didn't just remove the connector from the cheaper models, claiming inductive charging and bluetooth are all anyone needs.
The Echo web framework is an interesting example of this [0]. By default it doesn't handle panics, but there is a configurable `Recover` middleware which does so. I agree though it's unusual, and this stuck out to me as an exception that proves the rule.

[0] https://echo.labstack.com/middleware/recover/
I feel like EU and India are missing the obvious here - Apple will just remove the ability to charge via cable, and create even more e-waste and waste energy.
If he goes in on crypto - which even Facebook couldn't touch - while the smoking crater of FTX is still being litigated? That's not going to work.
It's the USA why wouldn't he be able to just fire people? He gives them 3 month should be plenty enough
"Everything that is below one order of magnitude improvement is irrelevant"

Sheesh, calm down...
Security firms hijack New York trees to monitor private workforce
Wait 2 seconds while I edit that...
I thought this graph is just a visitor counter for the page?
What is the proper term of address for Saint Car?
They're the ones that quit when you tell them they have to go hardcore or take a severance package.
If only there was a way to put a second connector to the device.
Because Average Joe doesn't use virtualization at all, while Average Malicious Hacker would use it in a heartbeat if he can.
But the valuable use-cases could be solved using other methods efficiently.
Why is this a surprise? Don’t like the restrictions, vote with your feet and your money. The players are obviously comfortable taking the cash, and fifa certainly didn’t turn it down. Talk to me when the stadiums are empty or teams start dropping out. Or, even if they turn their payments over to some proper charity.
I don't know. I have listened to a lot of unholy radio, watched a lot of trash TV, played enormous amounts of the devil's rock and roll music and consume unfathomable hours of social media and in summary I feel I'm a better, more educated person as a result.
I always thought tech was used as the lever in a tech company..

Doesn't matter what you sell, or service you offer, but if you're leveraging technology to add large numbers of users with a marginal increase in cost, I see that as a tech company.

This generally means there is an internal focus on the technology itself as any improvement can have a direct link to a user's LTV.

But maybe I'm talking less tech company, and more tech led organisation..
The EU law explicitly includes a provision that it must be reviewed every few years to keep up with industry progress. It previously mandated Micro USB, and now it mandates USB-C.

It's not a law which says "the industry must use connector X", but a law which says "the industry must standardize on a single connector" - which is exactly what you seem to be asking for.
It is like for the web: the minimum interop requirement is the support of noscript/basic (x)html browsers, but it is perfectly ok to run on the side a full javascript GUI which will run in the few vanguard/blackrock massive web engines (aka blink/geeko/webkit detected via the user-agent http header).
Another good example is asking:
`ai ask "how to delete a file safely in linux"`

> Command is `shred -u /path/to/file`

A bit of a mix up between safely/securely
Thank you Tiger Lily for your insight into the world of apples.
Such as the process name in Linux for instance.
One of best features of TikTok is how easy it is to create your own content. You don't even have to think about it: just duplicate what another video is doing with exactly the same moves and exactly the same music. In that sense, it's definitely social media, since almost everyone on that platform is also a creator.
Probably related to my adhd but the tiktok algorithm works horrible for me. On a fresh account i was surprised how good some content was, but i am unable to get my eyes off videos i really hate or i am curious about an aspect of a video but would never want to see content like that again, after just 2 weeks the feed consisted only of content that i furiously hated and then deleted the app. I think its important to consciously do actions that train algorithms and i am quite sure there will be law that mandate this.
"A WAVE OF PEOPLE ARE RISING UP AGAINST THE LATEST..."

Article references three tweets from literal nobodies, each with under a dozen likes
Micro-USB was standardized like this. And the law included a clause that said it had to be reviewed regularly to keep up with industry progress - which is why it is now switching to USB-C.
That's basically the EU's requirement. Mobile phones get all the coverage, but the requirement covers mobile phones, tablets, digital cameras, headphones and headsets, handheld videogame consoles, portable speakers, e-readers, keyboards, mice, portable navigation systems, earbuds and laptops; as long as they are rechargeable via a wired cable that delivers up to 100w.
"It seems to me that it would be hard to get a repeatable dosage and combination of the active ingredients this way."

Not only that, different ayahuasca "shamen" tend to have different recipes for making it. There are no standardized dosages and no quality control beyond what the individual brewing it chooses (or not) to do.
And now they will start to roll out Mesh which may or may not overlap with Teams (and Skype/Lynx behind that)
Why do cemeteries have fences?

Because people are dying to get in!
I think you're dramatically underestimating the scope and scale of the problems Twitter had to solve. See the thread below for examples of the sort of solutions they had to build because open source or cloud-hosted solutions weren't available or viable.

https://mobile.twitter.com/danluu/status/1592774269733601281
>If a significant advance in charging connectors is made, they can simply amend the law.

How would the makers of these laws know this? How would you determine the quality of a connector if you do not have benchmarks like manufacturer adoption, market demand, longevity in the field?

What will effectively happen is that the USB implementers forum will become a state(s) sponsored organization with a monopoly on defining charging connectors. They will not have any competition, because any company which might want to compete has to first comvince the government(s) that their standard is superior, without being allowed to roll it out.
I'm not sure that the statements that a) there are bad actors in the space, and b) there will be a crash, are particularly insightful here. Both of these were predicted/expected by many, including many crypto supporters.

The key question is whether crypto will rebound. I would expect it to, particularly as governments move more into digital currencies.
So he did it to win Republican favour for a weapons program, by squandering everybody else's favour? That doesn't sound like a winning strategy.
I believe the idea is that 'panic' is considered something fatal. If it happens, the application should die unless you have a strong reason for it not to. If you can recover e.g. by returning HTTP 500 for a single request, it should be handled by returning errors up throughout the call stack, i.e., by error handling instead of panicking.

It's definitely an opinionated approach though.
It's not a real programming language tho
What? It has been in mesa for many months (I run a custom elf/linux distro for AMD hardware)? BTW, it is kind of big, complex and it is not cleanly compilable-out, some patches are still needed for that.
When I realized it's just a DAG and you're just manipulating a graph and pointers.

Then it just became a matter of mapping git CLI commands to how they manipulate the graph.