Hacker Newsnew | past | comments | ask | show | jobs | submit | code-scope's commentslogin

I use a different pattern. A lot sqlite files for diff purposes (UserSession, User Files, etc each store in separate files) This way diff threads of webserver can open/query/read/write a lot of files concurrently without any issue.


I, too, enjoy creating deadlocks.

[I assume if you are using this pattern successfully in production you are already aware of and taking proper steps to avoid them, but the pedant in me takes issue with "without any issue", since once you have multiple resources being locked in multiple threads, you need to be careful to acquire and release locks in such a way that deadlocks do not occur, either never acquiring more than one lock at a time, acquiring locks in specific orders, or acquiring batches of locks at a time.]


> without any issue

It's easier than you think to corrupt SQLite if you access from multiple threads and especially from multiple processes (yup, I've done this before).

Also, there are no concurrent transactions in SQLite. The entire db file gets locked (using POSIX locking, which is known to be broken [0]). Better to queue/batch transactions on a single connection. If your web server consists of multiple processes, then this requires a separate daemon.

[0]: http://0pointer.de/blog/projects/locking.html


Just block explorer.exe with windows firewall - if really needed just enable out going access for internal subnet only.

There is not need for explorer to access internet!

I only allow windows defender, firefox and chrome to access internet in my home computer setup all other apps are blocked unless truly needed.

If you block svchost.exe from internet access with windows firewall, it will block the windows update. Enable it once in a while to allow the windows update to go thru when you feel the need.


Maybe one can build/run Tensorflow stack on top of this with just customize the tensor sw on each node?

Or is the 16 bits CPU too limited for training operations?


Anyone know if the similar mRNA process can be used to create vaccine for normal FLU virus.


The same process can be used to target vaccines for other protein structures.

So there is still the work to find a suitable target on the flu virus. Much of the science on the SARS 2 virus benefitted from the work that had been done on SARS.


I believe that's what they were working towards. I have said it before but I believe that this might be the start of something paradigm shift big like antibiotics were. look at the plague being treatable by antibiotics but before that it was a huge death sentence. time will tell.


I don’t recall where, but there’s some optimism we can create a universal vaccine for all corona viruses. Maybe we can finally cure the common cold.


https://en.wikipedia.org/wiki/2020_United_States_federal_gov...

On December 8, 2020, the cybersecurity firm FireEye announced that red team tools had been stolen from it by what it believed to be a state-sponsored attacker.[106][107][108] FireEye was believed to be a target of the SVR, Russia's Foreign Intelligence Service.[27][109] FireEye says that it discovered the SolarWinds supply chain attack in the course of investigating FireEye's own breach and tool theft.[110][111]

After discovering that attack, FireEye reported it to the U.S. National Security Agency (NSA), a federal agency responsible for helping to defend the U.S. from cyberattacks.[1] The NSA is not known to have been aware of the attack before being notified by FireEye.[1] The NSA uses SolarWinds software itself.[1]


Agree, Remind me of GWT (google web toolkit) - Marketing message sounds very good: Let your Java Developer write java, GWT compile it into Javascript and run it on the webpage.

In reality, it only works for "hello world" with 2 buttons. Anything non-trivial requires developers who are experts in Java, Javascript and GWT compiler/translator which translate JAVA to javascript. Debugging machine generated code was hell.


Eh, I built one GWT app by myself in 2011-12, maybe 40K lines of GWT code. First web app I'd ever worked on - all my existing experience was desktop (C#, C++, Java, Python). It worked as advertised, and let me build something useful. Another team has a GWT app that we are just now finally working on migrating. Anecdotally, I've seen user group discussions of very large enterprise GWT apps. So, the technology does actually work as advertised.

Having said that, GWT stagnated while the modern JS ecosystem evolved. GWT's debugger plugin died, and JS build and debug tooling kept getting better. React is a fundamentally superior approach to building UIs. And, while I'm biased, the React+Redux+TS combo is a solid toolset for building apps, and the ability to actually develop and debug code is way better than what GWT ever provided.


Very Cool project:

Love GPGPU, I git clone it and try to understand the code better here:

   https://www.code-scope.com/s/s/u#c=sd&uh=0f2c2fa280a2&h=afe7a329&di=-1&i=38
It looks like 5 stages FP (FP32?) pipe lines, NUM_VECTOR_LANES =16 NUM_REGISTERS=32

Are you writing your own kernel from scratch? If so which CPU does it runs on - some embedded CPU inside FPGA?

In the mandelbrot.c code, it has following: #define vector_mixi __builtin_nyuzi_vector_mixi

    How does it get translate to vector operations in FPGA?  Where is the code implement the __builtin_*?
Thanks a lot an very interesting project.


Is there any (influence) SW framework that takes youtube video as input and split out object/timestamp as output?


I have similar issue and wrote code-scope to tackle the same issue:

Check the demo screencast: https://www.code-scope.com/cs-demos.html

Document the bpfcc tools cross reference Linux Kernel source here:

    https://www.code-scope.com/s/s/u#c=sd&uh=0f2c2fa280a2&h=a2f7c69d&di=35&i=60

A web document that analyze and document the USB driver source code in kernel source tree: https://www.code-scope.com/s/s/u#c=sd&uh=cf979192e856&h=ede5...

It has fast source code search engine and can search any symbols, function in GBs of source base in milliseconds.


Probably not just keyboard, Mouse over USB, but also switching video over USB with just one USB-C cable.

That sounds like a great idea. Wonder how big the market would this be....


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: