skysight-inc/HackerNews huggingface dataset:
I've had mentors and I mentor quite often. Mentors want to bounce their ideas off someone. You have to be curious enough to add more to their ideas and skilled enough to criticize it.

Criticism is where the sweet spot falls IMO. You have to criticize a mentor to a point they learn from it, but not where they think you have much to learn. Some mentors and students also tend to be stubborn and don't accept any criticism.

Technical mentors are hard for this reason. Technically superior people tend to be so good at something that it's muscle memory. Recent grads tend to not only struggle, but they stay in groups that reinforces bad habits. There are some unusual habits - like how Paul Graham uses lines of codes as a metric for work done, which doesn't click well with newbies. This creates a knee jerk contempt in the student, and the mentor as well.

So normally, you want to look for a mentor who's just a few years ahead of you. You don't necessarily want to meet the best programmer, but more a big sister figure who's worked in a company for 5 years maybe.
Review for those who want to see it before playing the entire game:

https://www.youtube.com/watch?v=CGtw5eOfZ48#t=2m39s
Yeah, I don't see how this ethics in geo is any different from ethics in IT (or technology, or science) in general: There's more money to be made and easier to find VC funding in the more lucrative but less ethical applications. This reflects how we as a society fund DoD more than we fund the Red Cross.
I wouldn’t add that to your list of widely understood verbs based on a single HN comment. Any noun can be (mis)used as a verb in modern English, if speaking very informally, and often with a slight tongue-in-cheek humour about the clunky incorrectness of it. Some examples eventually become mainstream (to google something, to text someone, to roadmap it).
I want to know what kind of code you're writing where a number can suddenly become an email address. I certainly hope you're not using type checking as a substitute for input sanitization.
Yeah I was hoping it was a raspberry pi maybe using one of these neural nets USB sticks, instead it was just using RPi as a dumb terminal for sending video. You could probably do the same with an old android phone set to stream video over lan.
ARM SVE/SVE2? For some software it may be matter of core libs or compiler. https://developer.arm.com/tools-and-software/server-and-hpc/...
There is no 1 article to explain but you can research each part.

1. One Postgresql connection is a forked process and has memory overhead (4MB iirc) + context switching.

2. A connection can only execute 1 concurrent query (no multiplexing).

3. Asyncpg to be fast, uses the features that I mentioned in my parent post. Those can only be used in Session Pooling https://www.pgbouncer.org/features.html.

The whole point of async is to some other work while waiting for a query (ex a different query).

If you have 10 servers with 16 cores, each vcore has 1 python process, each python process doing 10 simultaneous queries. 10 * 16 * 10 = 1600 opened connections.

The best way IMHO: Is to use autocommit connections. This way your transactions execute in 1 RPC. You can keep multiple connections opened with very light CPU and pooling is best.

I've done 20K short lived queries/second from 1 process with only ~20 connections opened in Postgresql (using Pgbouncer statement pooling).
haha stop being alone by investing in relationship with your friends and having conversations with your friends !

wow thats brilliant insight
Switched on friday back to wire.

My VPN was acting up and my video calls as well.
> And well-functioning capital, labor, idea and resource circulation markets are at the very heart of that system.

Sure. But I'd question whether high-frequency trading is a necessary component of that, as opposed to regular-frequency trading. Same as I'd question whether things like collateralized debt obligations and interest-free loans were good for the housing market.

"Capitalist civilization" has changed in a number of ways since Reagan and Thatcher, just in its legal framework, compared to the thirty years before and I don't think it's obvious at all that we are better off in the developed world than we were in the fifties and sixties when things were more regulated.

When I look at stats for things like wage disparities, and the amount of money poured into marketing (demand generation), and the amount of frivolous products that the capitalist economy produces because it must by its nature constantly expand production, I quite honestly don't see efficiency and I certainly don't see reason.
Why would they give control to AMD or Intel instead of going their own way ? It's not an emotional decision.

AMD is fast now but if history repeats we'll wait another 15 years before anything good happens.

And frankly why would you care what brand is your processor as long as it's fast enough ?
If only more business owners could read this one! Useful and quick intro to security without needing a compsci degree :)
Problem is, there are genetics that make some low responders to cardio for weight loss (see the University of Bath study). Years ago, I built up from never really running to 6+ miles at a stretch... but soon hit a plateau that I could never move below until discovering keto 10 years later.
>You may as well study for a while and go play with your friends later.

You're making the massive assumption that someone plays a game with the goal of learning something. Learning is something that happens subconsciously during game play and that's why games are so effective. I played KSP for a few months but I would never go out of my way to learn orbital mechanics or rocket design on my own. If you told me I need a 4-5 year degree then I wouldn't even start.

Heck, I wouldn't even start with a short technical book because I have no reason to read one. In KSP you are put into an environment where your learned knowledge is actively useful in completing game objectives. The reality is that people would just skip learning entirely.

I also take issue with the idea of hyper optimizing learning as a beginner. Most people don't know what the most effective method of learning is for a given topic is precisely because they are beginners. Even if someone wants to actively study a topic it can take quite a while to get into the mindset and find the necessary resources. You know what? Finding a good game is hard but finding a good book can be even harder! Usually the fastest way to find good books is to just read a lot of books and eventually you just happen to read a good one. Learning the same thing that the game taught you through books probably takes more time than you think simply because the book would have to be equivalent to the game.

The takeaway should be that playing a game and active studying are so far apart they might as well not even belong in the same comment.
Intel has a couple of issues.

1. Back in the 1990s, the big UNIX workstation vendors were sitting where Intel is now at the high end, being eaten from the bottom by derivatives of what was essentially a little embedded processor for dumb terminals and scientific calculators. Taken in isolation, Apple's chips aren't an example of low-margin high-volume product eating its way up the food chain, but the whole ARM ecosystem is.

2. For a lot of the datacenter roles being played by Intel Xeons, flops/Watt or iops/watt isn't the important metric. For many important workloads, the processor is mostly there to orchestrate DMA from the SSD/HDD controller to main memory and DMA from main memory to the network controller. The purchaser of the systems is looking to maximize the number of bytes per second divided by the amortized cost of the system plus the cost of the electricity. My understanding is that even now, some of the ARM designs are better than the Atoms in term of TDP, even forgetting the cost advantages.
Even with ARM, Mac would still be the only way to get laptop with HiDPI screen and OS that supports HiDPI well, good touchpad and unix environment as a first class citizen.

Linux on laptop doesn't work that well, especially if you want a nice (HiDPI) screen. Microsoft is trying with the Linux emulation, but they are creepy with their snooping and telemetry, and will autoinstall Candy Crush and other shit.
Maxis games are pretty good in that regard; Sim City was probably the most influential in a list of 'management' games, which teach you about economics, revenue vs expenses, and natural disasters; some of its successors / related games like Transport and Roller Coaster Tycoon make that even more apparent.

And The Sims simplified, but made me (and probably others) aware of quantified personal needs; you need x amount of sleep per night or you'll accrue 'sleep debt' and distress, you need social contact to fill that meter, etc.

Minecraft has an educational mode / version btw, there was one game our son was playing that basically made him go out into the sea and identify various types of sea life. I mean it's all Minecraftified (?) and abstracted, but they do pick up a lot of things from it.

I'd still like him to read more books though, given that his language skills are pretty bad.
How big would it be if we limited machine trading such that milliseconds don't matter? Say run everything with 1Hz frequency instead?
Ask HN: Tool(s) for Organizing Project Ideas
Hi,

I'm interested to know what are the tool(s) you would recommend for collecting information for new project ideas?

I have a wage software project idea, and I would like to collect everything I write down or find online in one semi-organized space. This involves saving bookmarks to related projects/tools/articles, writing down notes that are displayed in semi-organized shape/form (maybe mindmaps?).

The project is still in idea phase so I don't want to use project management or kanban boards for tasks.

It can be an offline tool, but could be also a SaaS application with multi-platform support.

Looking forward to see what HN community is using.
Seems like this is analogous to YC's SAFE. I hope this takes off -- this would have already saved thousands of dollars of lawyer time for us, a small startup that is less than a year old.
I am from Europe. In Europe is very uncommon for two cities to be named the same across two different countries/regions.
Clearly if I'm asking such question it means the answer is not obvious to me.
To you and the other 3 persons that downvoted my comment:
You are implying there is such thing as a stupid question.
You should know better.
VINchain
Our company will help you find out the whole background of any vehicle. Just enter the VIN code of the car on our website https://vinchain.io/ and we will provide you with a reliable history of the car on the blockchain. Don’t risk your funds, order VINchain scanning and find out about the future maintenance, possible problems, if the auto was exhibited at auction and various manipulations with the vehicle.
However, these are not all possibilities of vinchain. Our company is ready to offer you various bonuses in our app. During providing data, using the VINchain Connected Car platform you can earn tokens. These tokens could be exchanged for discounts from our partners or exchange them for money. We are ready to offer favorable conditions for cooperation for both dealers and insurance companies. You can find all personal offers and discounts in our app VINchain. Available on iOS and Android.
Vulkan Driver for the Raspberry Pi (Broadcom Videocore IV)
A lot may have been simply my own inexpertise in Scala. But I remember it being much more of a fight, and subject to much more nuanced errors, to do anything interesting with generics or any more advanced typing. I would often stop, whereas at the same point in Typescript, I can just cast, and then see what actually happens at runtime. If I fail to be creative enough with my types, so long as I satisfy the type contract at some level, I can be wild wild west in the internals.

I do miss the for comprehensions, but have built an abstraction that does the same thing for my purposes. It isn't quite as good, due to the whole monad thing, and me fitting it to the average Javascript programmer who won't want to learn functional programming all at once. So at its core it is pretty much async/await with sugar.

I quite enjoy exploiting structural typing for unit testing purposes. Gone is the need to learn a mock framework and its DSL; just write plain ol' JS for the parts you are interested in, and tell the compiler to chill. ;) Long term, of course, you should probably just have doubles.
Interesting, that's news to me. Guess Intel just has clock speed then. That's why I still pay a premium to run certain jobs on z1d or c5 instances.

As another commenter pointed out, though, not all caches are equal. Unfortunately, I was not able to easily find access speeds for specific processors, so single-threaded benchmarks are the primary quantitative differentiator.
Yeah, irregularly spaced time series data seemed to be the killer app of Neural ODEs according to my understanding.
Well i have 1M+ users and still ssh into the VMs and live-change nginx configs. Once in a while the reload fails because i messed up something.
Sorry, I'm not sure what you mean by "neutral". Are you talking about my suggestion to avoid DeepStream? If so:

The frameworks that work on multiple types of hardware, like TensorFlow and (probably most popular now) PyTorch, have separate backends for their different targets. Each of these backends have huge amounts of platform-specific code, and in the case of the Nvidia backend, that code is written in terms of CUDA just as DeepStream is. That's how they achieve good performance even though the top-level API is hardware generic. The overwhelming majority of deep learning code, both the actual learning and the inference, is written in terms of these frameworks rather than NVidia's proprietary framework. Admittedly I haven't played with NVidia's library, but I highly doubt there's a serious performance difference - it's even possible that the open-source libraries are faster due to the greater community (/Google) effort to optimise them.

It does look like DeepStream does a lot more of the processing pipeline than just the inference. In that case it's going to be a lot more tricky to get the whole pipeline on the GPU using those TensorFlow or PyTorch. At the end of the day, if only DeepStream does what you need, I'm not saying you necessarily shouldn't use it - just that you should ideally attempt to avoid it if reasonably possible.
I did all my (non-school) reading for my first half of college on a Nintendo DSi, before I got a tablet. High resolution, large screen, good backlight, fast display refresh rate--all of these improve the experience, but none of them is required, and if you've never used them then all you know is this is so much better than reading on my laptop. Sure, having a small screen is a little frustrating, but having easy buttons to change pages makes up for it (the DSi RL buttons were better than all tablets I've ever had) and once you get into your reading, you stop noticing.

Tips:

- set the background color as close as you can to the bezel color, and remove the margins if you have a small screen
- Set the font size a little large if you have a low resolution screen; antialiasing makes it much easier to read, even if your screen is also small.

Tips if your device has a slow processor and little ram (I had all or most of this automated at the time, through a batch file and a custom calibre conversion profile)

- resize or remove images. I stored mine alongside the book rather than in it, saved as smaller 8bit PNG files.
- split your ebooks into multiple files (~100kb/file without images allowed pages to load in <1/2 second)
- Make sure the files in your epub are actually split by chapter (calibre can do this automatically, I think)
- if you have control over file compression (I use a script to generate epubs), don't use high compression--especially if there's images.
NginxProxyManager is the preferred choice in the Unraid (home server) community - good to have another contender to help nginx n00bs like myself.
That's hard in this anti intellectual, bureaucratic world.
>Mac ARM laptops mean cloud ARM VMs.

What is the connection here ? ARM servers would be fine in a separate discussion. What does it have to do with Macs ? Macs aren't harbingers of anything. They have set literally no trend in the last couple of decades, other than thinness at all costs. If you mean that developers will use Gravitons to develop mac apps, why/how would that be ?
Update to Statistics with Julia Book Draft. ML, Data Science, and AI [pdf]
Thanks very much. I found a blog I'll be adding to my rss feed as well as a few useful tools. Bookmarks can be really personal things, so I respect the courage in sharing.
That's because sooner or later every species enters an equilibrium state with the amount of energy available in the ecosystem. In the process it may out-compete quite a bit of other species, and so we speak of 'invasive species'.
Now AI Can Recreate How Artists Painted Their Masterpieces
Very thin content. There were really only two options: regex or parser. This is close to "You won't believe what happened next" level of content.
So 1) spend many paragraphs describing the sinister idea of "birds of a feather" tracking 2) link to a grant that mentions "query flocks", which are similar to parameterized SQL queries and unrelated to "birds of a feather" tracking 3) Larry and Sergey got money from that grant as students, though their eventual result was unrelated to that, as often happens 4) conspiracy confirmed.

> Brin’s breakthrough research on page ranking by tracking user queries and linking them to the many searches conducted—essentially identifying “birds of a feather”

What is this talking about? I'd love to give the author a quick quiz on PageRank. (It's about the link structure of websites, not about queries. Google gave amazing results based on that, long before they had high query volume, that's how they got successful.)

The older I get, the more I realize how damaging Gell-Mann amnesia is. When you read an article making big claims, check the part that intersects with your specialty. If that part is lazy or dishonest, so is the rest of the article.
sooo. should i NOT invest in a 2K MBP 16 in to do mostly heavy multiple web apps ?
72.2 fps on the Raspberry Pi 4 right now, with CPU varying between 150%–220%. I expect with some work I could max out the Coral USB Accelerator as the Intel NUC is likely doing already.
Future of education is already here, but not many want to recognize it.
We have thousands of years of human civilizations rising and falling and rising again.
Privilege separation has indeed been in use for decades, but the same criticisms apply to it (and indeed it seems to mostly be an OpenBSD technique).
Artificial and Real Intelligence at Big Science Labs
Even worse for Intel, there are lots of important server workloads that aren't CPU intensive, but rely on the CPU coordinating DMA transfers between specialized chips (SSD/HDD controller, network controller, TPU/GPU) and not using much power or CapEx to do so.
It's statistics but instead of operations preserving the 1-norm (item weights [probabilities] add up to 1) they preserve the 2-norm (squared item weights [amplitudes] add up to 1). Instead of using stochastic matrices you use unitary matrices. Everything else about quantum computing follows (...with sufficient elbow grease).
I like the concept using an analyzer like this but I've been looking for a tool that removes code that isn't perse stale but isn't executed for, say, x amount of time.

We have quite a few online services in production of which I'm sure have a lot of code that isn't executed/touched by our users.

As an example I'm thinking about code in if statements that are never reached because the statement always returns False. These tools discussed aren't capable of detecting such stale code.

Any suggestions?
If I was regulating the markets I would introduce a random ~100ms delay into all transactions.
Your idealistic vision of the stock markets doesn't hold well to the reality of the Fed literally price fixing everything under the sun so that we don't experience the biggest crash since 1929.

Right now there is no price discovery, all stocks are way overpriced.

While mainstreet is going in flames, wallstreet acts like everything is peachy and jumps on any rumor of a hint of a possibility that someone somewhere might someday have something that look like the possibility of a COVID vaccine (looking at you Gilead scam).

This won't end well (imo).
Everything you said is echoed in this LTT video from yesterday[0].

It does appear to be a very poor thermal design, but you can see that most of the issues appear to be from trying to make the user not feel the heat.

It feels a bit icky to leave performance on the table like that; since you paid for a CPU and are getting a marginal performance from it. But I remember Jobs giving a talk before about how "Computers are tools, and people don't care if their tools give them all it can, they care if they can get their work done with them well"

That's not a defense of a shitty cooling solution, but it is a defence of why they power limit the chips. When I got my first (and only) Macbook in 2011, it had more than twice the real battery life of any machine on the market. That meant that I was _actually_ untethered. That's what I cared about at the time much more than how much CPU I was getting.

[0]: https://www.youtube.com/watch?v=MlOPPuNv4Ec
If memory works well, they have dedicated glass fibre for bandwidth, at least between Chicago and NY. Took the closest possible distance.

Microwave is used for speed, in addition, to get binary signals from A to B. I heard that theory more than once about Starlink, it just doesn't make that much sense to me. Starlink could also be, of course, a clever way of getting

a) enough launches to make reusable rockets financially feasible

and/or

b) getting financing for SpaceX

Quite some other companies trying the same went under recently.
Docker as Builder System for C++
Show HN: Syncit - An open source privacy-first co-browsing Tool
Small Wins Matter
Now it's libre, Check Micropolis.

Also lincity/linticy-ng are great too, even more for a
climate changing world.
I manually removed personal bookmarks before sharing the list. :p
I shared it because I found it interesting revisiting them and thought that others might too enjoy.
Thanks for explaining it!
I didn't have also a clear grasp of the term "lifestyle" and "lifestyle city".
The term life-style does not have a clear semantic meaning understandable from just the word 'life' and 'style' but it seems like it has a very specific meaning attributed culturally by people in the US (or maybe generically English native speakers).
Turn recipe websites into plain text
>Also, parents of fifth grade kids who are frustrated that they can't help their kids understand conditional probabilities, and express that frustration by telling us to "stop teaching their kids about gambling".

That's funny. Back in school my statistics/probability classes involved lots of examples showing how rigged lotteries and gambling are. Once you do the math it becomes strikingly obvious. If you don't teach people about gambling they will simply gamble because of ignorance.
Lame. Sounds like some buzz word that’s been circulating on social media lately.

Instead why not have proper management:

* Camera is engaged by officer at start of engagement with public.

* Failure of officer to start camera is grounds for termination, therefore no default immunity regardless. This should also apply to any intentional interference.

* Once started the camera remains active until stopped by a remote party, such as dispatch.

* Camera recordings are stored centrally at police department as controlled evidence.

* Failure to maintain integrity or chain of custody is grounds for termination of police supervisor(s).

Done. At least that is how my hometown does it.