skysight-inc/HackerNews huggingface dataset:
I understood that on Linux using a process was similar in speed to a thread, though they're much slower on Windows. Has that changed?

For my python multi core code I like using fork with sending objects over a socket with pickle. It gives more control than multiprocessing.

It works pretty well. One downside of fork with python is that the reference counters are scattered about, leading to big COW memory churn, however. Big numpy arrays should be shared, however.
Next week: teaching your grandmother to suck eggs!
Trying to create a mouse mat from tōtara wood, by cutting it into thin diamonds and gluing them together. It's been tricky to get the slices properly flat with the tools at my disposal, but it could be an interesting result.
This makes for an amusing read, but it would be helpful to have evidence. While threads (kernel or user space) have their tradeoffs, there are tradeoffs to using multiple processes as well. What's the cost?

> On a long enough time-scale, all programs will be proven incorrect. All code has bugs, including your compiler and language runtime.

That's a bit of a false dilemma. Kernel bugs exist too.
It sure would be fun to write software which pretends to be working and boosts people's 'productivity scores'.

Some days I think I missed out by not taking a job I could have gotten a computer to automate, and spending all my time doing interesting coding projects.
China is on a roll this year.
Writing code for new products is easier than adding features to or making security updates to 'legacy' products without destroying them.
Any smartphone with an OLED or high end LCD is physically capable of displaying more than sRGB. That’s a pretty decent number of devices. Android is awful for color management though, if the OEM even implements it.
I think, only few subreddits are worth spending time for and most of them are NSFW
We all used co-routines in Windows 3.1 ("co-operative multitasking"), and the application Window would go blank. Then we got threads and we were able to kick off compute to the background without having to be careful to yield throughout our background task.

For instance, of a spreadsheet computing values.

A more common use-case, however, is of trivially parallelizable problems which are completely isolated. Consider Monte-Carlo simulation for instance, where the thread hand-off to workers is done by a queue.

Making categorical statements like this political and unhelpful, and is one of the things that annoys me the most about IT culture.
don't create extensions. create browser controllers. you can release them as binaries. anyone can download them. They instrument chrome using the remote devtools API.

an oss example here: https://github.com/dosyago/22120

and an idea I have for a browse controllers store here.

https://github.com/dosyago/browsercontrollers.store
Yes, at the expense of individual liberty. Traffic laws are an obvious and rights-restraining example of this.

I may or may not cause harm by running a red light in the middle of the night, or speeding on a freeway -- in fact, I know a guy who habitually runs reds at night, "just because" -- yet the constitutionality of ticketing people for running reds or speeding is not, as far as I know, in dispute.

How this maps onto public health in a pandemic, I don't know.
Galileo GNSS Constellation in 3D
Tips and Practices on how to become a Pro
New York City's Virus Lockdown for Rats
Also when everything is running locally people tend to forget network latency and the cost of additional roundtrips. This comes at a high price when for example doing lots of database queries or waiting on a majority confirmation of a clustered transaction.

Another problem with developing locally is that the dev is the only simultaneous user, and doesn’t have to share the resources with other users.

I guess the takeaway is to always validate your assumptions through measurements like profiling etc.
""js": ["plugins/imagefap.js"],
"matches": ["://.imagefap.com/*"]"

This line and others like this, are probably the issue.
I guess that depends on your understanding of "vesting" - and my understanding may be faulty.

As I understand it, if I leave the business before the vesting I get nothing. When the stock vests it becomes mine.

A lock down of the stock then means I can't trade it, but it remains mine (regardless of whether I stay or leave.) Once the lock is lifted I could sell it.

So in that sense there's a difference, yes.
Where's the Linux one?
Deno is a viable alternative to Node
Definitely need to get a copy of The Oregon Trail. And, yes, I've been reading up on LOGO! I just read a great book called Mindstorms written by Seymour Papert (inventor of LOGO and the Turtle robot) about his educational theories behind LOGO and using computers to help children learn how to learn. I highly recommend checking it out - here are my book notes: https://www.charlieharrington.com/mindstorms
I’m building an open source accounting system with rpc endpoints being the primary method for inputting data and a SQL database that can be queried easily.
GoDBLedger:

https://godbledger.com/

https://github.com/darcys22/godbledger
For the most part that backend of the system is working how I want. I now need to build more front end ways to communicate to it.
One of the front end methods I’m working on is programmable journal entries. So you write your journal entries in a JavaScript file which gets executed in the context of the accounting system so you will have full access to the account balances. However this is still early stages:
Yurnell:
https://github.com/darcys22/yurnell
I can't help to think how this story might reflect many of us who immigrated to the US for the "gracious way", forgot the way we used to "walk" and now find it difficult to return back home. It is saddening.
That's not how masks work though. Masks mostly protect others, not the wearer. I of course wear a mask on the very rare occasion that I leave the house and rubber gloves and disinfect my hands and everything I touched asap. However, that doesn't give me full protection from the a-hole who almost ran me over at the UPS store the other day who wasn't wearing a mask and was keeping no distance whatsoever.

If we all could take proper precaution this whole thing would be over much quicker and we could return to something that's close to normal. We could get to a place where we have few enough cases that we can test and trace. Other countries are on their way to accomplish this.
A molecular structure viewer/browser/search plugin for JupyterLab for SDF and SMILES files. It should work as filetype viewer and inline in the notenook. Preferably using RDKit.

I've been wanting that for several years. Never had the time to do it, as it requires a lot more Javascript skills than I have time to learn.
A realtime collaborative writing suite. Documents, Novels, screenplays. Everything is validated by schemas, and there are hooks throughout.

I find the tech really cool - google docs like. Fine-tuning the end UX at the moment. If this is something you'd use or try out, pls ping me: anil.verve @ gmail.
You can earn 250k and donate 190k if you want. 190k per year will go very far. If you don't to whom to give I can send you names of specific people who are struggling at the moment.
They didn't buy any of those games though?
Almost exactly what I was looking for! I can't fathom how a single person manages to make a game like that. He mentions a physics solver in that video.. I wonder if he'll talk about how it works
Buying Grubhub Might Be Uber’s Best Chance to Save Itself
It's always a good idea to run in a container, which limits the ports you can listen on, directories allowed for writing and reading, and can have its own firewall to limit outgoing connections.

If you don't need the firewall, you can just run in a chroot under a low-privilege user.

I mean, if you do otherwise, you are not following best practices and the voice of reason.
paid Google shill.
I certainly miss the era. Maybe that’s more about me and how I related to what was happening in the tech scene. Maybe it’s because the focus was in a different place.

But yes, in a sense, I do.
This is pretty cool. This project has a long way to go before it's mature, but as someone who uses Typescript every day professionally, the promise of the ease and safety of Typescript coupled with the speed of C++ is really compelling.
I've done this recently - It really does work (playing audio from a cellphone); if you run into any problems I recommend the slower file versions and maybe retry a few times in case of interference/noise on the cable.

EDIT: I also had a similar smoky experience with the original CRT (maybe a bit less safe to repair), luckily my modern TV could connect directly by composite.
Ended up watching some of the F1 guys play videogames and thought it was kinda funny but pretty stupid. Then I kept watching it... and became a little obsessed. Now it's turned into my time pit (outside of work hours) through a mixture of watching better drivers to learn from them, optimizing my rig and recording setup to allow me to be fully immersed in VR while still capturing video with all sorts of interesting overlays, and trying to mitigate a huge temptation to spend a lot more money on making my setup more elaborate.
My least favorite thing about importing from NPM is that I don't actually know what I'm importing. Sure, there might be a GitHub repository, but code is uploaded to NPM separately, and it is often minified. A malicious library owner could relatively easily inject some code before minifying, while still maintaining a clean-looking repo alongside the package.

Imports from URL would allow me to know exactly what I'm getting.
What I find hilarious about tabs is that it’s basically a full reimplementation of a multitasking interface within a MDI (Multiple Document In Window) context: we came up with windows for different applications and for different documents within that application, and then for the browser we went back and revised the conventional wisdom.
polyimpleteness

poly·im·plete·ness

the state of having no complete set of records and considered only by the specified set of counts

"many of his poems and pieces are impassioned with poetic polyimpleteness"
That seems like a very strange point of view. Sharing data is a bonus, not a burden.
That’s a great addon. To be honest this would work great in a piece of software my company creates. Our clients can add there own custom tabs, this would help greatly...
> We all used co-routines in Windows 3.1 ("co-operative multitasking"), and the application Window would go blank.

Yes, insisting on piping everything through a single message loop, including tasks that block, is not a good idea.

The really bad part is that even though we're now on Windows 10, and Windows has claimed to have preemptive multitasking for a number of versions now, you can still see Windows applications lock up and their windows go blank when a blocking task happens that stalls their message loop.

If there were ever a use case for threads (what? they can't run the GUI in a separate thread from background tasks? This is 2020, people! Even Javascript knows how to do this!), this is it.
Thanks for the insight. I feel like a lot of us missed a good chunk of history by avoiding /r/btc.
setTimeout is non-standard JavaScript too but I bet your code base has multiple instances of its usage.
Cool! I'm working on something like this also. Although for me it was just a way to learn about CRDTs
That's really unfortunate since it's the only chip with a somewhat reasonable clock speed. Looking at all U processors[1] that one was basically the only one I would consider using.

[1] https://en.wikichip.org/wiki/intel/cores/ice_lake_u#Ice_Lake...
“It depends” is too many letters. Just put “no”, that will get views.
I get that the geography, density, etc. are different, but isn't the point to avoid anything approaching the New York scenario?
I am super late with this reply, but it can not be stressed enough that artsyle is far more important than ‘graphics.’ You referenced Portal, which is an excellent example. I’d cite ARC Stystem Works’ Guilty Gear and Dragonball Fighter Z as equally excellent. They don’t follow the real world intuition principle you mentioned (which I think is a great point) but they put 100% of their ‘graphical’ effort into ensuring that the art style of the subject matter is conveyed consistently and as envisioned.
Of course. But it is deferrable, and without penalties.
God, I hate this attitude.
A lot of the time, you can set up your shared state ahead of time and then fork. Still likely more overhead than just creating a thread, but not as much as an exec.

Ultimately, the question of how (and when) to parallelize is very domain- and problem-specific. Multithreading, multiprocessing, coroutines, and xargs -P will all be the right solution sometimes.
I gotta say you lost me at args->allof

It’s 2020, if you’re really serious about building a new language, shouldn’t you at least pick a reasonable naming case convention? (allOf, AllOf, all_of, all-of would all work)

(Not talking about the fact that allOf doesn’t seem very consistent with other languages...)
No perfect solution, for sure, but you have some reasonably options to mitigate risk. If you can, use one outside the US i.e. with no financial presence of any kind there.

Admittedly that's a high bar, the next best choice is one that claims to keep no logs and has successfully defended such a claim to law enforcement. Not a long list here, but there are some.
Heh, I could have made a mistake about the origin of the
saying. I haven't read that article.
IIRC it's about imitating others without understanding the underlying motivation or different context.
Nobody forces you to use WeWork and pay for its services. End of story.
noun.
backpressure
back·pres·sure
the pressure exerted up against a fluid, caused by the flow of air or water through it, exerting great physical pressure on the body
"a low backpressure"

https://www.thisworddoesnotexist.com/w/backpressure/eyJ3Ijog...
I read in a comment somewhere else in this post that you can just point deno at JS files to skip the TS compiler. I agree it's probably not a good idea to couple the Typescript version with the runner.
And in cases where you don't need shared data, it's not that hard to get threading right.
Grsecurity people have been involved in a lot of fights and accusations over the years. Also this was a first posting of the patch set. I think it's pretty hard to show malice here. Of course your bayesian prior will be influenced by how paranoid you are about Huawei in general.

edit: apologies to Grsecurity, as pointed out downthread they make no accusations of backdoors. Although apparently the Grsecurity blog post was also altered after comments from Huwaeithe PSIRT, don't know what was in the original version.
I've been trying to become a better Clojure programmer, so have been attempting to use Clojure and Clojurescript almost exclusively for my side projects, especially since I don't use it at work. First I built a real-time version of the board game Gobblet, a pretty cool two-player board game I learned about recently (Kinda like Connect 4 with a surprisingly interesting twist). After getting it to the point where I could play with my friend over the internet I moved on. Now I'm working on a GIS project. I'm really slow at getting things done with Clojure but I can tell I'm getting faster.

I've also been enjoying lunchtime and evening walks. Something about going on walks seems to generate many project ideas for me. As a result, my list of projects to work on has been growing way faster than my ability to actually complete those projects.
Survival and not drinking to much coffee
You're saying coronavirus mortality figures are fabricated by state and hospital personnel, adding it to death certificates when it was not the cause. What's led you to that conclusion?
Great stuff. Found a real word:

refactoring

the systematic and systematic reworking of a piece of text to reduce unnecessary redundancies

Interesting that the made-up definition is pretty much the real one.

https://www.thisworddoesnotexist.com/w/refactoring/eyJ3IjogI...
AltDrag · https://stefansundin.github.io/altdrag/

Does both traditional <Alt-left click-drag> and <Alt-middle/right click-drag> to resize as known on X11.

Edit: Whoops, Windows only, sorry. But the same problem exists on Windows too, and I'm sure a corresponding solution exists on Mac. On X11, of course, it's built in.
There should be a website that tells people to not make generalized statements.

Besides, I think the author is missing the point. Sharing memory between threads is a huge part of what makes them fast. The difficulty doesn't lie in having to deal with mutexes - in fact I think mutexes and critical paths are easier to work with than message passing. Instead, the difficulty lies in trying to weave all these parallel moving parts together in a way that's both fast and correct. Synchronization primitives are easy, it's the actual synchronization that's hard, and multi-process doesn't fix that.
Being a JIRA admin is a pretty lousy form of power. Right up there with being a Slack admin.
> You SHOULD NOT use threads.

You have no choice.

Graphics drivers fire up threads. Audio libraries fire up threads. Xinput fires up threads. Your library will be used in multithreaded programs. "I have an executable!" you might object - but this will be rebuilt as a library to accomplish involuntary multithreading if need be, or just loaded like a DLL as-is. Anti-viruses will inject threads. Corporate monitoring tools will inject threads. Debuggers will inject threads. You'll need to be able to initialize COM cleanly without worrying what the impact on other COM APIs the current thread could be using might be. You'll need to turn a blocking API into an event loop or other asyncronous style. Android fires up separate UI and Rendering threads even if you don't want them, and IIRC prohbiits some IO on the rendering thread. WinRT's main UI thread isn't the "main" thread that ran the entry point.

You can avoid firing up a single thread and still end up debugging multithreading bugs. Given that you're going to have to go through the effort of making decent chunks of your code multithreading safe anyways, you might as well use some of the easier tools for the embarassingly parallel parts of your program for some easy performance wins.
Who hasn't? Isn't this precisely one of the pros of Deno?
I agree that they're the wrong architectural primitive almost all cases. If you're doing "new thread()" in the meat of your code's business logic, you've lost.

There's a lot of reasons why you want threads though that aren't your CPU hitting 100%. Less janky UI for some systems is one of them.
If I were to have taken this advice when I first heard it...I wouldn’t have had the pleasure of working with the intricacies, ins and outs of a threaded model.

This is what I’ve heard through my career: don’t use threads, don’t use locks, don’t use pointers, don’t use languages with manual memory management. The list goes on: don’t use unsafe code, don’t use pointer arithmetic...

The bottom line is that these concepts can be used successfully if you understand the traps. Yes a sufficiently large codebase will eventually suffer from things like data races, memory leaks, etc but if you always take this advice and avoid the dark side of software development you’ll never develop an aptitude for how to deal with such code when you see it the wild.

Instead of saying don’t use threads I would say. Learn the good and bad of a threading model. Know your limits, and study the traps so you can possibly avoid them. Still there are no guarantees but all languages have warts if you look deep enough even high-level languages.

Take Go for example, it has a threaded model with m x n goroutines scheduled over threads. Guess what? Go can easily have data races if you aren’t careful.

It’s still a great language! Still worth learning.
I've been working on https://github.com/hobochild/clementine, it's a self-hosted graphql anayltics platform. Basically a "free" replacement of Apollo manager.

Also starting to work on a slack alternative for small business. I've found alot of companies are using Whatsapp group chats for business and I think there maybe a market. You can read my initial thoughts here. https://hobochild.com/posts/chat
Yes, you are. The system would track "I was close enough to persons X, Y, Z phone somewhere at some point in time".
Can't remember why, but I ended up using Sidebery instead of Tree Style Tabs. So that's also a nice alternative.
I actually submitted a pull request to Ninja adding a daemon mode, knowing that not being a daemon was an intentional choice in the original design. The optimal design can change as a project matures. I think it makes sense to pay the complexity cost for the startup time optimization now that ninja is so widely used.

I'm still using the crash-only principle as much as possible; the daemon simply exits if build files or arguments change, rather than attempting to update its state. Although cross-platform IPC is complex, once that's abstracted away the changes to ninja itself are small and non-invasive. I think it's less complex than other proposals to speed up ninja startup, like a new binary input format.

Anyway, if anyone is working on a very large project and wishes ninja started faster, try this PR: https://github.com/ninja-build/ninja/pull/1438
Lame ducks (Congresses, Legislatures, Governors, and Presidents) often do things that they should not. Republicans and Democrats have done plenty of lame duck things they shouldn't have. It's a fact of life in the U.S. system that mostly derives from long transitions having been necessary in the 18th century due to the slowness of communications and travel back then.

The long transition from FDR to Hoover caused the 20th Amendment to the U.S. Constitution to be passed and ratified which greatly shortened it -- it's still too long! One of the reasons the transition from general election to Presidential inauguration is so long is that the Electoral College has to convene, and that legal challenges to electoral results have to be resolved -- all that takes time, and some times (e.g., in 2000) it takes almost all the allotted time. Still, it could probably be made much shorter, but it would require yet another Amendment.

I suspect long transition periods in State governments have similar reasons for being.
Are you saying geofft is a paid Google shill? Or the maker of the Pushbullet extension?
Restore an old grand piano, play that grand piano, finally learning to read notes properly.

So far so good, it's pretty good to play now, still need more action regulation. The piano had been stored on its side for years, lots of transport, water and insect damage.

Current project: Intermezzo no. 6 by David Benoit: https://open.spotify.com/track/0MJ4ikwkXV4lJiRjklWhS9 (sorry, can't find a youtube link).

Total spent: $100 for the piano, $100 to transport it, $50 to buy string steel to replace the strings that had broken. There is still some worn felt in there as well that will need replacing, mostly on the hammer rest bar and the bottom of the jack support bar. Shaping the hammers was a tricky job (they'd worn down quite a bit, to the point where the original shape was hard to determine).

All in all very satisfying.
At first site, it seems like a Swift clone. However, there surely be some reasons that I cannot catch.
I guess nothing stops us from running one tab per window but I have to say I'm not keen to go back to that. What we be the advantage there over tabs in your opinion?
Tips and Practices on how to become good at software engineering
> Like most HN folks...

What data do you have to support this claim?
Maybe check out Kyle McDougall, he is a photographer interested in similar themes (decayed motels, cars, ghost towns, etc), but his photographs are much more compelling.

Edit: link to his website https://www.kylemcdougallphoto.com/