skysight-inc/HackerNews huggingface dataset:
> There are plenty of server platforms out there where setting up a cron is no more complicated than making a GET route handler.

Or way simpler if you're not building a web application in the first place.
Thanks for the feedback! We'll find a better way to make this step optional
> Apple is a 2.5 trillion dollar company. I think they'll do just fine under criticism.

Wait, so you automatically dislike anything that is above {certain capital amount}? The typical pub argument driven by beer and class warfare memes, I see. How insightful.

Apple will be just fine under your vicious criticism even it was bankrupt, because none of this is about Apple per se, it's about us trying to figure out the world around us in a forum. Apple isn't part of this, no one in there will read this noise. But you've figured everything out, apparently: "X rich, so X evil on purpose".

I wasn't "defending" Apple, but describing something that happens in virtually any service of scale, be it private or public. It would be an interesting discussion how we can organize our systems to improve on such problems, but that discussion can't really happen, when met with the banality of your premature conclusions.
A country that has single-digit cases and is desperately trying to get it back to zero will necessarily and justifiedly have much stricter quarantine rules.

Safety wise, this is comparable to randomly firing a bullet at an occupied building. Most likely the bullet will miss (the guy won't be infected/won't infect), but if you get really unlucky (someone gets infected and spreads it before that connection can be discovered), the results are disastrous (and deadly - COVID still has a 1% IFR as far as I know).
This might get lost but figure if someone knows about it it's here. Old Firefox allowed to double-click between two words and both would get highlighted. This has been removed in the newer versions. Does anybody know if it's possible to manually configure this?
Also worked in an XP shop. Learned a lot, but worst dev job of my life. Full time pair programming is one of the worst ideas in software development in the last decade. It's unbelievably exhausting.
Yeah, kinda bizarre that they don't specify, that's like...the spec.

Sites have said it's 11.13Wh (~comparable to a iPhone 12), but then even at that, how efficient is the Qi charger itself? How much of that capacity do you actually get?
> However, they have been taking covid very seriously and have had correspondingly low infection rates.

I think geography is doing the bulk of the lifting. Being on a sparsely populated island helps a whole lot.
and all the telemetry turned off...
A thousand times yes. You can read all the tutorials you want, but the ear training that Syntorial offers is really worth it.

Getting "the sound in your head" coming out of the machine takes lots of practice, but this really, really gives you a running start.
Not especially efficient in practice. In general you can expect in the ballpark of a 50% loss in efficiency with consumer electronics. This is mostly due to design/usability compromises though. In theory you can get 90+% efficiency with ideal conditions.
I use browser extension to force old reddit
> How?

Microsoft has done a lot better job promoting VSCode than GNU has promoting Emacs for the past few years. More mindshare among influential developers / evangelists has lead to massive increases in adoption which leads to better extensions which in turn fuels more adoption.

It probably doesn't hurt that VSCode uses the MIT license.
If the webhook just triggers a download from /events then both can be made idempotent. If you miss an event then you can get it later.
‘We Don’t Need Another Michelangelo’: In Italy, It’s Robots’ Turn to Sculpt
Didn't racket do much the same with their switch over to mit?
Reminds me of https://en.wikipedia.org/wiki/Cliff_Young_(athlete)
The time of sleep does not belong to us.

Terrible at math (heh) but its something like multiply 24% by 2/3. Aka 24/3=8
I recommend reading the support document because it is weird: https://support.apple.com/en-us/HT212174

- 15W charging when plugged into the battery (effectively serving as a MagSafe charger), but 5W when not (effectively the same as a normal 3rd-party battery)

- It may only charge to 90% (with the workaround being to put the iPhone into Low Power mode?)

- If plugged into the phone, it can charge the battery (is this the first use of "reverse charging" for the iPhone?)

It also requires iOS 14.7 which isn't out yet; the RC was released today so will likely be out next week.
June 2021 was the 5th Warmest June on Record For the Globe
Why bother? Just kill them and let the clients reconnect on their own. They'll have to handle that case anyway...
I think you’re off by orders of magnitudes. Maybe build a model first and get back to us?
Yes that is correct. Perhaps not as a rigorous experiment, but at a high level yes.
Reaper is a full-fledged DAW. Audacity is just a barebones audio editor.
Ask HN: Stuck on Accepting New Role
I have an offer with a 50% pay rise, but with a long commute (1hr 40m train) Mon, hotel then return Tues night.

I currently work fully remote, I don't need the extra money (live on ~40% of salary, invest the rest).

The new role is a big step up in scale and seems a good opportunity, but the commute is giving me huge anxiety.

The market seems hot at the moment (UK), so in theory could get a fully remote role somewhere else or promotion where I am.

Any opinions or past experiences would be helpful for perspective.
Ask HN: How do you manage your time between senior and lead?
I've worked as a SWE from junior to senior for my entire career. I've noticed that as you move up the chain a bit, you're expected to do more and more project management work (refining tickets, proactively creating tickets, tracking down AC for your tickets, tracking down AC for tickets that were assigned to you and are marked "Ready" when they're not).

As someone that's still expected to ship software/infrastructure, and be able to accurately estimate it, how do you handle this? I don't know how much planning work will come down. I don't know how much support work will come down. I don't know how many times I'll be interrupted for either questions (either technical or planning)... so yes, I can point this story at "8", and maybe that translates (loosely) to 3 days... but it's hard to make it all add up without working overtime or having rollover (and I'm done with regular overtime).

When noticing these issues my solutions usually revolve around process engineering. Could we have a "support" ticket I can log time to so you know why we're rolling over work? What about a "planning" ticket? PMs are usually reluctant to create these, or work to minimize that type of work, so we're left either scrambling or inflating estimates to fit the other work in... which obscures how much time things actually take.

I haven't even gotten to refusing to schedule regular maintenance/ignoring bug tickets.

Do you try to fix the planning? Move up so you're less of a dev? Delegate more? Avoid support work, old systems, or anything that might require more maintenance because that work is hard to get approved? Something else?
Even American bodies can get used to be inside at 80F :-)
have you taken intro statistics? all small sample sizes do is require your effect to be more pronounced to still be statistically significant.
Like INSIDE the car? That sounds terrifying!
I broke my right leg in six places on a recumbent, they have some very unexpected failure modes. Be careful.
Best sleep I had was on board ship. I think it was a matter of sleeping in a sleeping back in cot on a rocking ship that really did it. This was followed by 2 weeks of full blown insomnia after I got ashore where I experienced little to no sleep (max 1 hour a day) until it just went away. Maybe I just need to be exhausted, at sea and miserable all day long so I can sleep well.
I don't know how I've implied that any option was "great" ?

My post is pointing out that your previous framing is discounting the possible effects from doing nothing, while emphasizing the possible effects from doing something. This is not scientific.

In general you seem to be attaching a high weighting to not taking the vaccine, including repeating common logical fallacies. Most likely you've gotten that from the "Internets", so it's fallacious to invoke it as if it's some singular party instructing you to do something. The Internet is generally malicious noise, it's up to you to pull signal out of it.

At the basic level, there is no "all that type of rot". I got two shots, had cold symptoms for a day on the first one, and was otherwise fine. It has allowed me to reduce my Covid precautions substantially, and has drastically increased my quality of life. If there end up being variants that require boosters, then I can make another decision to get those or not.

I wasn't chomping at the bit for the vaccine since it was announced, rather I too figured I'd wait and see what the larger scale effects were. But by the time spring rolled around I had considered 6 months enough time to shake out most unknown unknowns at scale.
How is the answer to “carbon removal” not just “turn deserts into plant areas” or “encourage algae blooms” or something? It seems implausible to me that any chemical carbon extraction process has superior externalities to just planting more trees or something.
Here's my proposal, take that $100M and find a Saudi/Venezuela oil well operator. Give him the $100M in exchange for not pumping $100M worth of oil out of the ground.
No worry, didn't take it as an aggressive attack :)

Thanks for all the good vibes and feedback though!
LPG is usually stored in a sturdy metal tank, and not a big balloon.
It is for sure possible, no argument, but the actuality of it is relatively small, while the renters are putting in equity into someone else's pocket =/ Your "rent", as it were, goes towards something (even if a large portion of it is interest.. and extra payment a year towards the principal goes a long way).
That's a shame. I work at Solace so shoot me a message and I will show you how to set it up if you are interested.

Solace's first product was hardware appliances which are still used for high throughput and low latency usecases. Concept of VPN was used to set up isolated virtual brokers so different teams can have their own environments on a shared hardware appliance.

The concept was ported over to software as well and is extremely useful in an enterprise environment. It allows different teams to have their own virtual brokers but not have to pay for or manage multiple brokers.
This is the case where it might make sense to earn $100k-$200k per year and plow the majority of it into savings until you can get a fairly safe $20k return.

Might only take a few years to save the required amount.
Could Cython be used for writing the fast module here instead?
I'm a big fan of SML as well (I worked on a hobby compiler for SML, and I've written some programs in it).

Investing in the ecosystem (tooling, VSCode support, packages) would vastly improve it, but it still has some warts compared to Haskell - no ability to auto derive implementations (like debugging/printing structures!), and lack of typeclasses can be painful at times.

I really like Rust because of how similar it is to what I believe SML could be - just take away ownership and change the syntax, and bam!
What's the point of implementing webhooks once you implemented long polling for the /events endpoint?
Modulo being a proprietary extention.
The vscode remote plugin is developed by microsoft and it's closed source. I can see why, it gives them a competitive advantage over all rival IDEs.
> Bad: HTTP 400
> On the other hand, HTTP 400 level errors mean the client screwed up.

This is bad general advice. HTTP 4xx errors mean the client screwed up, OR you screwed up (a change that e.g. increases 404 rate due to eventual consistency, returns 404 for all content, breaks auth, returns the wrong status code, etc.). Either way the content is inaccessible to the client, the person visiting your website doesn't care if they get a 404 or a 502, they care that the content is inaccessible. Once you get high enough traffic, monitoring 4xx rate is pretty critical to making sure people can actually use your service. (Or monitor the inverse, i.e. a floor on 2xx rate instead of a ceiling on {4,5}xx rate.)
A persistent connection has a cost. Your statement may be true in some circumstances but definitely not all. Namely, for infrequent events it is much more efficient to be notified than to be asking nonstop. Sure, the latency is lowest if the connection is already established, but for efficiency the answer is not cut and dry but is rather a tradeoff decision based on the expected patterns.
Awesome. I'll be around here if I can fill in any gaps we missed for you. Another difficulty with sharding payments is that a transfer can be between a tuple of any two parties. Adrian is the expert in the payments space and can go into this better than I can.

TigerBeetle is still alpha and we're moving to beta now with automated fault injection testing of our consensus and replication. The project has been a year since ProtoBeetle in July 2020. Regarding multiple regions, we have some novel Viewstamped Replication optimizations that we hope to write up soon and document in our repo.
Agree about different uses of metadata. But I don't really understand your point about butchering data and KV stores.

It just seems to me the author is opinionated about (what they see as) the most important entity types to organise the library around.
I can not-pump 100M of oil in my own back yard. And you wouldn't believe the rate I can not pump it at!

But seriously, this is harder than it sounds. Unless you pay him to permanently sequester $100M of oil, I don't see how it would make a difference.
Can you tell us more about what kind of vehicles you are building? Are they big enough for people? I'd love to hear more about your experiences around this!
How would you cost-effectively enforce that commitment?
also the OP seems to ignore all the issues with webhooks that longpolls suffers or is worse at. eg: you'll lose all those tcp connections if your service is down -- one of the main complaints about webhooks...
TC39er Podcast: Yulia Startsev from Mozilla
He has the power to influence the legislator, and he hasn’t been shy about using that power to speak against funding green infrastructure since he took office.
That sounds like an incredibly useful platform. Why was it discontinued, if you don't mind sharing? Is there anything like it that's still active?
mergesort mandates that it's a stable sort, so I guess they get away with replacing "like for like" that way. For varying definitions of like.
Qi charger efficiency is roughly 50% right, I suspect that should be a good approximation.
Here are the FCC materials (but the data related to capacity is in the confidential sections):

https://fccid.io/BCGA2384
The subject is their ridiculous new EULA, which includes telemetry. It also bars anyone under 13 from using the software, which is a violation of the actual software license.

People hate the telemetry the most, I think, but it's just one example of a pile of bad ideas baked into their privacy policy.
I also preferred private rooms, but AC was not an option usually since I avoided hotels completely and stayed in cheap guesthouses available almost everywhere. Sometimes I got a fan, sometimes there were no electricity at all in the room.
Hostels usually had AC but those would be in the big cities, and I’d never stay too long because they are expensive. Hell, I could have my own bamboo hut with veranda, a hammock and the ocean breeze in a country side with the price of a hostel bunk bed in a big city or a tourist hot spot!

Private bathrooms I gave up on when I realized those attract many bugs I did not want to share my room with. Actually I could say you end up sharing the bathroom one way or the other. Common ones are fine as long as they can be locked and are cleaned regularly. Before I checked in at any place, I’d check the common bathrooms to make sure if I should…

I would pretty quickly get adjusted to the local way of avoiding heat, which is to get up really early in the morning, rest in the afternoon and then go back out during the evening.

Another pro tip that requires some planning ahead and available time is to go to the “south” during winter and to the “north” or the mountains during the hot summers.
I use a similar service, forwardemail.net for this, and it's free.
Driving off the road ain't a collision if you don't collide with anything, but it's still an accident.

I agree with you, but that ain't a great word either.

I'd like to have a word that also includes did-not-cause-accident-by-luck failures, such as running a red light or failing to notice a bicyclist who slammed brakes to avoid you sideswiping them.

Best I can offer is "incident".
Basically business didn’t see any benefits of spending time on the upgrade, time that could be used to improve/add features to the product.
Damn, talk about reading the fine print.
The IP address is what typically turns "not tracking" into "tracking".
Their video player has got to be the worst for a company of their size/resources.

I almost always go to the comments to find a mirror instead of trying to load a 30s clip. I've got brand new hardware and a gig connection...It shouldn't take >30s to load a <30s clip!
While I can't speak for this one in particular, all the magsafe accessories I've used so far have been more than enough to support the entire weight of the phone, without any wiggle.

I'd much rather have this than a battery case, as this is much more convenient to just slap on and slap off, rather than removing/applying a full phone case. More storage efficient too.
US healthcare costs are similar to other developed countries once normalized by per capita GDP?

I thought they were still higher.
> SQS is one of the best products that AWS offers.

I would never trust anyone who says this, regardless of who did what with it.

SQS Standard (which was the only for a long time) has historically been a nightmare for almost any use case including job queueing. I love creating a whole separate cache to ensure when SQS delivers message multiple times, that I don't act on them. That's just ONE issue that I don't need to have. When you get into FIFO to avoid that, now your costing is ridiculous at scale AND the (relatively small) number of issues with FIFO that are still outstanding .

eg https://tomgregory.com/3-surprising-facts-about-aws-sqs-fifo...
Hikaku Sitatter – comparing heights tool
> 3) myself, there is no way I can make my own decisions about complex things. I need pundits, that I can trust.

> 4) but with the growing sophistication of deceit -- how can figure out

I agree with you, but it seems like you're again thinking that everything can be known / black and white. The experts disagree on some very important things quite often. So it's not only who to trust - but is that trustable person even correct in their analysis?

This is where personal choice and freedoms and democracy shine.
Isn't this the same as Apache Kafka?
IMO the real solution is give me a better transport that RESTful HTTP! As many others have pointed out things like Kafka are built for these kinds of usecases. So often I see people trying to design around the flaws in REST while ignoring that we've had some pretty good progress in the ensuing 20yrs.
Groupthink is indeed a real problem, but if you really believe all it takes is groupthink to hide severe side effects (possibly deaths) of vaccines that would compete in magnitude with covid causalities, you should entertain the possibility you're engaging in a groupthink of another polarity.

I mean, sure. Governments have been and will be dishonest and lying and have been and will be again caught red handed. They also have been and will be accidentally right about various things.

If whatever a government says is always the opposite of true, then it would be super easy to have certainties! I wish that were true. Unfortunately I don't think that works that way.
I thought the same thing as a child. Recently I realized that programming and making apps is like being an inventor. When I make applications for other people to use, is that not akin to making some kind of new machine or tool?
The number of possible deaths is _far_ higher. The chance is almost certainly lower. I would not be at all surprised if on the balance it's way worse than 5 times more dangerous, in terms of expected lives lost (in statistical terms).
It's just a transformer right so under ideal-ideal circumstances you could get 99% or more. Large power transformers are ~99.7% IIRC.
> "It doesn't account for... what sort of issues the person was having on that day specifically"

I'm not clear on what you are suggesting here. Are you saying they should contact people multiple times to make sure they weren't having a bad day the first time around?

2-3 days is common because any longer than that and the survey results will no longer be reflective of a specific point in time.

Also, if you check their crosstabs they have breakdowns for gender and age.
Yeah. Quitting vim has the most trafficked Stack Overflow page:

https://stackoverflow.blog/2017/05/23/stack-overflow-helping...

"Most people don't know how to use vim and emacs" is both incredibly controversial around these parts and totally true.
> is this the first use of "reverse charging"?

It's not, the Pencil does it, too.

Various other accessories are also bus-powered.
I'd say we'll see a Rust-with-GC language fairly soon which will be gravitating towards SML/OCAML with today's syntactic expectations.
I'm not the greatest at explaining things, but I'll give it a shot.

Just so everyone is on the same page, an SDF is a function that simply returns the distance to the closest surface for any input point. If the distance is positive, the point is outside of the geometry. If the distance is negative, the point is inside the geometry. The gradient of the SDF is calculated by sampling the SDF across multiple points, so the SDF itself doesn't return a gradient.

An SDF is no longer a valid SDF if the distance isn't the true distance to the closest surface. This is usually caused by transforming the SDF non-uniformly, such as adding a sine wave. Another way to think about this is that a valid SDF is in euclidean space while an invalid SDF is in non-euclidean space. Applying a displacement function will compress and stretch space non-uniformly.

Imagine you have an SDF function that just represents a sphere. Then you transform the vertical position of the sphere based on the absolute value of the horizontal position of the input point. This will turn the sphere into a V shape. However, the SDF is no longer a valid SDF. If you sampled a point next to one of the inner walls of the V shape, it wouldn't return the distance to the wall, it would return the distance to the point on the shape below it.

The gradient for every possible point in a valid SDF will be a unit vector because space is uniform. A non-valid SDF will contain non-unit-vector gradients between areas of non-uniformity.

Hopefully that made sense. If you are still confused, I would suggest writing a simple raymarcher on Shadertoy and playing around with distorting SDFs yourself. A simple raymarcher is only a couple lines of code (probably less than 20 lines of GLSL).