skysight-inc/HackerNews huggingface dataset:
I did well in Algorithms courses (I took 4-5 and TA’d the intro class). I also studied math on top of CS. Imo a lot of the problem that CS students face in algorithms is due to not having a mathematical background.

Even though you are introduced to concepts like invariants, induction, and propositional logic in a discrete math class, IMO it takes more exposure and practice to get to the point where these concepts get useful in algorithms. In mathematics, and algorithms, a proof is not typically just applying invariants and propositional logic - it also requires more open ended thinking and (usually) applying patterns seen in class/coursework to solve problems. And even if not asked to formally prove correctness or complexity, knowledge of these concepts makes reasoning about algorithms a lot easier.

Most CS students at the point of taking intro algorithms know how to do some basic coding, know data structures, and if not also pursuing mathematics, have knowledge of calculus (useless) and discrete math. Unless the discrete math course was very rigorous and had a lot of coursework, taking Algorithms at that point is like walking into the deep end with floaties on - you might survive, but you’re not really ready.

In Algorithms, like in competitive programming and software interviews, you also need to have a list of all the different data structures, algorithms, and strategies you know well enough that you can ask yourself if X data structure or Y pattern is appropriate for the task. IME this is often not suggested for people studying Algorithms but it should be. Even if you don’t fully get a problem, you can probably get most of the way by identifying the general approach you should use.
>But I could be pretty wrong there.

The history of TikTok is actually murkier than that. I listened to a podcast about this, I wish I could find it again. The narrative that seems to be popular is that ByteDance launched this app called Douyin in China and it was so successful they decided to launch it globally, and thus TikTok was born and hit the ground running.

But the podcast I listened to told the story from the perspective of the founders of Musical.ly - which was an app that was started by two Chinese software engineers that were living and working in silicon valley. Originally it was supposed to be a video app about teaching (?) but pivoted and gained a lot of traction with teenagers in the U.S. This is where the origins of TikTok being thought of as a "teen dancing/lip syncing app" came from. Musical.ly got acquired by ByteDance.

- Douyin launched in September 2016
- Musical.ly launched in 2014 and by June 2016 had over 90 million registered users. Around 2016-2017 is when I first remembered seeing videos with the Musically watermark (very similar to the TikTok mark) usually on r/cringe on Reddit. Here's an example: https://www.youtube.com/watch?v=rfT0jRYaovE
- ByteDance acquired Musical.ly for almost 1 billion dollars a year after launching Douyin and merged them to create TikTok.

I never used Douyin or Musical.ly, but I think that a lot of Musical.ly's DNA was injected into TikTok and the idea that TikTok was a purely Chinese invention is a little revisionist.

The thing that really cements this to me is that Alex Zhu, one of the Musical.ly founders was the first CEO of TikTok. Also, looking at the type of content in those compilation videos definitely gives me the same vibe. So TikTok actually has roots in silicon valley way more than people think it does.

I think that noting this history is interesting because TikTok is touted as being so purely Chinese, and it's certainly owned entirely by a Chinese company now so I'm not saying any concerns about the Chinese government having access are unfounded. But I think part of the fear around TikTok comes from "How did they create this app that is beating our apps and seems to have the product/market fit of a glove in our society? Have they been planning this?"

But a lot of the iteration and pivoting happened with Musical.ly, in the U.S. and a Chinese company paid through the nose for it.
A few Logitech mice have an automatically free-spinning scroll wheel. They call it "hyperscroll". They're the only ones with this technology.
I wasn't paying that much attention, but the way I remember it was that some major manufacturer of capacitors was producing bad ones for a while. Not so much "cheap knock offs" as more like Takata airbags.

The only capacitor manufacturer that comes to mind now is Kemet and their wikipedia page doesn't mention the episode so I don't know.
That's a cost I'm not willing to pay.
I agree with the grandparent and disagree with the parent. My X220's Synaptics TrackPoint is very responsive and natural, and I can get my work done (though the TrackPad is poor). My X1 Carbon Gen 7's ELAN TrackPoint randomly increases and decreases in sensitivity, I can't get used to it, and I end up using the TrackPad instead (which is decent but I still prefer a good TrackPoint).
It makes sense to move a lot of load to older stationary batteries as those become more plentiful.

But more capacity is better, and getting things online sooner is better. And in 2030 almost all the capacity is going to be in non-retired packs in their original cars.
You can tell the engineers who lived through this time period because they still scrutinize electrolytic caps. E.g. Dave from EEVBlog always goes straight to the caps in whatever he takes apart. It doesn't seem to be much of an issue nowadays but the memory persists.
This is one of those great moments where I read an article and find an author. Kim Samek has another article here:

https://catapult.co/stories/egg-mother-kim-samek-short-story

It takes some work, but there’s something about this author’s voice. I’m a big fan.

If anyone is familiar with this author, I would truly appreciate more links/information/etc.
And I disagree that Seinfeld ended early. I think what happened is exactly what he was trying to avoid, "‘It was good but then it started to kinda run out of gas…‘" The last season was not great.

It easily could have been worse though. They had enough momentum for another season or two at least if they had wanted to milk it.
I like to think I am smart and in the loop - but would this allow me to feed all sorts of PowerPoint presentations, word docs, text files, etc... so that new hires could get a concise answer to business processes?
looks like it could be interesting but the charts come up crazy blurry on zoom for me in iOS
I like having a physical book sitting on my desk practically screaming "Read me, why did you buy me if you're not gonna read me?" ... As opposed to all those ebooks not even downloaded, let alone seen.
And this take is too simple as well, just in the opposite direction, attributing something akin to malice to V's actions.

A lot of this shit is frequently essentially defensive in nature - the lies seem easier and importantly safer than the truth. And sometimes they don't just seem, they are. The world is not kind to trans people, yet we lionize "fake it 'til you make it" stories.

Not to mention the undertones of neurodivergance or mental illness that are hinted but their communications - and whether those caused or were caused by so many of these difficulties.

Which isn't to say V deserves no blame, but this story is likely far more complex than even hinted at in the article, and even people intending no harm can cause it.
This is somewhat related: how do we build datasets that are better discriminators of model architectures, and are also easier to experiment on?

https://greydanus.github.io/2020/12/01/scaling-down/
It's not a good idea, but not for the reason stated here.

The TOR client will establish a tunnel OVER the VPN to the entry node, so the VPN provider will only see this encrypted traffic. The VPN server cannot spy on you.

When you connect to TOR it carefully selects your circuit for diversity over the Internet between each hop (for example avoiding your entry and exit nodes not being on the same service provider). By using a VPN your opening the possibility for something to go wrong here.
I’m pretty sure it’s spell-checking the next commit the user will make, which on an new repository is of course empty, but there's no special case to start the spell-checker only when the user starts writing. (The “post-processing” the article refers to, I think, is just starting up the GUI on the repo, which includes setting up the textbox for the commit message. In fact I’m pretty sure the act of cloning is irrelevant, that’s just the most likely way for an unwitting user to get a malicious repository.)
> "TikTok can employ them in a less competitive labour market and not fight companies like Google which don’t operate in China."

Is this really true though? I imagine the market for SDEs in china is much more competitive and cut throat. There are only so many locals/immigrants to choose from in the US, hence the higher salaries. A lot of top talent in Silicon Valley have almost worked at all FAANG companies.
I've also converted from Trackpoint to trackpad over the years. My solution for "physical mouse buttons" on a Mac laptop involves mapping Caps Lock (left pinky) to Left Click, and Right Option (right pinky) to Right Click. With Karabiner, this is easy and works perfectly for my needs. I typically Tap to Click on the trackpad for following links and the like, but always hold down Caps Lock for click and drag (which I find very uncomfortable otherwise). If you are otherwise interested in Mac hardware, you might like it too.
I spent 4 years at Fairchild in the bipolar memory division in Mountain View, 15 years as a professor at Portland State, and 15 years working at LANL.

On the plus side: At Fairchild I worked with a technology that made the fastest circuits at the time. I designed some great circuits and new technologies. At Portland State I had some great students, and at LANL I had great colleagues.

On the minus side: At Fairchild status = number of subordinates. I had tenure at PSU, but the institution didn't have a use for me. At LANL success = spending money. I ended up supporting code for the nuclear weapons program. The software infrastructure and software practices were out of date. We were not allowed to update things because that would threaten security. The quality of much of the code was appalling, as was the quality of the science and mathematics behind it.
Do you have a sense of how they helped you with eyestrain headaches? How did they affect your vision?
Ask HN: Best resources to learn Python or JavaScript for children?
What are the best resources to learn computer science concepts or programming languages like Python and JavaScript?

I’m hoping to find suitable resources to share with my nephews and nieces who range from 5-10 yr old.
Cursor: An AI-Enabled IDE
I agree epic fantasy is hard but in GoT case most of the hard work was already done. Other than close off the less interesting / dragging stories (check) they didn't do anything well, and deviated from the best parts of the story, characters. Perhaps they had bad writers but it really just reeks of design by committee.
If, hypothetically, a political party believes a lie, and makes it a core part of their platform, should the AI be forced to propagate that lie?
I think embeddings are actually low-'resolution' representations. Like GPT's ability to parse and calculate the structure of the sentence "Hello, how are you?" is not represented in the embedding for the sentence. The embedding is a 1-dimensional vector and inside the model it interacts with other texts in 10,000+ dimensions
Any links to posts about Kernighan's take on gagh[1]?

[1] https://www.startrek.com/database_article/gagh
Java has had a basic http server built in since 1.6

https://docs.oracle.com/javase/8/docs/jre/api/net/httpserver...
It's cool you're on here and I'm sure I speak for many people in saying I really appreciate your video series and comments like the above!

Thank you!
Digital Currency Group Halts Dividend Payment to Save Cash
DensePose from WiFi
I'd really like to use my car (Bolt) as a battery for the house, but this isn't actually achievable in the US right now. We're not going to be doing this in 2030 if the equipment doesn't support it.
> likely saved more lives than most doctors at this point

Care to elaborate on this ridiculous claim?
It doesn't work that way. An LLC is governed by an operating agreement, and that agreement can specify what actions needs approval from whom. You can have an LLC that is owned by one person and managed by another, and yet another party collects proceeds... sky's the limit, if it's not otherwise illegal, it's fair game.
Years after Led Zeppelin had broken up for good, Page & Plant went on tour as a new band and there were to be none of their Led Zeppelin material performed.

A number of years later they toured again and this time threw in a lot of Led Zep classics.

Looked (and sounded) like they had overall quit Zep while ahead, proven themselves doing something different, then later reprising what they liked best on their own more mature terms.
Now be meta and build GPT with GPT.
I always find it funny how shortly after CGPGrey posts about a thing (or John Oliver does a segment on LWT), a large number of commenters will speak on it as experts at the next available opportunity. It's obvious how many of us watch the same channels.
https://www.caranddriver.com/news/a38807463/tesla-model-3-cl...
That's pretty cool that you are a lifelong cyclist! Amsterdammers tend to be lifelong cyclists too, they start very young [1]. However, they don't tend to wear helmets.[2]

[1] https://www.youtube.com/watch?v=uVhYcJH_m5o 100s of Kids & Parents Bicycle to one Amsterdam School

[2] https://www.youtube.com/watch?v=q8h_DalTjV0 Amsterdam Bicycle Rush Hour.
Author here. Was not expecting to see this pop up on Hacker News!

This was a short write-up of a set of experiments exploring the importance of attention in transformers. I'm glad to see that people are still reading it and hopefully finding it interesting.

Side note: the title should probably have (2021) in it, as this was posted to Arxiv in May 2021 (concurrently with a number of similar works such as MLP-Mixer).
Don't treat nickels like manhole covers :)
The specific web server in the JEP is relatively new, but there has been an http server implementaion since 1.6:

https://docs.oracle.com/javase/8/docs/jre/api/net/httpserver...
To state the obvious: TurboTax comes in both an installed version and a web-based version.

I tried the web version, but I didn't like it.
Their efforts worked then.

Reps, for various reasons, want as few people working for the gov as possible. By starving the pipeline, they also accomplish that goal.
There's a lot of work going on in this area right now. Check out GPT Index:

https://github.com/jerryjliu/gpt_index
https://github.com/jerryjliu/gpt_index/blob/main/examples/pa...

GPT isn't multi-modal yet (so no images), but that's coming.
It reminds me of Greg Egan’s sci-fi short stories. I read it as such, i.e. what could happen if there were really puppeteers as described. No hidden metaphor.
Is this perhaps what sparked putting "Japanese capacitors" on PSU boxes, as an indicator that the capacitors won't die in 10 months?
Doesn't mean you turn anything off.
> Many many vegetables contain carbs.

Nobody is saying to stop eating the dietary fiber subset of carbs.
Don't professor reccs and research opportunities for the standout students in a subject make up the difference?
Do you add unconfirmed layoff reports like this one? I don't believe Microsoft has put out an official statement.
Had a bad capacitors problem with my iMac G5 at the time: https://en.wikipedia.org/wiki/IMac_G5

When sending back to Apple, my motherboard got probably replaced by an identical refurbished motherboard or some such. Either way, after a couple of months, again leaking capacitors. At some point I got angry with Apple, but by then my Mac was outside of warranty. They offered me a discount on next purchase at Apple Store, but I declined. It left a bad taste in my mouth regarding Apple.

Still kept buying Macs for the next few years and luckily no other Macs had issues. But at that point I was sure I would never again buy a first gen (major redesign) product from Apple ever again. I'd rather wait until the early bugs get sorted out and buy a gen 2 or 3 version of the product.

I do hope in the future I can switch to Linux, but right now for work I kinda need Macs still (iOS dev).

Some guy with a similar experience as me at the time: https://discussions.apple.com/thread/377158?answerId=1800991...
Absolutely critical context for this story, yeah, especially if the latter part made you uncomfortable, and DOUBLY so if it did not.
When they trace the activity back to that starbucks I imagine the fact that you happened to be in the area that day, 50 miles away from your home, stopping at a hotel that requested a cab to that same starbucks would stand out rather quickly.

If you leave your cell phone at home that would help, but you still risk being tracked by your car or being caught on any number of cameras and identified via facial recognition.
its already a thing in some countries. Operators in my country have unlimited packages for social media and streaming services.
Mini-LED has significant advantage in brightness but you do have to adjust brightness in some situations with dark backgrounds to avoid blooming.

OLEDs have problems with burn-in and lower maximum brightness.

Eventually, Apple is planning to get to microLED which can combine the best characteristic of OLED and Mini-LED without the downsides.
They should and education and empowering is needed, globally. Democracy in all forms and colours needs participation. The minimum level of participation is to vote in all occasions.
This guy essentially build the same stuff over and over again and sell to big companies to become rich. You maybe not young, but there are always young people.
If anything, this is how a good dev agency business model should have always looked like. I am not sure the thing you described is likely to actually work, but if it can work, it's fantastic.
Note though that with only one apple device, you won't have access to to icloud if your device is stolen or you get locked out because you forgot your pin or similar. If I log in to icloud on my laptop, I first have to confirm it on a linked device... if you only own one device if that device is linked you thus can't use Find My, remote locking or similar. See also: https://news.ycombinator.com/item?id=34407087
Is Reddit what engineering at scale looks like when not funded by a surveillance monopoly?
Once you use infinite scrolling you can’t go back
In terms of applications with it, I have made things like sketch: https://github.com/approximatelabs/sketch

Raw prompt-structure ideas i've worked with:

- Iterate on a prompt with another "discriminator" prompt, that determines the result is good / safe

- Write N-trials of an answer, then use another prompt to select the best answer

- When doing code writing (SQL or Pandas) write the output, then use a parser (eg. `ast` in python) to validate code is valid, if not, feed back into a prompt for fixes

- Logical negation checks (check if X, and if ~X, give opposite answers, then it's likely consistent, if it's both "affirmative" (as the models tend to bias towards), then it's definitely hallucinating)

Other 'product' ideas i've tried:

- A chat style interface (I made a chat-bot last year, similar to chatGPT)

- A "google-this-for-me" style chain, that checks google, summarizes multiple results, then synthesizes a final result

Ideas I've been sitting on, that I think would be fun to prototype:

- An iterative "large document" editor: storing global intent, instructions, outline, and the raw text, and each iteration of the prompt works on the these objects to build a large document.

- A "research this topic for me", similar to the above, but include the google searching, summarizing, and such

- A code-repository "AI agent" that takes `Issues` and `Pull requests` as input, and writes and edits code for you, and by adding feedback in github, it uses that to modify the branch and act as a developer. (Code via github interface, rather than an IDE)
They were both massively undercutting and outperforming Apple, which Apple hadn't anticipated. They were expecting the clones to compete just for the low end.
Such a good idea! A few years ago I tried importing pre-trained Keras models into Racket Scheme, creating a function for each model. I didn't really get the idea right, LangChain looks much better.
> Want to turn off location services? Make sure you turn off WiFi too, because a list of nearby access points and SSIDs is enough to pinpoint you down to a few meters.

Not just wifi, bluetooth is used for location tracking as well.
i wasn't gonna read it but i wanted a little junkfood reading.

a few fun parts:

She launched into a technical explanation of the ­company’s data-center efficiency, curious to see if he would follow along. Instead, he interrupted. “I was writing C programs in the ’90s,” he said dismissively. “I understand how ­computers work.”

strong flex.

Shevat thought Sacks seemed bored — he spent most of the meeting checking his phone. “He didn’t want to understand anything,” Shevat says. It made him want to cry, especially since he had actually been eager to work with Musk. “I would have worked really hard for him,” he says.

leopards. face.

She had printed out a few lines of Python rather than her actual code repository. (“Python is more at Musk’s level,” she says.)

ouch. and, python takin strays.

my take: seems like an accurate review of all the sordid details, including musk's stochastic terrorism, round eleventy.
> It could perhaps in time create a song that is, on the surface, indistinguishable from an original, but it will always be a replication, a kind of burlesque.

I read this sentiment on HN before and I doubt it. If it’s indistinguishable (ignore for now the qualifier “on the surface”) then what distinguishes it? No true songwriter?

I just dunno if it is a useful way to think about song writing or other art creation.
The most amazing thing about this video is that everyone is wearing respirators.
From my personal experience, modern apple trackpads are still ahead of the competition, but not leagues ahead.

They're still massive, and the whole "Force Touch" thing is very nice. Both being able to click anywhere on the trackpad, including the top where the hinge would usually be, and the "press harder to do something" functionality is more useful than I thought it would be.

I find that I can keep my hand on the home row and just reach over my thumb for trackpad use 90% of the time on the MacBook, whereas with the xps and razor blade the top 10-20% of the trackpad feels unusable (and they're pretty small)
The bug was introduced on 2022-09-14, reported to us on 2023-01-11, and remediated on 2023-01-12.

I don't know how much more seriously it could have been taken considering it was resolved within 24 hours of being reported.
Have fun fixing whatever manually-deployed, completely undocumented BS is running on a server that this guy built in five years
Me
> can i use docker?

AI
> Yes, you can use Docker with LangChain. For more information, please see the Docker Installation Guide in the LangChain documentation.

Then it links to a 404 lol. I checked the docs and there is nothing about docker in them. I wonder why its incorrect here