skysight-inc/HackerNews huggingface dataset:
I’m writing a series on how to understand golang if you’re an experienced TypeScript developer.

I’ve worked with several teams now who wanted to adopt Go for the backend, but the team’s only extensive type system experience is in TypeScript. They tended to hit very similar pitfalls and want to coerce the type system to behave like what they’re familiar with, and inevitably they wound up with inflexible and error-prone architecture.

They also failed to accomplish any kind of holistic, 30,000ft view architecture because implementations were too often sent off the rails by not understanding the language deeply enough. That was often in part due to type system confusion inherent to how Go implements certain data structures (particularly slices), which leads to the sprawling repetitive Go code people dislike so much.

I did all of this too, so I feel like my insight and experience would be valuable to share. I actually wrote 90% of it last year and felt like a goof, like, ahhh what am I doing obviously everyone else figured out Go faster than I did and this writing is just telling people how incompetent I am. Haha. But then I worked on another project and the situation was exactly the same. I actually used my draft content to help the team understand how I see the problem, and how to get past the mental traps that they were in.

Fundamentally it comes down to “learn the type system/language properly”, but it’s not quite so blatant or unhelpful. One of the problems with TypeScript methodologies is that they’re so ridiculously flexible, but go is not at all in the same ways, yet they have just enough superficially in common to trick you into thinking otherwise.

So, my series essentially elucidates the similarities, differences, and what’s totally absent in Go from the bottom to the top. It’s interesting because they really are remarkably similar in some ways, which is precisely why it can trip newcomers up. Knowing why that’s a trap makes you a far, far better Go developer. Along the way it also reveals details about TypeScript that some people might not be fully aware of (at least several in the team I shared the drafts with said so), which could be helpful.

I mostly need to muster the courage to hit publish now. My confidence has taken a beating in the last year or so!
Sorry, edited to clarify. I mean avoiding AI.

Mainly I use vim. But yes, sometimes I also use a traditional notepad with a soft ink pen. To avoid myself some screen time, because I'm out of home, or just to make some use of it.

I think the output flow is about the same using pen and paper than using vim, at least for me.

The original "By hand" did mean "without AI help/inspiration".
Some rough cost numbers of using this would be nice.
german speaking countries
Plenty? I'm aware of only two.
I think I just provided an example where it makes sense.

Specifically: I have confidence in your ability to execute on this task, but I want to check to make sure that everything is correct before we finalize.
Your parent is exaggerating. The admins from .ml are not persecuting anyone, not exposing anyone and not even kicking out the existing subscribers that are ok with following the rules of the instance. The "drama" is just that they were clear they are not interested in hosting NSFW content and are not interested in providing a space for the hentai/loli/furry crowd. They defederated from ani.social because ani.social communities were posting loli, and that was it.
The market leader who captured more than half of all smartwatch revenue shot themselves in the foot?

I don’t think Apple cares whether you activate the watch on cellular or not. The product doesn’t really need it.
Thank you this was very informative and helpful.

Another idea, taking advantage of the vastness of space and relative masses in another way. Rather than containing the gaseous material could you not vaporize a large amount of material and linearly accelerate it at the same time by a fixed amount. Maybe even a high powered laser could accomplish both at once without physical contact, or a laser combined with a magnetic field. The mass of the heavier metals will mean their ultimate velocity will be significantly less than the lighter ones. Over some distance they would condense back to liquid then solid but would have striated and continue to separate in distance as the relative velocities continues to pull them apart in distance. You could even do this by producing a pulsed beam of material moving towards earth from the mined asteroid. Closer to earth you would collect material in order of arrival and separating them into bins by expected relative arrival time by elemental mass. Would this not lead to a pretty refined mixture and require no physical contact?

To your point about the sublimation points being different slowly heating the material while applying force to the vapor would also increase the separation in space, and leaving some highly concentrated high vapor point platinum group residual alloy to be refined on earth - maybe this would be considerably less wasteful as you would capture everything at the collection point relatively separated with no exotic materials or centrifuges?
Given that another Verge article discusses running XP on an iPad using this tool, I wonder if it emulates enough PC hardware that one could run OpenBSD or Debian on it. That would be pretty cool paired with a Bluetooth keyboard!

https://www.theverge.com/2024/7/22/24200536/windows-xp-ipad-...
> Show me an example of an "open source server".

XMPP and Matrix services run open source software such as ejabberd
~~Unfortunately doesn't implement expand/contract vertical space (insert or remove vertical space).~~ Ages ago when I used a Toshiba tablet laptop to do math this was a real killer feature in xournal (https://xournal.sourceforge.net/ | https://xournalpp.github.io/)

Demonstration: https://youtu.be/uxFRWpY5o8k?t=299
That sounds cool, I'm also tinkering away on CS inspired things. lmk if you'd be keen to share notes.
Most peoples homes would count. Most people don’t enforce their governments laws on each other. They have their own moral code and logic that takes precedence over whatever the politicians have actually penned on paper.
This applies all the way down to machine code. It can be dangerous to branch on secret data or on unauthenticated data, at least if your threat model includes possible timing attacks.
the problem goes even deeper, execs chase short term profits and stock ticker bumps, that's the root cause in my opinion. You shouldn't prioritize security over the main business and profit, that was not my suggestion, but you should prioritize long term profits and reputation (ability to make even more profits in the long term), which is where security comes into play.

In other words, security is necessary for business. Just like how you would want your offices secured from burglars -- because otherwise you can't do business well -- you should want your digital assets secured from hackers, except unlike physical security, it isn't just local malicious actors and competitors after your business but intellectual property thieves, hacktivists, financially motivated cybergangs and more (not just nation state actors).

Failure to give proper priority and funding to cybersecurity, is failure to ensure conditions that make the company profitable and viable in the long term.
Thanks!

Do you know if customising Ublock Origin makes you more likely to stand out, and so easier to fingerprint ?
To be fair, it seems typical ceo behavior (gates, jobs, bezos) -- you don't become a billionaire by being nice.
He edited his comment to add that detail after I asked
Minimal blog platform. I'm creating one for myself but I'm making it generic enough that other people could fork it and make one for themselves. PHP and vanilla JS, as usual.
Fuck around and find out. If he legitimately ignored legal French documents forcing him to share information, as the French have declared, he's got got.

You don't step foot on a country with an extradition treaty, even less so the country itself, where you're flouting their warrants for your company's data.
“The master has failed more times than a novice has tried” rings true here.

I’m glad there’s companies out there trying things as opposed to doubling down on rent seeking (which apple also has a tendency to do)
I’m working on a lightweight tool that corrects grammar using an LLM: https://correctly.app
Aren’t they helping you in your goal?
It is government's role to protect speech, not to censor.
With all due respect what you said about Apple, etc could be applied to anyone on the top of the market cliff: if you are a huge hedge fund it is difficult, if no impossible to find a new opportunity in that scale, at least to "time the opportunity". AI, for example escaped all of them even when Google was the real innovator behind transformers. They will catch up for sure.

Regarding Sony, I really haven't studied them well. I know I have used many many Sony products since I was born and that the only product that I now use is the PS5. I also think culture plays its part there, thinking also about Nintendo. I don't know how desperate Sony really is to innovate now. They also produce movies and series though.
> I'll care about how they're thinking about it, how they react to my hints, how they act when they are stuck, if they ask for help or not, if they try to cover up what they don't know or that they made a mistake or are open and honest about it and treat it as an opportunity to learn, etc.

That's what you say, but in practice it's a guaranteed way to engage in discrimination at multiple levels using personal biases that are not present in a standardized test.
In a standard relational based databases, the suggested place to write relationships to Permify is sending the write request in database transaction of the client action: such as assigning the user as owner.

If the transaction fails, you should delete the malformed relation tuple from Permify to maintain consistency.

Here's an example of how this might look in code:

```

func CreateDocuments(db *gorm.DB) error {

tx := db.Begin()
defer func() {
if r := recover(); r != nil {
tx.Rollback()
// if transaction fails, then delete malformed relation tuple
permify.DeleteData(...)
}
}()

if err := tx.Error; err != nil {
return err
}

if err := tx.Create(docs).Error; err != nil {
tx.Rollback()
// if transaction fails, then delete malformed relation tuple
permify.DeleteData(...)
return err
}

// if transaction successful, write relation tuple to Permify
permify.WriteData(...)

return tx.Commit().Error

}

```

Although this is an anti-pattern, this approach ensures that if the transaction in the application database fails and is rolled back, the corresponding data in Permify is also deleted, preventing inconsistencies.
you earnestly think that is true of an american citizen in 2009?
Healthcare (in the US) is insanely expensive for physical health, often with insurance being “difficult”. Hence not sure why anyone would be surprised that mental health is similar.
> In the last 48 hours, Facebook also released a paper of it being excellent at RCA.

Do you have a link? The most recent information (not a paper) I could find was back in June: https://engineering.fb.com/2024/06/24/data-infrastructure/le...

This is the HN discussion to which you may be referring: https://news.ycombinator.com/item?id=41326039
War driving with a friend, meeting his lady friend where she waited tables at Denny's, and then meeting her roommate is how I met my wife
Show HN: llmio - Lightweight Python Library for Building LLM Agents
Hey HN!

llmio is a lightweight Python library for building LLM-based agents with ease without adding unneccessary bloat to your projects.

### Key Features:

- Lightweight: A minimalistic library that integrates seamlessly into your projects without adding unnecessary bulk.
- Type Annotation-Based Tooling: Define tools effortlessly using Python’s type annotations.
- Broad API Compatibility: Works out of the box with OpenAI, Azure, Google Gemini, AWS, and Huggingface APIs.
- Easy to Use: Designed to be user-friendly, with a simple and intuitive API.

Thanks to those who check it out, I'd love to hear your feedback
How big is a "big group chat" in your definition?

It's perfectly fine for a few thousand people
Yes, you are wrong. Let me explain. GP laid out his principle above: "If your app is known to be uses heavily by criminals ranging from Pedo's to drug dealers. You are liable."

He doesn't say that doing "jack shit" (not exactly a fleshed out legal term) will remove that liability, as you are suggesting.
I don't know why anyone would think a meh performing iGPU would encourage local LLM adoption at all? A 7B local model is already not going to match frontier models for many use cases - if you don't care about using a local model (don't have privacy or network concerns) then I'd argue you probably should use an API. If you care about using a capable local LLM comfortably, then you should get as powerful a dGPU as your power/dollar budget allows. Your best bang/buck atm will probably be Nvidia consumer Ada GPUs (or used Ampere models).

However, if for anyone that is looking to use a local model on a chip with the Radeon 890M:

- look into implementing (or waiting for) NPU support - XDNA2's 50 TOPS should provide more raw compute than the 890M for tensor math (w/ Block FP16)

- use a smaller, more appropriate model for your use case (3B's or smaller can fulfill most simple requests) and of course will be faster

- don't use long conversations - when your conversations start they will have 0 context and no prefill; no waiting for context

- use `cache_prompt` for bs=1 interactive use you can save input/generations to cache
After arresting Pavel Durov on specious charges yesterday? Seems more like protectionism with that context.
Without being too pedantic, MacOS was to Unix what ChromeOS/AndroidOS is to Linux so I stand by my comment.
Telegram started 11 years ago. I know the term has been diluted for ages, but it still rubs me the wrong way to use the word startup for decade old businesses.
Practically 100% of children will have "dangerous exposure to actual pathogens" multiple times before they turn 20.

If parents only get a choice as to when, I think nearly all would choose for them to be exposed younger and before the critical high school/college years, when the stakes are much higher.
Agreed. There's a lot of therapy that used to be addressed via talking an issue out w/ friends/partners/family/church, or other built in cultural institutions. There's a lot of therapy that our in person social networks should be doing (and we should be giving). As we become more lonely and our social institutions fall, it opens the door for the therapization of our modern culture, which seems like a bandaid on a deeper problem. This isn't to admonish therapy, but ideally it should probably be for more severe issues.
Still a bs argument. 1890s, terrorists takes a mule to the assassination. 1920s, terrorist drives a car to the assassination, and now we deem henry ford liable because of it.
Not to dismiss your work but this is the worse type of videos like these. I hate when people get a genuine funny video and add reactions to it; or a interesting video and people insert them commenting on top of it.
Astronomers work with SpaceX on Starlink satellites radio telescope interference
I agree that all the examples you've given would be welcomed by users, but I highly, highly doubt that the crowd that accuses Apple of stagnating when it comes to innovation would be impressed with more "sustainable" tech, for example. Many of the examples you've given (better integration with Android, better batteries) have nothing to do with tech but are clearly deliberate business decisions by Apple.
I am working on rss reader / web scraper

https://github.com/rumca-js/Django-link-archive
Running open source software != "Open source server"
Literally: it's an ever-so-slightly more immersive Assassin Creed 2. I mean, great, but worth spending a grand? Probably not.
Wow, 5 years later and what have they actually accomplished? Look at the milestones section: https://gaia-x.eu/what-is-gaia-x/about-gaia-x/
Meanwhile Jihadists roam the streets stabbing people in the neck let in by Politicians the West needs people because of Demographics etc. Should those Politicians be held responsible for the actions of people they let in? Equal standards should apply should they not?
I think measles parties are hold over from before the advent of the measles vaccine (early 1970s). Now that we have a vaccine for it, the vaccine is vastly superior for many reasons.

https://www.phind.com/search?cache=va2btahy5d5gjx0ejd888ue5

https://historyofvaccines.org/history/measles/timeline
Channels were meant to be public. No-one ever claimed encryption for channels since it is nonsense.

You claim that only secret chats are encrypted in telegram, which is straight not true. You can pull up a link to public channel and everyone can preview the posts, that's obvious. You cannot do the same trick with group chats because they are private and encrypted using MTProto
There was a recent gang related case in Georgia where several defense lawyers were charged for being a little too involved.
What about exchanging paper one time pads? We ought to go after the paper mill for not securing their product by this logic.
It's not a recruitment problem (military side), it's a retention problem. Civilian side has both problems.

Overall, the DoD cyber roles sit around a 75% fill rate. So yeah, they're having trouble filling those roles.

"Pardon my French, but that's bullshit. Only the newly created Cyber Warfare Officer in the Marines is at O-5"

Lol is it bullshit if you're acknowledging that it's happening?
mirror https://google.com/search?q=cache:https://www.newscientist.c...

> In 2023 and 2024, SpaceX worked with the US National Science Foundation’s National Radio Astronomy Observatory (NRAO) to demonstrate a potential solution: Starlink satellites could temporarily redirect or switch off their downlink transmissions while moving through the line of sight of an active radio telescope.
Amendment 3: Will pot legalization spark a stoned driving epidemic in Florida?
A better solution would be a secure mailbox for parcels.
Use pipewire instead of pulseaudio. Much better.
For the non engineer, what's the difference?
I will go even further than that. Talk therapy is the scam of the 2000s.
The trickle that brought what we call therapeutic language into everyday life, the constant references to the narcissism of a partner who, if we are honest, had the great fault of just not wanting us anymore, the masochistic lingering over traumas that are nothing more than everyday life, the safe spaces, the escape from responsibilities that should be ours but we have been taught to assign to society, has had disastrous effects on human relations and also on political discourse.

On top of that, I have rarely, if ever, found people participating in talk therapy getting better. If it were a pill, no honest doctor would prescribe it.
I wonder how much of it is how, for adults who already understand phonics, teaching it can being repetitive and monotonous. Three cueing offered a teaching theory where kids all sat around with a book with very little teacher intervention.
As I hinted at earlier Signal does not have this issue because generally they are not aware of the underlying content. Even if Signal becomes aware of said content, it likely isn't hosted on their servers anymore as their store and forward system is highly transient. The most signal could do is be compelled to block specific users and maybe shutdown certain groups (not sure on that last one, would have to review the group architecture)
Tangential question what's a good group site these days?
No, I’d rather people just not be assholes but some are simply incapable of it.

I’d note you’re responding in a thread about asteroid mining becoming more attainable, at a time of large language models in the last two years being able to remarkably emulate natural language beyond anything dreamed of three years ago, with low earth orbit lift a commodity orders of magnitude cheaper as we work towards a moon base, in the final stages of preparing an interplanetary starship built by a privately owned company whose owner wants to personally colonize another planet, while humans are only years away from potentially being redundant at driving (and possibly many white collar professions)… and none of that was made possible by people with no ability to imagine a future like yourself. Enjoy your petty and cynical existence of insulting people on the internet while the rest of us make the future you were promised despite you.
I removed the finger-printing from my browser with degoogle: https://github.com/tycrek/degoogle - Alternatives to google/other big platforms. Firefox addons at the top.

I scream this and my love for Linux from the rooftops, hoping other people show the love for the internet and things like I do and don't put up with the exploitation. It's _OUR_ psychyes and their psychological manipulation, and our future generations they're going after.

And you can check your fingerprints with: https://coveryourtracks.eff.org/ that has a adtrack company that openly shows how it fingerprints you, with WebGL, canvas'ing, timestamps.

I have the random timestamp addon, random user-agents, canvas blocker, exfil data, Ublock origin. The 0.0.0.0 day 'Port Scanner' -> https://github.com/garywill/LAN-port-scan-forbidder

Yeah, they can use JS to ping stuff on our LANs to fingerprint too.

It's an internet hellscape out there.

Most people don't care. I do.
Kitchen and Garden stuff over here.
Just downloaded! I’ve been using Strong for a while to seems to take some inspiration from that. Thanks!
Do you compete in some kind of a niche? There is OVH in EU.
he has to disclose his company's location, where they are paying taxes, probably how much money they are making, which makes it far from "stateless, not tied to any particular country". Through that, he also is forced to comply with local laws that Apple plays by, or get kicked out of those countries iPhones', or the App Store entirely. Apple can and does take that action by requests from local governments, e.g. remove a gay dating app from Turkey's app store by the government request.
Entirely trackable
Because the telcos _cooperate_ with law enforcement.

It's not whether the platform is being used for illegal activity (all platforms are to some extent, as your facile comment shows). It's whether the operator of a platform actively avoids cooperating with LE to stop that activity once found.
so which country doesnt dubai and uae extradite to?
I’d chip in towards defending the lawsuit if they wanted to crowdfund.
You‘re lucky! Not only has OP been posting that for a while already but dang is also supportive of it.

https://news.ycombinator.com/submitted?id=david927
Cognitive behavioral therapy, the most common type of “talk therapy” these days, shows effectiveness on par with medications in a broad range of studies with good methodology.

It is important to remember that anecdotes are not data.
keys, backdoors, lies (e.g., in the past, people were kill based on metadata alone--technically, no actual conversations' content is necessary).
Perhaps someone else would not have been surprised in my shoes.

But, rightly or wrongly, reading my health insurance documentation feels to me like staring into the abyss. Indeed, I admit that the expression "clearly stated" provokes exactly the sort of dread I'm describing; it feels like the sort of thing a hospital or insurance company would say while sticking me with a massive unexpected bill.

Whether my reaction is reasonable or not, I can't say, but I do feel deep empathy for the therapists out there who balk at dealing with insurance companies.
> the owner renting his apartment and not caring what people do inside it, which is not illegal

Problem is if you know what these people do inside it and you don't do anything about it.
I thought emulator is free....but it costs $0.99. Is that even legal? Charging for emulating software that is not your.