skysight-inc/HackerNews huggingface dataset:
> How can you tell if a doc is US ASCII or UTF-8 if there are no other indications in the content?

If the document contains no codepoints above 0x7F, it is both US-ASCII and UTF-8 at the same time. If the document decodes as valid UTF-8, it’s more likely to be UTF-8 than whatever national encoding it might be (latin1? windows-1252? equivalents for other countries?)

With the BOM, you get more serious problems. Everyone on the way needs to know about it, and that it needs to be ignored when reading, but probably not when writing. I remember the olden days of modifying .php files from CMSes with notepad.exe, which happily, silently added a BOM to the file, and now suddenly your website displays three weird characters at the very top of the page.
I float between three or four programming languages on a fairly regular basis (within a year), and I use or explore as many different frameworks depending on whether I'm fixing something from the past or researching something to use for the future. Similarly, I may have to go back and do some OOPish work, or I may be doing FP, or I may be doing plain integration glue scripting.

There is no coding test which will identify the value I provide to clients. A coding test will make me look bad. However, if you instead give me a "how would you solve this" question, and I will ask questions and discuss strategies, then I will look very skilled and experienced.

So yeah, I tend to take offense when companies want to test me with a "google style" (as far as they believe) interview. Frankly, if I'm going to have to pass a Google Style interview, then I'll just interview at Google and get a better job with a higher salary than what company Y is offering.

I understand that for companies, hiring good developers is difficult. But I would argue that the supposed quality of the developers is only part of the equation, and that growing good managers is an even bigger problem. A great developer can die (or quit) under a bad manager, and a mediocre or weak developer can grow into a decent developer under a good manager.
Yeah, I'm going to need proof on that. Political extremism is, like, a European invention. How about this

https://taz.de/taz-Recherche-auf-Englisch/!5558072/

or this

https://www.nytimes.com/2019/07/15/world/europe/italy-neo-na...

?
The reason prefetching is particularly difficult to do for regular pages is the privacy implications. The act of preloading the page is a network event that is observable by the server serving that page.

If the server is the same as the linking page, for example Google search result -> Google Cache, there is no new information transmitted. That server already knows the user did query X and it knows that the page was going to fetch cache page Y, since the query page X instructs the browser to do so.

If the server is distinct from the linking page, for example Google search result -> https://healthsite.example/, then the browser will make a request to the healthsite server without the user having clicked the result. The healthsite server will learn the IP of the user, and some information about the query from which page is loaded, all without the user ever "visiting" that site. This is a major privacy violation.

AMP Pages solve this by a) being loaded from Google's cache and b) Guaranteeing no off-cache subresources will be loaded before the page is navigated to. (a) requires Google's cache to serve the page. (b) requires that the document author gives up some control over scheduling resource loading in the prefetch.

Until recently, AMP was the only game in town that could achieve this. Chrome recently shipped with Signed Exchanges, which is a network-level technology that could allow prefetching arbitrary content from a cache. This would still involve a Google cache, but does not require coordination with the document loading. Google AMP now supports this (https://webmasters.googleblog.com/2019/04/instant-loading-am...), but it would also work with non-AMP pages.
You just pay them a flat-rate expense reimbursement. Tadaa, problem fixed! I hate companies cowaring behind rigid interpretations of rules to get out of paying people.
"God it's frustrating seeing people here talk about aviation"

Google the 'Murray Gell-Mann Amnesia effect'.

Edit: https://en.m.wikipedia.org/wiki/Gell-Mann_amnesia_effect
How did you deal with redundancy "choke points"? eg. What if the component that tallies computer votes and actuates things based on the results fails (especially in a way that's hard to detect)?

Were you able in some cases to maintain isolation all the way through from sensors to actuators and design such that a single failed one (in a worst case failure mode) could be overcome by the rest?
To people dowvoting parent: please google

gamergate Charlottenville
Apple wireless keyboard with numpad. Switched from a das keyboard with brown switches and my typing has markedly improved and so has the feeling in my wrists.
> If your scrum master is telling the team what they can’t or can’t do, or how they should do their jobs, they are doing it wrong

Unfortunately in my experience this does happen quite often. I've found the biggest issue with scrum is when people (usually the scrum master and PM) take hard-line, dogmatic views of scrum processes.
Aquifer doesn't convey any sense of scale, and that's the important part in the article. "Scientists discover aquifer" wouldn't be interesting.
The person you're replying to didn't say anything about jacking up the sound. He said, "you could do a 95%+ job of fitting a hearing aid's sound profile using a better/worse UI on a phone app and some prerecorded sounds/speech samples". You'd train it--at a constant sound level--by listening to sample audio recordings and repeatedly saying "better" or "worse". The same way you need to train a speech-to-text dictation system by repeating a bunch of phrases, or a fingerprint scanner by repeatedly swiping your finger, or voice recognition by repeating some words. It sounds like a totally reasonable way to eliminate high-priced fitting sessions.
I think this is mistaking the symptom for the cause. I'll admit this is largely my ideology, but large civic disengagement along with dire economic issues are the reasons for festering chan culture, not the other way around. It makes people ripe for accepting narratives that blame immigrants, women, muslims, etc.
This sounds like a coding test I would actually enjoy - solving problems.

I haven't done a lot of tests, but I have yet to do one like what you're describing.
“hackernews powered by lisp” seems to be the problem
> They took a hippocratic oath

Not as common as you think.
Number of Threads to Create
> The obvious question is, if you can make a cheap dock that doesn't destroy the Switch, why make one that does instead?

Probably because it needs to go through a few iterations of failure and learning from failure.
And some "musicians" love to play scales, and can play them really well.
Yes, but the GCC frontend is always a few steps behind, big parts of the test suite are proprietary, the Annexes aren't implemented (AFAIK), and – (hyperbolically) everybody who gained proficiency with gnat-gcc was hired by AdaCore.
Have you tried using verbatim mode? I have that as my default search mode in Firefox, and it always searches for your exact phrase, spelling mistakes and all.

Still has its problems, but better than the default search mode.
I wouldn't believe you, unless you qualified it by saying "some coding tests".

What you describe is how they should be, imo. But it's absolutely not what I have experienced.
My partners parents live, according to Google, 38 miles or 53 minutes away by car

Alternatively, 3 hours, 2 trains and a bus away.

It's completely impractical with a small child.
Men are half the population. Many men are poor, have lack of job opportunities, just like poor women. Identity politics that completely ignores economic conditions people face will always be flat and can't explain the depth of complexity different people in society face.
>It turns out that most projects can be broken down into absolutely tiny pieces, and that is generally a good idea.

Generally I agree, but I have noticed in doing things like that, no one ever seems to bother about refactoring, or tidying things up at a higher level.

Our designer complained about the CSS organization and spend a couple of days tidying it up. I have a feeling that breaking of tasks into small pieces takes away focus from more long term commitment to code organization and architectural patterns.
How to Be Successful– Tried and Tested
Please don't give the disgusting Slate clicks. They are part of the problem.

Bellingcat's analysis of CC and Walmart, are accurate, neutral and don't help continue the cycle.

They actually try and understand what's happening unlike Slate which is just firing off volleys in their own sick way.

https://www.bellingcat.com/news/americas/2019/08/04/the-el-p...
https://www.bellingcat.com/tag/christchurch/
If you use c++ you can start with a std::vector. Computers are really fast. Don’t optimize prematurely. And hey, maybe you don’t need a rope. Just put std::vectors to a std::map or std::list per row of text?

Lots of problems that have an optimal complex solution can be solved with way simpler constructs in the prototyping phaze.
Go straight to Reddit, or better yet old.reddit.com :)

I tried that search, none are AMP for me. Tried "walmart shooting", none are AMP, even CNN live updates. Android/Firefox.

Tried Chrome, not signed into Google, no AdBlock, still No AMP.

Strange... May be Internet speed related?
It’s really weird. If you add “powered by” to a query it’s really slow, but if you add a minor typo (eg “powere by”) it finds the same results, but faster.
The lack of built-in window management is a major feature of kakoune for me. I try to delegate all window management to my window manager, including such things as browser tabs, so I like that kakoune is designed to be used like that. The biggest downside of kakoune's approach for me is that it makes vimdiff-functionality pretty hard to achieve.
I like having a semantic difference for async values (maybe not computed yet) and for optional values (maybe no value).

Thus you get Future<Optional<T>>. It is of course helpful since the "Do this when a value happens, do that when a failure happens" algorithms can be encoded onto the future. Obviously you don't want people implementing busy waits.

Edit: as to your overall point, I agree that this just cannot be modeled with null. The intention is just not capturable.
s := a | (s s)

common lisp syntax. Even simpler, but that shifts much of abstraction capabilities to the operational semantics.
tl;dr Sinn Féin has seven MP's elected who do not take their seats. By resigning they could cause by-elections which likely would be won by anti brexit parties.
That really sounds like a 2 hour fix max on their end; just some user facing dns
What am I missing?
I couldn't careless about cars and have a small economical one with sliding doors.

I also have a motorbike.
Technical users in user stories are ok
I particularly love it when the results are terrible, and then you notice that below them it say something like “include <search term>?”.

Why not just search for what I typed? It has gone backwards.
That sounds like the details I was hazy on. Thanks.
This wasn't really my experience. "Jokes" didn't lead people to becoming racist or white supremacist. What it did do though is make people who were actually white supremacist come in and try to spread their ideologies and win people over to their side, so they could convince a fraction, probably the minority of posters, to actually believing it, and eventually their numbers grew.

The idea that people turned into white supremacists because they made a few jokes is kind of a slipery slope argument.
Phone and tablet, Firefox (logged into Google, with adblock), Chrome (not logged in, no AdBlock), no AMP. May be Internet speed related? No idea
Layman here

Thank you so much for pointing this out! Experimental mathematics feels like a missing puzzle piece in which it makes so much more sense.

Quotes are from the wiki article you linked.

> As expressed by Paul Halmos: "Mathematics is not a deductive science—that's a cliché. When you try to prove a theorem, you don't just list the hypotheses, and then start to reason. What you do is trial and error, experimentation, guesswork. You want to find out what the facts are, and what you do is in that respect similar to what a laboratory technician does."[3]

I wish there were books on how people would describe their complete process (not only their proof) on how they figured things out.

> Mathematicians have always practised experimental mathematics. Existing records of early mathematics, such as Babylonian mathematics, typically consist of lists of numerical examples illustrating algebraic identities. However, modern mathematics, beginning in the 17th century, developed a tradition of publishing results in a final, formal and abstract presentation. The numerical examples that may have led a mathematician to originally formulate a general theorem were not published, and were generally forgotten.

Why is this the case? It seems like it doesn't benefit us other than saving some paper.

> The following mathematicians and computer scientists have made significant contributions to the field of experimental mathematics:

Fabrice Bellard

Donald Knuth

Stephen Wolfram

(among others)

--> This is so awesome, it also sheds some light into how these people think.
Disclaimer: I haven't read the article just yet. Saving it for later.

An alternative approach to this is to open vim with a blank .vimrc and add config as you need it. Nothing except what you REALLY need NOW to get things done. That's how I started my adventure with vim a few years ago and it's still paying off.
Censorship and helping someone’s message get out there are different things. I may agree you should be allowed to say whatever, but I don’t have to hand you a megaphone.
It's easy to blame "economic issues" for all sorts of social problems, but I doubt that has much to do with this one. The 4channer-types I've known were mainly from rather well-off families and with tons of means and opportunity. Perhaps even so much that it'd be easier to correlate the other way.
The ability to create infinite copies for essentially zero cost changes the utility calculus significantly.

If we're talking about physical property like, say, a single-family home, the only question is which family is allowed to live in it.

If the physical world worked like copyrighted creations, we'd be able to give every family on earth a copy of that home to live in, for free. And while that would still have downsides for the heirs of the builder (with infinite supply, they could no longer rent out their own copies of the home for a profit), the total utility gained by humanity would easily justify that step.
Sorry, I read "order of magnitude more efficient" and was confused.
Real-world CryptoKitties see blockchain collectibles enter reality
Shameless self-plug, but I specificities wrote interpreterbook.com and compilerbook.com because I’m also a huge fan of start from scratch and build it line-by-line tutorials and couldn’t find such a thing for interpreters/compilers that wasn’t about a toy language. You might like it too.
Zingr social app to tweet to people near You
People nearby app meet people nearby
I don't think the Christchurch shooter was an incel, apparently he had pictures on social media partying with women. And he killed 50.
Show HN: Keep a Diary of Your Fitness
Sculpt Comfort Desktop but I only use the keyboard from it, the mouse is pretty naff. I like the ergo aspect but I dont like a gap so this is a nice half-measure.

It has a decent wrist-rest but the best part is you can elevate the front so your wrists are perfectly straight when touch-typing.

https://www.microsoft.com/accessories/en-us/products/keyboar...
Last time I checked, "freedom to include the code in a proprietary product" was not among the freedoms considered essential by the FSF. So GPL with an option to get a commercial license would, at worst, make it free but not open-source.
If you think this is all just playing devil's advocate and trolling there is something deeply flawed about your assumptions about how these people(alienated young white men) experience modern culture and politics.
> The GCC frontend has always been second-tier at best

Either explain what you mean by this, or you're comment isn't useful. AFAIK GNAT is just the n-1 version of their commercial offering (for the base language) nothing's wrong with that..
> The US is a large company

increasingly
This is about programming your own text editor, not configuring one to your requirements.
(Disclaimer: SIL-4 programmer for safety critical rail transportation applications)

The way this is done is that 2 of 3 computers need to 'agree' on the final decision in order for it to be considered the correct one - there isn't a single point of assessment, but rather a consensus that must be formed from the results of all 3 computers. Ideal case, all 3 produce the same results.

This has worked successfully for decades. What's changing now, is that those 3 computers are now no longer the same architecture - you'll have a PPC and an x86 and an ARM-based CPU all attempting to agree to the same data, in order to prevent systemic failure throughout.
Building Multiport Memories with Block RAMs
The solution to killing off outrageously-priced hearing aids is to leverage the smartphone. It has everything that's required to make an superlative hearing aid: excellent microphone, earphones, powerful CPU, and an all-day battery. A modern smartphone might not have a DSP but it has sufficient processing power to do the required audio processing. Many people who'd be embarrassed with visible hearing aids wouldn't mind walking around with AirPods or other visible Bluetooth earbuds these days. The hurdle is that the hearing aid manufacturers will be complaining to regulators that you can't sell a smartphone as a "medical device".

The Apple AirPods with the "live listen" feature on iPhones (and iPads) is already being used by some people as a substitute hearing aid. You can use "live listen" with an actual hearing aid as well, but I've seen people using it with just AirPods and they seem to find it quite helpful. What's missing is the software to do the audio processing specific to that person's hearing loss. Plus overcoming the regulatory burden.
"Buying the Amazon from Brazil and protecting it" shows how little you foreigners understand of our country. It's a huge amount of land that is mostly unoccupied. There are serious concerns that smaller rogue countries will pop up in certain parts of it led by local militias. If we want Brazil to remain as one country then the first thing needed to do is to actually be present in a lot of this territory, and that won't happen if the majority of it can't be economically exploited in any way, especially in a country like Brazil where a fair number of the population, especially in the northeast and north regions, are extremely poor. Like any issue related to global warming, it's a little more complicated than people think.
This tautology makes me sick. All I keep hearing is boring old tropes from the leader of the US.

I’m not sure if you’re aware of this, but we as a planet are guilty of doing nothing. It’s not beholden on any single country to save the world.

Yes, trump pulling out of the Paris accords is quite frightening, but if the US public didn’t have an appetite for convenience over longevity then we might not have such an issue.

I know I’m guilty of being wasteful and not supporting renewable or carbon neutral alternatives (I even complained that my energy prices are going up much faster due to the push for renewables).

But that’s where it needs to start. Not blaming those at the top; trying to inspire those down here who could be swayed to have a little less convenience in their lives and to buy from companies that pledge to be carbon neutral.
Yeah, quite young indeed. :)

I was initially also drawn into Go, mainly due to its Oberon-2 influence as well. Even did a couple of contribution attempts during pre-v1 days , but they weren't that good anyway.

However back in the Oberon days, what I liked was the evolution that followed suit, Oberon-2, Component Pascal, Active Oberon and finally Zonnon.

As such, I never appreciated the minimalism discussions around Go and not having modern language features. For that we already have Wirth cutting down Oberon features in every Oberon-07 language specification document revision.

Still, I do look forward for some Go 2.0 roadmap items to actually land in Go, and advocate for its use in applications that would be otherwise written in C, if Go wasn't a thing.

And I also collect examples of actual systems work done in Go, regardless of it not being suitable in the opinions of anti-GC crowd.
That ease only comes from the infrastructure that has already been built over the last few decades. Petrol fueling stations can more easily be converted to electric charging stations than hydrogen filling stations.
Toshiba Memory America Optimizes RocksDB for SSDs
>“Only one computer was used in the past, because Boeing was able to prove statistically that its system was reliable, the person said.”

I read that as ”statically” (thought it meant formally) and was really impressed by how advanced that sounded! Then I read it again and saw statistically. Less impressive.
But there is tax limit on flat reimbursements that is considerably lower than the actual cost in almost all cases (think €20 for a night in a hotel). Following your advice is actually a criminal offence (tax evasion).
Trends in Natural Language Processing 2019
Beck Design Rules
There's also https://www.lightningmaps.org / http://blitzortung.org . It uses the same TOGA method and you can be a part of the network.
> Null's replacement, Maybe and Optional, still have the extra check.

That's a straw man. You would also have to check for Null / NaN / 0xFF to see if you're dealing with a valid object.
You test the living crap out of it, and not just in the lab on the workbench but also in operation while online - while the thing is running in operation, it is also consistently testing itself to ensure that the hardware is performing as expected.

Online software tests check for cosmic ray bit flips about 1000 times a second, in addition to whatever hardware mechanisms are in place to detect this (ECC, etc.) This is a standard module in most SIL-4 applications, where 2 of 3 consensus model is being used.

What I don't understand is why Boeing aren't using 2-of-3 computer architecture in this application - or maybe they are, and the '3 voting units' are considered to be 'one computer' and they've just added another one to be sure.

In rail transportation systems, this is taken even further by using 2-of-3 configurations where each computer is a different architecture completely ..
WebGL 2.0 Compute Draft
OK.

And we employ a Sherpa to carry our own luggage right?
Wow! a text editor in 3 lines of code?

It would be nice if a short write up accompanied this?
So the effect of resigning will be higher than actually taking the seat and voting against brexit?

(Assuming the seats are actually won by the anti-brexiters)
> People who'd be embarrassed with visible hearing aids wouldn't mind walking around with AirPods or other visible Bluetooth earbuds these days.

Had a relative who tried that with an app. The problem is that most folks still assume that if you've got headphones in your ears, you're listening to something else (not them.) Reactions varied from impatience (people who thought he was impolite for refusing to remove his headphones to focus on them) to anger (refusing to interact with him until he removed the headphones.)
The UK is indeed doing a better job than most countries but it is not on track to be carbon neutral by 2040 (or even 2050). Transportation is still a huge unsolved factor, as is agriculture and heating.