Hacker Newsnew | past | comments | ask | show | jobs | submit | Findecanor's commentslogin

Not just low key travel. Here in Europe, Mac keyboards have an anemic vertical Return key. Its widest point is as wide as the `\` key on a US keyboard. No such issues on ThinkPads.

I had the same issue. The fix for this is to order directly from Apple and then to choose the “English (US)” keyboard layout. That way you get the ANSI layout :)

I always get UK keyboard, not because of enter, but tilde and ` placement. CMD+` for window switching is so much easier on UK keyboard.

I was pretty pissed off when warranty accidentally replaced it with US layout (battery went under 80% which means top case replacement which basically feels like brand new laptop).


It is because they don't understand the scope of the problem. People are inclined to think that other people who have treated them kindly mean well also in the long term.

I find the root issue to be that what the glasses see is described as "content" in the first place.

I thought SPARK got dynamic memory allocation when it adopted Rust-style ownership and borrowing in 2014.

I remember a web when practically every ISP allowed you to have a "home page" hosted with them. Your home page was situated in the "public_html" directory of your home directory on their server — hence the name.

Then the URL was http://www.<hostname.domain>/~<username>

I haven't see an URL with a tilde ('~') in it in a long time.

Why did ISPs stop with this service? Was it to curb illegal file sharing?


Universities still have this--well, ok, at least for Faculty :)

https://www.cs.cmu.edu/~btitzer/riff.html

I actually haven't had a homepage for a long time because of the lack of the easy "put my home directory on the web", but I'd like to go back now to doing that.


i think Apache sets this up by default or use to. Every user on Linux would get a www, or maybe it was htdocs, folder in their home directory when they were added to the system. Any file you put there is served by Apache at resource /~<username> which was reading from /home/<username>/www on the file system.

There use to be lots and lots of ISPs and so they were small enough to have a single webserver with all their customers setup as users and Apache serving content. They'd also setup FTP on the same server so you could get your html files into your www folder. Software like Dreamweaver had a ftp client built in, so you'd click like a "publish" button and it wold login to FTP and transfer your files.

i would imagine this went away because it got expensive as the customer base grew and ISPs consolidated and it made no money. Other options with php, mysql, and other services cropped up and could offer more and charge for it so I think ISPs just preferred to concentrate on network access and not hosting websites.


Apache doesn't have it on by default but easy to turn it on. It's called usermod or mod_user. By default it's the ~/www directory. So, anyone with /home/<name>/www ends up being site.url/~<name>/

It is also possible to add .htaccess and other things there, like username/password challenge (WWW-Authenticate) into that on per-user basis.

Mostly universities had hosting setup the same way. ISPs would also offer a similar thing with an additional fee to your internet-subscription. They mostly provided FTP to upload files. Nowadays if anyone tries to, it will be a SFTP rather than FTP.


I've seen a few around on HN actually! Though they tend to be university systems, or pages hosted on https://tilde.club/

When this was a thing that people used, there were tons of free services (in the style of geocities) that offered the same basic functionality (often with a paid tier that was a bit more functional).

They gave you a sub url, like mypage.hostingsite.com and ftp access where you could upload like 50mb of data.

I remember running my website in high school, and so did a ton of people, a significant number of whom I wouldn't describe as particularly technical.

I think my ISP offered a similar service but it was both less generous and much harder to use. I don't think a lot of people of people used those.

If you needed/wanted more, you could use your old crappy PC to host a webserver - just install a LAMP stack, phone your ISP to give you a static IP, and buy a domain from your pocket money.

One of my friends used to run a somewhat popular PhpBB based Counter-Strike forum, and even caused some noteworthy drama online, when his parents unplugged the PC because they said it was using too much power , and the forum was down for like a week.


Think it had more to do with the consolidation of the ISP space.

I used to have my choice of dozens of ISP's. Now if I am lucky I might have 2 or 3 from very large companies that did the math on keeping that going. It mostly happened when ADSL and cable took over. In most areas that meant only 2 or 3 companies could actually provide anything at speeds their customers wanted. Think at the time they always said it was cost cutting.


Nowadays you could use Vercel, Render, Netlify, or Cloudflare for free. Most even have a drag and drop interface.

Likely demand dropped and when the infra hosting it was needing replacement it just never got replaced

The ironic thing is that each subscriber now has a dedicated computer many times more powerful than what ISPs had back in the day for hosting ALL those websites sitting in the most privileged part of their network, being online 24h and begging to be used for small hosting tasks like this: their ISP provided router. It even serves it's configuration panel through html and a webserver for crying out loud!

Unfortunately reality is such that those are closed systems with historically abhorrent security and ISPs usually forbids the user from properly providing their own choice of router.


> Why did ISPs stop with this service? Was it to curb illegal file sharing?

why dont you replace it with petabytes of free hosting for people, along with the bandwidth to serve it? moneys obviously no obstacle to you


C and C++ compilers are limited to preserving semantics for data-race free code only, though. They are allowed to turn a single load into multiple loads, or even a store into multiple stores: things that won't affect anything if you have only one thread accessing memory but for multithreaded programs, changing compiler or just making seemingly unrelated changes and recompiling can make existing data-race bugs have effects or not.

Attempting to get consistent results from floating-point code is another rabbit hole. GCC and clang have various flags for "fast math" which can enable different optimisations that reduce precision.

Before SSE, fp on x86 was done by the "x87" FPU which always had 80-bit precision, even if the type in the source code was 32 or 64 bits — and it used to be accepted to sometimes get more precision than asked for. Java got its "strictfp" mode mainly because of x87.


Data races are undefined behavior¹ so in that case the compiler is still technically preserving semantics but if you use the proper primitives to remove undefined behavior (atomic operations, locks) for any shared state then the compiler will not generate code w/ undefined behavior & all modifications/mutations will be serialized in some order. You can then further refine the code if you want the operations to happen in a certain order. At the end of the day you must assume that the compiler will preserve your intended semantics otherwise we'd still be writing assembly b/c no high level specification would ever mean what it was intended to mean for the low-level executable machine model/target of the compiler.

¹https://cppreference.com/w/cpp/language/multithread.html


Yes, but the spooky thing is still that the code with the bug and the code affected by a change in the compiler that triggers the effect of the bug could be in two different code modules.

Runtime semantics are different from output semantics. You can build a nondeterministic program with a deterministic compiler, and the bytes of that program should be identical every time (notwithstanding the stupid metadata that most compilers inject, which is not semantically relevant).

The Accidental Tech podcast had a long interview with Lattner about Swift in 2017 [0]. He makes it out as something that had started as side-project / exploration thing without much of an agenda, which grew mostly because of how good positive feedback the project had got from other developers. He had recently left Apple back then, and supposedly left the future of Swift in other peoples' hands.

[0] https://atp.fm/205-chris-lattner-interview-transcript#swiftc...


A similar bit-flipping trick was used to swap between numeric row + symbol keys on the keyboard, and the shifted symbols on the same keys. These bit-flips made it easier to construct the circuits for keyboards that output ASCII.

I believe the layout of the shifted symbols on the numeric row were based on an early IBM Selectric typewriter for the US market. Then IBM went and changed it, and the latter is the origin of the ANSI keyboard layout we have now.


I wonder if the effects against inflammation could provide help against cancer. Cancers often cause themselves to be surrounded by inflammation to help feed them.

Frequent micro-dosing of anti-inflammatory medication (such as Aspirin) has been tried as cancer-prevention therapy before.


Ironically, I caught it just a few weeks before I turned 50.

If you do catch it, it is important that you get antiviral medication as soon as possible to avoid long-term pain afterwards. I had waited three days to see a a doctor because symptoms breaking out at the start of a weekend, and that was close.


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

Search: