skysight-inc/HackerNews huggingface dataset:
yes but also no,

In some situations "optimizing smart pointers" to just be a single pointer size (Box<[T; N]>) instead of two pointer sizes (Box<[T]>) or instead of three pointer sizes (Vec<T>) can make a difference.

For example it can make a difference between passing values per register or per stack in some situations.

Or it could make the difference of how many instances of the boxed slice fit efficiently into the stack part of a smallvec. Which if it's the difference between the most common number fitting or not fitting can make a noticeable difference.

Through for a lot of fields of programming you likely won't opt. to do such optimizations as there are more important things to do/better things to spend time optimizing at. But then for some fields where C++ is currently very prevalent it might matter all the time.
I guess, if you buy the premise that cash flow is problem number one and the company needs a significant pivot, then going into crunch-mode and trying to turn the ship as quickly as possible (at the cost of technical and, uh, sleep debt) is a reasonable solution. Maybe not the best, but reasonable.

But it's pretty transparent that the cash flow problem is pretty much a problem because the new owner doesn't really want to own Twitter, or believe it can pay for itself; he wants to own a different product which has as many users as Twitter did. No judgement here, I don't necessarily think he's wrong. But why as an employee would I feel obligated to make his choices my problem?
Others have given some good answers already, but I'll add one more: PDF is all about creating a final layout, but given a final layout, there are an infinite number of inputs that could have produced it, but if you are parsing the PDF, most of the time you are trying to get back something higher level than e.g. a command to draw a single character at some X,Y location. But many PDFs in the wild were not generated with that type of semantic extraction in mind, so you have to sort of fudge things to get what you want, and that's where it becomes complex and crazy.

For example, I once had to try to parse PDF invoices generated by some legacy system, and at the bottom was a line that read something like, "Total: $32.56". But in the PDF there was an instruction to write out the string "Total:" and a separate one to write out the amount string, but there was nothing in the PDF itself that correlated the two in any way at all (they didn't appear anywhere close to either other in the page's hierarchy, they weren't at a fixed set of coordinates, etc, etc.).
people will just flee to other social media. Twitter dying changes nothing
Would you consider Labview [1] node based ui?

[1]https://www.ni.com/en-ca/shop/labview.html
10% of Twitter’s engineers is much closer to 150 than 700. The majority of twitters employees were not engineers.
Not the creator of this video, but is an excellent critique of the current state of Zuck's "Metaverse"
It probably IS expensive to host because it’s written in a language no one uses without an optimizing compiler, and apprently most of the “db” is flatfiles on disk, some of which get read on every request.
I'm not really arguing for one way or the other, just pointing out the reality of working with lots of people means lots of opinions on how to do things, so it's never that straightforward to get things done. It's just a fact of life.

And yeah, I've been in those long discussions too about frameworks and linting rules. It can often turn into just egos trying to win and less about doing what's right or expedient for the team.
Seems like the easiest solution is to just make them real email domains and have them forward to your main one. With fastmail I just have all of my domains forwarding to one inbox and I send from one particular one.
You’re absolutely right for any small group of people, but if 88 percent of employees are gone(and you’re right that’s a big if right now) I don’t think there’s a precedent for this?
The submarine/rescue situation should've clued many more people into his capricious, reckless nature, but yet many persisted.

This country has a serious problem with platforming and idolizing narcissists and non-violent psychopaths and it needs to stop. Sh*t-shows like this hopefully have a chance of showing everyone that these monsters don't deserve our adulation.
Define your goals in networking. Get more specific with whom you want to meet and why.

Find out where those people are spending time online and IRL. Determine how closely you are connected to them and if anyone you know can make an introduction.

Go to conferences and do your best to have quality conversations with several people.

Create content for the kind of people you want to meet.
I was making a service that's half public hosted, and half on tsnet https://tailscale.com/blog/tsnet-virtual-private-services/ server the other day, and this is exactly what I was looking for.

Having an app that can setup its own completely secure networking no matter where it's run is game changing, as soon as I get into the alpha, the Cloudflare tunnel it's on right now is going down!
… or Tencent …
You know the butterfly effect where one small decision affects tens of thousands of other things? That must have been the day that things were going to well at Tesla, record profits, etc, that Musk got bored and decided he only likes to work under unbearable pressure. So, he made a couple of insulting tweets and now here we are.

I really can't believe he didn't put any escape clauses in his contract, no due dilligence, etc. I think he's very smart in general but this mistake is pretty much colossal in size.

Immediately starts by threatening advertisers, retweets that story about Pelosi's husband, fires people (probably needed to be done) and then this crazy scheme.

The problem as someone else mentioned is that for Tesla and SpaceX those were really the only two places where you could work if you wanted to do electric cars or space stuff. So they attracted very dedicated people.

Twitter is just web dev stuff and these people can work anywhere. It's not a great time to look for a job but when you get a lot of middle aged people who don't necessarily want to upend their life for their job especially when it was extremely cushy before, well, it's bound to be a problem.

I do think he'll probably pull this off but it's gonna be a pretty miserable road.
Twitter (DM's open) and Linkedin added!
Also not fall prey of FOMO. During the next trillion years We are going to miss out on stuff that is undoubtly much cooler than what we have during our lifespan.

So dom’t fall prey of cruise FOMO or any type of FOMO.

If you can go, great! If you cant, then remember to put it in perspective compared to trip to the Andromeda Galaxy you’ll miss
for sure!
Ahh, yeah; disregard me, totally can. Cool!
Damn skippy! Good luck Wonnk13! "Get after it because you never know when your time is up" is the most important life skill to learn. I didn't really believe it until my dad broke his back and was paralyzed just as he was retiring. Then after he recovered from back surgery and rehab they found a brain tumor, and he never recovered from that. After he died my mom was diagnosed with stage 4 colon cancer. My parents were farmers who always said they would wait until retirement to enjoy life, travel, etc. Well, f that noise; it's a trap! You can still work hard if that's what you want, but make it count everybody. Don't put things off. Just don't.
I’ve done a bit of PDF wrangling in Python, so figured I’d describe the lay of the land.

PyPDF [1] is great for reading and writing PDF files, especially dealing with pages, but it’s not great for generating paths, shapes, graphics, etc.

However, reportlab [2] has a great API for generating those things, but is lacking in the file IO and page management department. But the content streams it generates can be plugged into PyPDF pretty easily.

Finally, there’s pdfplumber which does an amazing job of parsing tabular data from PDF structures, and pytesseract which can perform OCR on PDFs that are actually just image data rather than structured data.

There’s not really a one-stop-shop for PDFs, but some pretty good tools that can be combined to get the job done.

Will be curious to see how this project develops!

[1] https://pypi.org/project/PyPDF2/

[2] https://pypi.org/project/reportlab/
GOV.UK has similar recommendations since 2016: https://www.gov.uk/guidance/protect-domains-that-dont-send-e...
>> Ah yes, the guys who makes 6,474 times the median Amazon employee’s salary is going to lay off a bunch of people doing actual work to cut costs

Yeah. That's what I would do too if I was the CEO of Amazon.

What would you do differently?
You still need residency for your income. In this case, it'll probably be the USA unless you can convince the IRS otherwise.
The rumor is something like 75%, which would definitely explain the panic actions. This also means they don't have to specifically cut off badges for laid off people, it gives them time to decide who's actually gone.
Calling you out for lazy work. Teaching you how to use internal tools, company coding standards, suggesting better patterns, digging deep in to the context of system design and maintainability, suggesting other domain experts to tag in the reviews. I learned all sorts of Hack things that obviously I wouldn't learn outside from code reviews.
Physical copy degrades over time and can be destroyed or lost.
Download can't.
I'm glad he's having fun /s
Yes good meme macros too. I left a few in my wake.
I've been using tailscale in my home setup for a while and really appreciate the simplicity. It has just worked in my experience. Before taking the leap for tailscale I was semi-struggling with a vault + wireguard + consul-template approach which was pretty cool and fun to setup but a bit unnerving to be unsure if I got anything wrong and the chances of me being exposed.

This looks like yet another feature that fits my use case and reduces my security burden. Though learning a few things from this post the first being that I should have replaced my use of haproxy with rinetd ages ago. The other about Certificate Transparency logging. Still going through the wiki pages to understand how that works, but would it really log an event such as Tailscale terminating the request, dumping the data, and re-encrypting them before sending us the request? Or is it possible for a bad actor to hide the logging?
And how exactly the taxes are being dodged? All those millions in RSUs are still taxed as an ordinary income when they vest.
"Angry?" Sheesh...

Meta employees got gold-plated severance packages. The complainers have other issues than the layoff.

> For those who lost their job in the United States, Meta said it would pay severance of 16 weeks of their base pay, along with two additional weeks for every year they worked at the company. Laid-off workers and their families will have health care paid for six months. [0]

[0] https://www.nytimes.com/2022/11/09/technology/meta-layoffs-f...
No, it’s the “fuck off”
Honestly if it needed to be done, it was kind to do it before the holidays with the generous severance. I think a lot of these folks might FIRE or otherwise start down a different path. I don’t know how Amazon is doing this right during their peak sales and logistics season.
have you checked https://keygen.sh/, yoyll get ideas there
If I CNAME my domain to my assigned ts.net then I'm guessing funnel won't work because of the SNI lookup will it? Is that on the radar? Right now I'm using cloudflared but if I can get rid of it in favor of this that would be one less daemon to worry about. Wouldn't be able to do esni though. sooo, how about a vanity .ts.net I get to choose?
The death of the key change
It is a little strange that I have seen almost no Twitter stories on the front page in the last week. Has dang or anyone talked about why that might be? Is it getting caught in the flamewar algorithm? Are they treating this as one big story so any individual article gets removed as a repost?
Twitter isn't going anywhere because of two critical facts: a) attention whores and rage/doom scroll addicts b) Those people can easily find each other and talk to each other.

Mastodon and Activitypub decentralize which means it is a lot harder to proverbialy whore yourself to the attention of the masses and and those attention whores (politicians, journalists,etc... not just celebrities and influencers) can't have the same reach with them or with truth social and other copycats of twitter.

Mastodon should have let server operators flag other servers but not refuse federation with them, letting users decide if they want to avoid content from trash servers but of course user moderarion by server operators is fine. Also, like many ideology-first solutions, it catered to small disconnected communities. It should have created corporation separate from the main project that hosts a public mastodon server that directly competes with other social media (and ffs, it's 2022, no more email for anything!).

On that note, Matrix can replace twitter and a lot more if they weren't chasing seemingly random features. Not just twitter but email also can be replaced by matrix, the api amd federates architecture allows for it.

If I was Kelon (Karen elon), I would compete with tiktok, timing is great with all the talks of banning it. They mercilessly murdered Vine back in the day as they did Periscope. Those are the types of features where you can charge content creators for content types and for advertising in people's timelines. They made those separate products instead of part of the regular twitter experience. Also, be less crass about it and charge for award tokens like reddit instead of upfront cash and high priced awards make it to the top of the reply chain.

I don't blog so let me know what you all think lol.
There is the python library ocrmypdf https://ocrmypdf.readthedocs.io/en/latest/ that works really well. I have found the results comparable to Adobe in accuracy.

I believe it uses tesseract, ghostscript and some other libraries.

Speaking of ghostscript, one way to deal with problematic PDFs is to print them to file and deal with the result instead.
I get you don't really understand well how these things work. I suggest you don't give advice in this area. Some people will find themselves in trouble because of it.
Unfortunately, hypocrisy is possible.

One interesting thing I heard recently was this idea that even in communities of the most rusted on free speech absolutists, there's still a recognition that spam and flooding are not acceptable - and the question is, why?

It's totally possible to believe that unrestricted free speech is the best policy and to also not implement that policy.
That chart shows github stars over the years, from 2019 to the 2022.
How safe is ayahuasca? Large-scale study explores
This feels like someone saying: I don’t need a car with a roof, why doesn’t everyone just drive a go kart around?
If you are unsure whether you will be fired, just assume you will and consider this time as a paid job search.
I were a manager who chose to stay (i.e., bought into "hardcore"), I would honestly report that to my manager. I can only speculate on what Elon would want to do in that situation, but I could imagine it might be "fire them, see if the work is really essential, and backfill with someone hardcore".

As an aside, Twitter IMO has always been a dumpster fire, so it's amusing to see the media venting all their Elon hate, acting as if he's some incompetent wacko who knows nothing about how to run a business. Meanwhile actual criminal frauds in the crypto space are still getting adulatory press in the NYT. Where's the real "dumpster fire"?
IMO, it really depends what teams they are from. If you lost 88% of your engineers then that would be a big problem, I just don't think that will be correct. I'm sure for people that were deemed indispensable at the moment were offered more money to stay on. That is something I've seen elsewhere during massive reorgs. I could be wrong; I can't speak for Elon. He seems like a loose cannon at times, but I don't think he's making all the decisions alone.

I saw an article backtracking on some things reported, with Twitter being a lot more flexible with people deemed "essential," which lends itself to my general view.
>Going "hardcore" on things can be fun, at the right time in your life, for the right reasons, with the right people.

And for the right financial upside. I completely understand going hardcore at a startup in which you have equity. But hasn't Twitter going private removed a lot of the incentive for employees? What is the upside for a Twitter engineer dedicating themselves to the company? Making one of the richest people on the planet slightly richer?
I do not think it’s virtuous to pointlessly hurt yourself, nor to allow other people to do so.

Though I guess he doesn’t see it like that. If he just likes the experience of seeing his bank account number go up in the cold, then he should probably continue doing so.
Computers are fast. This isn't a particularly demanding workload; pages for users that aren't logged in are cached, and there probably aren't a ton of people logged in.

Last time I looked, Let's Encrypt had one big beefy Postgres database to issue pretty much every single TLS certificate on the Internet. Computers are fast.
Why Elon insists on actually running a company? He should hire competent people and stick to PR/bullshit thing. It works wonders in his other ventures, mostly. And no, competent doesn't mean Kimbal.
Association between Vitamin D supplementation and Covid infection and mortality
I know this is likely a case of "you know what I meant," but there already is a PDF 2.0: https://www.pdfa.org/resource/iso-32000-pdf/
I highly doubt a shady overseas consultancy is a viable replacement for things like infrastructure, engineering, UX and product design, etc. Maybe he can cut costs as far as moderators, but I don't believe it's possible to reduce a company like Twitter by 80–90% and maintain service and product quality.

I don't see how he gets out of this, honestly. Even if he appoints a CEO with actual social skills, it's hard for me to imagine that anyone would want to work for a company that he has any influence over.

The last company I saw implode like this was named Enron.
Yup, and to do that, he'll have to go right back to the mainstream moderation he loathes, as advertisers won't pay for even uncertainty (nevermind a hellscape), and the right-wing market won't pay and already has several sunken or underwater competitors.
> resign in protest

That a pretty favorable reading of what happened, so much so that I’d argue it’s downright disingenuous. Telling people the have to agree to -working long days, nights, and weekends, all in-person, for the same salary or if they do nothing they will get 3 months severance and be let go isn’t “resigning in protest”.

The company (Elon) wanted to renegotiate terms of employment and the people that said “yeah, no” aren’t resigning in protest, they are leaving a (soon to be if it’s not already) toxic environment. It’s hard to call it resigning when the ceo gives an ultimatum like that.
That sounds like a slightly different problem. Unison looks like any function can transparently cross network boundaries versus the efficient scheduling and dispatching of concurrent rpcs.
Thish can only be interpreted ash more evidencshe that we need to abolish crapitalishm long shniff
I believe there are regulations that say a 100 Wh battery is the Max you can take on an airplane(in the US).

That’s what’s setting the glass ceiling here to 99Wh.
See also: LTE, UMTS, SMS, MMS, HDMI, DisplayPort and many others.

Protocols that allow any* vendor to build a device that talks with other devices instead of demanding that you can only talk to a single brand.
It's the pure libertarian, laissez-faire market. If you got ripped off, it's an act of darwininan natural selection. Of course, those who say this consider themselves top of the food chain, and that they themselves will not fall (after all, they consider themselves somehow superior, capable of surviving in such conditions - and any gov't or societal regulation is only hindering them).
This blame game again. Look, the universe is a deterministic machine. SBF or his mom and dad are no more to blame than you were when you accidentally squashed a bug walking this morning! Should we start taking everyone to account for their actions? Where will this end?
Boring Company and the absurd outcome of the Tesla tunnel in Las Vegas were other clear warning signs.
I think the key is that most politicians (and honestly, just about everyone still of working age) haven't been in an economic environment like this one- not since the early 1980's four decades ago. Everyone today grew up in a low-to-zero interest rate environment with low inflation. Argentina- the international borrower most famous for defaulting- has, over the past 21 years alone, defaulted 4 times (2020, 2014, 2005, and 2001)- a total of 9 times since they got independence in 1816. And yet, after the 2014 and 2020 defaults they were issuing debt on the global market at reasonable, normal, non-penalty rates within a short period of time. That was because the overall bond market was so low that investors were desperate for yield, hence Argentina's bond issuance got over-subscribed and so they didn't have to pay much of a penalty.

If the current high-inflation, high interest rate environment sticks around, a whole lot of things are going to end up very different, because the bond investors won't be so desperate for yield and so there will be a penalty for disrespecting the bond market. If it doesn't stick around (which seems to be the current aggregated guess of the bond market) then this will be a brief blip. Trillions of dollars rest on the answer to that question.
Not as of this moment, no.
Anything stopping us from just creating a CNAME to our tailnet domain and registering certs for it instead of whatever.ts.net? This seems like it should work in my head...
Good question. It's not really about the war, it's more its negative perception of LGBT+ (https://en.wikipedia.org/wiki/Russian_gay_propaganda_law). This is not speculative, it is currently applicable to children, and as of this comment the Duma is working to expand this to even adults.

Also, generally information critical to the government, information on suicide, information on banned substances (this is the official reason why the Russian Wikipedia is banned), and information on making bombs and adjacent terror-related devices is also controlled, but I believe Z-library (and LibGen) don't host much of it.
There is a command line utility (pdf2text) that will also parse the pdf to an XML tree and you can query with XPaths. I found it works well.

https://pdfminersix.readthedocs.io/en/latest/reference/comma...
I don't think anything like this has ever happened before to a system with this scale, so who can say? But just as an engineer at another company that probably has a vaguely similar architecture it's certainly in a place of extreme risk. It just depends on if they can get people in place to hold together the critical services. Also things are much more likely to break it they start trying to change things, it will take longer for a problem to happen if there is little new feature work.
Also with a team so small you can't afford wasting it on meetings.

You might need focus, i.e. non-meeting days, 3 days a week.
Actually tech was a good example of an industry that distributes wealth around. Without high salaries that money would have sat idle in big pockets. I imagine a ton of gardeners, mechanics, restaurant workers, travel industry workers, will be affected by revenue lost from software engineers not working or not being paid what some people think is a high remuneration.

Anyway not to worry. Software is complex. If the industry is not paying well then it will be difficult to attract smart people to deal with all that complexity. Lower pay, less smart people, less competitiveness, less revenue for us companies. Simple as.