skysight-inc/HackerNews huggingface dataset:
Telling stories and picking berries is very nice but you chose to ignore the fact that majority of your children would die, including a few of your partners from labor, any broken bone would be excruciating pain for life.

No amount of "colonizers bad" is gonna get away from those. Health care has improved tremendously due to technological advances and if you like preventing misery, singing songs and picking berries isn't the way.
Many great anecdotes in this thread. Many regarding lack of access to a computer while designing code.

Mine is as a child wanting to try to work on the computer every moment I was awake, but parents insisting that it is important for me to got to bed so I can go to school the next day. My solution to continue to working on the computer when I was expected to be in my bedroom was to keep writing code from my room but on paper.

I'd often stay awake with pen and paper until 4am, and maybe sleep during class the next day. But without the computer to give you the feedback of compiling your code and being able to test it, it forced my mind to try to reason the code I wrote on paper to think through if it would work as I expected.

So maybe 15 minutes writing on paper what I thought the code should be, and 45 minutes reasoning with myself if what I wrote would work the next day when I typed it into the computer. It kinda trained me to compile code in my head, and it was a practice of mine for years throughout middle school and high school.

I'm not sure I would have had the same understanding today as I do now if I had access to the computer throughout the night and could keep doing trial and error with the computer to get my code to work. Even though I was working with BASIC at the time, I think it shaped how I think about working with the languages I use today.
We can't make our hard choices for much of the same reasons.
My point is that fragmentation is a dynamic solution that works for one way links. It's really a very nice feature all things considered. As an embedded engineer that typically deals with controlled networks rather than the Internet, it means I can send up to a 64K UDP packet without overthinking it.
I don’t think so. Sure, there has been rumours but this story delivers solid proof for the first time. Also this has not got any real media coverage.
Videos created by OpenAI Sora are scattered across the internet. Wouldn't it be great to have a single platform where you can easily find and download these videos along with their prompts? That's why I built SoraHub.video.

SoraHub.video is the go-to place for curated Sora-generated videos. Explore popular videos with their prompts and Twitter sources. Download any Sora-generated video with just one click.

I value your feedback and would appreciate any suggestions on how I can improve. Thx
It's probably more accurate to say "Plan to throw three away. You will anyway."

In the past we've often laughed at Microsoft who never seems to get something to work well until Version 3. But let's be truthful, it's not only Microsoft that needs to make 3 iterations of anything before it's good enough.

When I was young and silly, I built a big expensive house. Great, except that it was full of bad designs and bad decisions. I couldn't afford to repeat that exercise.
And it's all a fools errand, the environment is known to be susceptible to extra planetary events so it's an utterly brain dead fallacy to assume carbon control has any effect in the long run.
huh we recently had to update our React 18 usage and it's had a few programmers spending weeks on it. So why not move to Deno.
It’s mentioned in the article. It’s more to do with business intelligence than security. A simple auto-incrementing ID will reveal how many total records you have in a table and/or their growth rate.

> If you expose the issues table primary key id then when you create an issue in your project it will not start with 1 and you can easily guess how many issues exist in the GitLab.
> On a side note my current headache that I'm trying to solve with echarts is handling log scales with data that contains negative/zero values.

If dealing with log(0) is an issue, a simple solution is to add 1/0.1/0.01.. to all values in the sample. Pick a fraction that is within the margin of error for your calculations.

This is not supposed to be a blanket advice for everyone - use your judgement based on the use-case.
I have no personal insight into Confucius Institute censorship, but the reason I wrote “nation states” rather than China was because I agree, this applies in all directions.
DVD? that's 3 generations ago
If you go through the major wars at https://en.wikipedia.org/wiki/List_of_ongoing_armed_conflict... and look at the wiki pages for each of them the name "China" is conspicuously absent from the little info boxes on the right.

That is more than can be said for the US, NATO, African nations and Middle Easterners. It is nice having a region of the world where the major powers in the area believe in peace.

Then even in the "Wars" section they have a limited showing give their relative economic power. I see them getting involved against Boko Haram and an the Ethiopia civil conflict as an arms supplier.
We are all artists in the sense that we type what we want into the text box? I think that’s more just another form of consumer than an artist.
pyright is state of the art right now thanks to eric. If you use VSCode+Pylance you will feel right at home coming from Rust/TS.

just be aware a lot of community packages aren't ready for typed python. if you stick to the good stuff like fastapi and pydantic, you will be fine.
Do you have links to good guides on getting started with such a work flow?
> Three Body Problem isn't good enough

Look, I personally hate it, but it comes up here as a top recommendation constantly.
While I agree with the principle of "clean markup", whenever I open up the DOM of websites I did not create (and I do so with regular frequency), I generally do not see what I'd consider clean. The author is correct but it's not that frequent of a practice; I wish it were so. Care for our craft is an uncommon thing.
I am disappointed that NASDAQ and US securities regulators allows companies without audited profits to go public. "Worth" 160M? Not to me.
Plus I'm not convinced you can carve out any individual European country and call it a "society" in this context.
waitlist is for ultra or 1.5, whatever, 1.0 pro is available

aistudio.google.com
This is also why cheap resistive 3.5mm "volume knobs" sound like shit; they produce a high source impedance (as seen by the headphones), which causes frequency-dependent amplitude (and phase?) shifts of output sound (even before the potentiometer starts failing, causing the sound to crackle).

A few years ago, I've built attenuators out of voltage dividers (using around 2-20 ohm resistors). Unfortunately at any given attenuation factor, there's a limit to how high of an impedance you can expose to the audio source, along with how low of an impedance you can expose to the headphones. Additionally, to compensate for stray ground-line resistance causing inverted crosstalk between the stereo channels, I also add a crossfeed resistor or potentiometer of 500 ohms or so, ideally tuned based on the headphone impedance. If you use a potentiometer you can take one side of your headphones/earbuds off, send loud noise to that side alone, and turn the potentiometer knob until no sound is audible in your remaining ear. (To determine the correct fixed resistor value, you can send quiet noise to the remaining ear and adjust its volume until it cancels out crosstalk.) Also since I use TRS cables/sockets, this breaks headphone mics.

I've been meaning to make a PCB version of my attenuator with SMD resistors to reduce space, but don't know where to find a reliable PCB-mount headphone jack (or 3.5mm dongle cable). If anyone has suggestions for a PCB-mount headphone jack (available in the US), let me know!
Doesn't this get posted every other month and the discussions always go the same way?

(the link doesn't even go anywhere, just to the bitcoin subreddit)
I don't know what the catalyst for this was, but a lot of 20 years olds and younger seem to use the word hacked so casually.

I read it all the time, "my insta was hacked", etc.

I would really like to know if hacking is as common as it is reported rather than a successful phishing campaign, a simple issue of forgotten password or getting locked out of email, account ban for rule violation, or something else entirely unrelated to actual hacking.

In this case my skepticism skyrocketed when the hackers write "we are in control".
> but obviously this only works with the paired iPhone and not over the internet.

That's the intended design, but perhaps the trusted device layer could be bypassed under some circumstance? It seems extremely unlikely, but maybe not impossible.

edit: The more I read and think about this, the less I think it's likely. I'll keep this as a devil's advocate sort of message, but I feel like I should still point out that the entire premise here seems a little nuts and the people reporting the hacks are more likely to be uninformed/paranoid/etc and dealing with ghost touches than the watches were likely to be compromised.
> This is self-correcting.

It can't be if the regulation prohibits building parking for each home, as in this case.

Building housing units without parking just externalizes the problem and makes the whole neighborhood worse. People still need a car, so if they can't have parking they will have to find it on the streets somewhere, which is worse for everyone involved.

I've lived in a neighborhood where apartment buildings didn't have enough parking for residents, it was not pretty. Constant fights over parking, vandalized cars, people circling four hours looking for a spot. Nothing good came out of that.
i've often thought a more interesting approach for python's duck typing would be if the interpreter looked for anomalous types on assignment. so build a compact distribution of type "shape" for every assignment and then either throw exceptions or log warnings when apparent outliers are encountered.
The only link you've provided in this discussion is about the relationship of LoC to bugs, nothing to do with immutability or FP: https://www.researchgate.net/publication/316922118_An_Invest...

You have posted nothing else besides your own assertions.
Lincplus Lincstation N1 SSD NAS Review (2023)
There is a difference between can theoretically and can practically. That’s why we landfill or burn >90% of plastics.

https://www.epa.gov/facts-and-figures-about-materials-waste-...
Sounds like a problem for a land tax. If cars make more money than homes and businesses, go for it.
Oh, the guys at Nvidia think Sora was trained on synthetic data from Unreal …
Do you mean EBITDA?

aka Earnings before interest, taxes, depreciation and amortization
Until they are fitting the carbon capture machinery over the end of coal/gas fired power plant chimney stacks, it’s bullshit.
Currently we are grappling with the need to create a GANTT CHART with a quirk: we want to minimize vertical space (for compact printing on paper) so tasks that do not have any overlapping dates should appear on same horizontal level.

Our team tried a few options and is now implementing something from scratch instead.

We also want text to be legible, dates and task names directly shown near the task bars, etc.

If there is a good open-source library that allows us to customize a gantt chart (for both display on a webpage and PDF/printing) with such quirky requirements, gthat would be a great time saver for us. Please provide any pointers you may have - Thanks!
I’ve been hit by deer twice (and the same happened to my mom in my car). I’ve never hit a deer. Also, driving slower than other people is even more dangerous.

Why would I slow down so I can use my low beams when I can just use my high beams to go the speed limit?
There are two types of capture:

* effective carbon capture, a theorectical notion of which no examples have yet been demonstrated, and

* performative aka theatrical carbon capture as demonstrated at scale by several LNG companies to date.

It's sensible to oppose ineffectual carbon capture that achieves nothing of substance that is used for appearance, for excusing more of the same old fossil fuel usage expansion, and for pimping for carbon credit tax cuts.

I agree that effective, at scale, carbon capture is highly desirable.

I look forward to seeing some in practice.
First of all, why would anyone even care about you enough to want to steal whatever health data is available? Is there any particularly sensitive personal info stored there?

Second, presumably if one gains access to the device through a sophisticated hack they'd probably also be able to exfiltrate data without having to alert the user.

With all of that being said, I wish there was some sort of black box mechanism for logging certain events in such a way that the device itself can't tamper with it. That way you'd have a log that can be easily analyzed to judge whether or not a hack is likely to have taken place. Right now if you open the syslog on an Apple device it's filled with so much crap that it's basically impossible to detect if anything nefarious was likely to be happening.
Show HN: Vi-style key bindings for browsing Hacker News (Firefox/Chrome addon)
Yes, this is yet another Hacker News extension. But other people with my obsession for killing the mouse might enjoy it.

While I have toned down from my Ratpoison/fbi/libcaca days, I still use Vim. This led me to Refined Hacker News [1]. Unfortunately, it looks like it is now unmaintained and does have some annoying limitations.

So, I finally made my own browser extension for Firefox and Chrome. It is primarily focused on keyboard-based navigation, should introduce no visible delay, and minimize surprises.

It has many Vi-like key bindings to navigate comments (not just j and k). I'll let you take a look at the README for the list!

Also, I stole the idea from bakkot's SlateStarComments [2] to quickly find new comments. I never quite liked tracking the user's last visit for this. Instead, you can easily browse the comments in reverse chronological order and stop when you get to those you already read.

Among other features, you can quick-reply/edit/delete comments, preview comments when replying/editing, it highlights op, and it spreads request in time to handle the fact that Hacker News 503s if you go too fast.

The extension is written is vanilla JavaScript [3], with no build step. Although I like strong typing, I found that type annotations added more friction than they found bugs, at least for small projects, so no JSDoc either. This results in a single 1k LoC file that I can mostly keep in my head, and no package.json or vendored library.

[1] https://github.com/plibither8/refined-hacker-news

[2] https://github.com/bakkot/SlateStarComments

[3] http://vanilla-js.com/
What's the benefit of image maps vs SVG here?
I follow this best practice, there’s a few reasons why I do this. It doesn’t have to do with using a guessed primary ID for some sort of privilege escalation, though. It has more to do with not leaking any company information.

When I worked for an e-commerce company, one of our biggest competitors used an auto-incrementing integer as primary key on their “orders” table. Yeah… You can figure out how this was used. Not very smart by them, extremely useful for my employer. Neither of these will allow security holes or leak customer info/payment info, but you’d still rather not leak this.
Tell me more about smoking six packs a day and the doctors that endorse this.
Very nice project.
Seems like it would be the ideal kind of thing for AR/XR.
What part of that is running counter to libertarian talking points? The libertarians have been pointing out that the Republican party is a fiscal disaster for a while now. As you pointed out it is just a matter of looking at the results to see it.
Ask HN: Exit strategy for those with only digital skills amid the AI revolution?
I'm halfway through my life, and I have been developing myself as a "Renaissance man" of digital age, like many of you.

I worked hard to get good at my main skills (writing code, running servers) as well as secondary skills (designing graphics, making animated films, producing music, simulating physics, processing signals, CAD, math, etc.) at varying levels.

It's obvious that my entire spectrum of artistry is going to be replaced by AI, sooner or later.

People in my situation, what are your plans?

Others, what are your advice to people in my situation?
Acoup, which seems to be an HN favorite, has a series basically about this. It describes why/how the Roman state became so successful at warfare and conquest:

https://acoup.blog/2020/01/17/collections-the-fremen-mirage-...
I've toyed with various SaaS designs and multi tenanted databses always come to th forefront of my mind. It seems to simplify the architecture a lot.
The only useful types to add are Cython 3, otherwise adding more letters with no benefit reduces readability and reminds me of “public static void main”.
World Government Summit was from 12-14 February 2024 in Dubai, so either a day before or at the same time, depending on timezones...
You need to know on what criteria the libraries are judged. Some people will judge most features = best, even if that means some string decoding library installs a 1500 other libraries so it can render PDFs of the strings it decoded and it installs a file system watcher so it can re-render them as they change. Me, I'd choose the library that just decodes and nothing else but plenty of devs want it to "do all the things"
The original video: before, this tweet: after.
Yes, their use is beating raw GPT-4.
The 3 Body Problem love reminded me of someone who's never read Lovecraft, reading Lovecraft for the first time.

I.e.: mind blown, best book ever.

Instead of: interesting in some ways, weak in a lot of others, and ultimately on par with similar other books.

I'd put any of the Culture series up against 3BP any day.
Sure, it's a pretty fundamental difference of opinion regarding land use.
My Apple Watch 3 was suppose to be safe to swim in. But it did mess up after going swimming in it a few times.

Admittedly, this was last year and the watch was already 4 years old.
Tailwind is write only, you’re not supposed to read it or maintain in. Want to change some property? Delete the entire class=“” attribute and start anew. Take that primary button example from the article - no one is claiming that it’s readable, especially when there are hundreds of primary buttons throughout the app, each with a slight variation.

This works great for marketing or landing pages, or other use cases where it’s not you who maintains it after deployment; the next sucker will want to rewrite it all anyway.
It really depends on the company. Google and Meta are horrible places to be an EM/ED (apart from the cash obviously)
> I'm not sure what the motive would be, though.

To make Apple Watch antivirus scams?
I think at some point you just need to focus on listening to the music as opposed to listening to the hardware, and spare some time thinking about the aesthetic considerations of the gear you’re buying.

Anything else and as you’ve noticed you’ll always be chasing for something “better”.
How are you going to identify the ones that are productive though through a layoff? If you just do a general cut across the board based on 'opinions' how do you know that the ones that are left are the useful ones that will keep you lean?

And then it's the fact that most who see productive people being slashed will ultimately reach the conclusion that productivity isn't the most important but being loud enough is.

Feels like a fine line. But yes, if these companies were bloated then something needed to be done. I'm just curious if "departing with very talented people" is the way to go.
Agglomeration effects mean that any city that tries to split up offices away from the city cores would end up "losing" compared to cities which allow offices and industries to cluster together freely.
To get the type checker to work with Django you need to install django-stubs[1]. It works great with mypy, but should also work well with pyright.

[1]: https://github.com/typeddjango/django-stubs
Sorry: I checked your cv and I can assure that your skills as a developer are at least 10x what I had even at the top of my career.
I type mostly from my phone so I am often hasty (and make lots of typos).
I assure you that when maybe looked like "lack of expertise" I meant "less experience dealing with the messy underbelly of large, mature companies".

Apologies for the tone anyway.
> I no longer have to wonder what primary means

The point is exactly that you don't need to worry about styling in the HTML. You just structure the HTML. If you want to know what primary means that you open the css file and search .primary and see all the css properties right there. It was never rocket science.

The HTML was designed to be the structure of the site. So you can designate items as buttons, primary buttons, secondary buttons, success buttons, and so on. Then in the Style document (CSS) you would design what you want a button to look like, what a primary button would look like, how a secondary button should look like and so forth. Then together you have a website. If you want to change the primary color of the company from blue to purple than you change it in one place in the CSS and now the website is updated. If you want all the buttons to have a new hover state then you add it in one place in the css and the HTML doesn't need to know or care about it, but it updates everywhere. It was a simple system. Now we are designing inline in HTML.

Yes you could abstract it with frontend javascript components like you suggest. But thats like building a boat to cross a puddle. Not to mention it just brings you back to the original semantic styling context, but using multiple unneccessary layers of abstraction over what could be simple CSS. You suggest using tailwind to put into a react component, just to style a button with a semantic name. When you could use native css to do exactly the same thing with no dependencies or integration workflow required.
Exactly. This comment section really is a display of the Apple bias on HN.

I don't doubt that this might be nothing, but seeing all these commenters completely dismissing it is rather odd.

Hopefully Apple is less dismissive of this potential security issue.
I personally didn't super like it, but lots of people do. It definitely has the fan base to win a hugo, and a lot worse books have won in the past.
You are correct. It is not supported on vscodium.
As an aside: I'm stunned how willing my own org is to train an RPA process that can break so easily, vs scripting the same actions in PowerShell and performing it against a REST interface in ServiceNow (our ticketing system). They scream and cry about proper authentication methods to ServiceNow (OAuth not username + password), and then they're happy to let an RPA process clunk around doing something recorded. They shot down the script that works, and are investing hundreds of hours in an RPA expert to do it with many less scripted validation steps. Just ugh.
You should go back and add error handling to your C programs
You can do more with less. The more you introduce the more complicated it will be. Every person will introduce a new dynamic. Focus on creating small, strong and resistant teams instead.
I live next to Baltimore and somewhat frequently you hear about a body fished out of the Inner Harbor. Just like in The Wire. Though I’m sure every city on a body of water experiences the same thing.
Hack in popular tongue has always meant authentication breaches in general, the method is not important. It's been this way for as long as internet has been a household word.
There is a subplot about these magazines in the show. It’s unclear how accurate the show itself is, but the basic concept of yakuza mags is covered accurately.