skysight-inc/HackerNews huggingface dataset:
Show HN: Mockingbird – VSCode Extension for Fake Data
Hello all, I'd like to present my latest project Mockingbird. It is a VSCode extension for generating fake/dummy data inside your editor. I've put a lot of power in this compared to some other solutions.

Not only can you generate the usual gambit of Lorem Ipsum, names, places, numbers, IDs, colors, etc.. You can also use a powerful Handlebars-based templating engine to build out structured objects like JSON objects. I've even included a reverse-regular-expression library to generate data that matches a given RegEx pattern. If you find yourself repeating the same patterns you can save them as a preset to use later.

Please give it a try, if there's any suggestions or bugs found, the github repository is at:

https://github.com/chris-pikul/mockingbird
First and foremost I tried to have the whole flow of UI and clicks be nothing more than request after request. Compared to modern javascript frameworks it might not be as smooth, but it is super quick and works for my use case. Of course I use a little javascript here and there, but the javascript is not making server calls (except for my visitor statistics module).
This might go beyond how you feel and into direct biological impacts. I don’t listen to the Huberman Lab podcast much these days but I did listen to the episode with David Linden, which I found quite interesting. [1] At one point, they are discussing the mind/body axis and the latest scientific developments in exploring how mental states can affect the body. There is a fascinating although very untested - but, testable - hypothesis that meditation may be able to slow the growth of cancerous tumours. The mechanism here is via nerve endings that reach the tumour and their effect on immune responses at the site.

Linden was emphatic about how science requires a mechanism of action, and that when people refer to this potential effect against cancer as due to “alignment of chakras” or whatever, it is “bullshit” to use his word.

I get where he’s coming from, but on the flip side, the benefits of meditative practice were arrived at long before science took any note of them. In fact for many years, the scientific perspective on it was that it was entirely bullshit. Meanwhile the people who were (admittedly incorrectly) talking about chakras were delivering real benefits to their followers. As such it seems to me that more respect is warranted, and perhaps even more caution. What do you think?

1 https://hubermanlab.com/dr-david-linden-life-death-and-the-n...
I am European too and while we have better payment systems than in the US it's far from perfect. If you're referring to a SEPA transfer it is at least an order of magnitude more friction than handing over cash to someone.
I would flip the script and say why is it a good idea to let the government have that much influence in your life without probable cause and a warrant to know what your financial transactions are?
You think it's cheap to get Matthew McConaughey to dock to a damaged space craft spinning at 68 RPM and falling into an atmosphere?
See my example. I am trying to extract the value of an optional field in the enum. That's where the unwrap comes in.
efficiency efficiency efficiency will be the call.
How do we reduce model size without losing ability.
Can hardware be designed to run a particular set of weights efficiently?
I believe there is some … difference … between theory and practice, however!

At least in my experience over the last couple of decades in the US.
I didn't say they were, I didn't say anything about MSN messenger. What I said is that Japanese emoji were not originally implemented with Unicode, therefore non-Unicode emoji are not improper or diluted emoji. Emoji does not imply Unicode, Unicode is just an implementation detail of modern emoji, it isn't and never was a defining attribute of emoji; for the first several years of emoji's existence in Japan, Unicode wasn't involved.
Having the decompressor updated automatically by Windows Update is a significant step up from the current status quo of installing WinRAR or 7zip once and then usually never updating it for years because it has to be done manually. Microsoft will probably have more diligence in hardening the binaries than 7zip too, which resisted enabling basic exploit mitigations like DEP and ASLR until 2018 and still doesn't enable the more advanced MSVC mitigations as far as I'm aware. There's no excuse for that in an application that's expected to handle untrusted files.
Not sure why you're downvoted. Both phenomena (*-town immigrants and cowboy-hat immigrants) happen all the time. I'm an immigrant in the latter camp, though I moved to Canada, not the USA.
Seems to me, that should be the default behavior.
How so? Both cache some sort of data and regurgitate back something from that data at behalf of the users request.
Do you deny that people who need insulin to live pay through the nose for the privilege of not dying?
Except for the part Llama 2 weights are still being gated by Meta. There are certainly ways around this, but officially this hasn't even changed, even for Llama 1. I'm not certain Meta has any real incentive to do so. This arguably puts a bit of a damper on home solutions.

Falcon looks very promising, but we seem to be at the early stages of its release, and I haven't seen much validating the claims made about it.

I'd love to host an in-home alternative to Alexa, but I don't think I have the time to train a replacement on my own. Here's hoping this changes
Also Compressed earth blocks, which use only very little cement, should be used more.

Or Cross laminated timber, great for long-term sequestering of carbon.

https://en.wikipedia.org/wiki/Compressed_earth_block
https://en.wikipedia.org/wiki/Cross-laminated_timber
Not the poster. What exactly are you asking about?

The usage of the error type the OP wrote is to get the line number of any error without using a macro on top of every single function in our crate.

The person who wrote `MyError` accomplished it by defining their error type as "something that can be constructed from any other error" (`impl From<E: StdErr> for MyError`) and additionally heap-allocated the original error with `Box::new(error)`.

So the usage would be to write one single error type in a crate which can "capture" or be constructed from any error type `E` and also prints out the line number of that error via `impl Display for MyError`.
Security/secure software engineering - yes

"cyber security analyst" - no
I like to assume that people have the best (if sometimes misguided) intentions, and I have an alternate theory.

This firm clearly put a huge amount of stock in education. They were 4 blocks from a major CS university, and a significant number of staff were recent grads. I suspect the CEO had a masters which only adds credence to their belief in the education system.

On top of that, they knew how much I was making ($x), how much I was asking for ($x + $50,000), and ended up offering me more ($x + $150,000). That's not the kind of thing you do when you're trying to dissuade someone from taking a job with you. Especially when the offer is 100% cash (company was private and they offered no equity).

I strongly suspect that this person came from a bubble of education, and just didn't understand how you could be a poor student and then successful outside of academia.
Milpitas/Fremont, relatively cheap and safe
This is getting tangential but it's striking to me how fatality rates went up during the pandemic. You can see the dips during previous recessions and energy crises like you're saying, and I'd expect something similar during the pandemic, but it went the other way.
This says that Tesla has filed a lawsuit against the two employee leakers. Where can I find the lawsuit so that I can give it a skim?
IME Packt is very poor. I had one excellent book, one okay one and a whole lot of trash. The entire brand is on my Do Not Buy list.
It depends on how much you do it.

25 km/day, flat terrain, light pack--I have dietary issues that could prove problematic for a four-day trip (expending 4,000 calories in a day, not an issue. Consuming 4,000 calories in a day would be hard--I would worry about bonking) but I fairly routinely hike 25km in a day and with nearly twice his load (I'm typically in the middle of nowhere, if I have to push the button help would likely be hours away--my safety standard is I should be able to survive the night) and rarely less than 500m of climb over the day.
All of this code is in safe Rust. Unsafe Rust is a different beast
You don't need to have dwarfism, you just need to be standing to a modern pickup truck. I'm 5'11" (180cm) and I've stood next to trucks whose hood I couldn't see over.
HMRC Tax Inspectors have the greatest unsupervised ability to spy on people in the UK, without court orders or warrants, more than the Police or security services will ever have.

You should check out the unmarked tax offices/buildings dotted around the country, they put the security services to shame, but maybe the military and police are the sitting ducks designed to draw attention away from the real spies.
> There's a well discussed shift of the "left" from being the working class party, supporting unions etc to the party of the elite establishment.

No, there's not, unless you confuse the Democratic Party (which was not historically even relatively “left” before the shift in question) with the “left” and the Republican Party (which was similarly not “right”) with the “right”, and also confuse “white racial issues, including those of the white working class in industrial states” with issues of “the working class”.

The left/right (or related liberal/conservative) split never really modelled US party politics well for most of history; US parties have been characterized more by coalitions of regional, racial, and ethnic factions than left-right ideology, with a left-right alignment (centered pretty far to the right by international standards) emerging as strongly aligned with the split between the major parties only fairly recently.
> But back in a day, AGI was just what we have today -- an universal chat bot.

I don't know anybody that used AGI to mean that. I've always thought of AGI as an AI that can learn how to perform tasks with very simple instructions, rather than spending weeks training a neural network on a data center full of GPGPUs.

Basically, my idea of AGI has always been what you're calling the "new" definition of AGI.
Perhaps they are a self-employed mobile pharmacist.
Sounds really awful. Sorry to hear that! I wonder if this would have happened many years ago before modern agriculture and all the awful stuff that is present in our foods. I wonder if our environments are causing this lack of stomach acid / enzymes in people. This can’t surely have been happening when we were hunter / gatherers!
Let me guess, this person has no concept of: work life balance, annual leave, having "lunch" that's not a cold sandwich at your desk, welfare, or even timezones

Yes I guess everything they say is true. Please stay in the US

And last of all please don't ask yourself why does several American tech companies have offices in European capitals. It is a silly question to worry about
Potential complexity is higher with ZFS, but in regards to RAID and the like, I honestly find the zpool tools to be much easier to work with than their mdadm equivalents.

I have a "ghetto NAS" of 24 drives plugged into my server via USB, and getting a raidz3 set up on there was one command:

`zpool create tank raidz3 drive1 drive2 drive3 ....`

Doing scrubs and replacing disks are pretty easy, just using `scrub` and `replace` commands with zpool.

I haven't really felt the need to leave ZFS, at least not in regards to RAIDs; on root I still use ext4, though I might change to btrfs on my next install.
https://mathchan.org
Twilio Launches AI Tools to Broaden Customer Data Offerings
Taxes on pollution are by far the most direct and effective way to motivate the free market to work on the pollution problem. It shouldn't be a collection of ad-hoc taxes and subusidies; it should be a flat carbon tax equal to the global harm that the carbon does, coupled with a market in offsets.

Hoping the market will solve this problem without imposing reasons for it to do so is basically how we got here in the first place.
Huh? It is very concerning to hear this from a founder. It is the same exact level of security as it is executing the same code, just at a different level. Really does not matter what crypto lib you are using if at the end of the day the surrounding code dictates all the security.

Regardless of all this, your open source crypto library doesn't even use the Web Crypto APIs at all, but rather the dreaded js based crypto you are badmouthing (tweetnacl, stablelib)
Big fat "it depends".

Specifically, it depends on context. How big is the app? How many people are involved in building it?

As with many things, separation of front and back ends grew out of web-scale companies and products. If you're buiding Facebook or Spotify or Gmail, then you need a way to partition your app - because you need to partition your people. Humans need structure, we don't deal well with single teams of multiple hundreds.

Many apps don't fit that model. Lots of apps - e.g. business internal apps - might target at most small 100s of users and justify a dev team of < 10. In that world, separation of front end and back end devs & stacks is a disadvantage. Single language, single build apps mean less technical surface for the team to cover. Which means each person can more flexibly turn their hand to the requirements. Most people can do most things end to end. Features are business-driven and end to end. A single PR can deliver a meaningful piece of user-accessible value. There's no unionised demarcation.

None of which says "separate UI & back end is universally wrong". But it's not universally right either. As is so often the case, it degenerates into a discussion that is technical and absolute when the underlying forces are organisational and relative.
Think of the rate of jostles. On a bicycle, the device will be perturbed when you hit a bump in the road. Worst case would be mountain biking, probably. On a motorcycle, without dampening, the perturbations would be measured in Hz, and imparted from the moment the engine starts, even while idling without going anywhere.
Try with cargo pants. After three or four iterations the pants disappeared and were substituted by something that can only be described as an andrologist fever dream.
If you refuse their tracking and marketing cookies it redirects you to google.com. Classy.
Yes, a job is when someone tells you what to do and pays you for it, what's your point?
According to Wikipedia they estimated US$90 Million in July
https://en.wikipedia.org/wiki/Chandrayaan-3#Funding
You can still join the monkhood if you contemplate on the image of our spiral galaxy.
Perceived ates of tax evasion are high enough to justify further actions to make it harder to avoid tax.

They are definitely perceived high enough.

In Europe salary earners are taxed on the income as they receive it through Pay As You Earn and similar and it is difficult to avoid. The public wants it as difficult for all others to find it as difficult.

Whilst FAANG pay very little tax.

Even in the US Warren Buffet says he pays a lower rate of tax than his secretary.

The basic rule is that tax is progressive and rich people should pay a larger percentage than normal workers.
Because some people, for reasons known only to themselves, still insist on using .tar files in 2023.
Your link seems to say it has time complexity O(n)?
Command line support for these formats has existed in Windows for multiple years via bsdtar which has shipped with Windows for quite a while now.
"One small step for a man" is what he actually said, I think, or so I've heard. Apparently the "a" was lost due to radio interference.
Parking in the sun is an option. Everything else is something most houses can be adjusted to handle without changing the layout.

It turns out that a roof built with the basic standard components can handle a large enough snow load for most locations. Even if it can't, the roof it generally engineered separately and placed on top, so you can interchange a different one without changing the house plans.

If you don't have a basement you delete the stairs down and get a closet which is also used for a tornado shelter.

A house in Minnesota is designed to withstand hurricanes and floods - It turns out storms can momentarily get as bad as a hurricane and so houses everywhere need to handle it. Likewise MN gets minor earthquakes - it is rare, but still happens enough that unless it greatly increases costs (it doesn't that much) you take in the earthquake work someone else does.

No California does have major earthquakes that Minnesota houses probably cannot handle. California is on their own code system. However Minnesota shares codes with states that get hurricanes and floods - those states put in a little more insulation than is needed, while they build for hurricanes - and both states get better results for it. Meanwhile those designing building components can scale better (cheaper!) knowing that once their parts work in one state they can sell to others.
Further tangent: my company still pays the zombie remains of Corel for WinZIP licenses and that astonishes me. WinZIP is slow and really doesn't seem to offer much over Windows built-in support, plus it still "kindly" clobbers the built-in support (on every reinstall/upgrade) removing it from the default and subtly breaking it (which I find quite irritating). It uselessly bloats Windows File Explorer tooltips and dialogs. (Why do I care what some subset of filenames inside the zip file are?) It doesn't seem to offer any useful tools, and its user interface is ugly, slow, and prone to crashing.

WinZIP should probably have died in the 90s.
"Next business day" is a huge amount of time relative to the "instantly" that the value changes hands in a cash transaction. Cash also eliminates any need for prying into the background of the buyer: Their proof of ability to pay and payment itself is the stack of cash they have in their hand.

If the government wants to eliminate the requirement of accepting large amounts of cash, I can see that. If you're not equipped to handle being paid in a large cash sum, it can definitely be inconvenient. But making the exchange of large sums of cash between two consenting parties illegal is bold-faced tyranny.
While that may be the status today, I feel this is in no way settled.
This is basically what I daydream about for Nix some day (Nixpkgs doesn't currently involve any dependency resolution at all). Just recording successful version combinations (both of a package declaration and source version and dependency versions) would let us add versioning metadata and save historical package versions in-repo (or in an ancillary repo) without actually changing how the monorepo is built/used.
ethanbond is so silent…
You have to explicitly use .innerHTML. As I said, "do work", not that it is impossible. No SPA frameworks do this by default. The default is $DOMElement.textContent = value, which has no escape potential.

Everything rendered by the server has this potential as it must be deserialized by the browser.
Nations which are heavily monocultural. Japan or South Korea are good examples, I think.
Make it run, make it right, make it fast, make it small.
I have rather nice experience with ZnapZend https://www.znapzend.org/

Only issue i've found is the fact there is no official Debian repository and i always do forget to recompile it after upgrading Debian :-D

I really like the configuration system integrated in ZFS set/get...
Of course it does. That's the structure of all sci-fi horror https://dresdencodak.com/2009/09/22/caveman-science-fiction/
But does "Will likely develop a disease in a few years" count as a pre-existing condition?
Can it update the audio once the transcript has been changed? i.e. does it do voice cloning?
Is your comment intended to mock people who are interested in the vagus nerve, people who are interested in self-advocacy in the case of health problems, or just everyone on hacker news in general? Gotta specify, I'm not sure who I'm supposed to be looking down on here.
Not bad at all, but what’s the main use case?

The site lists all of these things you can do, but are those things people needed or wanted? Is the idea to replace stock photography of people?
15 character max password at TransUnion... How outdated is their system?

And none of the 3 allow MFA via something else than text/email.
This is implemented via libarchive which has actually shipped along with bsdtar for years now in Windows. They are just adding Windows explorer support for them.
Why choose the bay area? There are several other parts of the US where you'd have an equally good chance to run into founders. Seattle is an obvious one, but also Tampa, Miami, New York City, Austin, and others.
> Additionally, even if there's no copyright, the terms of service may still apply separately (see OpenAI disallowing training a competitor model on output from OpenAI models)

Aren't contract clauses that relate to the distribution of material preempted by the copyright act?
This is incredible! Congratulations to everyone involved
> If I try to build a new project with an older version of Rust, the compiler will still throw errors when stumbling upon newer features.

Usually when people worry about language evolution, the concern is that a newer compiler can't handle older code.
Building a video booking platform. Need feedback
I'm building an accommodation marketplace where users can list/book accommodations, leave reviews by using video clips.
The idea is to deliver a fun, fast & interactive user experience:
the search and booking is based on video reviews instead of sifting through paragraphs of text, users are treated to a visually engaging experience.
Witnessing fellow travelers' experiences firsthand enhances the authenticity of the feedback and helps potential guests make informed decisions.

Videos not only provides a more comprehensive view but also build more trust than any written review.

Appreciate your time and feedback guys :)
> For starters, Apple is not a monopoly. You are not a monopoly on your own platform

Doesn't matter. Antitrust laws address competition, monopoly is just a subset. The Apple App Store is an 800lb Gorilla is the app space, ergo, subject to pro-competition laws. The app developer can't sell his app on iPhones via another channel, iPhones make up a substantial part of the market, and that's why those laws exist and apply in this case.
I'm pretty sure this is going to depend on what kind of rock it is, and how it was crushed and screened.
When they filmed Garbage Warrior, Reynolds and his wife were occupying what he described as the first one "because it works". Have they since moved out?
Marketers have been aware of this for years and savvy brands have invested heavily in astroturfing enthusiast forums with legitimate-looking content promoting their products. That coupled with weird group-think dynamics leading to cult opinions that aren't well grounded has made the "look it up on reddit" path a lot less reliable in the past 5 years.
Why Are Sex Toy Vibration Patterns So Terrible?
Other finds at this location.

https://en.wikipedia.org/wiki/Shahr-e_Sukhteh#Finds
The native bindings are...not great. Personally i use xah-fly-keys, but evil (vim) keybindings are popular.
How do you get into security from other parts of IT without downleveling and having a huge pay cut?

I wanted to get into security, but as a Senior Software Engineer I earn twice as much as I would get as a Junior Security Engineer. Anywhere I tried, they don’t hire into senior positions if you dont have relevant security experience (understandably)

And based on my experience certifications are not enough
The time in the database is low. The time is the time transferring data over the network and the limiting factor is the number of individual transactions. A result processing one record does have similar speed to one looking at 1000 records.