skysight-inc/HackerNews huggingface dataset:
It comes from 3D gaming and hardware acceleration.

In 3D you use hardware acceleration that is 100-200 times more energy efficient than drawing in the CPU. But you loose flexibility.

It is actually way cheaper to actually clear the screen and redraw it again each 1/60 of a second than to complicate the design of the drawing.

If you make it complex, the GPU could not draw it, because the GPU is not flexible, so only the CPU could draw it.

With GPUs, those tricks do not make sense at all.

In the past, there was a lot of optimization for things like drawing windows on the screen, things like circular buffers, "happy ideas" everywhere that made it efficient in the CPU at the expense of complexity, that the CPU could handle.

Imagine solving a mathematical equation. With matrices we fill a table with zeros that represents the elements of the table that do not exist. This is inefficient, but with a matrix a machine can solve it automatically without "thinking".

Immediate Gui uses the same concept, it draws without caring for last frames or states, making it way simpler.
"That doesn't look like anything to me."
Who has outcompeted mixpanel and heap?
This is the exact issue I'm running into right now with dear ImGui. There is no event propagation. You can either transfer control over to ImGui, or you retain control. In Qt it would be possible for the focus widget to not accept events, so they would bubble up the hierarchy. Considering how the hierarchy is tied to the callstack, this seems difficult to achieve with an ImGui.
A recent blog post discussing some other ways to run Java in the browser: https://renato.athaydes.com/posts/comparing-jvm-alternatives...

I currently use TeaVM and it's excellent, but I'll give J2CL a try.
After 10+ years working in software project teams of various sizes, the thing I want more than money is to work solo. No peers. No project managers, product owners or scrum masters.

Working in a team is extremely frustrating. It's like artists working together to produce a portrait. No matter how good the artists are, the process would be mired in conflict and compromise and produce a mediocre result.
> Is this truly a factor?

Yes. Every Swift project I am aware of fights with this problem. Two of the CocoaHeads Berlin talks in the last year or so were about workarounds for slow Swift compile times.

For one, I computed the compile speed for the frameworks in question, it turned out to be in the double digits of lines / second. That's not bad, that's truly horrific, starting to get into "transcribe into machine language by hand"-joke territory.

The other talked about splitting all their UI features up into little mini-frameworks in order to be able to work on this one feature in isolation without having to compile the rest of the app. While I am a great fan of framework-oriented development, that's not really how that's meant...
I don't work for them.

The production of the shows my kids enjoy goes something like this: Unpaid redditors post original material to amuse their online friends. Unpaid moderators keep the subreddit functioning by cleaning out spam and abuse. Reddit gets a little money from ads posted on the subreddit. Then a YouTube channel called Sorrow TV—apparently a one-man operation run by a 20-something guy—harvests the best posts and creates the video. YouTube, which is part of Google, runs more ads, while collecting valuable data about the viewing patterns of users like my kids. YouTube shares some of the money it makes with SorrowTV, based on a formula that Google controls and can alter at any time.

Except that:

The barriers to entry to breaking-out in the screen writing or acting biz are much higher than it is to upload YouTube videos. Anyone can post to Facebook or Reddit, so why should the pay be higher than more selective and prestigious jobs that have a more rigorous screening processes?

YouTube allows content creators to profit from their work through ad revenue sharing, premium subscriptions, and super-chats.

Facebook allows content creators to post external links to their websites, such as stores.

Reddit moderators, especially for popular subs, have an enormous amount of power and influence, and such postilions are highly sought after. If being a Reddit mod is so bad, why is there so much competition for mod spots? They are not the victims at all. The users are much more likely to be victims by having to adhere to arbitrary rules and censorship imposed by mods.
Love finding out early about new app features and in development without having to work at the companies themselves! lots of really good leaks
Parent comment was edited to include this quote:

_6 When a value is stored in an object of structure or union type, including in a member object, the bytes of the object representation that correspond to any padding bytes take unspecified values. 51)_

So sure, a memcpy after a memset aught to preserve all the bytes, but if they are updated through a struct which contains padding then the values in the padding bytes will be left unspecified.
The Email That Landed Me Interviews with the Most Successful CEO's in My Country
well, I specifically mentioned the possibility to buy used ones. And while you can certainly buy 10-20 y.o. machines I guess in most cases you are probably better off with a nwe 200$ "business-class" inkjet, which sips power, includes a copy machine and won't need a dedicated print-server...
Notably for the topic at hand, RISC-V target list is unmerged: https://github.com/rust-lang/rust-forge/pull/202/files

(Also two other unmerged PRs to the list.)
And that will be slower than calling memset() unless you have a really smart compiler.
Battle fatigue – did it affect soldiers in the ancient world?
Fortunately the most resource demanding algorithms involving grapgics or machine learning can run on GPUs.
I wonder why there is such a push against china now...
This post rising to the top like this without points and discussions...
> Replace libraries, languages and products with statistics, hypotheses and figures and you have described scientific research.

Well, yes - and the inability to build on previous research code because people don't publish it results in a colossal waste of (usually) public money. Nonreproducibility in science, and Google's abandoning of products, are phenomena that resemble one another somewhat.
NanoGUI + live data custom controls = happy days
I'm high after I eat my food pretty much at least once a week.
This is wrong, just because it uses 20% CPU when rendering at 2000Hz doesn't mean it will consume 20% CPU when running the game too. Running the game alongside the UI is what makes it drop to 150FPS from 2000FPS. So if the UI consumes the 20% of the frame time at 2000FPS, that is indeed 0.1ms and this number will not magically increase when you add the game. So when you're running at 150FPS your frame time is 6.66ms and you're using 0.1 for the UI. That seems pretty good for me to be honest.
> The mystery is why only one theory is accepted, while all other are left behind.

Because the other theories we leave behind do not make predictions compatible with our measurements of the universe.

> so there was no Big Bang less than nanosecond ago at Universe scale

What is this supposed to mean?

> it's just aging of light

You mean red-shifting or something else here?

> so background microwaves is just aged light from distant objects

How do you account for the CMB angular power spectrum[1][2] with your "tired light"?

[1]: http://background.uchicago.edu/~whu/intermediate/summary.htm...

[2]: http://folk.uio.no/hke/AST5220/v11/AST5220_2_2011.pdf (slide 23 and onwards)
a ton of neuro transmitters is made in the gut
then there was the experiment where they swapped mouses gut contents and that lead to the mice switching their anxiety/calmness
That's 95% of the work? Suppose, we do really have two those things established, say copying an existing system or feature, do you honestly believe that there's not much else to do, because the people-in-charge did all the thinking and hard work, and all that is left is peasant programming work!? I'm sorry but that really reeks of self-justified corporate bullshit that OP was talking about.
8GB in an age of electron is pushing it. If one more idiot decides to turn one of your commonly used applications into a memory guzzler you will be forced to upgrade.
Not completely true.

Powerlifters will definately bench press more because weightlifters don't bench.

When comparing the squat - powerlifters perform a low bar squat and hence you cannot compare it to the high bar squat the weightlifters do. I think weightlifters have much more powerful legs though - when you compare across the same lifts.

Weightlifters dont specialize in the deadlift however it is a part of their training and I think weightlifters will out deadlift powerlifters if they focus on it.
On the flipside to that, there's Pianoteq 6 who do physically modelled pianos. After going through several sampled piano libraries I settled on Pianoteq as my "forever" piano VSTi. It's less resource intensive than the gigasamplers and "feels" more playable and expressive in a way I can't rationally explain.

(It helps that some of my favorite producers and composers have used Pianoteq - for me that's Guy Sigsworth and Thomas G:Son, but the Ludovico Einaudi endorsement really clinches it for me.)

https://www.pianoteq.com/
Why do we need individual registries at all? I kind of get it regarding ccTLDs and enforcing local law, but what do the registries do besides "being there", taking registrations from registrars and controlling the zone file?
There's a not so long one: Verarschung
I tried to exploit the mobile browser hiding the address bar when scrolling to hide the address bar in a web game/app to get more screen real estate on mobile but most browsers make it very hard.
I hope you have cited this article http://karpathy.github.io/neuralnets/
I often find this with HN articles. Much like the .com domain, I continue to assume a likelihood of American-focus and allow myself to be pleasantly surprised when it is a global article, service or discussion.

Perhaps that's one of the best things about code/git submissions to HN - it's often so easy to apply them to any geographic region.
More people start to realize the risk of a dictatorship as a world power compared to ten years ago when it was all "they are such a big market" "You can get things cheap there" "It's a different culture"?
yes, about a year now.
Depression, Anxiety, joint pain, and back pain went away.
White spots in nails are almost gone completely, and my hair is much fuller now than it was before.
The coat image is very amusing :)
Improving your squat and deadlift will make your back more flexible.
I wasn't attacking your position. I was warning people about Kraken.
I'm not following the logic behind the annual taxes row. It blows up with child #1, increases again but not nearly as much at #2, and blows up again at #3. Wouldn't having dependents reduce your tax liability? Is this some state tax mechanism? What am I missing?
I have one as well. It's great but the downside is the enormous size. Thing weights a ton as well. I almost broke my back carrying it up the stairs.
I've not had a personal printer for something like ~15 years now… I've spent around 200€ once on a decent quality (except black and white) ebook reader and spend an additional ~10€ a year at most for high quality prints (photos and labels).

So I'd argue that for some people, there's no good reason to buy a personal printer at all: not for price, not for quality and not even for convenience (buying compatible cartridges is not something I remember as being easy).
It is C99 code.

It is worth noting that many C projects go for extreme portability. That's why C is used in the first place, and sometimes C99 is too much. I still sometimes work with compilers that barely support C89. That's for the aerospace industry BTW.
There are even some libc that don't accept free(NULL).

If you know the platform you are writing for is not ancient, that's fine but if you are writing portable code, you have to realize these ancient platforms are still alive.

I think ditching K&R C is fine though. I've seen some of it but never encountered a case where it was the only thing the compiler supported.
The big question is, what is the US actually going to do about it? If anything...
> Just a year later, Nintendo announced their newest edition to the Zelda series, The Legend of Zelda: Skyward Sword as a MotionPlus exclusive.

I believe this should be Wii Sports Resort? The Legend of Zelda: Skyward Sword came out quite late in the Wii's lifecycle, in 2011.

> In a bit of good fortune, while developers were analyzing the calibration data, the NSA released a reverse engineering tool called "Ghidra". This tool helped Billiard more easily examine the calibration data and see how the games were using it. With Ghidra, it only took a few days to determine what all of the data meant, and give Dolphin the ability to generate perfect calibration data.

I am curious how Ghidra helped here. Does the Dolphin team not have access to IDA Pro or other similar reverse-engineering software?
The general idea of using the school to do more than teach children is something that I have wondered about since I was a child (I'm 63).

It seems such a shame for all those facilities to stand idle all summer, all weekend, all night.

As the article shows there are people who need the basic education that a primary school can give but surely we should go further still and offer everyone in society the chance to go 'back' to school and learn whatever they want. Perhaps to learn some of the things that they thought were dull or inappropriate when they were there the first time around. Men could learn to cook and sew, women could learn to maintain their car or bicycle, Lots of people could benefit from a better grasp of simple mathematics and statistics.

Yes, I know that evening classes and further education exist but they are far from universally available and except for classes in demand for craft training (mechanics, electricians, etc.) depend all too much on volunteer effort by teachers or even untrained enthusiats who are already overworked orunderqualified.

And lastly, why am I the only one commenting here? Surely life long education should be dear to the heart of all HNers? And worth a comment or two.
Oh and do that scammy double-redirect to yourself so back button doesn't work.
If they're looking at profit that should already include any expenses for outsourcing.
Hot field, lots of froth, clueless investors.
IQ is not intelligence. For the longitudinal iq studies, check how they measured IQ (spoiler: it changes ;) ).
Well, Infiniband is intended mainly for supercomputers. So security is of no real concern within the Imfiniband network as that is implicitly
a trusted environment. Access comtrol to that network is the main security boundary.

Edit: Also, lots of simulation codes I am aware of tend to send flat arrays anyway. So I'd say that your concerns are mostly theoretical in nature.
I feel the same way about Ada and RISC-V, to be honest.

https://blog.adacore.com/ada-on-the-first-risc-v-microcontro...

https://hackaday.com/2018/10/08/programming-a-risc-v-softcor...

https://riscv.org/2019/01/adacore-joins-the-risc-v-foundatio...
Depends on the company.

Big orgs with lots of outsourcing, architects are supposed to police the result to make sure it's semi decent. But since they've long since gave up doing any real work, they tend to be people who buy really expensive crap to cover their arse.

In smaller orgs, it can almost be just a lead dev with a fancy title.

Rarely does the title seem appopriate, but some of the folks with the title are good regardless.
Would you say that it's a good first project for learning programming from the beginning as well or would other (easier) projects be more suited for this task?
Like you said, economically it makes sense, but I have to emphasise that biologically it's risky(er) to wait. Risk doesn't imply a negative outcome, as you have discovered for yourself, but each would-be parent should at least know what the pros and cons are.

According to Uhl's Obstetrics and Gynaecology for example, fertility is impacted negatively for females of age > 35 and a first pregnancy over 35 or under 19 is considered a risky pregnancy. Same goes for subsequent pregnancies over 40, which have a higher risk of genetic defect, placenta insufficiency, etc.

It's perhaps interesting to note that a genetic consultation is offered to women over 35, but only to men over 50. The risk of a trisomy over 35 is 1 : 370, whereas earlier it's in the thousands and can be shrunk further through non-invasive diagnosis.
There are many more things which become problematic over 35 (thrombosis, diabetes, hypertensive disorders), I don't have time to list them all, but any good book on obstetrics will have the details.

Weight issues (BMI > 25, < 19) and a sedentary lifestyle increase the risk for pre-eclampsia, pre-term birth, pregnancy diabetes or spontaneous abortion. This would explain why the lady you mentioned was likely closely monitored.
It seems that some attributes of the mother (e.g. being overweight, diabetes) are also reflected in the later predisposition to disease of the child. This can include even things like natural vs. C-section birth.
it would be considered a risk no matter what form of government. any rising superpower is a risk to the US.
The creative and corporate disparities in the animation industry
By override the scroll behavior, it also makes the page feel very unnatural on an ipad (I think it’s the inertia effect missing).
No need to malloc each frame. Malloc at startup and memset each frame (don't even need to do that, tbh).
No, I never talked with my manager about anything I talked with my juniors. I only advised my juniors how to deal best with managers, but mostly we talked about code.

It was a highly functional company until they changed the dev manager, then it went downhill immediately. Political middle managers soon took over everything, and all the seniors left.
It is just political theatrics. Every nation on earth is doing this and has been doing it since the dawn of the time. The only difference I can image with the Chinese being that they have joined the ranks of American and Russians in capabilities.

> “What hangs in the balance is not just the future of the United States, but the future of the world,” Bill Priestap, assistant director of the FBI’s counterintelligence division, told the Senate Judiciary Committee.

> U.S. complaints that China is stealing intellectual property from American companies have been at the center of President Donald Trump’s trade war with Beijing. The Trump administration is planning to indict Chinese hackers and take other actions to call out China for intellectual property theft, according to people familiar with the matter.

Interestingly enough, CIA has a slightly different view on the topic: "While current US policy, as recommended by Gates, does not include providing private business with government intelligence data for commercial gain, the question is apparently still open. It is a valid question and not simply a search for new missions by intelligence organizations seeking to preserve their budgets."
Native LaTeX equation editing for technical diagrams was probably the biggest itch I wanted to scratch with the diagramming application I wrote (https://vexlio.com). Unfortunately I haven't had much time to devote to development recently, but it's still out there and hopefully still useful to people.
I don't trust any memset at all. Literally every single memset I looked at was either broken, too slow or insecure.
Mostly the wellknown glibc, freebsd, msvcrt and compiler implementations.
Just stop using it then. I’ve never used it as they are amoral, and don’t feel I missed much. Facebook will fade away in time, like MySpace,yahoo,aol,etc.

Various companies from AOL to Apple tried this in the 90’s (e.g. eWorld) - it’s the natural tendency for large corporations to corral their users. Arguably the windows attenpt to kill the web, and later mobile app stores are a continuation of this trend.

They all failed in the end, as the open web is more attractive, but there will always be gatekeepers, because most people don’t want to build their own platforms, they just want to read and share their stuff.
Introduction to LSM Trees: May the Logs Be with You
quora is def. the worst. Low quality, tons of spam, all the good ppl left, clutters google search results.
The illusion is almost perfect. However, it breaks when you scroll back to the very top. The real address bar reappears on top amd stays there even when scrolling back down. This is with Chrome 73.
Funnily enough, it's the same thing in academia/research. You get into it because you like doing research and you (think you) are good at it. And if you are really good (and have a healthy dose of luck), eventually you progress to being a professor, you are principal investigator of some projects, and you find out that your job now consists mainly of managing a group of people -even if you aren't especially good at management and haven't been trained for it- and writing grant applications, and you have almost no time for actual research.

The difference is that in academia is not an explicit promotion that moves you from research to management, but more of a boiling frog kind of situation where you gradually do less and less research and more and more management - or at least this has been my experience.
Show HN: Own MobX in 65 lines of code
When I started a new React-project at my work, I asked myself: "Why do I need any external dependencies for state management such as Redux or MobX? What functionality from this dependencies do I need in the first place?".

I realised that I just want to have many views connected to one dataset, and I want to re-render all connected views when dataset was changed. This is a simple pub-sub pattern which everyone can implement himself. So, I implemented it myself in just 65 lines of code. I use this solution in production for 6 months and don't see any drawbacks.

What are the advantages of Redux or MobX over this solution?
Got a non imgur link? Turning on JS only to see a static image is a bit too much for me.
Its not that high quality is unobtainable, it's that nobody at librivox seems to try to attain it. Sound quality is definitely uneven at librivox, ranging from poor to middling, and passages composed of multiple tales are rarely mixed together smoothly. The vocal talent is mostly adequate (I certainly find plenty of narrators I dislike on audible) but it also seems sort of unsupervised -- narrators who encounter unfamiliar words will mispronounce them. I honestly think they'd get more even results with TTS now that WaveNet is so good.

I'm impressed by what librivox has achieved with just volunteers, but the production values are nowhere near as high as most books on audible.
Yes, because I provide support for my library in a discord channel.

I scroll back and check for reported bugs and any problems people had that weren't resolved by others.

"They should just ask on a forum/github/stackoverflow" you might say. Ok, but they won't, they'll just stop using my library instead.

Forums require too much risk. Spend 20 minutes crafting a question, never get a response. Github and Stackoverflow are far too complicated for the average user. What's an issue? What's a template? What's a minimal reproducible example? They just want to know what error code 501 means...
I respectfully disagree - the design goals are vastly different between ancient Rome and today. There is no reason one couldn't build something that would last milennia, it is simply not economically feasible (and you would have a hard time securing investors).
Ipe is great not just for figures, but also presentations. It supports multi-page documents, incremental build-up of slides, presentation style-sheets, and so on. Showcase:

https://github.com/otfried/ipe-wiki/wiki/Showcase#presentati...