skysight-inc/HackerNews huggingface dataset:
I've been using a highly-tuned emacs configuration as my IDE for a decade now. Each time I want try to switch to VS Code I find that all my weird little shortcuts are going to take a lot of time to re-learn in VS Code.

I should really just take the time to switch to VS Code and rip off the bandaid since I think it would make life easier in the long run.
Exactly. Whenever these companies get caught doing something on unethical, it's never a moral failure. It's us rubes "getting confused" because our feeble minds can't process the brilliance of these big tech companies.
Let Physics Be the Dream It Used to Be
Yes, they leave this out too often.

And - I find the constant change in configurations very confusing, and the plugins also have scant documentation. I can tell 'what is installed' but not exactly how they work together.

Having tied out JetBrains after years away - I'm now permanently back in the IDE camp. For whatever reason they are now 'faster' and so the extra bulk of features comes pretty much for free, and they are just well optimized for whatever you're trying to do.

Java on VSCode is frankly full of little snags. C++ same.

VSCode is a handy go-to tool for quickly looking at code from any language.

For pilfering through some open-source Java, Dart, Rust, that little C project, Python ... the VS is it.

But for mainline projects, a good IDE is it.
Show HN: Will it rain on your wedding day? I built a site that lets you find out
> - Nothing is listening on the nominated port

Now that just shouldn't happen... ie, we(ops) aren't going to deploy something that doesn't come with healthcheck(s). The healthcheck never passing(port isn't listening) is going to stop the deployment from ever completing. Ops job is to push back on developers if they try to hand us something like this to build a pipeline for. In my company, to hand Ops the name of a repo and say "build a pipeline"...there are a lot of requirements, and the biggest one is a list of SLAs. That list of SLAs is how we build monitoring for your application, and one of those should always be a list of port(s) and protocol(s) that are exposed; we build monitors against those.
Why Ransomware Hackers Love a Holiday Weekend
I recommend "battle non sense" youtube's channel for latency reviews
>That being said, I would be O.K. if the scan is performed on the device upon physical access by the authorities.

Why? You have physical access to the device. Just look at the data. The CSAM scan will only ID known imagery. What if this person has new content that is unknown to the database? This is a non-sensical justification.
Hi everyone & happy Friday!

Thanks for checking the site out - this is my first “real” project I’ve launched after completing a coding bootcamp last year.

Wedding Rain Checker analyses years of weather data to allow couples to pick their perfect rain-free wedding date. The platform can access nearly all global weather stations, allowing users to find the perfect rain-free date for just about any place on Earth, all in a matter of minutes.

I got the idea for the site when I got engaged earlier this year. I realised I could not find any weather data for specific locations where I was considering getting married, especially comparing how many times it rained on specific dates over the last few years - which was the first thing I wanted to know before deciding on a date.

For now, this is more of a hobby project than a full-time thing. Appreciate any feedback you have, either in the comments or email me at weddingrainchecker@gmail.com.

Thanks all!
E) Their promise that they would only include scanning of images that appeared in multiple countries' databases.

As of right now, is there even a database other than the one NCMEC has? I suspect they are waiting for the NCMEC to spin up its European branch.
Ironically, After a couple of days of use the new Web Browser opens every website like full fledged browser, Even retains authentication cookie except (drum roll) Twitter!

Twitter just shows a button 'Try Again', What a tragedy.
Generated code doesn't have to be magical. The generated code should off course be reviewed by a person from time to time. It must be debuggable and readable/understandable too. Otherwise it doesn't make any sense.

A good example for generated code are typed clients for an OpenAPI interface. Instead of writing a REST client on your own based on a spec, you generate it. And if something isn't right in the first place, don't edit the generated code, fix/configure the generator instead!

Or database models. Either generate the database from the models or the models from the database.
They are in terms of compartmentalization of orders, and "sentiment" that drives top-down issues, e.g. Wells Fargo account creation fraud.
Last I checked, most of the MS-owned language servers used proprietary licenses.

An example is the Python language server

https://github.com/microsoft/pylance-release

They base it 90% on the open-source pyright library. Then the lock down all their own enhancements.

https://github.com/microsoft/pyright

This is why MIT isn't always the correct choice. GPL wouldn't hurt devs at all and would protect from this kind of garbage from MS.
>It would take a minuscule fraction of Microsoft's resources to fix this

This isn't true, almost each thing would require at least a UI rewrite to get them up to consistency or you'd just have a task of trying to hack the ten or so UI frameworks to look the same but they wouldn't act or feel the same.

I don't think it's impossible but you need a product focused exec who cares enough about it to basically demand a few of the apps or panels be rewritten each version and keep sending it back until it looks right.

Has to come from the top because a designer going around and trying to get them to rewrite say Device Manager to make it feel up to date and stop flickering isn't ever going to convince anyone.

Of course every step of the way reviewers and your own community are going to be shouting at you for changing 20 year old UIs. It'll be a thankless task until 10 years after it's done when they come to terms with the change and realize they finally have a consistent Windows.
Shared UI is the siren song of cross platform. It has its uses (POC apps, short-lived apps, LOB apps), but it should not be the general go to for anyone. Yet inexperienced teams are going after that as their first foray into cross platform for large, production apps and paying the price.

Experienced cross platform devs generally go for what you describe, a shared core with platform specific UI. In phase 1 you have 50%-70% of code sharing, and over time as you develop a UI DSL you can move up to 90% of code into the shared layer.

The tools for this exist today mostly by leveraging existing mechanisms for C FFI. In the old days that meant writing C++, but theres much better options today in Xamarin and (soon) Kotlin Native. Xamarin is very much batteries included, and you can leverage most of the C# nuget ecosystem to get the functionality you desire.
It's probably about the same, it seems like the change is producing larger more robust plants which yield more. It doesn't seem like that should either the size of the rice grain itself or the nutrient content.
I think the author is probably mistaken in their understanding of something here.

Foundries don't license fonts for "desktop use" on seemingly generous terms out of the goodness of their hearts. It's because they have no choice. Letterforms are not copyrightable. The font file†, however, is. Once a typeset character sequence is printed or rasterized and flashed on the screen, any license that a foundry cooks up trying to control that use would be unenforceable. The only leverage they have is controlling the distribution of the file. As it turns out, due to the way Web fonts work, this means they do have leverage on the Web—for technical reasons.

If the foundries had a choice, they wouldn't opt to license Web fonts more generously, they'd opt to extract more money out of the traditional uses.

(Note that this is written from the perspective of the way that copyright works in the US.)

† EDIT: I realized just now while brushing my teeth that this might lead to further mistaken understanding when put this way. So pretend instead that I said something like "what's in the font file", and pay particular attention to <https://ansuz.sooke.bc.ca/entry/23>.
What happens if my website gets really popular and nobody's there checking the analytics? Then that's a problem unless it's perpetually babysat all because of a font.
A 144hz monitor makes a huge difference. It will cut the inherent max latency of a display frame from 16ms to 6ms. They feel amazing.
I suppose all problems of this world are caused by quantum mechanics in a sense.
Outdated Advice for Job Applicants
Yes, it doesn’t look like they would be suitable for low-DPI screens at regular text size.
Also worth mentioning: https://mbtype.com/ by Matthew Butterick of practicaltypography.com fame offers a really permissive license for his fonts: https://mbtype.com/license/ .
How big is the market for fonts? Is there a reason for this or is it mostly just the market being dumb?
I wish it were easier to convince projects I like and want to help migrate for the same reason. Committing to their repos does not put me in the clear--including mere mirrors.
As sibling mentions, the problem isn't that they made a new settings panel, it's that the new settings panel is both slower and less functional than the old ones!
Ask HN: How do you solve timezone offset problem in Front end
Hello everyone,

I'm having a challenging task. Angular application needs to show the date from the database object. It needs to stay the same, no matter where you are visiting the application. The only exceptions are the comments. I was testing this using Web Browser plugin.

I did a lot of research, but did not find a best practice. How would you solve this?

Currently I have created the following snippet:

// To-Do: Needs to account summertime
public dateToUTCDate(date: string | Date): Date {
const time = date instanceof Date ? date.getTime() : Date.parse(date.substring(0, 10));
return new Date(time + new Date(time).getTimezoneOffset() \* 60000);
}
144Hz monitors are definitely a noticeable improvement over 60. GSync/Freesync are nice in games, not really relevant elsewhere.

If you want to avoid microstutters associated with power savings you can adjust the minimum clock the CPU governor will set.
How does this impact the soil?
Huh, interesting. Doesn't seem to be an option on the Mac version, and I don't think there was this option the last time I tried to do it in Windows, but I'll admit that was a while ago.
SWR 1.0
> So it creates a situation where you can walk in the store, grab what you want, and then walk out with out having the police called or anyone legally allowed to stop you.

Walmart and Target, among others, reportedly monitor small thefts and let you get up to the felony threshold over multiple incidents before swooping in.
The best reason for housing prices increasing faster than inflation is that the western world has made it policy that middle-class wealth is based on housing prices rising faster than inflation so many economic actors will personally benefit from higher and higher housing prices.
Then why are these workers dependent on food stamps?

It's self-evident that someone working full time should earn enough to support themselves and their family.

> We should want to see more employers raise the fraction of their workers on welfare benefits

Why would you want that? That just means subsidizing worker salaries for these companies.
The problem is often political. I have been at many orgs where the management of the dev team over promises something to the executive, and then when ops finds out about it and realizes the project is going to be a giant dumpster fire whose failure they will likely be blamed for, it becomes really hard for people to foster a “we’re on the same team” mindset.

As with most organizational dysfunction, middle management fiefdoms are to blame.

It always helps when the executive can see through this bullshit and ask the right questions, but often by the time this happens millions of dollars have been wasted.
We don't post to this API. It's Amazon site itself post to this endpoint.

We got this endpoint by opening browser devtools network tab.
> Of course the “entire” economy wasn’t shut down.

That may seem obvious to you and I. Hence my question.

> But the unemployment rate would have been massively higher than it was had the government not stepped in with loans (essentially grants) to encourage companies to keep people on the payroll through the lockdowns.

Would it? What models showed that, and how much higher is massively?

> There were also many companies that kept workers employee on the payroll despite being essentially shutdown for weeks.

There were many companies that that stayed open.
And remember, "violence" is whatever Amazon says it is. Heck some people even claim that failing to endorse a particular viewpoint, i.e. being silent on the matter, is itself a form of violence.
Are you alleging that GitHub was aware of this and copied it?

Personally, this is the first that I've heard of 1s, but I'm conversely aware that Microsoft has been working on cloud based development with vscode for a while now.
You will find that the DEI team feels empowered to ignore you.

I'm not saying to take advantage of mob justice, just shine a larger light on the facts.
VS Code is nice! I need to give emacs another whirl, I learned Vim because I like working on a more lightweight cloud dev server while I travel.
Finding out the insn length is a trivial part of decode, unlike in other architectures. If x86 can profitably use "separate decoding units", RV+C will be able to do it to a far greater extent.
Imagine a cryptocurrency like log of data verifying images. Essentially, all cameras will be internet connected with a process to force creation of an NFT at the moment users press the photo button which includes the entire data of the image. Any image without that tech will be considered unreliable. Of course that would have implications that no photo could ever be deleted, I’m guessing this system would be government based and they would be just fine with that.
The developer mindshare really matters to apple. As long as they are on apple devices, some significant fraction of them will be creating software for apple devices. Without 3rd party software, apple is toast.
You haven't noticed meeting the ones who do.
People gotta get paid, but I don’t understand why their aren’t competing models in the market?

Anyone have any insight into why this is the case?
Classic hype cycle. We've seen mRNA can do one thing really well, now it will be suggested to do everything. It will be a few years before we have a clear picture.

https://en.wikipedia.org/wiki/Hype_cycle
Is there an alternate where they upload, scan, encrypt only non-offending data? Is there a way to share a public key that only allows for encrypting but not decrypting that would make this a viable option?
That seems unlikely to me. mRNA could be vaguely defined as a biological programming language. I don't think people like thinking about it so its poor marketing too.
Yes, misanthropes are a hazard, but I worry also about a scientifically sophisticated teenager who gets jilted or suffers some other emotional shock, and then decides to end it all for everyone. A species is in trouble when its entire future depends on the emotional stability of adolescents.
It's not true that most people don't care. Most people absolutely hate it that they have to re-learn Word or Excel or Windows whenever a new version comes out. Just ask any mom or dad. But what can they do about it, really? Nothing.
I'll bet Take Two has a case here. That said, they've just guaranteed they'll never see another dollar out of me. This is one of those cases where they had another play that was win-win. (Well, except for the lawyers.)
Is anyone here a lawyer who can explain why it's worth taking such a big publicity hit over this by Take-Two? Like it is clear these guys are not taking away any business from them, nor are they really losing any money.

Is there some sort of IP reason, like they need to defend the IP lest it be marked as being abandoned? Or is there some other legit reason beyond spite that they are taking this on? I dont see Take-Two losing any significant amount of income from this enthusiast project, but I could be wrong and I am willing to be corrected.
I want my data to stay encrypted no matter what however I accept that there are people who can do bad things and access to their data could be valuable.

So it is a compromise, the data stays encrypted but the authorities can get an idea about the nature of the data.

Then it is up to the person to reveal their data as a part of a cooperation agreement. If there's a CSAM material match, the person can prove innocence by revealing the data(false positives) or the judges can increase the severity of the penalty for not cooperating.

Milage may vary depending on your jurisdiction however I think it is a good way to look at someones stuff for offensive material without actually looking at unrelated stuff. So no match, no reason to try to get into the device.
> even has a loading screen

Slightly unrelated, but this is one of this things that annoys me the most about using gmail. Inbox by Gmail used to load instantly, there's really no good reason at all for it to have a loading screen.
Thank you! For years I've tried to figure out how to chain the Python ternary operator while maintaining readability, and here it is!
This is largely because "modern" design has such poor information density, it requires 15 different screens for a single screen of a "legacy" UI.
My money's on mRNAI/ML.
>I would love it if the government required vaccination but the last time the government did something controversial, a bunch of looters and thugs stormed the US Capitol and killed several police officers.

As sennight said, that is a lie. The one person who died violently was one of the rioters, an unarmed woman who was shot by Capitol Police. Four other rioters died of natural causes around the time of the riot.

(And before you mention him, Officer Sicknick did not die from being hit by a fire extinguisher because that never happened (<https://www.snopes.com/fact-check/brian-sicknick-fire-exting...>). He died of a stroke which the autopsy found no connection with the riot (<https://www.washingtontimes.com/news/2021/apr/19/brian-sickn...>). And yes, the autopsy also specifically checked—and did not find evidence—for a connection between the stroke and pepper spray.)
Flutter is not likely to be successful due to the amount of work required to maintain the UI compatibility, but if you are going to do shared UI then Flutter is the only one approaching it in a reasonable way IMO. Throw out the UI and _actually_ standardize on a unified system.

But yeah I don't think it will succeed in the long run.
Lets be real here though, the answer to the person you're talking to is effectively "get over it, what kind of person do you want to be?" when talking about this instead of suggesting there is no risk. Or concrete actions to take about managing it - like talking to your own mentor or person you trust as a sanity check if you'd otherwise be concerned.

Cause there is risk for people. There is a risk they are going to make a mistake, and/or find out that they are ignorant and that society has rapidly moved on from social mores they may be accustomed to.
I agree. I used to subscribe to the “agile” way of doing things —- only to discover that in reality, just some rituals are implemented, like stand-ups that are meetings and retrospectives that lead to zero change because the pain points are institutional. This is just a hollow, pointless waste of time for the sake of appearing “modern” on the very surface. Doing things properly would require far too much change to the status quo.

Hence my point: it seems like a good idea, appears to work given the proper circumstances but simply does not most of the time, given the reality of many workplaces.
Right before it's uploaded to their servers...
> Some of the most used VSCode hotkeys are browser hotkeys

This kills me with Jupyter. Open bash kernel, make typo, Ctrl+w, sigh as tab disappears. I often open and pin several empty tabs so it only kills the tab, not the whole window.
Sure you can, you just need, in worst case, twice the decoders.
Consistency is not something windows users expect. In the "windows world" most software is downloaded from different sources, different vendors, different styles and each tries to stand out.

The result: every program is different in appearance and behaviour.
Indeed, vscode is more an emacs competitor than vim competitor.
I think we’re actually making the same point but you offer a very helpful angle. I suppose it’s not so much the population size but the closeness of connection.

Go back 40 years, and it was possible for you to be anonymous living both far out in the woods, or amongst the crowd of a huge city. In a small town, though, everyone knows everyone.

The internet is bringing everyone closer together and stripping us of our anonymity and privacy. There are tremendous benefits of this, but there are also costs.

The close connection means that people now know about all kinds of things they simply couldn’t have in past generations. Culture clashes spanning the planet happen every day now, but 40 years ago that was just not something most people would ever experience.

I think the close connection creates conflict, and as conflict escalates more and more people reach their tipping point where they would rather the state come in and suppress the conflict via law and regulation. It’s hard to live and let live when the people who offend you are in your face.

It’s a big challenge for our era, and I imagine the history books will have a lot to say about how world civilization changed as a result.
What I am seeing is a need for more vertical integration. Teams need to be made to own the entire product stack. If you do this, they will be incentivized to make it simple and stable.

No one should ever get to play "not my job" while simultaneously throwing complexity grenades over to another team.
Try adding "vim.useSystemClipboard": true to your VSCode's settings. Works mostly fine for me...
Guy who made the video here.
The lock mechanism itself isn't one of the easiest, but also not one of the hardest to pick skill-wise. However, it does take a very long time to pick through which means that the lock is doing its job very well. Also, I have read that this lock is very resistant to destructive attack as well. So combining pick resistance with physical resistance, you have a very good lock as long as it's installed on a good door and the building has all other security measures in place (no ground level unprotected windows, etc)

Also worth noting, Bosnian Bill (a more recognized name) also attempted this lock here https://www.youtube.com/watch?v=tLeiPmfm-2s
Out of the chaos of the early person computer era came the eventual coalescing around the IBM PC XT standard... it wasn't compatible if it couldn't run Microsoft Flight Simulator. This is the era in which I came of age, and learned to program, and was paid as a programmer.

For a few decades I did other things... now I contemplate a jump back into programming... and see this mess, and cry.

I see zero hope of being able to earn an income based on knowledge of how things work from the bottom to the top, and using that knowledge to deliver value.

All of the good of the world is lost, nothing can be made secure, nothing is compatible with 90% of everything... it's all been shredded, and makes me very, very sad.
If its easy then please provide the comparison to support your 20%! Otherwise it's just speculation.