skysight-inc/HackerNews huggingface dataset:
> I found the Magsafe adapter cords would fray, corrode, and blacken pretty easily, becoming a fire hazard. Every Macbook I owned, I would need at least one replacement over a 3 year period.

My Magsafe power supply is a decade old, and except for being dirty has no problems.

You've repeated it a couple of times in this thread, and this doesn't hold up.

1. The cord is standard plastic sheathing: how does that fray?

2. Are you in a damp atmosphere for it to corrode?

3. You don't qualify what "blackening" is. Do you mean become dirty, or burnt?
I bought a USB-C to alighting adapter for my phone, got USB-C Sony wireless headphones, and a couple USB-C adapters for my regular USB 3 devices. Kept all my Thunderbolt peripherals (bought a TB2->3 adapter), and a hub and a video adapter or two (HDMI and Display Port)

$200 later I’m happy but when I use my old 2013 MBP I feel kind of slighted.
The Paradox of Ambition
Po-po definitely not always bad, but there is damning evidence of their false-flag interference in this particular protest.
What are the concepts you have trouble with?
It's quite different. In SpaceChem the space is limited, the number of instructions is limited (because the instructions share the physical space), and you can only have 2 parallel operations.

Opus magnum has an unlimited space, unlimited instructions, and unlimited parallel operations.

The similarity is just that they're both about linking elements to form shapes.
It is currently not possible to donate directly to Rust development. Those Patreons are the closest thing.
What is the use case for tripping over your laptop charger cable?

I just can’t see myself having to do that very frequently, but I definitely remember the constant struggle that was keeping the magsafe cable plugged in.
LibreSSL worked hard to add a few additional ciphers before OpenSSL.

BoringSSL implemented TLSv1.3 years before OpenSSL did.
I can definitely talk about how we did it - maybe see if we can get something up on our blog.

Our current approach-du-jure uses callback handles in combination with channels to let the ffi code trigger a real rust future's completion. This has worked reasonably well, but I'm sure we'll experiment with a few other patterns.

We don't specifically interface with Java Futures (no particular reason other than it hasn't seemed necessary to add that complexity), but that would be a pretty cool library to build on top of the existing Rust jni crate.

One thing I'd like to pass by the Rust community is our internal "teleporter" that allows you to borrow an object mutably on one thread and then "teleport" an immutable ref to that object to any other thread using only a u64 handle (with obviously huge unsafe flags). This has been very handy for some of our async ffi work.

I'm hoping to get a few more Rustaceans onboard (aggressively hiring!) over the next few months so we can focus more deeply on some of these interesting problems.
I would know it was theft. I would assume it was right relative to the goals of the thief, albeit not myself, or the statutory codes. Right is a measure of social validation, or ideological compliance. (Both of which are transmitted via oral tradition)

I agree that oral tradition is not a good basis to base principles on, lol. Welcome to my world.
FYI, training - make model out of training dataset and a predefined architecture. Inference - use model for predictions/classifications. Usually training runs in FP32 or mixed-mode FP16/FP32, inference can be often used in FP8/FP16 after model pruning and normalization. Nothing to do with probabilistic inference, PGM etc. All it tells you there are some tensor cores running fast with low precision and some are now super popular like Tesla T4. For Bayesian inference you might be forced to use super expensive FP64 cards instead, as logarithm sums and small multiplications can get ugly pretty fast in FP32.
Can anyone recommend an http/rest api framework for Rust? I'd love to look at using it, last checked a couple of years ago and I don't remember finding anything that looked particularly stable / production ready.
There's a big movement in the Web community to move everything to JavaScript. Js on the server side with Node, html generated by Javascript, and the latest trend CSS-in-js.

On one hand, this can be argued as centralizing on one technology that will reduce long term cost because the operational stack around it can be reused: tests, build tools, deployment. However it very much can be seen as adding another technology to manage since it's adding a shiny new library to maintain with all the bugs and kinks along the way.
I don't understand why credit card networks (and banks in general) haven't stepped up their game with regards to micropayments (say, under $5). The marginal cost of any transaction is insignificant, and would be outweighed even by penny fees. Even if it required some extra steps for the vendor to become authorized to accept micropayments, and even with strict requirements around the number or total value of transactions a single card can be used with a single vendor during a time period, I think it could still work in everyone's favour.

One of the biggest fees on micropayments are the fixed transaction fees. Stripe is currently 27‰ + 5¢, which on a $1 transaction is nearly 8%! If those fixed fees could be made to go away for low-cost transactions, micropayments would work within the current system. Most people can accept 3% overhead, but most won't accept 8%.

It just seems like the entire problem is manufactured and not really an issue that can be solved until the banking systems just decided to solve it by changing their policies. I'm not even proposing a technical fix, it really seems to be a problem entirely with the current policies.

Edit: yes, I understand that Stripe is a gateway and processor, not an issuer or network, and that banks are often issures, but not the network. Yes, I understand that cards each have their own interchange rates, but many gateways like stripe have been just "averaging" them to provide low-volume retailers a fixed, predicable coat per transaction. I'm just saying that if the networks. E.g. Visa or MasterCard (or even discover or Amex despite being much smaller) could change their policies and requirements regarding fees for low volume transactions to remove fixed fees, and the vast majority of the issue with micropayments would be solved. I trust that the major payment gateways and browsers could work out a protocol to make use credit-card based micropayments very quickly and in a way that doesn't require additional third parties, beyond the payment gateway chosen by the person accepting the micropayment.
> Can you define often?

It doesn't matter. It could be 1 out of every million hits, but it's still a source of malware. Most of us don't upgrade to the latest browser version the minute it's released, which makes us vulnerable.

> ads network is a good vector but so is Hacker News

Uhh... what are you talking about? HN has minimal JS, and they wrote it. Some ad networks are injecting JavaScript into your browser that they have never seen before and didn't write themselves.

I may trust, let's say, NYT not to serve me malware with code they wrote in their offices, but NYT is not the entity that wrote the JavaScript delivered in their ads.

> have you ever not clicked on a link on any of theses platforms and looked at the URL first?

You seem to be arguing that hyperlinks are an attack vector, which assumes such a broad interpretation of "attack vector" that the word becomes meaningless. It's like saying that an airplane is an attack vector because it can fly you into a war zone. Yes, it can... but I get to choose where I'm going.

Regarding that choice: these platforms show you the domain you're clicking through to, so you have a chance to bail. And with an ad blocker, you don't have to be as afraid to visit a malicious site. I have JS and ad blocking on by default, and I whitelist a site when it seems trustworthy enough.
> The new keyboard. The ergonomics are fine, but I am hard on keyboards and nevertheless expect 5+ years of duty (my last machine was bought new in 2013, and just wasn't cutting it with 8G of RAM). I can't have an unreliable and expensive keyboard.

I just don't get it. I've had my MPB with the new keyboard for 9 months now and I hate it more than ever. The ergonomics are absolutely terrible, the layout (particularly the arrow keys is terrible) the feedback is terrible, the fragility is terrible, the touchbar is terrible.

9 months and I still can't type for shit on this keyboard. This is coming from somebody who can type over 100 WPM with 98% accuracy. On a normal keyboard, when warmed up, I can correct many mistakes without even looking at the keyboard OR the monitor. I just know I made a mistake and my fingers know what to do to fix it (a side-effect of having done dictation and typing out handwritten papers/notes professionally for a couple years).

They keyboard is objective crap. It's past time for it to go, or at least give us an option.
Very possible

A dog can suddenly die from dcm, most dog owners dont perform an autopsy and there isn't much post mortem services available altogether.

I had the chance to get it diagnosed, the work put into the initial analysis ran up to nearly $5000(the treatment plan was for 10k, not including the potential 6 medicines and weekly blood analysis/vet visits, ecg if he did make it)

Not everyone has this option to afford it, nor does every pet have the time to reach diagnosis based on their condition.

I have a friend who fed his dog the cheapest kibble from grocery store, the dog suddenly passed.
He seeked an autopsy, nothing much could be done post-mortem.
That was the end of it.

The dog could have had dcm, or something else, but not enough work done in this field of dog cardiology.
He definitely was not feeding it grain free legumes diet food.

Zignature is one of the most expensive brands($110 a month worth of food i was paying), I would think owners purchasing this would be enabled to also afford expensive services to diagnose DCM more than others
Tierra (tierra.co) | Software Engineer | San Fransisco, CA/Mexico City | Remote | Full-time

Come make the world a safer place. Literally.

Imagine having all your day-to-day decisions dictated by a simple question – “Am I putting myself in danger? ” And then not having any real way to answer that question. Countries like Mexico are experiencing an unprecedented wave of crime and violence. The cost is real:

• 530 billion USD get spent in LATAM on safety and security; 9.4% of Mexico’s GDP

• ~6% of gross revenues for companies is spent on safety/crime prevention

• 8 people go missing per day in Mexico

• 40% of people have changed their habits due to safety concerns

At Tierra, we are working to empower those who are most at risk with the data to make their day-to-day lives safer. We are a team of previously successful entrepreneurs (Twitter, Google, Stripe) based in San Francisco working closely with both governments and corporates in Mexico to pool data and make it actionable.

We work with very large data sets that drive us to constantly improve our technical skills (ever tried to render 1 million data points on a Google map and suggest safe routes?)

We strongly believe (and have begun to prove) that it’s possible to make a real difference by applying technology to a problem that affects hundreds of millions of people on a daily basis. All of us feel a sense of urgency and passion to make the world a little safer.

Want to come join and make a difference? Get in touch: jobs@tierra.co

Full stack engineering position. Node.js, Python, and React stack.
Remote only – some of us spend time together in SF/Mexico City on a flexible basis.
Market compensation (both equity and cash). We are well funded.
Female led. Truly diverse and inclusive team.
I might be revealing myself as a novice rust programmer here, but can't you use 'ptr : * const()' as an opaque pointer type?

It's how I interface with C and C++ callback functions.
A very good friend of mine who is a laboratory veterinarian once told me that the most important difference between niche brands like these and major players like Purina is that Purina actually dedicates massive resources to longitudinal testing of their products for things like all cause mortality, and hippie brands can't or don't.
what is the utopian ideal? Did you read it somewhere? (Was it communicated orally?) With the utopian ideal being subjective... it does seem fairly arbitrary. I don't generally see right as being useful in any way. It's unnuanced. And seems to revert to a tradition of some kind or another.
Yeah after a year getting used to it I thought the same. Then I went back and used my old Macbook Air while it was getting repaired (for keyboard issues, of course). After using the old MBA keyboard for more than 30 seconds I changed my mind pretty quickly.
Show HN: A minimalist Mac app that helps track, allocate, and plan your time
> You can only see allocation advantage in micro benchmarks where the app stops before the GC will start.

The golang gc is tuned for latency at the expense of throughput, meaning if you look at the duration of time spent in GC over the course of the code execution, it would actually be longer compared to a GC tuned for throughput.

If you have a use case that requires high throughput, then you cannot change the GC behavior. Unlike on the JVM, where you have several GCs to choose from. The JVM is also getting two new low latency GCs for use cases that require low latency.

And it's not just microbenchmarks where Java does better than golang, it's especially longer running processes where the JVM's runtime optimizations really kick in. Not to mention that the JVM is getting value types as well to ease the load on the GC when required (it does an excellent job as it is even without value types).

I did a dummy port of the C# version of the Havlak code here[1] to Java, preserving the same behavior and not making any data structure changes. On the machine I tested on, the C# version took over 70 seconds to run, while the Java version took ~17 seconds. In comparison, the C++ version took ~24 seconds, and the golang version took ~30 seconds.

Yes, you could most likely spend much more time tuning the C++ version, avoiding allocations, and so on, but at the expense of readability. This is what the JVM gives you, you write straight-forward, readable code, and it does a lot of optimizations for you.

The brainfuck2 benchmark is especially interesting. Kotlin tops the list, but I was able to get Java to the same performance since Kotlin by writing it in a similar manner as the Kotlin code. Again, Java/Kotlin beat out even C++ when I tested them, and by quite a margin.

[1] https://github.com/kostya/benchmarks
> It’s not a net savings if it’s costing vastly more money in sales

I’d already addressed that when I said the kind of bugs you’re complaining about wouldn’t have an effect on sales.

> Anyway, cost is really not the driver for most of these issues it’s poorly scoping what can actually be finished in a given time and budget

That is exactly what I’d just said except you’ve overlooked that development time is still an expense.

> I have no idea what your background is in game dev, but it sounds like you don’t understand the overall development process.

Not my current role but my previous job was a lead developer. So I was not only hands on but I also had to manage workflows and budgets. Basically all the stuff you’ve just claimed I don’t understand ;)
Yes Steve Huffman
I find it funny that stock photo with laptop have ASUS logo copypasted on it.
https://icr-emea.asus.com/webchat/image/cover-photo.jpg
Notes on the Beijing Tech Scene
Perhaps Javascript ads should be banned by law. It would be easier to enforce compared to investigating what the corporation actually does with the info that it collected from the user.
> The power brick had a 2m detachable line-voltage cable, and fixed 2m low voltage cable. 2 + 2 = 4. I can sit 4m from the wall and charge using only the power adapter that came with the computer.

Still the same with the USB-C power adapters, except that the detachable extension cord isn't included with new devices anymore. You can either use one from an old Mac, buy one from Apple (with the usual Apple-tax (https://www.apple.com/shop/product/MK122LL/A/power-adapter-e...), or get a cheap third-party one (https://www.amazon.com/s?k=apple+power+adapter+extension+cab...).
Of the Utmost Importance: Resource Prioritization in HTTP/3 over QUIC
Hear.. hear.. This was one of the original features Marc wanted to add to Mosaic. We're so far past that moment and it's still not to be found.
Location: USA-Midwest

Remote: not currently(have to relocate to broadband access)

Technologies: Android: java and kotlin, Flutter, web: html css and js

Resume CV: https://fred.grott.gitlab.io

email: see cv

I have just recently rebooted my life as I found out I have ADHD, see:

https://medium.com/@fredgrott/startups-what-can-adhd-teach-y...

I am currently building some potential startup apps based on my ADHD experience and I am seeking at flutter mobile opportunity with A USA based startup. Preferably, one where I can receive startup mentoring from the co-founders.

Demo apps being built and links are in my Cv at my small
portfolio site linked above.
If the dial of conspiracy was turned to low for the last few years, it's quickly moving into the hot position.
Cryptohopper Launches a Mobile App to Up the Convenience Ante Entirely
You know what shits me? Restarting networking remotely and realising you also need to restart the routing to install your routes. Whoops, many many many times over.
People in my place of work love it for DSP algorithms.
Sort of yes and sort of no. What you need is to call poll at the appropriate time. Doing so does not, strictly speaking, require external libraries. That said, you probably don’t want to write that code yourself; the naive implementation will be extremely inefficient. This is where external libraries come in.

The reason they’re external is, depending on what you want to do, you’ll want an executor with different characteristics. An embedded executor has very different needs than a network IO executor than a GUI event loop. By stabilizing the trait, we can ensure library compatibility: everyone agrees on the same interface.

Given that we’ve invested so much in making it easy to add libraries to your project, including a single one wouldn’t be appropriate.
It's seemed wildly obvious to me that Ive, whatever good work he did under Jobs, did horrible work without Jobs to constrain him.

I hope that Apple returns to making quality hardware without Ive present.
Unless you read it uncharitably and require disclaimer clauses in every internet comment, their comment just suggests that one is better than the other and points out a practical and reasonable scenario that demonstrates this difference.

I really don't want an HN where we have to constantly hedge against an absolute reading of our comments with disclaimers like "btw, there are exceptions."
Cannot wait to hear what they're going to say about "reinventing keyboard"!
Have you read the Rust book? I came to Rust from JavaScript, having never written more than "hello world" in C++ and found it pretty approachable.
I don't think you're alone in being put off by the complexity of the language. I think once you get over the hump things start to click. The mindset that has helped me is to say, "Ok, this syntax might sometimes look familiar, but this language is COMPLETELY DIFFERENT from anything else I know, so I can't use my usual metaphors/analogies and need to use a clean slate". Then you can look at things like Ownership, Traits, and Pattern Matching and see how the whole language is built up around a few key ideas (with a lot of subtle variations) and then it might start to click.

You need to give it a lot of time. Some of the ideas are really not familiar. I don't think Rust presents some of the ideas perfectly, but I can imagine that in 20 years there might be a whole slew of languages that borrowed ideas from rust and maybe make them appear more idiomatic.
They only need to drop touchbar, bring back magsafe, and then we'll be back to sanity!
For me personally, the alternatives aren't as good. I came from a long history of Windows use (back to 1.0, up to Windows 7) and have kept a watchful eye on Linux and newer Windows versions.
Any non american sites? Where can I find a complete list?
And allegedly you can make the world best baked potato with it, by boiling them in pine pitch, although obviously you can't eat the skin afterwards.
That sounds about right. I am fortunate to have my interests and sense of beauty mostly in alignment with STEM.

But the part that I want to emphasize on, is the pseudo-STEM that we as a nation promote. This is a battle that G.H. Hardy seems to have fought before.

http://www-history.mcs.st-andrews.ac.uk/Extras/Hardy_Tripos....

Particularly, the description of the Tripos as a "game", full of imaginative tricks and stunts that are merely a figment of human imagination is very much in resonance with the exam we have in India today.

In my experience, the "distant second choice" is not a first choice, even for the STEM loving community :(. It benefits no one other than the tutors who earn large bucks by mastering this game, which in reality, is far from the game of nature, that engineers and scientists IMO are supposed to play!
You trained Deep Learning models with a 2GB GPU? It must be a very niche problem where it both fits on an onboard mobile GPU and provides a significant performance gain over CPU considering the data transfer overhead?
Iron could be worth a look: http://ironframework.io

Haven’t used it extensively, but it’s pretty feature-rich and looks reasonably well-maintained.
Then that's just more information to "blind", isn't it?
Learn Your IDE to Reduce Cognitive Load
Actix web and rocket are the two most popular.

HTTP stuff benefits a lot from asynchronicity, and so there’s been a lot of churn over the past few years as this story shakes out. We’re almost there though!
Ask HN: Looking for documented infrastructure outages and valuable post-mortems
Asking for students.

I'm trying to build a lesson on infrastructure reliability: immutable infra, stateless apps, infra as code...
They were trying to expose more than 2 billion records, but had to stop when the record count went to -2 billion.
Isn't that basically the same thing? Whether an API itself is expressive enough to be copyrighted.
I’ve been using ddg for years, and now I can’t stand the visual clutter of Google’s result page.

Every result page is like a pre-animated gif / blink tag 90’s web portal, except dumbed down and even more spammy.

To each their own, I guess.
If you're implying only leftists would object to The Daily Stormer, you'll have to prove it.
Does most of America live in small towns? With a 82% urbanization rate, it doesn’t really seem that way.
Sorry, but you have to specify which color of Cherry MX.
I'm having trouble squaring the received wisdom on this with the numbers on this[1] page. Beef is 6 times less efficient than wheat, yes. But it's up to half as efficient as soybeans. Pork is actually a more efficient use of land than soybeans (and almost identical to celery[2], while containing vastly more nutrition). Chicken's nothing special.

[1] http://www.waldeneffect.org/blog/Calories_per_acre_for_vario...

[2] ((1/(6 inch)) * (1/ (2 foot)) plants/m^2) * (8 stalks / plant) * (64 grams / stalk) * (17kcal / 110 grams) = 3.448 million kcal / acre; planting guidelines from https://harvesttotable.com/vegetable_crop_yields_plants_p/ and nutrition information from https://recipeland.com/ingredients/celery-stalks-13931
I remember hearing about this a long time ago. It’s pretty astounding.
I don't get why they fled the state then. Don't even put it up for a vote?
The Obstacle is the Way by Ryan Holiday.
And the months being sorted alphabetically was great too!