skysight-inc/HackerNews huggingface dataset:
I keep getting this on most news items for example on https://hackerdaily.io/24741077/comments i get this error

DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
at Object.appendChild (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:41326)
at m (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:54249)
at v (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:53880)
at _ (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:54335)
at P (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:57721)
at P (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:57656)
at f.__patch__ (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:58133)
at f.t._update (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:35072)
at f.r (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:65536)
at _n.get (https://hackerdaily.io/_nuxt/commons/app.977ae7a.js:1:27248)

Folding works in this one though https://hackerdaily.io/24740266/comments
It depends. For quick specific actions it is a proper method to make people feel bad. Examples: "Fire! Get out!" Or "Hot September! Sign petition here!"

However, if you want people to find creative solutions to complex problems, a positive message works better. "Yes, we can!"
Rocket.Chat Open Redirect
Just saw this, it is so obviously an open redirect, sadly it's JS based not 301...

https://go.rocket.chat/invite?host=ycombinator.com&path=/submit

Check do same next time, then click open web application.

This is 100% just to collect user IPs and server domains.
Pencil and paper aren't new, but we can still admire and enjoy the creativity of a poem.
shrug I'm already maxed out on anxiety. Disaster is indeed expected now.
If the Radeon driver is in the kernel now, then maybe at some point someone other than AMD will pick it up and start cleaning up excessive copy paste code.

Assuming they play nice with the community, it could be a huge benefit to AMD in the long run.

Still, 2 million lines is a massive amount of code to start working on.
> while SMB is achieved through analysing and reverse engineering Windows' protocols

SMB2 protocol is documented here explicitly for interoperability purpose: https://docs.microsoft.com/en-us/openspecs/windows_protocols...

> There's no stability guarantee from Microsoft that SAMBA will keep working with the next update of Windows 10 while the NFS standard does maintain a minimum level of compatibility.

I don't think there is any difference between SMB and NFS in this regard. There is no guarantee that next version of Windows will work with any NFS implementation either
This is very koel!
New Geologic Map Reveals Portland's Deep History
As your ship approaches c the distance to your destination gets physically shorter due to length contraction.
It's likely contact tracing in public spaces will remain in place long after the virus: every time a new source of tracking data exist, they don't want to relinquish it because they find additional uses for it and this is especially useful for building social graphs.
It’s from the Disney movie - “Song of the South”.
But it left the local monopoly in palace instead of mandating Local Loop Unbundling which is why the US and Canada has such poor competition for highspeed internet.
Probably worth mentioning that thread is a year old and some of those issues may have been addressed by now.

The latest reference (from 9 months ago, so not much more recent) I could find for occlusion culling[0] says it and LOD are planned for the Vulkan branch, so those are still issues.

[0]https://old.reddit.com/r/godot/comments/emachb/how_long_unti...
> my awfully cheap ($190 for 4GB of RAM) Samsung Chromebook 3

Wait, for $190 you can buy a better used i3/i5 laptop? At least in pre-codvid times, not sure about today.
It won't matter because the main "play store" Chrome is the one that 99.99% of all Android users will install.
code: <50 bytes

runtime: >100 MB
I mean, wouldn't this worldview imply that literally any company with cash will be able to cause any company with less cash to do whatever they wanted?
Nobel price in Economics: The quest for the perfect auction
Show HN: User friendly forensics tool for Chrome/Chromium based browsers
Oh, changed the name of mine!
This is the reason that alternative general purpose languages are popular - just because you can write it in C++ doesn't mean you should :)
Can anyone point me to peer-reviewed studies of this system? They state they are #1 according to scientific validation("peer-reviewed scientific publications comparing up to 107 solutions worldwide where Symptoma clearly ranked as #1.") but I can't find anything online or on their website on the performance or architecture of this system.
For the spreadsheet to work change `#ccc` in `d.style.border=` to `gray`. It is fixed in the repo but not in the article.
I think all tariffs should be along the lines of Energy 7 tariffs. That is, the electricity price should vary during the day to encourage people to shift what they can to lower demands periods.
Sounds like one for the issue list! You've probably seen it but chriswalz replied below and <enter> is the right trigger.
Or this;

data:text/html,<script>alert('pasting code from the internet in to your address bar should not be encouraged');</script>
same, i judt don't have enough liquidity to afford such a clock
Obligatory xkcd: https://xkcd.com/977/
Show HN: How to X with Y. Engineering questions, answered
Sadly it does not work on Firefox Mobile :-(
U.S. Economists Awarded Nobel Memorial Prize in Economic Sciences
How to Cut/Trim Videos in FFmpeg
Why would you have expected Covid to have any effect on the current climate? Even the most short-lived greenhouse gas (methyl bromide) has a lifetime of 0.7 years, so any changes in emissions would not show up until now. And its relevance today is next to zero, since it's been banned along with many CFCs since the Montreal Protocol. The relevant greenhouse gases have lifetimes of years to decades.
Thanks, this is really awesome!
no way, he became known after his great novels in the 60s, he had no influence on the liberation which was officially pronounced 1861. Maybe as part of the overall public opinion in the upper class (he was a count, after all)
> Are you insane? Temp alone is NOT proof that their is man made global warming.

Technically correct I guess. Let us just say that the average temperature is rising from year to year. CO2 levels correlate very closely with this increase in temperature.

Let's say this correlation is not sufficient evidence and we know nothing about CO2 as a greenhouse gas. What would be the next best explanation?
It actually makes sense for Climate Change Deniers to deny it's man made. Think about it - if it's not man made, then people don't need to adjust behavior at all since their behavior didn't cause the problem in the first place.

To them, cutting down emissions might be as inefficient solution for climate change as it is for solving the lava problem.
Developing Open Source Skills
5 things you can do to get started
Content Localization Strategy for ECommerce
> That said, I haven't seen many app-specific hacks in the open source drivers, even in the user-space code.

They are enabled via driconf [0]. Not nearly as many as what I imagine you'd find in the proprietary Windows drivers though.

[0] https://github.com/mesa3d/mesa/blob/master/src/util/00-mesa-...
I mostly find your argument convincing, but keep in mind that there is no unitary "US government": most charges are under state law. This means that although the national government can know where you are down to the apartment number, you can be (legally) completely unreachable to the state that has ordered you to trial. The solution may be to just lock up the accused more liberally than in Europe, but I'm curious how Europe handles this problem in the Shengen zone.
I run Debian (mostly) on it. Seems to work well for me. Compiling PyTorch is a bit of a nuisance at 4GB, but it worked. One issue I had was that TRTorch wanted bazel to build and I couldn't bring myself to install that (and Java), so I made up some quick and dirty CMakeLists.txt and it worked well.

But I must admit I don't see the 2GB model as a better value than the $100 4GB one, especially with shared CPU/GPU.
GMT stays the same throughout the year. The UK switches to BST for the summer.

https://en.wikipedia.org/wiki/British_Summer_Time
The Digital Divide Starts with a Laptop Shortage
I enjoy tinkering with Unity.

One thing that I am struggling with though is settling on good ideas for general architecture for structuring the logic, and then doing things like communicating between entities/objects in a scalable way. Not everything that needs to communicate exists in a nice parent-child relationship - occasionally you need to communicate "across branches" in a hierarchical tree when there is no other interactions such as collisions etc.

You can get a long way with just cobbling stuff together, but eventually you get into growing pains where it becomes a mess.

The "best" solution I have so far is awkward "god"/"manager" objects that act as glue to let everything access everything. There has to be a better way?

The nice with with Unity though is that the logic is in .NET IL so it is trivial to see how people are doing things and learn.
Hey HN,

I started this project last Tuesday to scratch my own itch. It's basically copy/pasteable code snippets for common tasks in many languages.

Like many developers I work in different languages and often forget syntax or how to do simple things. I find if I'm working in a big codebase I can usually get comfortable quickly, but it's when I'm faced with a blank page in my editor I think... err how do I do this again?
I can't see how they'd be able to achieve that, unless you mean simply that the device drivers would run in userland.
I tried a couple of different AMD cards, and my machine crashes on resume if I try to use either of them (but the Intel iGPU works fine).

Searching for amdgpu bug reports leads to:

https://amdgpu-install.readthedocs.io/en/latest/install-bugr...

which links to a page saying "Bugzilla is no longer in use" :-(

This is under Qubes/Xen, though, so maybe that causes extra problems. If any devs are reading, I did report it here in the end:

https://github.com/QubesOS/qubes-issues/issues/5459
https://github.com/mozilla-mobile/fenix/issues/2871 tracks effectively the same issue, which is that Firefox Android no longer supports bookmarklets.
No , I would not "make the jump to writing REPL". I was addressing this:

"Python is superior to C and Rust for most kinds of scripting tasks, given equal mastery of both. It has a REPL, it doesn't have a compile time"

To me it makes the impression that you are conflating here, hence my answer about REPL. Technically of course REPL is different from having "no compile time".

In any case I do not really consider opinion about Python being the better one for scripting tasks as anything but subjective.
That is if your phone is IP rated.
The reasoning is in the other direction: they're not going to change behaviour, therefore it's not man-made.
I remember this from my (German) childhood in the 90ies. But the farmer who did it used to ring a bell and shouted "Kartoffeln" without any artificial amplification.

It felt like a relict from another time and I think he stopped his rounds before the 90ies were over.
FYI to folks who consider War and Peace intimidating: at least the Russian audio version on Audible is excellent, and fairly easy to enjoy. More so than the book itself, in my opinion, because narration is excellent.

I was forced to read War and Peace when I was 15 (it's required reading in Russian schools), and didn't like it then because I wasn't yet equipped to understand it. Nor did I understand any Dostoevsky we were required to read either. A 16 year old just can't understand any of what's going on in such works - it's easy for me to see that now when I have a son that age.

After I listened to it some 25 years later, it became my favorite work of literature by quite a margin. I strongly suspect that as I get older, I might be due for another pass through it, and I will enjoy it even more then.

So there's no shame in listening to an audiobook on your commute, once we have commutes again. I just don't know if there are English language productions of it that are any good. Perhaps someone could chime in and recommend. But if you speak Russian, get the version from Audible and spend some quality time with it, you won't regret it.
> completely mechanical

Well.
Depends on what you mean "most normal browser". In Chromium and related browsers it works as said.
The Hardware and Software Used in Space
IPA can ruin the surface of some phone screens, it likely won’t damage the screen itself but the layer that protects the screens from fingerprints and other residue can be washed off with alcohol.

That said it would probably still be better than UV as the UV might actually damage the screen especially if it’s an OLED one.

Overall if your phone is IP rated some dish soap and a moist cloth is probably the best option.
I'm not really saying you should write anything from scratch that you don't have to, just that you should treat a dependency as something that you did. Therefore, review it, check compatibility, and have some named team responsible for its maintenance and availability.
Sounds like PyInstaller is the closer comparison

https://www.pyinstaller.org/
The io fork? That was 0.12. Not 12.0.
> notice that Google has to pay Apple billions annually for access to their platforms)

uhhhh, doesn't Google pay Apple billions to be the default search engine on iOS? That's not "forced to pay for access", but "choses to make a business deal that costs them billions to make them billions more"
I feel your pain. I really do.

I'm not sure my advice is relevant, but I'll tell you what I have.

I have a gigantic open-source portfolio. I incorporated it into what Stack Overflow calls a "story"[0]. This is sort of a "super-CV."

I have an almost solid green GH Activity Graph[1]. The value of this is reduced by people that "game" theirs.

I spruced up my GH profile[2], using their "hidden Profile README"[3].

I have had over twenty apps in the iOS App Store, over the years. I'm down to just a few, now[4].

I spent my entire career (over 30 years), shipping product; even my open-source work is done as "ship." I have written a tool that has become a worldwide standard[5] (but is now under the care of a new team -I hardly have anything to do with it anymore).

I write a lot of stuff[6].

Basically, my motto is "Don't just take my word for it; see for yourself. I can prove what I say."

I would have been happy work for half of what people with far less skill than I demand, as I do what I do for the love of the craft, and my retirement is set.

That all means nothing. Recruiters drop me like a live snake, as soon as they figure out that I'm older than 40 (50, actually). I now make sure that my age is known up front, so that prevents a big waste of time. They don't need to give me a binary tree test to weed me out.

Sorry to be the bearer of bad news.

[0] https://stackoverflow.com/story/chrismarshall (Story Format) https://stackoverflow.com/cv/chrismarshall ("CV" Format)

[1] https://github.com/ChrisMarshallNY#github-stuff

[2] https://github.com/ChrisMarshallNY

[3] https://docs.github.com/en/free-pro-team@latest/github/setti...

[4] https://littlegreenviper.com/AppDocs/

[5] https://bmlt.app

[6] https://littlegreenviper.com/miscellany
I think they could, and it would be a good idea too. Browsers could also possibly ignore server-sent cache directives for scripts with SRI hashes, or at least consider them immutable by default, since there is virtually no possibility of any script with the same hash referring to a different file.
My team doesn't write long format commit messages and it's never been an issue. When we need to track down changes we use the corresponding mr, which includes a description as well as a link to the relevant cards.

I personally like this format more because it lets you both be "dirty" in your branch writing commits for yourself, and not have to use amends/rebasing. I can see how it would be annoying for someone that does all the digging on the terminal through git log and blame, but we all use gitlab instead.
> Here worth mentioning that elements with an id can be accessed as window[id] or window.id. The thing that wasn’t standardized for a long time and has been a hack from IE, now has become a standard.

Didn't know this.
Lets test this idea of ownership: My phone auto-updates, and the manufacturer prevents me from reverting updates. One update has removed my ability to record my calls.

Does that sound like ownership? Can BMW employee pop over to your garage one day remove some bits of the car he thinks you shouldn't have any more?
Due to the privacy focused nature Plausible doesn't track returning users.
Reading should be considered a side project when you work full time executing.

Full ACK. I wish I were only asked ONCE in an interview "Which blogs/sites do you read for technical education and what was the most interesting article you read last year?".
You just extradite them, same as the American states do when someone flees to a different state.

I've yet to hear of someone being "untouchable" in another Shengen country. Are American state criminal laws that incompatible with each other?
Buddhism and Science: A Doomed Romance?
My point is that even if we were able to drastically cut emissions (which is the current campaigning goal) we actually need to think a step further ahead than that, as in okay, we cut emissions, what now?

I have been reading the news on this climate chaos for decades so I am not naive enough to think that the planet will be magically restored to perfect tranquillity the minute the last burger eating SUV driver throws away their car keys and goes vegan. We all know we must cut emissions and go carbon negative but Covid has given us a glimpse as to how much work this really entails and how long we can sustain change for.
The coding tests have gotten ridiculous.

I got turned down from codementor's fulltime platform because my "tic tac toe" in react wasn't complete. I didn't handle the diagonal case (which I was explicitly aware of) nor did it have unit tests.

Did I mention I had to do it from scratch live with the interviewer within 1 hour. Thats 1 hour to plan and implement from a blank slate from "hey write me tic tac toe with react"?

Never mind that It was functional, had a hook for me to handle the diagonal case if I had time and aside from that, worked!

Nevermind that I had completed a few projects on their platform already and have a great rating. That I have experience working in a few startups in Silicon valley under my belt. Nevermind that I have open source contributions and was a key speaker in a js conference.

I can't write a complete tic tac toe from scratch WITH unit tests from a cold start and a blank slate in less than an hour.

Sometimes I feel like its becoming a race to the bottom. As CTO of a startup right now, I spent days deliberating and planning out the db schema we use to optimize for our main use cases while allowing some deeper queries for analytics. I write stored procedures and convert business rules into working software that scales. Under our last load test, 90% of the reqs were served in less that 250 ms. I do code reviews in js, elxir and sql on the regular have trained other engineers on obscure sql like nested joing an unnest() ing json arrays for analytics.

Yet somehow my value can be arbitrarily broken down to "he's not good enough because he can't scope, plan and impliment a full app with unit tests within an hour"

/endrant
Who is we? I wouldn't have said it. I would have and was saying the same about AAPL though.

This is where skill really matters.
Good note. The implications of pasting arbitrarily code in address bar is known as self-XSS which can be used to hijack online accounts.
The Prize in Economic Sciences 2020
I initially thought it's Python to Rust conversion tool.
This looks like good CLI UI for git, something that git needed from day one.
Probably because JavaScript as it is used in browsers and especially React is asynchronous and in CS you traditionally study classic programming languages which are mostly synchronous code, even if it is multi-threaded you still command where and how access to shared data happens most of the time. In JavaScript and React asynchronous aspect is mostly hidden from you hence need for things like Reudx.
I am a freelancer and host some services there:

- my website.

- a jenkins to run some scheduled jobs for me.

- a gogs (selfhosted Git repo).

- sometimes i deploy some customer services on it to present the app to my client.

most important thing that I host there (specially because of GDPR in Europe): nextcloud
Within my nextcloud I store my files (Dropbox) my Calendars and Contacts (iCloud) and use the Talk app for adhoc calls (Slack / Hangouts).

To be honest I never understood what GDPR means in terms of "storing contact informations of clients within my phone / icloud" so I decided to have an own Card/CalDav service.
I wonder, is it possible to make a magnet that's always on and uses power to switch it off? Kind of like how air brakes on trains work.
Man Made Biological Leaf Is an Oxygen Factory for Space Travel
I'm not sure why you are being downvoted.

The legalistic interpretation is that there is no difference between Xbox and iOS except success – what laws or principles already exist to distinguish between them? Therefore your argument is invalid. Perhaps this is why.

But I don't want to play that game. I just know that I want my primary computing platform and a major computing platform in my society to be open and not put a high tax on all economic activity – this seems important. But I do not particularly care if a games console I use does or not. Someone else can figure out the laws and fine distinctions.

EDIT: The Xbox can be used to watch TV and browse the web, so it is also "general purpose" by a strict definition.
Cameras have UV and IR filters usually I would be more worried about the screen if it’s an OLED as UV can degrade the organic molecules in the screen.
It might also damage the color filters in LCD screens but I doubt any consumer grade UV lamp can easily reach those levels.

In general I wouldn’t trust consumer UV bulbs (especially the generic Chinese ones), it’s not worth the risk you have very little way of verifying the actual frequency range and power of those bulbs so they can range from non effective at all to Chernobyl without you being able to tell.

The potential risk from a “true” UV bulb and a high power at that is much greater than COVID you can easily get eye damage including blindness as well as really bad burns and potentially cancer from a high enough dose of UV.

The ~400nm UV sources used for curing resins and nail polish might be your safest bet but I wouldn’t bet that these would be as effective as using sanitizers or water and soap.
Redux was first released more than 5 years ago, it's had more than 3000 commits merged from more than 800 developers, and there have been 69 releases. That's a lot of learning about how to do state management in JS. I would argue that's beyond what an individual developer could ever do. Mobx has similarly large numbers - almost 3000 commits from more than 400 developers. No doubt other popular state libraries also have those sorts of numbers.

If you need a general state management library you'd be crazy to write your own. You might be able to do 90% of what the big, popular libraries have done, but that's just settling for something 10% worse for no good reason. Why give up all that knowledge, testing, and creativity when you can build on top of it? Let other people make the mistakes.