skysight-inc/HackerNews huggingface dataset:
Hey HN!

This is a little demo of WebRTC insertable streams. This API has the possibility of opening up some exciting with WebRTC.

The gist of it is that you have access to the video frames in the browser now! You can see here [0] flipping bits in the browser (a simple XOR Cipher) that was applied here [1] in the Go code.

The use case I am most excited for is attaching metadata to frames. Especially for teleoperation a big ask has been attaching metadata to a specific frame, this makes it possible!

I also have a video demo on Twitter here[2] but not that exciting

[0] https://github.com/pion/webrtc/blob/master/examples/insertab...

[1] https://github.com/pion/webrtc/blob/master/examples/insertab...

[2] https://twitter.com/_pion/status/1271956810015010816
Unfortunately, the text inputs I have available are not good enough to represent the actual maths notation, which is extremely clear in this respect: it would have an e, and then in the superscript, i π. Since this is such a well known formula (Euler's Identity), I didn't think it would be a problem.

In C notation, this would be pow(e, i * π). Or maybe pow(i*π, e), I don't remember and the notation is pretty bad.

And the point about exponentiation is very simple, and I didn't need to do hundreds of exercises to remember: the natural logarithm of e raised to some X is X, whatever that X may be.

The other commenter's note was that raising some constant to an imaginary number is a very obscure way of expressing the geometric operation that this represents (multiplying by e^iπ is equivalent to rotating a complex number by a half circle). I was pointing out that, while that is true, it loses the algebraic interpretation, which also has value.
Yes, was going to say the same thing. I was playing with Tone Matrix way back in 2006 I think. It was built with Flash, and died with the rest of the flash web.

Edit: original link to tone matrix: http://lab.andre-michelle.com/ToneMatrix
Markdown supports inline code with a single backtick on each side, and multiline code blocks with triple backticks above and below. Alternatively, a multiline code block can be indented four spaces.

Let me see if I can illustrate. On HN, backticks are meaningless, and code blocks require two space indents, so this should render as you would write the Markdown source:

Here would be `inline code` delimited with single backticks.
It translates to <code>inline code</code>.

Here would be a multiline code block.
It typically translates to <pre><code>Code is here.</code></pre>:

```
Code is here.
```

A multiline code block can also have a language name when it uses triple backticks, as in your example:

```swift
Swift code is here.
```

Note that there are many flavors of Markdown! I'm describing the one you appear to be using, which is similar to what's used on Stack Overflow and other Stack Exchange sites.
Could you expand the last part on SO having lost interest in their public site(s)?
I still use ed every day. Mostly non-interactive use, i.e., "ed scripts". Have not found any "modern" editors that are as small, fast and robust, especially for editing large files.
Can you talk about you acquired your first customer and what the marketing was like?
炬燵 are a thing
And if you use Owl you get both?
I used Sage years ago. Since I've felt that jupyter and such have taken its place. Does sage have a place outside of use for mathematicians?

I'm a physicist, and the most I'd need a CAS for is essentially mathematica's "Simplify". DESolve is great too but back then (2010 or so) Sage's diffeq solvers felt limited.
That's also what struck me as odd, but having maintained legacy systems for a long time I can see why it's sometimes preferable to use a proven if inelegant workaround than going in and try to fix the actual defect, especially if you have limited debugging options.
I've tried a number of ML projects like this too, and sometimes they do work – Bodypix is one example (though not precisely the same thing).

That being said, its usually pretty difficult to get code from papers to build/run successfully due to dependencies (e.g. depending on a specific version of Python and OpenCV 2 and requiring CUDA support)
Go for it. We'll probably still be looking for a vaccine for corona by the time you graduate!
> It is evident that Shri Ramana has either really been more or less absorbed by the self, or has at least struggled earnestly all his life to extinguish his ego in it.

In fact it was spontaneous:

> July 1896, at age 16, he had a sudden fear of death. He was struck by "a flash of excitement" or "heat", like some avesam, a "current" or "force" that seemed to possess him, while his body became rigid. He initiated a process of self-enquiry, asking himself, "what it is that dies?" He concluded the body dies, but this "current" or "force" remains alive, and recognized this "current" or "force" as his Self, which he later identified with "the personal God, or Iswara".

> In one of his rare written comments on this process Ramana Maharshi wrote, "inquiring within Who is the seer? I saw the seer disappear leaving That alone which stands forever. No thought arose to say I saw. How then could the thought arise to say I did not see."

> Later in life, he called his death experience akrama mukti, "sudden liberation", as opposed to the krama mukti, "gradual liberation"

~ https://en.wikipedia.org/wiki/Ramana_Maharshi

Ramana Maharshi taught the simple, direct method of enlightenment.

FWIW I recently found this manual for "The Most Rapid and Direct Means to Eternal Bliss"

https://albigen.com/uarelove/most_rapid/contents.htm
Nobody talking about "slave" seems to notice that "servant" and "robot" have similar baggage despite different linguistic roots.

As I sometimes say, I've been Black my entire 50+ years on the planet. I've never met another Black person (or anyone regardless of their race or ethnicity) that felt that robot has “similar baggage” to the word slave.
I didn't, but it seems upon following up on your comment they were thrown and not found left overs. Not IEDs, but one of the objects along with bottles and rocks being thrown.
very slick! congrats on launching! how did you do the mock iPhone video in the landing page? love little demos like that.

edit: ah I see from the comments it is https://www.rotato.xyz/
I was pretty much in the same boat back in 2013, except with no CS degree but another degree and experience in a different field. What helped me was that at some point we did freelance development for a company to pay rent, and when our startup capsized they hired me and other founders because they knew what we could do. This bootstrapped my software engineer career very nicely. (I ended up staying 6 years because the work and people were great.)

I'm not suggesting you start doing freelance work as well, but if your startup enables you to form relationships and prove your skills to people who could recommend you for interesting roles down the line, that would be super useful.
Not keen on hashing the file every second but I understand why... I'd rather it used filesystem modification events and responded accordingly. But that might more more complex than what you intend.

But for simple scripts being live-coded that need to be quickly "up" and hot-swapped on rapid modification this looks fine. I could always increase the delay to a minute or hour or more if the changes were only occasionally changed.
Nanobench: Platform independent microbenchmarking library for C++11/14/17/20
CVE-2020-13777 GnuTLS audit: be scared
Likewise, I came in 3rd in a (relatively low key) half marathon 6 or 7 years ago and the guy right behind me the whole way was 72. I was maxed out (I think my finish time was 1:36), and when I finished I was absolutely bushed. This old guy congratulated me, ate a cookie, hung out a bit, then ran home like the whole thing was a warm up.
There is this mystical unit LUT, every manufacturer defines it a bit differently, but it’s ok to use it for comparison. Arty A7 has 35k of them, the cheapest board has 12k. Arty A7 is clear winner here. I think, Digilent has another cheaper Artix 7 board with 35k LUTs.
> it's free and open source

It's more than "open source" it's in the public domain.

The file format is fully documented and if someone like ISO or ANSI wanted to, they could make a standard out of it. It's also forward compatible since inception and versioned.

The browser vendors decided not to put SQLite into their browsers because "key/value good, SQL bad" and "not invented here".

IndexedDB is a clumsy reinvention with minimal ACID properties and isn't far advanced from ISAM. They could have used the SQLite file format and implemented IndexedDB as an API over the top. They could have allowed both standards to be implemented and then let reality take its course to choose which one was successful.
For those considering the glasses I can find two versions of them [1] and [2] at 90€ and 80€ respectively (latter on sale). I've never tried them but they're too ugly-looking not to work .

[1] https://boardingglasses.com/
[2] https://lifestyle.citroen.com/en/shop/_/pr4619/lunettes-seet...
also, there are functions which need to be prefixed with np - the module name, but this isn't described. So for someone who isn't quite familiar with python, this doesn't make sense.
Safe E-Democracy (A Model Solution)
I disagree. My friends almost post nothing, but what they post I wamt to see. What they do much of however, is like and comment on pages. Fb, for some reason, think that's interesting to see. However, I cannot stop fb from doing so. I cannot say I don't want to see things this person comments on, then I have to mute them.

I don't care that they comment on some post to win some product, or is tagging a friend in some viral video. I don't want my feed to be full of fake engagement. But I guess that's all Facebook is now, as no one really posts anything anymore, so that's what they show to make it seem things happen.
I'm curious if you're aware that "Show HN" in the title is someone with the community a new thing they've built.
Freezes on iPhone 6s, the music stays on though.
Apple does write software for other platforms [1][2]. If they continue their shift to services I only expect that to increase.

However I think you are correct in that they won't want to put much effort into it. Their support for developers is already somewhat half-hearted if you compare it to Microsoft. Using XCode over the last few months has made me appreciate how good Visual Studio is. Apple's developer documentation has me missing Microsoft's.

[1] https://play.google.com/store/apps/developer?id=Apple+Inc.&h...
[2] https://support.apple.com/en-gb/HT210384
Aww, when it ended it felt like we should have just been getting started!
How are sage's differential equation solvers now? How does it compare to Mathematica's? I'd love to get back into sage if it worked better with that sort of thing now.
Or discard the "save" metaphor and move to infinite undo.
Thanks very much. I'd not appreciated the flexibility of what is possible in terms of code display. Thanks for explaining and letting me understand a bit more!
Considering you don't seem to have a new account:

I get that you're trying to be helpful. But the way you say things come through as being dismissive about other people's work. They just put in a bunch of work into it; they seem very open to getting feedback and working on it. I'm curious what you're trying to prove by calling it "crappy"?
But why 64x64 then?

Is that just to match some characteristic (i.e . number of inputs) of the data aggregation/logging device (more likely), or is it something about the physics of the type of signal they are trying to detect (less likely)?

There are, after all, plenty of possible square grid combinations bit only some are powers of 2.
What? Julien Assange never received a clearance, he was simply the publisher.
OpenBSD Interview (2006)
Yes, the motivation and long term goal for this work is to provide a performant foundation for cross-platform UI. There's a lot to be done though!
I'm surprised to be the first to write: You estimate because you do contract work for US state/local government, and the paperwork and process is horrible, and so you have to write a contract where you lay out the whole final product up front, and you have to decide what to charge for the whole thing before even starting. That number is going in the contract. It isn't going up.

Fun fact: ISTR at least one locality where, if they found out you started work before the contract was signed, there was some law (or maybe it was a policy, but in any case, no one could break it) forbidding the department from paying for said work.

Once I asked about doing time and materials instead of big design up front. The government department I was working with started saying how that would require them to certify hours, and there was a whole process, and I got the feeling that if I pressed the issue then they'd rather just find someone who could give them a dollar amount up front.
how?

>I paid $150/chip + $450 host (thanks ebay) excluding ram.

E7-8880v4 are $600 used each. Quad core mobos are not cheap, ranked ram is not cheap. Even if you pulled these from a vendor going out of business the bit coin mining crews would suck these up in heartbeat.

Where are you getting your prices?
Well, if you want something as primitive as adding 1, you can prove that a solid plate of steel can't be picked.

Once you get into moving parts and, even worse, useful moving parts, things get a lot trickier. But if you severely limit your inputs you might be able to get somewhere. Like one of those locks where the mechanism pulls the key completely inside before applying it to the keyway: https://www.youtube.com/watch?v=OLsJDELd4lo https://www.youtube.com/watch?v=5J2rwawhZWI I'd expect many designs in that class to be immune to most definitions of 'picking'.
Another tidbit that may be interesting to those that suffer from motion-sickness, especially on boats, that I was taught by sailors in northern norway (was stranded there during the pandemic) is that a lot of them are more affected by the rolling of a boat rather than the waves that hit the boat perpendicularly. Thus, their advice was to face the direction of the roll - either by turning your chair or sitting sideways - and face the horizon on that side as that motion is easier to acclimate to. I've tried that one and I admit it did help. By no means a panacea though.
Meh, I find that argument less than compelling and a slippery sloap.

But hey who am I to judge what is a good or bad use of people's time and political capital?

I'll stick with calling my main branches master and if someone doesn't like it they can fork it and keep their own special version just for themselves. Freedom!
Clearly not a product for your use case. Wordpress is great!
Yes, this started as a hobby to solve my own use case ~3 weeks ago. I think that explains the lack of business growth vision you describe.
Need to write down about the concerns you mention, they’re valid and should be communicated more clear on the website, I’ll create a note. Thanks.
I think you are probably in the minority who think storing things in the cloud is nonsense. Maybe it doesn’t work for you, but it has tons of benefits.

This service might not be for you, but there is no reason to post such a negative comment degrading someone else’s work.
The delivery was very engaging and a good example to other engineers on how crafting a compelling narrative can help drive home the importance of your work.
“Open hardware tax” is huge here, your impression is correct. Real 800MHz Dual-core ARM Cortex-A9 processor is on Terasic board while this has a soft core processor. In my experience soft core can run at ~200 MHz best case. Then comes slower RAM and this limits overall possible applications. Unless somebody wants RISC-V badly.
Why must you bring this evil into our midst!
I don't understand the 16:8 idea. I would still eat 3 meals, just with dinner a little earlier. 8 hours window feels too big to be called fasting.
We are a shortsighted species. Today we tear down statues of former slave-owners, tomorrow statues of today's carnists will also be torn down.

When will we realize the universal truth that all sentience must be respected? It is getting old now, movement after civil rights movement behind which the underlying message is the exact same. Rather than fixing every instance of this problem, why do people struggle so much to see the big picture and fix it entirely?
It used to do hot reloading back in the days but unfortunately that doesn’t really work in Python because of all the import side effects. It’s better to restart everything.

Werkzeug keeps the socket open so you don’t observe the reload from the outside.
Always interested to hear and learn from the design mistakes of others.
Artificial Intelligence and Future of Education
Cool! It also does Oberon, MicroPython and Basic.
> You can hardly hear someone standing outside yelling.

I’ve got to ask - was this a test or are people regularly yelling outside your office?
How to use the annotate gem in Ruby on Rails
Twitter Demographics
Pretty nice, I like the simplicity. But his claim seems a bit arrogannt right?

"The simplest, and most powerful note-taking blogging platform ever made"

Doesn't seem to be sarcastic...

On another note, is it just me or is the note-taking app the new ToDo list, a system that all developers eventually build and add to their portfolios...
Show HN: Powir – open-source windows based power and battery monitoring tool
Damn you paywall, I did wanted to read this! :D

I am not certain how generalizable this is. Because this sorts of diet research relies most often on self-reporting, I mostly read it by prepending 'People exist for which ...'. And that is good to know, and hopefully they are not outliers by too much, but it probably won't be silver bullet for everybody.

I.e. I remember hearing two twich streamers talk about their diets an one said how she really enjoys intermittent fasting, while other mentionsh how he needs to eat something at least every four hours, or he literally sees his apm in Starcraft drop :D
Wouldn't `.txt` make sense to add as well? As the historical standard extension for plain text
There is some middle ground possible - I simply unfollowed everyone on Facebook, so my feed is always empty, and unfriend anyone with whom I wouldn't be willing to have a coffee.

I'm often invited to events that are organized via Facebook, and it's sometime the only point of contact I have for people when they change their other contact info, so my approach seems, for me, more practical than deleting my account entirely.
I suspect we need some sort of search engine that helps push us towards the alternate stuff.

Currently google tends to highlight the big sites/authoritative sources etc, and not the smaller blogs/forums/etc as much.

We basically need some filter against the winners that take all. Block off the top 10-20% sites and only show the long tail.
Some people don't want to support companies they don't believe in, regardless of potential profit involved.
I've been worried about this as well. A lenghty Harvard blog post from 2018 indicates that a 8-hour 7am-3pm feeding period gave better health-related results than an 12-hour 7am-7pm feeding period. In other words, 'timing is key':

https://www.health.harvard.edu/blog/intermittent-fasting-sur...

Interestingly, the researcher doesn't discuss skipping breakfast. I've been skipping for several years with a somewhat uneasy feeling and a growing phobia for diabetes. I'll probably try the 3pm/7pm to 7am fast instead; maybe my body doesn't tolerate skipping breakfast as well as I would like it to.
"Bad" and "good" are meaningless judgements in this context. You're about to graduate, so you wouldn't be expected to have any real experience, but you do have experience building and running an actual product. Seems to me like you've got the time ahead of you to try running your startup and either succeed or fail, in which case you'd have enough time to restart your career as an employee.

My only advice would be: the founder mindset is very different to the employee mindset, and you'd have to take that into account, and, don't quit your CS degree if you're within 1 year of graduating.
importlib.reload does not "just work". https://docs.python.org/3/library/importlib.html#importlib.r... documents what is done and not done.

> Doesn't "isinstance" break if you redefine the class?

With importlib.reload, yes.

You might be interested in IPython's autoreload implementation, which does not break isinstance: https://github.com/ipython/ipython/blob/f8c9ea7db42d9830f163... However, you could still end up with semi-broken instances, for instance if you update

class A:
pass

to

class A:
def __init__(self):
self.attr = "something"

def __str__(self):
return self.attr

> By the way, you may want to use `import traceback; traceback.print_exc()` to log exceptions. I'm not sure how that plays with python's `logger` class though.

PSL logging has builtin integration with exception tracebacks. See Logger.exception [1] or the exc_info keyword param to Logger.debug/info/warning/error/critical/log [2].

[1] https://docs.python.org/3/library/logging.html#logging.Logge...

[2] https://docs.python.org/3/library/logging.html#logging.Logge...
can it be the best , when its only on iOS/Apple ecosystem
No, it was one, csallen explained that quite well. I was trying to illustrate the point using an event were we should be all in agreement systematic discrimination and oppression happened. In that context, it's irrelevant how the oppressed behave.
If your black coffee tastes disgusting on its own, you need to buy better coffee.
Using logger.exception("message") would also log the trace by default.
The AI wars have begun...
Actual reloading is just hairy and you can end up with semi-broken instances among other things. Restarting the interpreter is just cleaner, and it's totally acceptable for a dev server. (Okay looks like Armin himself replied too, obviously take his words above mine.) I pointed to IPython's autoreload in another reply which is more powerful than importlib.reload.
Interesting key points from the blog -

1. In the United States, 80% of tweets are created by just 10% of users. (33 million total users)

2. 44% of U.S. adults age 18-24 use Twitter. More teenagers are on Twitter in the U.S. than Whatsapp, Pinterest, LinkedIn, and Reddit

3. Among U.S. adults, the most prolific tweeters are more likely to be women: 65% of Twitter’s most active users are women.

4. Twitter users make 9% more than the average American.

5. In the United States, 42% of Twitter users have at least a bachelor’s degree, compared with 31% of the general public. The majority of U.S. adults on Twitter users describe themselves as high school graduates. But since most are young, many may still have college degrees in their sights.

6. Americans on Twitter are more likely to identify as Democrats compared with the average American.
I suppose it's possible, but you need to study the way backups are organized and verified.
NPD: Why Sony started the PS5 showcase with GTA V
> Could the two things be reconciled?

Yes, they can, that was the whole point behind StrongTalk.

http://strongtalk.org/

Whose JIT technology eventually became the basis for Hotspot.