skysight-inc/HackerNews huggingface dataset:
Meanwhile, I am still trying to figure out how to really get started with making my first demos. I can write a basic shader with ShaderToy, I can write a raymarching algorithm and do a few cute tricks with it...and now what? How do I turn this into a "proper" demo?

Even just guidelines on the entire compilation step would be appreciated, or knowledge on how some fairly standard examples of demos were compiled, and which tools were used.
What is this technological progress bringing to humanity? SpaceX is a private company making private research using public funding and peoples delusions with space exploration.

Maybe we won't need to colonize some other planet if we don't trash our current planet to save shareholders some dollars in the name of "technological progress" .
This bash code is a parade example how NOT to write scripts.
Everyone becomes Paypal over time.
ISPs have ipv4 because our customers want to get to sites that are ipv4 only. We can't just tell them "oops we dont support ipv4 sites anymore" The fix the content side and the isps will migrate.
>before wave division multiplexing. ... WDM came along

Would that be Ciena in 1996?
Really informational and intriguing.

sad to see a youtube video and some complaint being voted high
Maven is trash, sorry. It can't even perform incremental compilation reliably, plugins download dependencies at execution time (making caching dependencies on CI a pain), the dependency resolution mechanism in the case of conflicting dependencies seems... random? [0], and so on. Gradle seems marginally better (and more modern), but it's also somehow overcomplex and easy to create a mess.

I can fault Ruby for many things, but Bundler is easy to use and just works (except in the case of C bindings, but I don't think that's in the scope of Bundler to fix), and from what I hear, cargo should be similar.

[0] Although this is also an ecosystem problem; in e.g. Ruby, libraries specify version ranges for subdependencies, and then Bundler will try to resolve all version ranges, and report an error if there's no way to resolve it. Usually, this works quite well. A Java library A will just specify a particular version of library B, you have no guarantee that the version of B that you get when you add A to your build is the same one. There are various solutions to this, such as BOMs, but if the library you use isn't in a BOM, you're out of luck. In any case, this is not a theoretical problem, I've spent countless hours trying to debug problems with conflicting dependency versions causing errors at runtime because certain classes or methods didn't exist.
Nice, did you receive formal training in drawing, or is it all on your own? Cooking is definitely on my radar.
is<std::this_cpp<meta::pro>, std::enable_if_v<gramming>>>>>>>>>>>>>>?
https://hellowasi.com/blog

I don't post much and if I do it's usually about programming and tech.
The core issue is that they are unnecessary now.
What kind of externalities do you mean? The Wikipedia page is completely silent and I didn't find anything with a quick googling.
I always like to add:
0 stress restore.

You should also be able to restore your data in a calm, controlled, and correct manner. Test your backups to be sure they work, and to be sure that you're still familiar with the process. You don't want to be stuck reverse-engineering your backup solution in the middle of an already-panicky data loss scenario.

Remain calm, follow the prescribed steps, and wait for your data to come back.
How do you buy an IPv6 address?
Billions of people all over the world go about their lives just fine, worrying about mundane things and slowly improving their situation every day. Almost all objective metrics point out at the human population doing better than ever and life being as best as it ever was.

Someone somewhere said "the end is near", so let's ignore all the counter-arguments and counter-examples, human ingenuity and technological capability and weep instead.
I use public transport almost exclusively but I can see why it wouldn't work for everyone. Juggling two kids and bags of shopping while hopping on and off packed busses/trains sounds like a nightmare. Not to mention delayed services. Hours of my week are wasted and London's is considered one of the best public transport systems in the world...
> that terrible ubuntu GUI update to have a ribbon.

Which one was that?

No version of Ubuntu I've ever seen has ribbons. This is one of the reasons I like it.

Do you mean when they switched from Unity to GNOME?
Yeah but which officials? The demoscene doesn't really need permission for anything. That’s almost a cultural value.

I organized a few demoparties back in the day and it’s really just, rent a place where loud music is ok, get people to come. Lots to plan and arrange ofc, but nothing that needs permission or money from bobos.

Maybe the bigger parties like Revision can use this to get permits etc but I think all things considered it won’t have a major impact on anything tangible. It’s just cool, recognition.
Do the developers and current users actually want to grow?
If you're being objective with numerical measurements, care to provide source?

Bloat = waste, that is just circular logic. You're defining what you want to call waste as a synonym of waste. Nasa gets a budget and spend it on space missions, propulsion technology and launch vehicles. That money employs engineers and scientists and generates demand for high specs engineering firms and supply chains. The bang for the buck is this impact on the economy, stimulating education, R&D etc. Not the rocket that fits your definition of efficiency. Having more then one actively used propulsion vehicle with different technological approaches is a national investment in resilience.

Calling it bloat and inefficient because it takes more money per launch then another 100% experimental and unproven platform is incredibly myopic.
I think it's a bit of a fools errand to try and piece this together with public information. Because the details matter massively, and we simply don't know the details. For example, in this summary the initial claim is that Alameda took a loan. But let's look at the details. Actually that loan was in ETH. The value of ETH in Jan 2018 peaked at $1400 and troughed at $700. The value of that ETH over the next 6 months proceeded to drop and stay below $700. So actually, Alameda probably paid (in dollar terms) way less than they had borrowed. If they had just taken the ETH, liquidated, and bought back in to repay it? They'd have made a killing. These details matter.

I would wager not even the insiders really know if Alameda ever made money, the conditions that allowed massive fraud to go undiscovered are basically the messy circumstances that mean it's pretty likely no one really knew the net position of the company. The only thing I would say is that if they really were running a ponzi at that point I'm impressed how long they kept it going.
The correct balance depends on how critical the piece of code you are working on is, and how much you want to write unit tests for it.

In cases where the type system can encode the invariants you care about, it can be worth the extra complexity so that you have code that has compiler enforced correctness (at least in some aspects). Of course, you can't do this for any invariant in a given type system (eg lifetimes are not representable in Java). When it is possible though, debugging a type system has the advantage that it's done on your local machine, away from prod.
Might be more difficult in a cargo jet.
I feel like giving priority to residents isn't that weird an opinion to hold. No one wants a traffic jam out their front door.
Same. I don't want to see the Fediverse becoming just another influencer/thought leader/marketing drivel platform. We've had enough of that and I don't want to put the burden of supporting the needs of these actors on people who have to run instances out of their own pocket or by asking for donations.

Let the Fediverse grow slowly and with input from its users and the people running instances. Growth shouldn't matter here, as long as it isn't stagnant.
It's past tense because the situation may have changed since I last used it. It was indeed a very generically (in a good way) built product, designed to accommodate all sorts of UI customisations and project layouts. I think once IBM decided to commoditise their complement a well-meaning software architect got stuck in with a deep plugin architecture, which is very smart but in practice used to get confused a lot. Glad to hear it's better now!
Cool! What paper it is based on?
> I still do not understand why async was deemed appropriate, for example, in python.

My best guess is that it's because of implementation limitations in CPython and likely other interpreters. StacklessPython is a fork of CPython with real coroutines/fibers/green threads but apparently they didn't want to merge that patch. Very disappointing, because async/await is a nearly useless substitute for my desired usecase (embedded scripting languages with pauseable scripts).
Now you know where all the redditors moved to
More specifically, getting systemd to work on WSL2, but he still has the same collection of projects, including UKI and so on.
I suppose this is what happens when infrastructure stops being funded by the government.

I’ve got 3 current FTTH providers at my flat in London, I wasn’t even aware other companies were about and also offering the service. I guess this’ll be good for consumer costs in the short term before it inevitably implodes.
You mean calling async functions with internal delays? The delay is defined internally to the async function, rather than externally.

The difference between:

async fn bla() {
doWork();

waitForSecs(x);

doMoreWork();

waitForSecs(x);

lastBit();
}

and

fn somethingElse() {
// state is persistent
match state {
FirstState => doWork(); state = SecondState;
SecondState => doMoreWork(); state = ThirdState;
ThirdState => lastBit(); state = Done;
_ => ()
}

is that the first example controls the delay period, while in the second example the caller decides the period. The timing of the first example is also dependent on the execution time of the work functions, while the timing of the second is only dependent on the caller.

The benefit of the second example is that it can be completely synchronous with other parts of the system. You know that when your global tick happens, all the state transitions also happen. If each function manages their own time delays, that's not a given.
https://wyclif.substack.com - it's occasionally been on the front page, mostly at weekends: "social science, genetics, history, culture and politics. The drunken ramblings of two Tang-dynasty poets may also feature."
They did solve one more problem that leads to performance boost.

IPv4 header contains checksum field which must be recalculated on each network hop, as the addresses change with each one.

Other than that? i agree. IPv6 is an disaster, and it wouldn't be so if we moved early - but there were no incentives at all to move early.
In October 2022, I heard that lead times for pots was 18 months.
Everybody thinks it's this big conspiracy without any proof.

Could you ever think that maybe people tried forgiving loans because borrowers were truly screwed over?

The PPP loans and the billionaire tax breaks both past the Republican filters, and were 'warp-speeded'.

Suddenly you want to put the same amount of resources towards struggling students who tried to reach for a better future? Republicans will find Patsys to sue on their behalf.
> I'm curious, what reason?

In days gone by, processes who got to run on the single core that contemporary CPU had available, had to actively relinquish control of the core back to the kernel.

If a single process refused to do so, e.g. because the program hang, there was nothing the kernel could do about it, and the entire OS was blocked. The scheduler never ran, no other process would get CPU time, the whole thing was dead in the water, and all you could do was kick the "Reset" button (if present) or pull the power cord and reboot.

Obviously, this is a very bad situation for an OS, which runs many processes from many sources. And because of that, we ditched this system, and went on to preemptive multitasking, where control is relinquished back to the scheduler after a time whether the process is okay with that or not.

Async basically re-invented that system in userspace. We have an event loop, and we have processes that actively yield control to it. What happens if a subroutine refuses to do so? There is nothing the event loop can do about that.

And it's really easy for this to happen. All it needs is a single synchronous call, say, to an external datastore, somewhere deep down in the callstack, and the awesome throughput of async goes bye bye.
Working with PHP has always been such a breath of fresh air. No build process, just upload the files via FTP and it works. You can keep it as simple as you want (just include() files, write functions directly, I never really need to use classes in PHP).
A less amusing name, but similar effect – `dangerouslySetInnerHTML` from React.

https://legacy.reactjs.org/docs/dom-elements.html#dangerousl...
For my personal photography website I use

- Svelte + TailwindCSS (Basically just a couple html files, plus the power of templating)
- Flickr API (To pull my photos from an album that I use just for this website)
- Netlify (To host the site - all have to do is `git push` and the site auto deploys!)

Total cost (incl hosting): $0

With Flickr I can manage the photos from my phone via the Flickr app.

With Netlify I don't have to tinker with an actual server box, plus it's free.

I love it <3
A strange proposition, why would their privacy policy apply to websites scraped by their bot? ‘By being scraped you agree to be bound by these rules’?
But that's not synchronization between two concurrent things.
I can still reason about queue being full in a sequential way.

select! {
_ = channel.readable(), if queue.has_free_space() => read(&mut queue),
_ = channel.writable(), if queue.has_data() => write(&mut queue),
}

The point is I can implement `has_free_space` and `has_data` without thinking about concurrency / parallelism / threads. I don't need to even think what happens if in the middle of my "has_free_space" check another thread goes in and adds some data. And I don't need to invoke any costly locks or atomic operations there to ensure proper safety of my queue structure. Just purely sequential logic. Which is way simpler to reason about than any SPSC queue.
Show HN: Software Developer salaries in Switzerland: average and percentiles
This is just a small battle in a global war: https://community.qbix.com/t/the-coming-war-on-end-to-end-en...
This is good advice, I read this out and checked as soon as I got home. I did not boot from another disk, but a random sample of files from the LSOF list are able to open; they're not encrypted. `cat` on some of the .txt files reads out the plain text. The modification dates on the files haven't changed... most of them are years old.

I've got a script running now to watch how many files it opens in the /Users dir. Right now, 6. I use it all day every day, so I'll see if anything I do triggers it to start going nuts and reading thousands of files again...
Oh so many, great. I have to admit, I've never heard of bubble tea before, but it looks really interesting! Do you prepare them? And are there many different variants or flavors to choose from?
Userspace fibers (no clue about Windows fibers) still have the blocking IO problem. If your fiber calls read() but there's no data and read blocks for a few minutes, until the next message is received, no other fibers can be scheduled on that thread in the meantime. With async, the task just gets suspended, something like epoll gets called with info about all the suspended tasks, and the thread unblocks once any task can move forward, not necessarily the one that requested the read. This problem doesn't exist if your pseudo threads have first-class language and runtime support, see goroutines for example.
https://xoranth.net/

In-depth blogging about low level optimization. Two posts so far:

- https://xoranth.net/memcmp-avx2/ A walkthrough of an highly optimized implementation of string comparisons.

- https://xoranth.net/verb-parse/ Micro-optimizing a perfect hash function and memory comparisons.

RSS feed: https://xoranth.net/atom.xml

(edit: add feed)
I disable ipv6 on my router and in windows althogh it's supported by my ISP. I just don't know the security and privacy implications
Sounds pretty weird to me. I'm just too old to have gotten the BSc+MSc combo here in Germany (some unis had it, mine didn't) but from my experience most people here would just stay at the same university and tack on the MSc just after the BSc (this is in CS).

Oh, but for comparison my degree was officially 9 semesters (most people used 10-12), so getting "just the BSc" was a) much shorter and b) not as ingrained as the default and then going the extra mile, the combo package was more like the full replacement for the old Diploma.
I imagine it is the same for any elite level sport. Except perhaps chess.
https://mattrighetti.com

Here’s mine, I blog about programming stuff in general.

HN community particularly liked:

- https://mattrighetti.com/2022/04/05/i-need-to-find-an-appart...

- https://mattrighetti.com/2023/02/22/asciidoc-liquid-and-jeky...

Lately I’ve been blogging about my GSoC journey developing a new web protocol for the Tor organisation using actix and Rust.

It’s always fun to read emails and feedbacks from visitors so hit me up if you have the chance ;)

RSS: https://mattrighetti.com/feed.xml
4 octets is just the most common representation.

https://www.hacksparrow.com/networking/many-faces-of-ip-addr...
A Crypto-History of Blockchain Technology
This. NRS seems to be stepping on some regional situation in order to get the big profit with whatever consequences this might have for the development of the region.
At the same time I doubt they can go the same way in other regions, like in Asia with APNIC
Bacteria cannot be seen with the naked eye so for almost anyone, and especially at the time there is a huge element of 'believing' for bacteria as well. So today we can buy our own microscopes, and maybe you have but certainly back at the time when policies on health were changed in response to science on bacteria, it wasn't because every single person who implemented them had a microscope or the appropriate training - they had to trust some other people who had done the background work - much as today. The biggest problem I see with the same trust applied to the work done on climate change is the human lifetime. Antibiotics, for example can have a positive effect in a timescale appreciated by everyone but changes to policy that can help climate change take place over many years and are much harder to visualize or associate cause and effect.
Grabbing Images from New Russian Satellite (Meteor M2-3) [video]
That's another but even bigger problem: Apple is so highly regarded by designers (which was even justified in the past when Apple did actual UX research), that they just blindly copy even the bad stuff.
The idling was not the cause either - the problem as the report points out is the 1m40s the captain spent trying to talk to the tower, instead of going through the checklist to identify the failed engine. That was before they were set to idle.
The data is sourced from over 1500 job postings published in the last 18 months on the job board.

In each case the salary range was provided directly by the company and means the total annual salary (without variable bonuses or stock / equity options)
> We've all seen the backswing to statically typed languages.

I think, in general, we've seen the hype cycle shift from static to dynamic to static, and we see that e.g. startups and otherwise highly opinionated people who care about such things maybe change their preferences (or simply new people entering the field with new preferences), but...

the millions of people writing Java code didn't go away when Ruby and later Node were all the rage, and all the PHP jobs also still exist.

Trends come and go, but dynamic and static typing have coexisted since forever. LISP is the second oldest language and if that's too niche, Smalltalk was decently popular for a while.

I also agree though that modern statically typed languages are much better than e.g. Java used to be.
Shadow DOM is a nice touch and in terms of isolating CSS definitions per-component, it does something beyond what most popular front frameworks can do. That said, I know some developers don't even use the shadow DOM; you can use inline styles like some people do with React or you can use a centralized stylesheet for skinning and only write barebones CSS definitions as part of components.
I guess this applies to places like the US. In Europe, a master’s degree costs the same as a BS (close to nothing).
With me one example of poor UX with iOS 16 they’ve butchered “Do Not Disturb”. While I appreciate the added user control of Focus tabs, it has made DnD a much more annoying feature to use and access. Instead of a simple one-handed swipe up and press, I need to swipe up, click into the menu, and stretch my thumb while balancing my phone to enter DnD one-handed. For someone like me, who’s friends always seem to message at inopportune times and send 50 half sentences, its a rather common feature I enjoyed before that is now much worse to use.

Also Apple just killed some of my app notifs with the update and despite all of my settings being proper some apps like Instagram just don’t work.
Holy crap. Lemmy logs all IPs and anyone with a federated instance can see your IP.

That’s safe.
Pardon my ignorance, but isn’t this same as btrfs snapshots? Any advantage of using zfs over btrfs?
The issue is though that even with limited supply its really not a big deal for ISP's. Some have just turned to NAT as a cheap option. It sucks for consumers but the ISP's dont care.
SEEKING WORK | CENTRAL EUROPE | REMOTE

Fourteen person team of developers + 2 PMs + 1 QA + 1 designer, focused on the
development of web and mobile products,
custom integrations and services.

Working with EU & USA clients from funded startups to corporations (Fortune500)

Can work as an outsourced team or cover the full product development cycle.

Email: info [at] higroup.si
Design and development portfolio: https://penic.si/
Website: www.higroup.si
Rate: Either fixed per project or $55/hour;

-----------------------------------------------------------
Location: Slovenia, Ljubljana, European Union
Frontend: HTML5 (Bootstrap etc.), CSS3 (Sass), JavaScript (Vue.js, Nuxt.js, React)
Backend: PHP (Laravel), GO and Node.js (NestJS)
Mobile: Flutter
Databases: MySQL, NoSQL, MongoDB
Platform: AWS, Azure, Oracle
Integration experience: Stripe, Mollie, BigCommerce, Contentful, GraphCSM, Directus, DotDigital ...
-----------------------------------------------------------

We always listen to the needs and wishes of our customers when advising on product
realisation, we can proudly say that customer satisfaction is our guarantee.

Pangea -> https://www.pangea.ai/vendors/higroup/
Clutch -> https://clutch.co/profile/higroup