skysight-inc/HackerNews huggingface dataset:
Hi all,

Feels good to finally post this. It's not got the landing page I was hoping for, but life gets in the way so this feels like a now or never moment, so let me explain what Browser Snippets is.

Browser Snippets was born as a way I could easily write reusable JavaScript snippets that I can also share as part of a team. The platform works in conjunction with the Browser Snippets Chrome extension so you can write once, visit a site, and in two clicks you can execute some code.

It essentially replaces the need to open up DevTools and write in the console, which is great for sharing snippets with members of the team that aren't developers, but need a little extra functionality (like pulling and displaying certain data on screen).

It's still in beta, and probably will be for a while, but the MVP is there where you can create teams so you can all see each other's snippets.

I'm starting to ramble, so I'll leave it there. Any feedback would be really appreciated. Good or bad; and if you find it useful, that'll make the whole build worth it :)

Thanks for reading. I hope you like it.
The github repo has benchmark versions of most of their examples that include built-in timers. I just checked both versions the "reverse a string" example (a single-core and a multi-core version) in an Ubuntu 20.04 VM:

Single core: 2838.660s (47.31 minutes)
Multi-core: 843.828s (14.06 minutes)

The multi-core version was using four CPU cores, so slightly worse than a linear performance increase. Both versions lit up the fans in my MacBook Pro pretty hard.

The string in question, by the way, was "hello" -- five characters long.

Does this terrible performance match your previous findings? It is so bad I'm wondering if there is something wrong with my dev environment.
It's so cute and I really enjoyed the high level overview of Kafka.
I agree that private natural monopolies are bad and publicly-owned utilities are better. But i disagree that ISPs are natural monopolies. There are not really comparable to water or electricity - you can easily have multiple overlapping distribution networks or passive/lower-layer infrastructure leased per-subscriber. Just have public setup that encourages competition instead one that discourages that.
To become a bad developer you first need to be a good developer. Once good, the only way to become a bad developer is starting to work for the wrong company, dark patterns, viruses, etc..
Exactly. 5G doesn't focus on increasing coverage but mostly latency. The mmWave stuff with the 1 Gbps+ speeds has a coverage of around a block, so that will only be used in super-dense areas.

From the competition section of the site, the sweet spot for WISPs seems to be just under suburban, where there's enough density but not quite cable coverage (or the local cable monopoly isn't giving their network enough TLC)
Could be just me. I see Apache kafka more nightmarish than bureaucracy in 'The Castle' or Police/judiciary in 'The Trial' from author Franz Kafka. Mr Franz btw stole his last name from this very famous Apache Kafka project.
That seems a dangerous way of wording this. The market value of AWS credits is less than the equal amount in regular currency (so: 10% in AWS credits is less than 10% of the revenue). The developer share is increasing to 80% (with bonus AWS credits).

Also:

> You may not sell, license, rent, or otherwise transfer Promotional Credit. Promotional Credit may be applied only to your own AWS account. Promotional Credit has no intrinsic value, is not redeemable for cash, has no cash value, is nonrefundable, and serves merely as a means to provide an incentive to use our Services. Promotional Credit may not be purchased for cash, and we and our affiliates do not sell Promotional Credit.

Source: https://aws.amazon.com/awscredits/

And:

> The AWS promotional credits can be used for 12 months from the date they were granted.

Source: https://developer.amazon.com/blogs/appstore/post/93e89be7-16...
I've been using vanilla GNOME on debian and it's fine to me. But, I am personally not really picky when it comes to GUIs. From what I understand with Ubuntu and Pop!_OS, those distros are somewhat interested in creating their own branding, and don't seek to upstream everything that they do. I don't think there is anything that upstream can do about that, besides maybe make it easier for them to add more patches and tweaks. Some of the upstream developers I've talked to are not particularly happy that there are so many forks, but it all comes back to the manpower issue.

>have to deal with their bullshit on a daily basis because they control a lot of unrelated stuff.

Can you please elaborate what you mean here? If there are some bugs that are causing issues, you should consider reporting those.
Also take a look at Colorado Excluded: https://www.coloradoexcluded.com

Which is referred to in the news article and whose creator posted it to HN a few weeks ago: https://news.ycombinator.com/item?id=27265447
I hadn’t thought about this from a legal contract perspective. I like the idea of making our commitment enforceable. Do you have ideas of what you'd want in a contract?
As I recall it's all via MFi (Made For iPod, etc.) which unfortunately isn't accessible to the average man on the street. All behind NDAs in a special developer portal. Typical Apple.
I didn't feel it'd be necessary to specify to what I'm referring to from your short comment but to answer your question yes, I'm arguing with this particular part of your post:

>Can we officially admit that fb not only killed the oculus brand but perhaps even tarnished public opinion of this generation of VR?

This is just simply not true. There's absolutely no proof whatsoever that the Oculus brand is dead. In fact, it's one of the most popular if not the most in some platforms. And I also don't see how FB has "tarnished public opinion" of this generation of VR since again it's one of the most popular which is rather incompatible with that. Perhaps you have data that I don't have, in such case please share it so I can learn.

What you wanted to say, perhaps, is: "can we agree that in our small bubble, the Oculus brand is dead" which would argueably be not true either as I anecdotically now many HN readers who own them and are very happy but it'd perhaps be a bit closer to the current situation.

My whole point is, here there's a lot of hate towards certain companies. I share it to some extent as well but I'm definitely going to point out when nonsense is being spread in comments like yours. Your comment was simply not true and got upvotes of people who dislike FB which is a very respectable position but I thought we could do better and not promote fake facts just because it harms some company we (in general) dislike.

And no, not meant to be insulting. I don't see how can I be insulting by pointing out your comment isn't correct or to be precise, in fact, I'm answering your stated question: "Can we officially admit that ..." - no, we can't. The data shows otherwise.

And a finishing disclaimer: I don't have hidden interests towards FB or work for them in some indirect way. The only thing I have is WhatsApp, the rest I stopped using very long time ago. I won't buy Oculus for the reasons you and others state. But I'm not blind and I know that most of the people don't care at all and will buy. In other words, the majority of the people won't stop buying it because FB owns it or it requires FB login or they do data harvesting or all of those things combined.
Is 20 hours 2 times more fun than 10 hours? If you look at negative steam reviews for gamers having played 100+ hours they would disagree
Anybody have a guess at the price point for this board once it launches? Competition is stuff like the HackRF One at $120, although this is less capable.
Huh?? The book he wrote is literally linked in the first paragraph
Google funding project to write portions of Linux kernel in Rust
>Also, is SYOISP closer to what https://starry.com/ has deployed?

Probably not:
>We designed every piece of hardware ourselves to ensure it works seamlessly to beam internet from the tops of towers to building receivers and right into your home without a hitch.
Because it comes with prestige and they want to show everybody that they have the funding.
Clop Ransomware Gang Arrested
There is a famous story of a codebase that used `sleep` calls for this purpose. Start by sleeping 1 ms every time that the undesired function is called. Next release, up it to 10 ms, then 100 ms, and so on.
Summary of the proposed provenance-aware memory object model for C
These are all valid points, and I'm not saying we shouldn't do research on fusion. It certainly has promise. However, I don't think it has a serious chance of pulling a deus ex machina move and saving us from climate change in our lifetimes. A solid energy source a century from now? Sure. Fission on the other hand has a good chance of uprooting the fossil fuel industry, and combined with other renewables is our best chance of getting carbon emissions to a place where civilization might not go into a bronze age-style collapse from climate change.
This is awesome! I will prefer all my technical documentation in children's book format from now on.
Unassumed realism is not the mark of adulthood. If you sincerely agree then the stance you should hold is "I support atrocities if they benefit me and I don't care if other countries violate human rights".

From then on we can have a good discussion. But the above is using realism as an excuse instead of fully assuming it and taking it to its conclusion.
I’ve found the best middle ground is to use a Mac and then mostly develop in a local VM. Snapshots/etc are wonderful, and they can be transferred from machine to machine, so “setting up my development environment” is as simple as “install Parallels.”
I searched for 'Google Cloud Sales'
and it gave me this page: https://cloud.google.com/contact
The phone number works, the chat number works, and the form works (I tested all three from the US).

I used to work for Google and many customers were able to reach sales (or more correctly, obtain a TAM and use them to deal with quota problems)
Yeah, sorry, it isn't Cloudflare's fault that TOR traffic tends to be malicious. If you want to use TOR but be treated as a respectable peer, get the TOR team to find a way to shut down all the illicit stuff they currently enable.
PyTorch at Facebook
Are you equating, your money is at a bank and controlled by the government with 'somebody might make a supply chain attack against my hardware'. That seems silly.
Maybe they don't care about you as a customer? Apple has never pretended to cater to everyone.

They aren't for you. Move on.
Pleading the 5th wouldn't be an issue if I didn't lose my job in the process and didn't have to leverage my own legal costs knowing I'm innocent. That is why I like the german legal system where prosecutors are much choosier over cases and also reimburse the defendants for being held if found innocent.
Do you see no value in throwing these "dumb contracts" out there and seeing what happens? An expensive experiment for the speculators, but we got to the moon on a roman candle iterated a billion times, so I'm personally just curious about these programmable organizations of digitalized willpower.
America is turning into a lottery society
The important sentence: "It won't generate power".

It's all fine to do this as a research project. But this is not a technology that is going to solve our energy problems any time soon - and it certainly shouldn't distract from deploying the solutions that exist today, aka mostly wind+solar.
I guess I'd need to understand what astronomers were trying to accomplish in these photos being released showing the harm of starlink (all just streaks from starlink).

Also - why wouldn't space based (especially if relatively cheaper than it has been) astronomy be significantly better - just as a normal photographer if you shoot a long tele shot atmospheric issues are a factor so the physics and now with spacex cost of space based approaches seem appealing potentially.
I think you meant libertarian, not neoliberal.
Yeah. It was also made available on BB10 when they added Android compatibility near the end. I used it more when they handed out free apps every day.
Even if english speaking, it is still ambiguous. For example in my keyboard the micro sign (µ; not to be confused with the Greek small letter mu) is easy to type (AltGr + M). I bet this is the same for the majority of HN users. The US keyboard doesn’t use third level shift (usually AltGr) so most people that use US keyboard exclusively are unaware of this. Whenever I see people using the Latin small letter U (u) instead of the micro sign, all I think about is how restrictive the US keyboard actually is, and how much of a shame it is that the culture which predominantly uses this restrictive keyboard design came to be the dominant when designing computer interfaces.
Making a transgender person into a cisgender person is a bit different, though I wouldn't remove any of my mental problems either, so maybe it's a philosophical disagreement.
> If you have ADHD, what's the value of getting it diagnosed?

All the forms of care that require a legitimate diagnosis?

> How much wasted time would be needed to get it diagnosed?

An hour (not "wasted", used for legitimate diagnosis and assessment)

> And how much wasted time would be needed until a doctor hits on the right prescription for you?

Is your alternative just not getting meds? How is that better than trying?
I am not an expert but I've seen this book recommended: Small Time Operator: How to Start Your Own Business, Keep Your Books, Pay Your Taxes, and Stay Out of Trouble

https://www.amazon.com/Small-Time-Operator-Business-Trouble/...
Supporting exec sounds like it could be a security issue. I also have a hard time imagining why on earth you would call exec that way.
This seems plausible given our understanding of the database internals. In general we found our AWS contacts to be knowledgeable and forthcoming about complex tradeoffs between Aurora and vanilla MySQL, even if some of that information is hard or impossible to find in the docs.
It's always interesting to hear about huge funding rounds for companies I've never heard of. Even more so when they apparently work with a bunch of companies I have heard of.
The noise issue is something that hadn't occurred to me; It would be interesting to hear some first hand experience from the developer.
select, poll, epoll, are all the same model of blocking and signalling for readiness.

The problem with the former occurs with large lists of file descriptors. Calling from user to kernel, the kernel needs to copy and examine N file descriptors. When user mode comes back, it needs to scan its list of file descriptors to see what changed. That's 2 O(n) scans at every syscall, one kernel side, one user side, even if only zero or one file descriptors has an event.

epoll and kqueue make it so that the kernel persists the list of interesting file descriptors between calls, and only returns back what has actually changed, without either side needing to scan an entire list.

By contrast, the high level programming model of io_uring seems pretty similar to POSIX AIO or Windows async I/O [away from readiness and more towards "actually do the thing"], but with the innovation being a new data structure that allows reduction in syscall overhead.
The difference is that I think we're in a position to actually change behaviour (require companies to not do bad things like ghost candidates, lie about salary).
Echoing others here, I honestly prefer this than dealing with outdated defaults built into the OS. More often than not they just get in the way.

The real bummer is for newcomers. It's going to make getting started much more of a headache since they first need to learn how to setup a local environment.
Once you play a sound, you’re allowed to keep playing sounds I think. Just play a silent track until sound is needed
It is more intellectually dishonest to bemoan the danger of "uncontained fusion" by citing the hydrogen bomb.
I feel like the blog author understood TLS termination just fine. They just think that you can solve the same problems as CloudFlare without being actively hostile to privacy.
Because Jeff Bezos is one of the richest people in the world and he has essentially unlimited money.
You statement doesn't actually confer confidence that you understand space propulsion. No fret. This is something most people don't know about, but I guess a lot of people speak about it because it is cool. We already have ion drives. But butterfly farts won't get warheads to Mars faster. Your burn rate will increase dramatically depending on Mars/Earth alignment. This again adds to the cost that we've been talking about above and how historically oppressors have had a difficult time sustaining combat with subjugated people, and cost is directly proportional to distance. It's a matter of will mostly and how much they get from those subjugated people. But even with the best technology we can see ourselves building within the next decade or so we're talking 3 months on a good alignment (current is 9 months). For comparison, Columbus was on the sea for 36 days. People saying that "oh, it was just like ye old times" don't realize that we're still talking about substantially longer time frames and substantially higher (proportionally) costs of travel.

And as for robotic warfare, I'll give the same answer to everyone that asks how guerillas fight tanks and jets. 1) you can't rule the dead, 2) international trade looks down upon countries that commit genocide, 3) genocide is typically pretty expensive.
So how efficient are for instance the EFF on conveying messages like this to a broader public. I bet that the gaming community for instance would have the technological understanding needed to understand how this is bad for them as consumers.
Windows 11 with Tailwind CSS
After the recent Windows 11 leak (see https://www.theverge.com/2021/6/15/22535123/microsoft-window...), I felt inspired and decided to design a concept UI with Tailwind CSS based on the provided screenshots/videos just for the fun of it. Feel free to check it out, download it and play around with the code!
JP Morgan buying UK robo-advisor Nutmeg
What if you had a system where people approve your stories with a certainty score and reason?

I mean maybe those tests you are writing really aren't useful - not all testing is - why not get some opinions on it immediately before you start?
Absolutely unintended consequences, but at the same time, part of a long history of musical scenes developing out of access to (comparatively low-end) technology, and doing the best with what you have:

- Many early UK grime beats (by folks like Benga, Dizzee Rascal, So Solid Crew, Ruff Sqwad) were produced on a Playstation (software: MTV Music Generator or Music 2000)

- (originally pirated copies of) FL Studio running on student or family computers are more or less directly responsible for developments in mainstream US rap in the past ~15 years

- the ultimate one of these is the idea that looting of music stores in the 1977 blackouts led directly to the birth of hip hop in NYC - but this is probably apocryphal and most of those early DJs were just "misusing" their parents' stereo equipment

Would love to hear some more examples!
That was glorious! Do kubernetes next!
No thanks. I've flown turboprops into tiny airports a lot and they are obnoxiously loud. Usually these are 45-60 min flights, more than that I think risks hearing damage.
What Keeps People from Using Password Managers?
> It would be nice if this were built into Windows, but in lieu of that

Something that's basically equivalent is builtin. Just switch your keyboard from EN-US to EN-INTL, and now several accent characters become dead keys, so ' e = é, etc.
I live in Virginia and I was proudly told this by a Republican running for office. They have a DB so they can pool data state-by-state and cross-reference it with social media.

My advice if you don't believe this is true, just ask! They are very open about talking about this and feel that Democrats do the same thing.
(author here) It's similar in architecture, if not in the actual hardware being deployed. FWIW my personal opinion (informed by personal experience) is that designing your own equipment is a huge distraction with little benefit. We'll see how it works out for Starry.

As I understand Starry has moved to focus largely on apartments buildings and in-home WiFi (rather than residential Internet service to single-family homes.)
First thing I thought reading this too. They ate making a fool of themselves and think it hurts Ohio’s position as a tech leader.
A Rubyist's Walk Along the C-Side: Primitive Data Types
>"I don't understand tls termination"

Lots of people don't and that can create a serious problem when someone else is doing it. It's not unreasonable to have it in a cons list.

Also the cloudflare captchas absolutely suck. That's a huge con and you really shouldn't put up with it.
I have a project that pyinstaller can make into a 12 MB single file. Docker turns that same project into a ~400 MB container. This is not considering the Docker install footprint.
I suspect it depends on what the existing reputation is. I recall a discussion here on Hacker News where someone asked why people weren't using Google+ for software blog posts anymore, and the response was that they'd broken all the links.

I'm sure that wouldn't have been an issue if it was super popular and respected, but it was already fading away at that point.
Think you mean "scrip", not "script".

https://en.wikipedia.org/wiki/Company_scrip
Have you ever dealt with seriously verbose code? One 10,000 line file with maybe three functions or methods? Setting and resetting the same variables; perhaps introducing new ones kind of randomly? From a programmer who uses essentially one control structure, a while(true) loop with a test and break somewhere in the middle of the body? (Actually, the last is a separate issue, but things like that always add to the fun.)
Seems this line is in Polygon contract: https://github.com/IronFinance/iron-polygon-contracts/blob/m...
End Library Fines
RTL-SDR can't transmit (only RX)

RTL-SDR can only go up to around 1.7 GHz which is a big issue if you want to analyze most modern RC stuff for example.
This was at a fairly large enterprise that utilized Fastly, and has since switched to Akamai. We had many meetings with our AM and their architects to get access to their compute engine over multiple years but never could get them to open the doors. If I could migrate our GraphQL services to a new domain, I'd certainly try it out!
A proposed solution to this: https://jeffhuang.com/designed_to_last/
True. But as soon as your program wants to list two directories and knows both names ahead of time, you have an opportunity to fire off both operations for the kernel to work on simultaneously.

And even if your program doesn't have any opportunity for doing IO in parallel, being able to chain a sequence of IO operations together and issue them with at most one syscall may still get you improved latency.
The Shah was not more open. He was replacing the hope for democracy. Read about what the SAVAK did, he was just as brutal as the current regime.

The US and the UK are the primary reasons why there aren't any meaningful elections in Iran anymore.
Sounds like the account is flagged for ~reasons~.

I've never had to contact sales to get any quota increases, so I guess it's YMMV.

See dekhn's comment for contact details.