skysight-inc/HackerNews huggingface dataset:
> Bins would have an average occupancy of 1, so it didn't matter what sort you used.

That's not quite right, though - you only care about the average occupancy if your sorting algorithm is O(b) for b elements. If you're using a O(b^2) sort, you actually care about the root-mean-square occupancy (or in general just the average runtime, or just the total runtime since you'll multiply the average by the number of bins anyway).

The k-bin approach is definitely much faster than O(k log k), but I'm fairly sure it's slightly slower than truely linear, asymptotically, since the runtime will be something like 1+0+4+1 in typical cases, where linear would have to be 1+0+2+1.

Edit: on some cursory Monte Carlo testing, the sum of squares of occupancies actually seems to still converge on a constant factor (of two) times the sum of plain/linear occupancies, which I was not expecting but does make the above point rather moot. (Also, the sum of cubed occupancies seems to converge on a factor of five, which seems downright bizzare.)

(Tangential edit: The factors seem to be 1 2 5 15 52±2 200±20, which might be https://oeis.org/A000110, though none of the interpretations there seem obviously related.)
Just residential. One guy working in the outside part and one on the inside and one helper.

Seemed like a lot of wiring and charging things. I didn’t think it should take that long either.

Their price was in line with other quotes. I wasn’t paying by the hour or anything.
There are ways to securely backup private keys.

Loosing your domain name is a far worse. Not only will you not get it back, but whoever owns it now will get all your web traffic. In contrast even if you loose the private key, you could continue to serve any static assets signed by that key, and create a new private key for future assets.

There would also likely end up being plenty of "phone-book" services where you could go and provide a new private key for your company. We already have some of these: Google (Maps), Yelp, Yellow Pages, etc.
Wow you have a completely different experience from me. 100% of the pirates I know are pirating entertainment products that they usually wouldn’t otherwise buy. Not, like, getting back at some company who wronged them. Interesting lesson on different cultural groups I guess!
I just spent two weeks in Vietnam, one in Hanoi. The motorbikes were actually something I could deal with - it was chaos, but organized. Everyone on the road seemed hyper alert and traffic just sort of flowed. The thing I could not get used to was the air quality. The AQI was easily over 120 every day I was there, and it just felt like I stuck my face in the exhaust pipe of a bus every waking moment. If Vietnam could figure out its pollution issue, I feel like it could easily be an incredible place to live.
Programable Industrial Controllers. That can include PID, or it can be far smarter or dumber.

The idea behind them is, you have purpose built, redundant, single purpose controllers for everything, so, swapping one out is no big deal, and doesn't require any knowhow. You load the config, plug it in, done. Usually they're very simple, doing jobs like "read this sensor(s) every X miliseconds, make adjustments to this output signal according to Y math formula".
The original movie had Steve Buscemi. He kind of looks like an alien. Does that count?
GP linked you to a summary of a scientif finding, not a trope. You can read more about the study here [0].

Regardless, I think the point of collecting these stats is to make sure voices of people that might normally be under-represented in a uniform sample of a relatively small size can be corrected for. These are common stats to collect in surveys for similar reasons.

[0] https://www.sciencedirect.com/science/article/abs/pii/S00954...
Every time the topic of net neutrality comes up here, the anti-NN crowd says “all the pro-NN points are just scaremongering, there’s no evidence that any of that bad stuff about ISP favoritism would actually happen”. Well, here’s the evidence. Korea doesn’t have NN, and now Twitch is pulling out (and YouTube is halting investment, according to one sibling comment) because the ISPs gouged it to death.

Net neutrality should be mandatory and non-negotiable.
Right, but the support is not very long. You still get basically forced to update at least every 14 months according to the article.
I think Yahoo fantasy sports and others in the space are doing amazing work on this idea. I wonder if an LLM is even necessary for this, it’s mostly maths. Analyze past winning decks and made decisions based on performance.
Nah, either they have a legal leg to stand on or they don't.

Now if Jeff and Co. had an issue with someone starting a company called 'A Amazonia', they defo would have a leg to stand on.
I may be mandela effecting, but was there a time you could do ?t=wadsworth or some other param to skip the first 30%.

https://knowyourmeme.com/memes/the-wadsworth-constant
Republicans Try to Put Harvard, MIT and Penn on the Defensive About Antisemitism
Panera Bread's Charged Lemonade blamed for a second death, lawsuit alleges
This sounds suspiciously like real work. I can't bear to simply read social networks any longer, much less actively engage with them or track statistics.
> So, there might be some contexts in which long running Java application can beat Rust or other language, but if you need something that starts instantly (like CLI utilities) Java is a no-go.

Maybe I'm in a bubble, but to me this sounds like Java would have faster performance in nearly all professional development situations. Very few people are writing CLI tools compared to those writing server code.
Slide rules, for a start. This Wikipedia page contains a lot of magic as well: https://en.m.wikipedia.org/wiki/Differential_analyser

As for something you can easily get your hands on, micrometers are incredible. A simple screw and graduated markings on the shaft and nut give you incredibly precise measurements. You can also find mechanical calculators (adding machines) on eBay. But those really aren't very sexy examples of the concepts.

Analog computers aren't very common anymore. Your best bet is visiting one of the computer museums that house antique machines. Or watching YouTube videos of people showing them off. There's plenty of mechanical flight computers in particular on YouTube.

If you have access to a 3D printer, there's plenty of mechanisms one can print. The antikythera mechanism is a very interesting celestial computer from ancient times, and 3D models exist online.
> How would you concretely ban such a thing?

Uhmmm, so your answer is to have to some group of people asses every item of clothing or every new brand that pops up to see if it qualifies as fast-fashion based on whether it was influenced by recent catwalk trends or whether the factory it was produced in made it too fast or efficiently. ? yikes. Not sure if you realize that just how subjective and unscalable that is.
This would never take off because you're capping the profit you can make as well as excluding some recovery of costs for an unsuccessful product.

i.e. If you spend $10 million making a movie, and will only release it when customers pledge $50 million, you're eliminating any chance of becoming a billion dollar blockbuster, and also any chance of being unsuccessful but still recouping a million dolars. Heck you could even become a cult classic 20 years later and make more money back.

Also could you image crew moral if there was constantly a high chance that the thing you've spent a year working on goes completely unreleased?
Right. This could be a reason! What do you think I should do?
> Normal texting and WhatsApp and discord and Instagram and tiktok messages etc etc are all free.

This product is not for you. I don't know where you're commenting from, but I'm guessing it's not from the US. Using WhatsApp or Discord or Instagram or TikTok messages only have value because the people you want to talk to use them. In the US, iMessage is by far the dominant messaging service for iPhone users, and iPhones dominate certain socioeconomic groups. This situation sucks, but there are lots of Android users who get extremely frustrated when a large group of their friends are on iPhones, to the point it can be socially isolating when you're "the odd man out" in a group chat (and it's not the whole green/blue bubbles the media likes to talk about, it's that interoperability between iMessage and other clients sucks and breaks many features).

This is a great option for US Android users who want to be able to better communicate with their friends that have iPhones.
The same group of people that are doing the best job of avoiding their advertising? I would expect them to prefer that we went away quietly :-)
I believe it still does that, but cannot confirm, because the way it syncs the stuff is kind of aligning the stars in a specific way. I've followed instructions and it never seemed to work quite right. It skips some, it dupes some, some might only work on the same network (even when everything is marked for offline)

I do have local stuff (mp3 based) on my Spotify still on my iPhone. Not sure if it is a relic of an old feature. But it's not the entire directory and it's not easy to manage.
You're thinking of ChromeOS I think, which uses a combination of containers and virtualization (via the same VMM in this article) for Linux and Android apps..
PlanetScale has 100% uptime and has never leaked data like this.
The thing that leaves me confused is what will happen to the main Beeper app?
How does this help if you're a terrivle interviewer (like me)? IMO interviewing is the #1 skill to have and yes, networking is important too.
So we're told every time. Is it "2xl" or "xxl" for the breakpoint again? It depends on the library (hopefully you didn't customize it!). Was it Tachyons or Bulma that has "ns" for "not small?"

> you only have to memorize the names once

Yep! After that it's as simple as dark:hover:md:motion-reduce:text-base/7

> you never have to think of a class name again

Unless you're using Tailwind's custom themes, arbitrary groups, peers...
Great question! pgtestdb requires that you somehow run a postgres server. It then connects to that server and handles all of the database creation. The README goes into more detail here, but basically you should be easily able to point pgtestdb at a dockertest-managed postgres server.

One massive advantage of pgtestdb compared to using dockertest on its own is that it handles running migrations for you in a very efficient way that amortizes the cost to zero as the number of tests trends to infinity. This should be much faster than naively creating a new database and re-running the migrations for each test.

I happen to recommend using docker-compose over dockertest out of some slight personal preference that is one part separation of concerns (it's weird to me to have the test code handle the state of the postgres container), one part developer-experience related (it's nice for devs to be able to easily manage their postgres server instance with existing docker tools outside of golang code), one part infra related (it's nice to be able to use any method to provide and manage the postgres server, particularly in CI), and one part totally arbitrary.
They do receive spam and fraud, but the numbers are orders of magnitude less than every one’s else BECAUSE it’s tied to hardware. I don’t know the details of how’s these guys got around it, but this is bad for the rest of us when phishing skyrockets.
Questions like these always make me think of Dwight Schrute speeding towards a sales call that Andy Bernard is closing out from under him, screaming into his phone "are you saying you INVENTED PAPER?". I'm not saying I invented paper. You can be upset with anything you like. I'm not the upset police. But if the thing you're upset about (20 years later!) is the premise of the what is probably the single most successful project on the Internet, it's going to be hard to take the concern too seriously.
Looks good! In case anyone else wonders (first thing I wanted to know), UCI (to talk to engines and online chess) is in the to-do, not yet implemented.
Why are people so godawful cheap that they demand so much labor from others for free? I'd gladly pay for this, it's hella cheaper than me having to switch from Android to iPhone.
If installing these things required passing FDA trials before you could even do the first install, it’s hard to imagine anyone self funding the regulatory trial and then open sourcing the result.

These businesses you mention are different because you can start getting paid as soon as you build some expertise in how to operationalize the systems.
New version of geo-distributed KV store based on Curp has just been released
Hah! Whoops!
check and balances

actively encouraging structures made up of almost-competing interests that sum towards a common goal helps guide our individual competitive natures towards accomplishing larger-than-one projects

picture a bunch of sticks leaning against each other; individually they'd fall, but their combined vector gives the total structure strength
Domain names do get lost if you forget to renew or your payment info isn't up to date.

You could argue that's caused by carelessness, but so is losing a private key.
This is really going to confuse people searching for OpenLayers, a major web mapping package :(

https://openlayers.org/

It has an API with class names like "Observable", and there are frequent discussions on inputs and performance. It's gonna make searching for one or the other really hard...
Kudos but be skeptical. May be an effort to redeem Meta's transgressions and public image, like Gates...
> choosing k elements from 1..n uniformly at random

Can you clarify the problem?

k elements uniformly at random, independently, with replacement, sounds like it’s trivially O(k), or perhaps O(k log n) if n is so big that you need O(k log n) bits to merely represent the answer. (Those logs are pesky and can appear and disappear in different models of computation!)

Maybe you mean k distinct elements? Off the top of my head, if n is not huge (n = O(k), or more concretely, n < ck for your choice or c > 1, and I would probably start with 2 if I were implementing this), I would make an array of all the elements and draw k of them using any of a number of straightforward algorithms. (Fischer-Yates, for example, but I admit I had to look up the name.)

For larger n, make a hash table to store the elements selected so far. Now repeat k times: choose an element at random and retry if it’s a duplicate. Then add it to the hash table and continue. Each iteration takes at most 1/c tries on average, so the overall expected time is O(k). (For n < ck, the last few draws may retry quite a lot.)

Thinking of this as sorting seems odd, but I admit I’m thinking about this in 2023, not the 1970s :)
Last I understand, you will need a live job offer before you can qualify for a TN visa. I think that's more important than the degree since you already have one even though it's not in CS.

My advice is for you to contact an immigration lawyer and get the qualifications to start. Also, take the time to solidify what you want in your career before you decide that you need more school. BTW, don't expect to have a tech job all your career. As you get older, employers look for younger candidates. Some deny that but it's a reality not everyone wants to face. Plan for that.

From my point of view, experience is way more important in a job search than a CS degree. A CS degree guarantees you nothing, in terms of a job, since you get a general education in CS fundamentals. You will need more knowledge to get a job unless the employer is willing to train you. A master's degree is very limited as a way to get a better job in tech. You only need it if the job requires it. Teaching is the only job, I can think of, where it might be needed.
That project looks interesting. I'm using test containers and I'm thinking it could be combined. Currently we're setting up the db container for the test suite, running migrations once then having each test run in a separate transaction, and rolling back after the test completes.

Want to see if there's any speed improvements and better separation if we switch to pgtestdb. The transaction approach has worked well but on some larger integration tests I have seen some conflicts due to our test fixture ids.
Israeli Spyware Firm NSO Demands "Urgent" Meeting Amid Gaza War Lobbying Effort
After running the platform at a loss over over a decade until their competitors evaporated. And then refusing to sell the solution to the invented problems without bundling it with an unrelated service in another market they want a foothold in...you know, just anticompetitive behavior.
Yeah but we will not go away. Let them keep trying, they will have to start banning IPs and they will be taken them to court because I pay for Premium and I can share links to their videos however I wish.
I wish I'll be able to use the CloseWatcher API to replace my history API hack to close dialogs. As always, we're now waiting for browser support
Children deny that God could change morality
The massive prevalence of physical junk mail would refute your argument that even a significant per message cost would dissuade abuse.
This is a great story. Do you remember the name of the page? It'd be funny to track it down in the page history.
If memory serves, it replies asking for the sender's number when necessary.
The <details> name attribute example doesn't actually use the name attribute? Am I missing something?
Poorly. Got laid off in the end of May, haven't been interviewing very well because I'm not good at it. I struggled to get a few initially and the ones I got later I didn't get through because I didn't do well on them. 1-2 times I realy choked and got flustered. Some jobs were leetcode focused. Some jobs were Java focused. The latter I was able to navigate but not perfectly and I couldn't handle some of the questions.
I'm honestly questioning my abilities at this point and doubting the career choice I made.
pgtestdb should work for your use case, and because each test gets its own database, you shouldn't run into any conflicts that are caused by different tests each trying to write data with the same ID. If it doesn't, please let me know and/or file a bug in Github.

One other nice thing about pgtestdb is that you can run all your tests in parallel, and if a test fails the related db will be left up for you to connect to via psql (helps a lot with debugging.) Compared to your transaction setup, the only data in the db will be from the test that failed.
Pessimism can also simply mean you say no to a lot of stupid things by default, and only adopt new ideas that pass a little gauntlet of validity.

That can be an efficiency win through many different mechanisms.

You can also be pessimistic and optimistic at the same time in different contexts or scales. I pessimistically assume every sales pitch is something better for the salesman than for me. I optimistically think that humanity is on the whole more good than bad, and more progressing than not.
> Liquid hydrogen is less than 1/3 the energy density of diesel by volume

Yes, but in a ship volume is not a concern.

> Liquid hydrogen also has difficulties in terms of converting that energy into work

Check [1] out. Current diesel engines can be retrofitted to burn a mix of diesel and hydrogen that reduces emissions by 86%.

“If you just put hydrogen into the engine and let it all mix together you will get a lot of nitrogen oxide (NOx) emissions, which is a significant cause of air pollution and acid rain,” Prof. Kook says.

“But we have shown in our system if you make it stratified – that is in some areas there is more hydrogen and in others there is less hydrogen – then we can reduce the NOx emissions below that of a purely diesel engine.”

> Again nuclear powered shipping has already existed for decades. The better part of a century, in fact. Piracy and rogue states have not been a problem.

Nuclear powered warships have existed for decades. Civilian nuclear power ships were a rarity. Most were Russian icebreakers, operating in the arctic, where pirates are quite hard to find.

The idea you are proposing is to start putting nuclear reactors on thousands of ships that would criss-cross the world's oceans on a daily basis. It's just not going to happen. And if you want to put them only on a handful, why bother? They won't make a dent in the emissions.

[1] https://newsroom.unsw.edu.au/news/science-tech/new-system-re...
waited a long time for this since they first demoed it at react conf 2018? in vegas. this was the last piece in the SSR + streaming + suspense holy grail. looks like the pieces are all finally done. congrats on the launch
I wish the U.S. would adopt a pure tit-for-tat policy with respect to trade. [1] Of course, that would fully detonate our trade relations with China.

[1] https://cs.stanford.edu/people/eroberts/courses/soco/project...
The supreme court ruled there is no right to privacy in the same ruling that overturned roe v wade.
> Could you point me to any sources that discuss how the program "has no basis in science"?

Do you know anything about it? The primary source I'd cite would be their own literature. It doesn't claim to be based in science. Sobriety is only possible by giving up your ego and embracing a higher power.
Hmm, how do you mean a floor missing? Was the top floor half-built or something? I've never seen this that I can recall.
Relavent xkcd: https://xkcd.com/927/
The 14th amendment isn't a part of the founding document, and it does. If you are in a similar circumstance to someone, you are treated the same. If you are in a wheelchair and someone else isn't, you are not in the same circumstances.

Your point really seems to be 'why doesn't the government give me exactly the same thing they give the less fortunate.' The answer is, you don't need it to put yourself in a position to compete. They do.
> they can't do it any other way

This is purely an extra data point; without it, there is 0 attribution for which user is responsible for a link to a video causing that video to go viral, besides the referrer header.

They have experimented with other ways to do this in the past. For example, they used to have a direct friends list on YouTube where you could share videos to
specific friends or groups of friends at once.
Are you talking about Quora?
Does this mean websites can now hijack android’s OS-level back button? In addition to hijacking the browser level one?

I hate when I hit back, but instantly redirect to the same page. This is so frustrating when it happens. And it happens even on major sites. (Microsoft’s official community “answers” forums have given me this issue lately. Fills up search results and then traps you there)
Wow, you would think that Amazon would just foot the internet bill for a company they now own. Especially since they basically own most of the infra.

I guess all it takes is a “10X” surcharge on fees to make even a multibillion dollar company weak at the knees.

I wonder if this is really just a chess move in Amazon’s playbook to get Korean government to bend the knee.

Raise awareness of how bad it is to operate in Korea. Threaten to cut services from country due to how prohibitively expensive it is. Korean citizens become outraged and put pressure on govt. Govt either bends to pressure from public or continues to bend for big ISPs.

Government is doomed either way. Public is fucked. Only winner is Amazon or Korean ISPs.
Target segment was a was of including specific subdatasets. For example the digits dataset which was just the digits 0-9 and yes/no.
IEEE Spectrum's writing and editorial quality does seem to have gone down over the last decade.

Though I'm not even sure what the target audience is anymore.