Hacker Newsnew | past | comments | ask | show | jobs | submit | cxcorp's commentslogin

A camera! The 2.5mm TRS remote trigger jack just needs one of the pins connected to the sleeve to trigger the camera, very easy to do with an optocoupler or even relay.


I've always wanted to look into writing my own Prettier plugins, how'd you feel about getting started working with their little mini DSL (fill, join, hardline, line, etc.)?


The DSL itself is pretty nice. However, one thing I found annoying is that the printing function itself is hard to unit test: there is no easy way to instantiate its parameters (in particular the `ASTPath` class). So I relied on testing it by calling `Prettier.format()`, which is more a end-to-end test of the whole plugin. Maybe I'll figure out another solution at some point.


This is very important to keep in mind when implementing OAuth authentication! Not every SSO provider is the same. Even if the SSO provider tells you that the user's email is X, they might not even have confirmed that email address! Don't trust it and confirm the email yourself!


And remember to add a random unique id to the reply-to email, otherwise you’ve fallen into the same trap.


I think Transformers.js can do that client-side, e.g. see the documentation for calculating embeddings with Sentence Transformers models: https://huggingface.co/docs/transformers.js/api/pipelines#mo...


Yes, who's going to keep inviting someone who always declines?


You mean if I decline enough, I’ll stop getting invited? A dream!

I have a bone to pick with our “ticket estimations” meeting. It’s a waste of time, we don’t even use the estimations for any planning purposes. We just sit there, reading tickets out loud as a group, saying pseudo random numbers that inevitably average out to a 2, 3, or 4.

I’m convinced we’d have better estimations if we just nixed the meeting and sampled estimations from a normal distribution.


more like, if you don't attend you'll get expelled from the group. Meaning you'll get fired.

But then again. if you don't like the group, your job, go on a quest to find someone else to spend you time with. that is probably the best investment you can do.


Those kind of ticket estimation meetings are always a waste of time. Have one person do the estimate and then follow up (in aggregate) how correct the estimations were. Hopefully you will get better over time.


Have you considered speaking up, and trying to change your process?


BleepingComputer's coverage[1] has this tidbit:

> BleepingComputer has been told that the Akira ransomware operation is behind the attack on Tietoevry, coming soon after the Finnish government warned about their ongoing attacks against companies in the country.

> "The incidents were particularly related to weakly secured Cisco VPN implementations or their unpatched vulnerabilities. Recovery is usually hard," warned the Finnish NCSC.

I wonder what the entrypoint was back in 2021 when they were attacked around the same time?

[1]: https://www.bleepingcomputer.com/news/security/tietoevry-ran...


Thanks! Looks like this project has some high ambitions:

> What's after that?

>

> Tons of stuff. Tons and tons and tons of stuff.

> Debuggers have not substantially evolved since the first Turbo Debugger in 1988!

> For example, we have had GUI debuggers for 20 years now, and we can't see bitmaps! We can't hear sound buffers. We can't view vertex arrays.

> We can't graph values over time. We can't even load a debugging session from yesterday and review it! We have a long way to go.

> Debugging is desperate need of updating, and we see as a long term project. We'll be adding visualizers, new debugging workflows (step through code on multiple platforms at the same time for example), and new features for a long time.


Fun fact, you can plot variable values over time with gdb. You just have to create a gdb extension to do it: https://github.com/jyurkanin/gdb_extensions This blew my mind when I figured out how to make these extensions and everyone should be making their own extensions. It's a force multiplier. Literally life changing


We can't even load a debugging session from yesterday and review it! We have a long way to go.

Time Travel Debugging provided by WinDbgX doesn't count? Or are they talking about all of the commands executed, etc. along with that?


The page is quite dated and probably predates it.


The archived page claims they started in 2013. Time travel debugging was commercially available (by other vendors [1]) for over a decade by that point.

[1] https://jakob.engbloms.se/archives/1564


When I used Xcode for the first (and so far only) time I was surprised I could actually view bitmaps in the debugger and I've wondered why that's not commonplace ever since.


I suppose one reason is that images can be stored in many different ways in memory. For OpenCV images in C++ the Visual Studio extension Image Watch is quite nice, I think it's been around for more than 15 years:

https://marketplace.visualstudio.com/items?itemName=VisualCP...

There's also a recent extension called Image Preview for path references:

https://devblogs.microsoft.com/visualstudio/working-with-ima...


Most people don't know what they're missing. None of the pages linked (in either the submission itself or the comments here) or other comments actually show any of these graphical features in use.

This is a problem that extends beyond this submission and talk of debuggers. It's basically insurmountable for anyone who didn't use Google Reader to know what the experience is using it looked and felt like (and in a few months when it will no longer be possible to use Google Podcasts, there'll be another casualty).

Reading your comment, all I know is that Xcode lets you "view bitmaps in the debugger", but that's a pretty varied range of possibilities for someone who hasn't actually seen it.

Folks who are looking to have an impact would do well to document their setups and show how they actually get work done, lest we end up in a future where people don't know how to run a Python program[1] because nobody was ever explicit about it, instead relying on tacit familiarity.

1. <https://corecursive.com/brain-injury-with-jason-mcdonald/>


The fact that the best example I could find being a StackOverflow question about whether such a feature even exists kinda proves your point: https://stackoverflow.com/questions/2780793/xcode-debugging-...

The answer even has a comment saying:

> Ages coding in Xcode and I never knew about this feature! This is awesome!!! Thanks a lot

We really have a problem in this industry about documenting institutional knowledge huh?


> we can't see bitmaps! We can't hear sound buffers. We can't view vertex arrays.

I kinda miss Lauterbach...


Have they made any progress on that? If so, it's not obvious from the screenshots and linked repo.


Anyone seeing any groundbreaking features or reasons to try this over x64dbg or other existing debuggers?


Haven't fully digged into it, but firstly, the executable is tiny, source code seems sane, performance for average sized projects appears to be better than existing solutions, and also some interesting features such as viewing texture/image buffers within the debugger


x64dbg is primarily made for reverse engineering but RAD Debugger is made more for the context of game development. Those are two different usescase with different priorities. I would expect source code debugging and debug symbol related features much more prioritized in RAD debugger compared x64dbg. Even x64dbg own feature list calls it's PDB support as basic. RAD Debugger supports natvis (same format as used by VS for describing how to visualize more complex data structures), I don't think x64dbg supports that.

A more relevant question might be what RAD debugger offers or plans to offer compared to Visual Studio C++ debugger. Based on http://web.archive.org/web/20230923095510/http://www.radgame... seems like an important part of motivation was providing Visual Studio quality or better debugging experience for Linux and console targets and doing that with single tool.


The article mentions that it's "usually white horseradish, dyed green", and that the real thing "can cost more per pound than even the choice tuna it sits on."

Would be interesting to verifiably taste real wasabi. Who knows, maybe I've never actually even tasted the real thing?


I've had it, in Tokyo.

They give you a root, and a grater. Tastes milder than what we get, here.

I have heard that it is impossible to domesticate (has to be harvested wild, on certain mountains). However, I watched a program, where a guy in Hawai'i said he'd figured out how to domesticate it.

Haven't heard much about that, though.


It's a difficult plant to grow as it requires specific conditions. Though there are farms in the pacific northwest that have been able to cultivate it successfully.

Here is a decent paper that discusses the challenges[PDF]:

https://www.skagitmg.org/wp-content/uploads/Public-Pages/Foo...



Tasmania also cultivates some.


It's still very hard to grow with high failure rates, but you can definitely find plants for affordable prices -- a bit less than 10$, but then you need to manage to keep it alive for 3 years if you want to enjoy it propagate it. There are a number of good YT videos on how to cultivate it, and some documentaries on professional plantations.

To have it the spiciest you should wait a good ten minutes or more, the spiciness is activated by the process: "The chemical in wasabi that provides for its initial pungency is the volatile compound allyl isothiocyanate, which is produced by hydrolysis of allyl glucosinolate [...]; the hydrolysis reaction is catalyzed by myrosinase and occurs when the enzyme is released on cell rupture caused by grating" (adapted from wikipedia)


It can be grown in the PNW, in America. There are a few farms, e.g. https://www.thewasabistore.com/the-farm-1


It is difficult to grow but there are multiple producers in the US, and I've occasionally seen it for sale in grocery stores. Some sushi places use it. It is more expensive than the green horseradish/mustard powder, but not prohibitively so.

You can taste the difference but in most contexts it is pretty substitutable with the fake wasabi, hence the ubiquity of the latter.


I'm curious as to why its not possible to grow locally given the growing number of startups growing food in cities in fully controlled environments? for ex: https://youtu.be/VxRNoSSkLkE?t=191


It has been grown in Iceland: https://www.nordicwasabi.com/


It's cultivated in Brazil too, although in a very small scale: (in portuguese) https://www1.folha.uol.com.br/comida/2022/02/wasabi-verdadei...


In addition to the previously mentioned places, it is grown in Tasmania, Australia too (https://shimawasabi.com.au/pages/about).


I’ve found real wasabi to actually be a bit milder than some of the horseradish imitators. I suppose I always assumed it’d be even stronger, but that hasn’t been the case in my experience.


If you don't see the sushi chef grinding a little green root fresh on a wasabi grinder and adding a little bit to your rice, it's safe to assume it's not Japanese wasabi.


If you have a Japanese food market near you they might have it. Some specialty grocers can carry it too. If you happen to be in the bay area iirc there's a Wasabi farm in half moon bay.


Real wasabi powder runs vaguely $5 an ounce. Wasabi is a different species than horseradish. The taste is quite different.


Scratch the price remark as I just caught up to the "99% is fake" data. Sigh.


Bought a small tube of that a few days ago. Contains 0.7% Wasabi :-)


> A wasabi company, Kinjirushi Co., provided funding, though the researchers say the company had no role in the study itself.

I'm sure.


Also relevant:

- "In 2018, Buckley and the other nine senior members of the editorial board resigned, claiming that MDPI "pressured them to accept manuscripts of mediocre quality and importance."

https://en.wikipedia.org/wiki/Nutrients_(journal)

https://www.science.org/content/article/open-access-editors-...

(This is the journal that accepted the OP study).


Even before reading this I definitely got vibes of "Wine makers find drinking red wine has benefits" or "Starbucks finds that coffee is the ultimate health drink" etc.


"1-2 glasses of wine a few days a week associated with better health outcomes" was true, but it leaves out "1-2 glasses of wine a few days a week associated with wealth". There's some correlations there, but neither statement is pointing the finger at the causation.


Also teetotalers, as a group, includes people who don't drink because an undiagnosed underlying health issue makes them feel ill when they imbibe. Maybe a latent hepatitis-b infection.


Funding of the study is a role in the study itself, since it is the study itself that requires the actual money.


Some how I was able to guess this was the case without having any prior knowledge of this study.


This is obnoxious. You cannot disprove a scientific study by pointing at who funded it, and a properly constructed one won't be able to hide bad results since it'd be preregistered.


He doesn't have the burden of disproving it, the study has the burden of proving its claims. I consider studies funded by an interested party as weak evidence at best - perhaps enough to encourage an independent party to conduct another study.


All medicines in the US are approved using studies funded by the company that submitted them. There's a simple reason for that - nobody else would care enough to do it.

If you can't read a study well enough to tell if the methods it uses are good, that's your problem.


Even a study that never took place could specify methods that look great on paper.

You pretty much have to repeat the study yourself to see whether you get the same results.

All studies like this are "believe us when we say that we did this, and observed that".

If you're paid by X, and the result is favorable to X, then I don't believe you as much.


Proving or disproving a claim is the purpose of a study. At this point, it's out of the researchers hands and up to other research teams to replicate the research and confirm or deny the results.


> perhaps enough to encourage an independent party to conduct another study.

Is that an option that’s on the table? Or do we have to take the information we’re able to get and just interpret it critically?


I think people do crowdfunding for studies sometimes, but doing it just for a replication sounds like a waste.


No, you cant disprove a study by the source of funding;Truth doesnt care who funds it.

But its also not obnoxious not to be helplessly naive that you don't scrutinize sources using effective heuristics.


It's not an effective heuristic. Overly online cynical people are just obsessed with the idea that everything is a conspiracy that can be undone by "following the money".

Bad science reporting is common, but it's more common for the reporters to just misread what a study says.

Besides, this is nutrition science, where what's actually happening is scientists are conspiring against big ice cream by refusing to tell you that it's good for you. (https://www.theatlantic.com/magazine/archive/2023/05/ice-cre...)


> No, you cant disprove a study by the source of funding;Truth doesnt care who funds it.

But the lie does care.


Yes you can. Identification of a conflict-of-interest bias is different from argumentum ad hominem.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: