skysight-inc/HackerNews huggingface dataset:
The question is if removing 'www' and the protocol are strong enough incentives to take the trouble to manually switch from an integrated (on Android) and bundled (just about everywhere) browser.

On the other hand I suspect that users will get used to not seeing 'www' and the protocol and in no long time, will call browsers not following suit as "having cluttered UI."

Monopolies (even de facto ones) train their target users, and not the other way around. We will get used to yet another small erosion of choice, complexity and the appreciation of diversity that exposure to them brings.
Thanks. Wanted to say the same. Or please, stop posting Forbes and wsj garbage here in the future. It’s an insult to read. Regardless, ditched back to Firefox more than two years ago.
Chrome removed the green padlock as a way to show the its secured by default. Therefore, an error will show when it's not https. Could the author please explain why that is bad?
There's a difference between evenly distributing ALL money, as in communism, and a minimum so that people don't need to suffer in poverty.

You're making a value judgement that it's worse to distribute some tax dollars than to turn a blind eye to poverty.
Cilantro. The worst! In 24fps or otherwise.
Sure. I've met a lot of well-known authors at conferences and meetups. I've met people who work for big companies with R&D arms who are putting out content and products on the "bleeding edge" of technology (ala ThoughtWorks, IBM subsidiaries etc).

Most of these people love technology. They love learning about technology. They'd be perfectly happy working in technology, but because monetary success ends at being specialist consultant in a super lucrative field.. They stop.

Now they work in strategy and marketing around technology. Why? Because it's more lucrative. The job is more fun. They get to meet really, really smart people without having to work 60 hour weeks for $250K a year. (Which is great, of course, but these people have the soft-skills to add a multiplier to that amount.)

I'd be happy working 9-5 as a CRUD software developer with a great team in an OK company.

I'd be happy working in a very specialist field, earning $250K with an amazing team, in an amazing (funded) company (for a few years before shareholders start making demands).

I'm more happy working random hours around the world, meeting and talking with the smartest people in technology at a range of companies. I get to learn about what they've achieved, how they've achieved it.. Without having to burn the candle at both ends.. And I get to just play with whatever tech I feel like playing with.

They're different careers. A lot of people dabbling, or dipping their toes with blogging etc. are just doing it for a better portfolio when they company hop.
Dashboards are an under-utilized sales tool
Assuming that it's well built (i.e. it comes from a major manufacturer and it's not a cheap Chinese product), that worry is completely unfounded.

A modern power adapter is at its core just a transformer and a regulator. Three transformer itself is a passive device, it's the regulator that will use a bit of power that will turn into heat, but any well built one will have no risk of overheating. The heat is proportional to how much power the laptop is using, (i.e. under how much load it is on average).

Modern laptops use very little power, so I'd say there is little cause for concern.
This is basically just a summary of the most visible changes in Chrome 76. The ones that the author seems to have the most concerns about are the hiding of https and the hiding of what Google calls trivial subdomains like www.

The actual article title is also phrased as a question not as a statement, "Has Chrome 76 Given Billions Of Google Users An Incentive To Use Firefox Instead?"
Yeah, definitely! The one that comes to mind was in a game's texture loader - because of players being able to use custom "spray paint" images, this was exposed to untrusted code.

It unpacked mipmaps from a packed texture file into a malloc'd buffer, with an option to skip the first N mipmaps. (If I remember correctly, it'd then go back and upscale the largest mipmap to fill in the ones it skipped.)

Mipmaps were stored largest first, consecutively- so the first, say, 512x512xsizeof(pixel) would be the biggest mipmap, then you'd have 256x256xsizeof(pixel) bytes for the second-biggest one, etc, down to some reasonable (i.e. not 1x1px) minimum size.

The issue came when a texture's dimensions were specified as being so large that malloc'd fail and return NULL. Normally, this wouldn't be an issue (besides a denial of service) - but by skipping the first N mipmaps, you'd instead write to (where x and y are the dimensions of the texture)

def addr(n, x, y, pixel_size_in_bytes=3):
out = 0
for i in range(n):
out += x*y*pixel_size_in_bytes
x >>= 2
y >>= 2
return out

By choosing x, y, and N carefully (I used a SMT solver to help) you could overwrite a function pointer and get it called before the later upscaling operation ran (since that would access 0x0 and crash).

It's definitely a unique bug, but this sort of thing does happen in real code.

Making malloc() and friends panic or similar on failure instead of returning NULL would fix most of these bugs- but it does sort of seem like the whole idea of sentinel values and in-band signalling is hazardous.

Go-style 'f, err := os.Open("filename.ext")' has its appeal from that perspective- you can forget to check "err" before doing things with "f", but I assume the Go ecosystem has good tooling to catch that.

Also probably worth noting that arguably this bug is related to C arrays being just pointers wearing fancy pants- as long as you can't get a slice where the pointer is NULL but the length is nonzero.
Using Java in coding competitions is an entirely different world from production enterprise java development. It may as well be a different language. Trying to learn all the Java patterns, annotations, web servers, etc for one CRUD app is a lot to tackle.
Language can't be small, if it's universal enough. Otherwise you end up with trade-offs for its size, which limit scenarios where that language can be used.

So there is no "perfect" language. All languages have some trade-offs. If you want small - you pay for it.
> there is a datasheet for Rohm Semiconductor's M92T30. The literal smoking gun here is the maximum voltage rating on the Configuration Channel pin

Here we see a curious attempt at using ‘literal’ to cancel out the figurative meaning... Aaaaaand it failed spectacularly.
Ireland can stop a no-deal Brexit. Here’s how
I broke one shelf on a wooden IKEA Hemnes bookshelf a while back while I was moving. Had I bought it within a year and had a receipt, they would have replaced the whole thing for me. But, because I hadn’t, they wouldn’t do anything for me, even if I was willing to pay for the replacement shelf. I’m done with them now for that reason alone.
It is in Internet Dog (Cat) Years. Or, if each block is like a ring on a tree (per 10 min instead of 1 year), it's a little older than its inception date.
Without a GIL it would be incredibly difficult, would it not? AFAIK C extensions to MRI are not thread safe.

This could, of course, expose a different C API that allows for thread safe extensions, but I think the original comment is complaining about lack of compatibility with all of the important gems that depend on the existing MRI C API.

This has always been an issue that held back JRuby.
This is pretty cool.

Been playing around with "inverted colors" lately and noticed that the inversion is purely mathematical, but not perceptual.

For example, if you have the RGB color (120, 30, 10) the inverse of that is (135, 225, 240). But our eyes have different sensitivity to different colors, so when you invert a whole picture, the contrast gets all messed up and it's very hard to tell things apart (wanna try it? Set your screen to inverted colors then watch a video on YouTube and you'll see what I mean).

So, does anyone know how to get "perceptually equivalent" inverted colors?
I've been considering making a video tutorial on how to make a compiler from scratch. I'll try to keep it very concise yet include the very basics for anyone who isn't a computer scientist. (I am one by education).

Would you be willing to pay for it (how much)? And what would be a good platform for this?

I'm doing this to pay bills while I work on something of my own. I will use C myself (might include a couple of 'parallel' videos for Rust too wherever applicable) but the way I explain, one would be able to use any programming language.

The contents would roughtly go like this-

1) Explaining the 'theory of computation', theoretical and not really necessary for learning how to build compilers but I love this topic and it does give you formal insight in the 'power' of computers and if you're going to build non-toy compilers, may help you write more efficient algorithms.

2) Tokenization and parsing.

3) Type system

4) Symbol table

5) Assembly

6) Brief introduction to some basic optimization techniques.

I want to hear if people here have ideas on how to go about doing this. Is there a good platform for interactive online coding+slides class?
Has anyone had experience with Datalog or Datafun? What was the programming experience like? What did you build with it? Did you find that you were more productive or less? What sorts of problems was it a good fit for, and what sorts of things was it a bad fit for?
Doesn't light basically interact with atoms by changing electron energy levels?
Most video game "journalists" are incredibly shitty and I don't care this happened to them.
While I definitely can understand frustrations, as it definitely seems way too complicated, I'm not sure what the better alternative ever was. Being able to plug a USB device in and have it work almost every single time and usually automatically sure beats messing with serial ports.

With the benefit of hindsight, I'm certain a better standard could be made today, at least to some degree, but I think anything trying to be as 'universal' as USB is is probably doomed to a similar fate eventually.
Han Unification is something that should have been more nuanced, and I'll be quite surprised of it at least a few linguists didn't give a nuanced answer and have been ignored.

1. Let's start with a simple character (indeed the character for character) like 字. The top stroke on this character is generally written straight in Japanese (and I believe Korean), but it has a very distinct diagonal angle (top left to bottom right) in Chinese, both Traditional and Simplified. Should it be counted as the same character? I believe most linguists would say yes. If your answer for this is no, then Han Unification is a lost cause - you'd basically have to create completely separate character sets for Simplified Chinese, Traditional Chinese, Japanese and Korean and Vietnamese, and add a few extra characters to the Traditional Chinese set that are different over in Hong Kong.

2. Let's go further on with the grass radical (艹) which has 4 strokes in Traditional Chinese vs. 3 in other writing systems. Should all the characters with this radical be separate?

3. What about characters like 骨? The inner right angle stroke in the top of this character is on the left side in Simplified Chinese, and on the right side otherwise. Similar minor differences can be found for characters like 刃 and 化. These are not really the fault of simplification, but rather come from the fact that different countries chose a different Han character variant to standardize on.

A good example from another non-western language that went through a partial unification ignoring stylistic differences in writing would be Urdu. It's sharing the same unicode range as Arabic, even though the typical styling of "the same characters" in both languages could be quite different. Here's a signboard with both Urdu and Arabic from Wikipedia - the difference is quite apparent:
https://upload.wikimedia.org/wikipedia/commons/2/22/UAE_sign...

But the unification could never be perfect.
Simplified characters often combine more than 1 traditional characters. e.g. 发 could mean both hair (髮) and discharge (發). Japanese simplified the later character to 発. Unicode assigns a different codepoint to each of them, and it would obviously be quite bad for Traditional Chinese if it didn't. It also assigns a different code point where consistent stylistic simplification of radicals are involved, so all characters with the radical 見 ('see') have different codepoints from those with the simplified radical 见.

Even ignoring political tensions, Han unification was naive from the start, especially considering they knew they wouldn't be able to unify everything. They could have left a way to designate regional styling within the encoding.
GamerGate were the good guys. They tried to warn us but we didn't listen.
I switch between a Microsoft Natural and a $12 Logitech K120. I used to use Apple Aluminum Keyboards but my tastes have changed.
I don’t use Chrome on iOS but Safari explicitly shows “Not Secure” for a non-HTTPS site. The secure ones have a padlock. My non-tech friends find this to be very clear; they have learned not to enter information when a website is “Not Secure”.

If this is the direction in which Chrome is heading, the 5-billion or so users will know, without a doubt, whether a site is secure or not. I don’t see a problem with this change, per se. The others, especially targeting ad blockers, seem to be a step in the wrong direction.
The Galaxy Note 10 will be priced lower than we expected
Could one add, effectively, a RWLock GIL - one where any number of Ruby interpreter threads can run at once (since they know how to not step on each other's toes), but any C code which tried to "grab the GIL" would run exclusively w.r.t. interpreter threads (and other C code)?
I saw a Youtube video of an American political campaign event where someone from Europe ask a question about unions and pretty much saying that American unions are weak compared to the ones in Europe. Is this true? How are the unions in Europe? Or any other place?
How many cassettes do you own?

None. But my wife has over 200; many of them new releases in the last two years.

When was the last time you gave someone a cassette?

Last week when I recorded one of the albums my wife bought on iTunes onto a blank tape so she could listen to it on her tape player in the backyard.

The backups are made in linear time

So what? It's not like you have to sit there and turn the spindles. You push a button and walk away for an hour or a day or whatever and when you come back it's done. Also, many tape decks duplicate at double speed.

you can only share them with someone who is physically next to you

Again, so what? What's so horrible about sharing with actual friends instead of pretend internet friends?

it's a giant pain to edit cassettes at a specific point in time, mashups are impossible because you have to have very expensive analog equipment to beat match, and pitch shift is then a problem

Using the incorrect tool for a specific job doesn't mean the tool sucks. A cassette isn't a 24-track studio recorder. It's music for the masses.

you can only have as many as you have room for bulky cassettes.

Being able to touch something is a feature, not a bug. Nobody ever lost their entire cassette music collection because of a hard drive crash or a virus or a bad SSD chip or a power surge.

There's a reason nobody has a cassette deck anymore.

And by "nobody," you mean you. If nobody wants tape decks, then why are new ones still being manufactured? The director or IT for the multi-billion dollar company for which I work has a tape deck and a CD/MP3 player in her car. She uses tapes because they can take the abuse of an automotive environment better than digital media. And if the tape starts to wear, she just records a new copy.

It's because they aren't very good.

They are very good for the purpose for which they were created. Just because that purpose does not fit into your mindset does not make them universally bad. It makes you small minded.
Ask HN: Thoughts on journalists blaming cloudflare for the el paso shooting?
First of all, the el paso shooting is disgusting and I pray that the survivors find strength to heal.

I came across this tweet by a guardian journalist : https://twitter.com/juliacarriew/status/1157835371016671232

I'll leave out my opinion on this matter, but what responsibility should corporations take for their platfroms used for illegal activities, even though cloudflare itself does not host the content? Do you think once companies start giving in to social media pressure, it might become a weapon to censor people? What practical measures can we take as tech companies and more generally the government to bring mass shootings to zero?
There are several super long (8+ hr) live coding videos of building an assembler and compiler for CP/M here: http://cowlark.com/2019-07-15-cowgol-prototype/index.html

I haven't had the stamina to go through one but have watched some sizable chunks and it's pretty cool, even with me not really knowing much about low-level stuff like that.

There's also a session where he live codes a vi-like text editor here: http://cowlark.com/2019-06-28-cpm-vi/index.html
A tcpdump for COM would be incredible... but I'm in the same boat of having just instrumented each call individually :(

I would guess though, that there is probably some pretty helpful code for this in the apitrace program that could probably be lifted out and reused, since DirectX APIs tend to involve a lot of COM. I haven't tried, though.
I mean heaps of money is relative to a college student fresh out of high school. Everyone I personally know who went that route seriously regrets it and hit a glass ceiling within 3 years of working. Their careers tanked before the rest of us even got started.
Cheap, yes. But horribly unreliable. Underruns and other mysterious errors were so common that the failed burns gave us the notion of using compact discs as drink coasters.

Even after the transition from parallel port to internal burners, disc burning was largely a crapshoot.
> The US got the unique chance to make the technology spy onto the customer nations.

I dunno how unique that chance is any more. The whole world runs so on hardware made in China which could be compromised to do pretty much anything.
http://archive.is/JrlQ2
> Hundreds of dollars? Maybe if you’re an audiophile.

No, the math works out even if you're a less-than-average consumer or casual listener.

An album is at minimum $10. If you listen to more than one new album a month, you're coming out ahead if you use a streaming service. If Spotify shuts down, there's at least two other competitors in this space for me to go to. But none of them look like they're going anywhere.

> But with every new album I buy, it is added to my collection so I can listen to it again without needing to buy it again

Until the record wears out, or gets stolen, or breaks for a variety of reasons.
I’d love if you go into more detail.. dealing with similar ish right now and would love to hear other war stories
Pure oxygen is not actually that cheap, enriched oxygen like you would get from a pressure swing absorption concentrator is relatively cheap (although it still consumes energy), but it is still mixed with other gases that will dilute your syngas.
The whole article is clickbait and low effort journalism. If anything, it actually does a lot more praising Chrome?

Starts up with

> Chrome 76 update which brings plenty of things to like from a security and privacy perspective, and one real stinker as far as usability

Then follows with 3 paragraphs of explaining the upsides. Next, there's a completely unrelated paragraph about the whole ad-blocker extension v3 kerfuffle, which then transitions into a rant about the word "omnibox".

Finally half way through, we get to the crux, which is about the url simplification, which is insane to think that out of all the things people would leave Chrome for, it'd be because removing www. and https://. As if average users care one bit...
It also helps that police can legally end or ruin your life with no real repercussions if they’re wrong.
These videos have definitely made a lot of people curious about unions.
to OP: How long have you been working on it? What was the biggest challenge you ran into when working on it?

How does piping work? Can you split and join the streams?
Out of all the things that would make people go from Chrome to Firefox, removing www is literally at the very very bottom of the list for average users... I understand technical people and power users caring and claiming it's not a good idea, but the majority of people won't even notice anything changed.
> state-imposed restrictions on businesses to give unions a monopoly over their workforces

That's not how all unions work. That is how the worst ones are implemented in the US, imo. eg govt unions, teacher's union, police union, NRLCA vs UFCW or Airline unions (eg https://www.swamedia.com/pages/contracts)
There you go - something interesting to talk about.
If they had fired you, you could have taken your code and created a startup.
Exactly. It also depends on your neighbors. Right now we have two relatively similar options, but for various reasons the neighbors are all the type to never switch. So, no one will negotiate and you just have to switch back and forth every year if you actually want the discount.
In case anyone hasn't seen it this CppCon talk https://youtu.be/sPhpelUfu8Q talks about rrb-trees and how they're a great data structure for writing a text editor that can handle unlimited sized documents without locking up, and allows for editing while saving and opening, and an easy way to support an undo command.

Most text editors today do not support such functionality. With lockless data structures like an rrb-tree it becomes easy. It really is an ideal way to do write a text editor.
Ghost Army: The Inflatable Tanks That Fooled Hitler (2013)
It's actually not a bad idea if you tweak it a little bit.

Move it out of the court system and into a computer in the copyright office. You upload a work and claim it's abandoned, they publish the claim and the copyright holder has e.g. six months to dispute the claim or it proves that you're right and the work becomes public domain. No human involvement, simple automatic process.

Then works that have been registered/renewed in the last 14 years (or were created in the last 14 years) can't be claimed to be abandoned, so copyright holders that don't want to have to deal with policing abandonment claims can just register their old works instead.
Thanks a lot for sharing this video! This is absolutely the kind of thing that I hope to find on HN. Plan to spend all of tomorrow on this.
Dolphin Progress Report for June and July
Yes but how does Google enter into this?
They should monitor 8chan for manifestos and get alerts for PDF attachments.

> It was originally posted on 4chan, later to 8chan.

> In each instance, community members denounced the man’s intentions and informed LEO.
Yes, existing devs often have a vested interest in rejecting candidates, especially those hires who are more senior than them, and whose job they might have aspired to fill as an internal promotion.

The architect might pass interviews for tech strategy, systems engineering, innovation and mentoring, but be failed by the senior devs on some detailed low-level tech question, which just happens to keep that architect slot open for them in the future - even if it means more workload in the short term.