skysight-inc/HackerNews huggingface dataset:
The unicode encoding formats are relatively simple and quite elegant (UTF-8 in particular manages to get an impressive set of capabilities with a relatively simple format).

> I suspect that very few pieces of software that 'support' Unicode and do anything non trivial with text actually do so fully correctly.

Why do you suspect this? Nearly all software that works with Unicode does so using pre-existing libraries (either a language's standard library, or something like libiconv).
pretty sure that was a joke
At 9USD/per that's pretty good
A lot of it happens in countries other than country of origin... and extradition is difficult and often expensive. Though, I wouldn't mind seeing the people that write rogue extensions that harm people get doxed.
Same is true of cellphones and laptops. It depends on the brand.
NASA has partnered with ESA to bring the first 8K video from space
In summary: don't mess with your remote. Rebase, amend, go nuts on your local branch, it's fine. But don't forcibly rewrite history for other people. If you mess something up, add a commit fixing it; don't just nuke it.
The definition of a prime number is arbitrary. We could have defined the term “prime number” to mean anything. The question is what concept do we wish to capture with the definition. If we allow numbers with the property that all other numbers in the number system are multiples of it then 1 is a prime number and this destroys uniqueness of prime factorization. Since we want to keep unique factorization it is convenient to exclude numbers that are called units (numbers in which all other numbers are multiples of it). Prime ideals need to be proper subsets of the number system or else we’d have to add the phrase

“Let P be a proper prime ideal”

to a vast number of theorems. This is inconvenient and allowing units to be prime doesn’t give any benefits. Only headaches so it’s best to just exclude them.
Like realizing that the "flashlight app" needs camera permissions because the light is tethered to the camera permission.
Ah, that ...

No, this thing is quite opposite to notepad.exe

"Notepad" in its name is more about size, launch speed and simplicity (the property that I would like to keep as much as I can). If it will go well it is going to be "Pro" version with all needed bells and whistles.
An OCR cliche: Into his/her anus (2009)
It seemed like the leader after 3/20 location choices were in the DC area (Montgomery County, DC, Northern Virginia). DC and Montgomery were kinda thrown in there to make it look like they could be contenders, but logistically Northern Virginia makes the most sense. It’s near metros, near IAD and Reagan airports, has land available for a large campus, has a lot of offices of other businesses doing work for the government, is a fairly rich suburban commuter area.
The tourist part is always weirdos and chain restaurants. That's like saying there's nothing in New York because you went to Times Square and it was just a tourist trap.
I guess we just have different experiences man. The people I know, love, and associate with don't give a fuck if you fish, hunt, or own guns. Plenty of people own trucks, not everyone is vegan, tons of people love sports including football.
It’s less pretentious and more that you’re just missing out on what the south has to offer. The south definitely has these negative aspects, but I argue that letting bad apples define a whole region of American is missing the forest for the trees. I likewise read headlines of mobs attacking FAANG charter busses, out of control office and apartment rents and employees living out of their cars, pervasive homelessness, and high local taxes, and I wonder why these educated, open and well travelled people put up with it.

If Tim Cook opened a research center or similar in an SEC college town like Auburn, AL, as an example, they could 1) totally dominate the university’s research pipeline relatively free from other corporate competitors, like create a custom departments silicon, materials, sensors, AI, whatever else 2) high quality of life for employees and their families with good public schools and high quality cheap housing, 3) win over the school’s board of trustees via major partnerships and get the university to do a lot to work for you for free, 4) abundant land for cheap office space 5) a high quality transit system 6) 1 hr from Atlanta’s enormous international airport plus a high quality general airport big enough for large private jets.

It just seems like a win-win, yet I don’t see anyone doing it (and maybe there are great reasons why!)
I think they were just joking around
I'm from the south, in that it's a state that lost the civil war, had active kkk presence when I was a kid, had the national guard called out to protect black people, had racist governor in living memory, just had an article in the nytimes about racist police.

Yes there are many good people there. But the public schools I went to have really changed as most of the white people went to private schools. There aren't many minorities, there's lots of implicit racism. I guess country clubs let black people in now (unlike when I was a kid). It's really a different world.
Unverified extensions are also a bitch now... I can't just install all my own via open-source extensions without a painful experience now in chrome.

It's a mixed bag.
Do you know if this is going anywhere? Doesn't look like it has been touched in a few years.
Northern Virginia was obviously the center of the rebellion. There are hundreds of confederate monuments all over that state. I don’t let them off the hook either.
Well it ends up that if you don't want to go down the Unicode rabbit hole too far then yeah, your best bet is probably to stick with ASCII. As an example from my industry though, it would be nice if I could implement user name entry and display for a high score table in a simple game and support names in common European languages without needing to handle all the edge cases of e.g. mixed left to right and right to left text, combining characters, surrogates, etc.

I'm far from a Unicode or a languages expert but I'm familiar with one language with right to left non Latin characters and aware of just enough Unicode madness to know I don't know enough to handle many edge cases properly. It would be nice if a regular developer like me could support something more than plain ASCII but less than the full insanity of Unicode to accommodate at least some non English users.
This is perfect. Exactly what I envision modern PCs to look like
This reminded me of another website which generates great fun and mischief from tech jargon, "Whacker News:"

https://rachelbythebay.com/fun/hrand/
> 1% of humanity's CO2 impact is from cryptocurrency mining

(I misremembered this by a factor of 10: it is actually 0.1%. But I still find that ludicrously high.)
FWIW the C++ standard actually prohibits CoW strings, and any C++ standard library that implements CoW strings is doing so in defiance of the standard. AIUI this prohibition was completely accidental, and I believe it's due to the rules around which string operations do and do not invalidate iterators.
They are great for teaching everything except coding, use them for that, the hidden state discussion is interesting and does come up frequently in practice, I think I learnt something from this presentation. they shouldn't be really used for development except as a scratch pad and they shouldn't be used for teaching programming. However, they should definitely be used in teaching in courses that are currently using suboptimal solutions and are traditionally not programming courses, although might have some limited computational content. That is what I use them for.
Exoclick Ads Review; Assured $20 Weekly Payment
The issues mentioned are largely addressed by jshell and lambdas.

Regardless, his issues mostly boil down to "Java is not a REPL-first and Lambda-first language". This is like me "hating" my cat because it's not a dog.

I find many beginner programmers like REPL langs. When I talk to them, though, it becomes apparent that they've never worked on a code base with 100k+ lines with tens of colleagues.

One guy actually suggested that systems should never be that big! What do you say to that? I just smiled.
Java 12 is going to add raw string literals which will fix this problem. https://openjdk.java.net/jeps/326
IMO, it’s a balance of entropy with maintainability. The amount of info I a line of java is likely lower than lisp, so the cognitive load is likely lower and the code reviews of diffs are spread out over more lines. Generally less value per line but more decomposed.
And therein lies a major problem with c and c++ compilers:

It's effectively impossible to write bug free code. Bugs in c and c++ usually trigger undefined behavior. It is therefore impossible to write a conforming program, which makes any guarantees in the spec meaningless.

I've hit heisenbugs like these that only trigger when optimized, and resist write(), out(), fflush(), etc and it's infuriating.

Or even worse: programs that no longer work when compiled on a newer compiler. With other languages, you are at least spared from this kind of code decay.

But everyone's writing compilers to the spec so tough :/
democracy dies because people couldn't be bothered with the "mundane technical details".

its like this is a flaw of intelligent civilization that Carl Sagan didn't think about. it's not global nuclear warfare, it's not climate change, it's not some mad virus...

it's that the species becomes disinterested in performing maintenance because maintenance tasks don't produce a dopamine rush. the civilization becomes too incompetent to perform even the most basic upkeep on the structures they set in place - whether physical like roads and bridges, or social-political, like election systems.

nobody becomes famous or wealthy for performing upkeep.
Updated link https://cssstats.com/stats?link=https%3A%2F%2Fgist.githubuse...
Yes, it means what you think it means, though "discussing the possibility" does not mean "trying to prove".

Weirder Arxiv papers exist, it's not that odd.
Seems useful! I will probably use it to prepare posts for a GitHub pages (Kramdown) blog.

Some feature suggestions that come on my mind: add support to host images on imgur and alternatives, add a button export + run a python script to post-process (so people would be able to use a script to publish posts directly from the editor), add a tree layout panel to navigate between headings quickly, add support for manual Markdown code editing with back-parsing after manual code modification.
Of course, most actual strchr implementations tend to be heavily vectorized hand-tuned assembly with macros to select the correct streaming extension supported by the hardware. Or, for less powerful systems, something like

char *strchr(const char *s, int ch) {
char *p = s;
while (*p && *p != chr);
return p;
}
I have been having the same issues. 99% of my emails go through but every now and then gmail marks one of mine as spam. I generally don't care as usually its other people emailing me because they want something and its their loss if they don't get the email.

My server sends and receives properly. Not my problem if others have misconfigured email servers
I always found it quite interesting to see the parallels between arguments for God and aliens -- X can't be explained by science so I'm going to jump to the conclusion I want to believe. I thought I was immune to this kind of reasoning but even I fell for it with Oumuamua.

The initial paper and comments by some experts convinced me that there is a strong chance that this is a probe. It seemed plausible based on my limited understanding of Physics. (Moment of Inertia, Stresses etc.)

But then a paper[1] was released claiming this to be a comet. I so wanted my original belief to be true(because it was more exciting!) I considered the possibility that their [2]model wasn't accurate. I was even willing to entertain the idea of cover-up just because it didn't align with what I wanted to be true!

[1] https://www.space.com/41015-interstellar-visitor-oumuamua-co...

[2]A recent study claims that it was indeed the case and the probe is more likely to not be a comet. https://www.quantamagazine.org/interstellar-comet-oumuamua-m...

Edit: Formatting
سرور
> Despite what silicon valley would have you believe, you can be a conservative and be a productive member of the industry.

The average tech worker is in their 20s an 30s and in general aren’t conservative, especially socially. They don’t want to hang around bigots all day. If you’re anything other than a straight white dude, the only advantage of being in a conservative area is cost.
I read parts of the JLS and I found the text quite down to earth compared to the respective specifications of C, C++, and ECMAScript (JavaScript). Oh and as for scripting languages like PHP, Python, and Ruby? They don't have a standard because the implementation is the spec!
I don't believe there is a uniform probability distribution over any interval of the reals.

Suppose such a distribution existed over [0, 1]. Then as we have shown before, the probability of choosing 0 <= x <= 1 is zero.

The second axiom of probability states the probability of one of the numbers being chosen must be is one. The third axiom requires countable additivity.

We can easily see that for our distribution, we cannot satisfy both at the same time. If we strive for the sum of probabilities to equal 1, then we end up with the sum(P(x)) = 1, but P(x) is everywhere zero.

The countable additivity never enters into this, but for any uncountable set of events a uniform distribution is impossible.
https://twitter.com/jcs/status/1058850813370621952
The many successful countries around the world with socialized education are counter-example proof that this thinking is flawed.
So, don't use google, and run your own DNS that returns 0.0.0.0 for all google tlds. I mean, I'm all about having some responsibility at the corporate level, and people working for companies showing ethics.

But this is just cringe worthy. How do you propose getting your cash to said company? I mean, most methods will leak personal information the company could then use anyway.
Lambdas in Java aren't really that complicated. If you understand anonymous classes, you understand lambdas.

That article just compares Java's closures with Javascript's closures. The "limitation" is that Java's closures can only access the final variables of the enclosing scope. But the article agrees that this limitation "can be considered negligible" (seriously, read it-- that's the conclusion.)

Also, starting in Java 8, you don't have to explicitly declare things "final" to use them in anonymous classes or lambdas. They just have to be effectively final, meaning they are not mutated.
Anyone can publish to Arxiv; one doesn't need to be credible to publish there. I am not saying these authors are untrustworthy, by the way, or that the object in question is or is not of alien & artificial origin; I am saying that anyone can publish a paper to Arxiv.
Common? For organizations yes (much more so than today), but most users only had dialup at home even in the late 90s
How do I store \0 in a C string?
> The effect on employment is dependent on the market composition and the cross-price elasticity of labour. Comparing a price floor of $15/h (highly substitutable unskilled labour) with $1000/h (unsubstitutable specialist labour) isn't really tenable.

The proportional composition of the markets wouldn't be exactly the same, but they're both highly diverse markets. It's not just unskilled labor, it's anything with an oversupply of qualified labor, e.g. internships or childcare. Even unskilled labor has a wide variety of potential substitutes depending on context.

> For most minimum wage positions you'll find the bulk is employment by large firms (potentially under a franchise arrangement), labour is substitutable, and wage-bargaining power is weak. Total production is more likely to be driven by demand, and a (relatively) small unit cost increase is likely to be absorbed (if anything, we'd expect it to affect firm profit more than purchased labour).

Perhaps, but that doesn't mean there is low elasticity of demand. There is a price at which a large company will automate the job or move the entire facility to a location with lower labor costs.

And a large firm may have a profit margin equivalent to $4/hour rather than $1/hour for a smaller firm, but raise the wage from $10 to $15 and they're both making layoffs (or forced to raise prices).

> You're correct that less competitive SMEs may be affected more here, operating as a price taker for both their product and labour. These firms however will be disproportionately affected by any external market movement - there's nothing particularly magical about a minimum wage increase.

Which is why we prefer to avoid those other things as well.
> std::string has a byte length,an allocation capacity, a nil terminator and the content.

This is only true post C++11, I believe. C++03 was much more permissive about how std::strings were laid out internally.
Location: Adelaide, AUSTRALIA!

Willing to Relocate: Yes

Technologies and projects: https://benwinding.com/projects

Resume: https://benwinding.com/Ben-Winding-2018-Resume-HN.pdf

Email: hackernews@benwinding.com

Experience: Full Stack Engineer (1 year), Mechanical and Mechatronics Engineer (4 years), Inventor (Entire Life)
Salesforce just announced a major expansion of their offices here in Atlanta.
For good and bad, I happen to like social media for logins... Twitter, fb, google, ms all offer them. In the end if you get their "real name" and email address, I find that generally sufficient. You don't have to do the actual authentication, users can configure 2fa on their own.

I mean, some site do ask for way more than they need here and that's often bad. In the end, I think it's a reasonable trade off for end-use convenience. Which I often am.
> There is no question of what format is this header, how wide is this length field and so on.

It's not that simple. You either have forbidden characters then, or escaping - and with the latter you don't know how wide the content is. Null-termination in fields is a common security issue.
Only since C++11. In C++03 no guarantees were given on the time complexity on c_str, and std::strings could lay their contents our however they wished (and cause a heap allocation in the process of materializing a C string, if necessary).
I'm thinking that in this case, knowing to ask all these questions and getting further specifications was part of the challenge..
> ~185k is the current cap on salaries.

That's absolutely not true. Or rather, while it's a cap on basic pay, many Feds in technical roles make more than that after retention incentives.
Lots of things that are fully described by relatively elementary physics are still impossible to model in real-time even with the most powerful computers, let alone the $5 microcontroller in an electric piano. You're right that there's no obvious physical reason why a 'perfect' electric piano couldn't exist, but it would probably be way more expensive than just building a mechanical piano which consists entirely of 19th century technology.
Morning coding works best for me.

Night coding also works, but tends to mess with my falling asleep and decrease the quality of my sleep.
If I'm in a tight spot I find it more effective to not work later, but to sleep a bit less and start a few hours earlier.

I get most if my productive day done before everyone arrives. Then I just muddle through the day at limited capacity until either the evening or next morning.

I think there are 2 keys to this:

* I think there is contention on some mostly unconscious cognitive resources. Social processing seems to be an antagonist for deep focus for me. I focus deeper an longer when no one else is around.

* There seems to be memory/history effects in the short term. In the morning some "buffers" and "staging areas" are clear making it easy to build a good focus and flow. As the day progresses it looks like these can get scrambled.
> It isn't so different. The education system in the US is dominated by test scores as well. The quality of jobs and career are dependent on the quality of colleges you attend and your scores.

They're very different in degree. The US uses test scores in a much looser way, and they're usually one factor among many in admissions. Extracurriculars can be extremely helpful to get into a good US school, but I understand in China they'd be a waste of time and a distraction from what a student should really be focusing on: the college entrance exam.
1 scooter battery equals several or tens of notebook batteries, mobile devices generally use safer li polymer ones nowadays.

These scooter batteries sustain intense charging and discharging cycles, I won't bet my house and life on it.
You're basically throwing people with "inconvenient" character sets (i.e. everything that doesn't use something strongly resembling Latin characters) under the bus. Sure, you might be able to support Spanish, French, and German, but you're basically disregarding Japanese, Chinese, and Hindi when doing so (and possibly even ASCII, since you'd trade some symbols for accents).
หาหมอเก่งๆ ที่ Morkeng.com
Morkeng.com เว็บไดเร็คทอรี่ทางการแพทย์
ช่วยให้คนไข้ค้นหาแพทย์ คลินิก โรงพยาบาล และบริการสุขภาพอื่นๆ 24 ชั่วโมง

หมวดหมู่ข้อมูล ประกอบด้วย

คลินิก
คุณหมอ/แพทย์
ประกันสุขภาพ ประกันชีวิต
ร้านขายยา
โปรแกรมตรวจสุขภาพ
โรงพยาบาล
It has a 256 byte stack, no multiplication/division, and if you look at typical 6502 code, a lot of it tends to be self-modifying - e.g. modifying the location of the most-significant-byte of addresses to copy more than 256 byes for example. That's a reasonable-ish thing to do when you have tens of KB of RAM available and can easily keep track of everything that's going on. But it's not very C friendly. It's certainly possible, and there are multiple C compilers as well as compilers for other languages, but most of the machines it's used on are small enough that using assembler and some macros tends to be closer to the sweet spot.
If TSMC a Chinese or Taiwanese company? Looks like they make espressif .
Hah. Perhaps. But that doesn't mean we should accept either.
When you look at the trajectory that this object took through the solar system, coming within .14 AU of earth, you really have to wonder; what are the chances that it was a random flyby?
It’s not 1962 anymore. A non-liberal, straight white male is persona non-grata in many universities.
This comment was good for a laugh, thanks.

My wife works for the feds and I'm in the private sector. I have a better retirement plan, better health benefits (she is on my plan, not vice versa), more paid vacation per year, more flexible work schedule, and more holidays (I get the day after Thanksgiving, she does not). Oh, and I get paid more.
Extraordinary claims require extraordinary evidence - Carl Sagan
So the signs are there so that the police have probable cause to stop someone that they otherwise wouldn't have probable cause to stop.

Does anyone else see a problem with making otherwise perfectly legal and safe behavior(turning on to a side street) illegal just to legalize an otherwise unconstitutional traffic stop?

Seems like another slippery slope we ought not to be sliding down.
Could explain further?
on #3, based on my 21 years in the south, i'd say non-white non-mail non-christian should seriously consider before moving there, especially if not in a million person city.
Both companies are used, but nvidia just has better support and better drivers. GPUs are mostly used in workstations for real-time renders, lighting previews, and physics simulations. That stuff works well with CUDA and its programmability.

Render farms are different, and still CPU driven because of software and memory. AMD cpus will probably get more use in render farms for the price/performance, but then GPUs are also getting better at stretching memory and running other software, which might eventually switch rendering pipelines to be GPU driven.
I Can’t Sleep – 10 Crystals and Gemstones to Cure Insomnia Forever