skysight-inc/HackerNews huggingface dataset:
Writing OCaml for a programming languages course in university.

The blend of statically-typed functional programming with eager performance characteristics changed how I thought about writing computer programs. I started using C after that and found the language much easier to use.
Is Laravel Cool?
I highly doubt it. Our border is really too big to guard effectively, and frankly no one really cares to.

There is a border crossing that literally just consists of some cameras and phones: https://www.atlasobscura.com/places/northwest-angle (admittedly to smuggle things through this you would have to take a boat to get there, and if you did this regularly someone would probably notice)

There are towns (and houses, and at least one library, also a restaurant) split down the middle with no barrier: https://www.atlasobscura.com/articles/the-incredible-complic...

And there are ridiculously many miles of basically uninhabited border.

It's probably "stronger" at the well traveled crossings, but only because you're not likely to be able to bribe our border guards.
Lynx is a browser. Wget is not, but for different reasons.
>I imagine that's a pretty important number for people considering an electric SUV

A very small subset of people, sure. Tesla buyers also exist outside of SF.
The truth behind you question is that a significant amount of cartel power came from CIA policies in the 80s and 90s.

Illegally funding the contra through cocaine sales is a proven thing in the 80s with confessions of continuing alliances in the the 90s.

The second truth is that it doesn't help that the Spanish governed like they did or further that James K. Polk conspired with Santa Anna and started a war to "acquire" the West, or that the U.S. never paid its half of the deal.
Not chronological order ....

Peer pressure.
--- "What? You DONT know regular expressions?!?! I thought an ace like you would be all over those".

Not enough official work.
--- "I think I'll try learning Java. Maybe use it to create a moving average stock buy/sell tool..."

Need it for work.
--- "Stop bothering the database guys. They can't be answering your WHERE clause questions all the time. Just go learn SQL yourself"

Work (again).
--- "Well, we don't have a Pascal compiler for CP/M. You're gonna have to learn C. Like or not."

Work (again).
--- "The 3060 uses an HP-9825. The HP-9825 runs HPL. Not BASIC. Here's the manuals for it. Now, get busy and stop complaining."
Assuming that women are just as good at founding companies as men, I don't see how funding women at higher rates should produce higher than normal returns. Higher returns would imply that VCs are able to tell the best female-lead companies apart from the rest (and apart from the more marginal male-lead companies). It's not clear to me that many, if any of them can do that, given the number of successful companies that have been passed on by multiple VCs before finding their first investment.
This got me giggling too
Or we could regulate the market to not allow monopolies (and break up large businesses). We have laws for this, they're just not enforced.
The problem is not that Ireland is a country using its taxes more efficiently than another. The problem is that one country can offer a much lower rate that is only viable for them if companies make their entire EU business as if it was happening in this country.

Let say you are Luxembourg, and the average tax is 30% of your profit in the EU. Luxembourg is roughly .1% of the EU population. Assuming an ideal world, a company would them make .1% of its profit in Luxembourg. Now, let say Luxembourg offers a deal with a company so that they can artificially put all the profit from its EU operations in Luxembourg: in order for the country to keep the same taxes, it would only need to have a tax rate of 0.03%. From the Luxembourg point of view, they have the same tax amount as before. And from the company perspective, they are now paying taxes as if they were only paying taxes in Luxembourg, which is peanuts for them.

Now, the current situation is not as caricatural as this scenario, but that is what is happening. The end result is just lower taxes created artificially (but legally). And the big problem is that it is not easy to fix while being in a EU context: the easiest solution would be to have common tax rates, though that would create some other issues. At the very least, closer tax rates would help the matter as moving your profit from one country to another is not free for the companies.
Oh forgot to mention I use pi.hole in case everything on your end looks fine
Excerpts from the New Work Summit
The performance of the large American frigates may be partially attributable to the characteristics of American timber.

https://www.quora.com/Why-did-USS-Constitution-bounce-cannon...

In Roman times, the British Isles were also a significant source of lead.

https://en.wikipedia.org/wiki/Mining_in_Roman_Britain
At this point the best reason might be the 2020 deprecation. But yes, f-strings are great. Just did a small 2-3 migration last week, wasn't too bad.
There's a lot of misleading stuff said about fractional reserve banking. People imply that banks are allowed to just create as much new money as they want out of nowhere, when it just means lending some of the money that they've received in deposits. Sure it does increase the money supply, but it's not "minting their own currency".
You can actually do some of that by pinning objects in unsafe blocks along with using the FieldOffset attribute.

This is where the term "low level" is a bit ambiguous and relative. If you're trying to bit bang some serial protocol on a microcontroller with tight timings, C# and the GC are going to give you a hard time. But even C might give you a hard time here. I've had to drop down to inline assembly because it's much easier to count the cycles it'll take and insert a few nops where necessary to get the timing right.

Then, if you're on a non-realtime OS like Windows or Linux, no language is going to give you hard latency constraints.

Going further, it would be difficult to bit bang with tight timing constraints on x86 altogether due to speculative execution.

So from that perspective, C, x86, and modern operating systems might all be too high level to achieve your goal.

But for other goals, you might have a different answer. One interesting example was Xbox 360 games.

Game developers have traditionally used C++, because they have performance and latency constraints: if you're targeting 60 fps, you don't want any frames taking more than 16.6 ms. Indie developers had to use C# to make games for the 360. Unfortunately, the .Net Compact Framework it used had an old, slow, non-generational GC, which would cause hitches. So games would do one of two things to avoid hitches. Either they'd design their games to make zero allocations per frame, or they'd design their memory layout to be very simple so the GC would run fast. Structs are very helpful here because they don't generally allocate on the heap.

So was C# low level enough for game development on the Xbox 360? I'd say mostly. It gave you some hassle with the GC, but ultimately you had enough control over performance and latency to make it work.
When I saw that site a few days ago, including gas savings in the price seemed somewhat dishonest. Including government incentives makes sense, but not gas savings.
What exactly is the expose here? "Company lobbies against laws that threaten its business model", seasoned with various innuendo phrases that mean nothing like "secretive".
This article mixes and matches statistical types and conclusions in a confusing manner.

For example, if most United States firearm deaths are suicides, it is misleading to then follow with a quote saying “where there are more guns there is more homicide.”
Long term not really - succession has always been a problem. Hereditary monarchs try to groom and train heirs from birth but it is no guarantee and there are messier bits of inner politics like back ups and murder to claim the throne. Chosen successors were tried with emperors but that has many of the same problems including the "A people hire A people, B people hire C people thing". It isn't an intrinsic merit thing "because I am great those I hire are great" but that those who are competent and secure want the best to work with and try to get them. Their judgement is not perfect and has subjectives but they try to.

Meanwhile those who aren't secure or competent and know it hire worse people to secure their position and well work their way down the alphabet.

Democracy is ironically a very stable system because it works on blocks and ideals instead of people - not to mention peaceful transition of power.
I've been looking at the Chameleon extension recently. Anyone have any experience with it? Apparently it spoofs a ton of stuff to make tracking harder.
Could you share some examples of these failures please?
Israeli Rabbinate Accused of Using DNA Testing to Prove Jewishness
An organization aims to increase knowledge about AI and Machine Learning
It is really puzzling to me, but I think this is true. I saw a comment on Reddit where someone said ReasonML had a pleasant syntax. I suppose if you have always dealt with C-style syntax, ReasonML might seem more familiar. However if you have tried a LISP or even Haskell/another ML family language, the syntax will probably seem like a major impediment to your productivity. However, having witnessed people moving to ReasonML from JavaScript, I have noticed that that initial familiarity makes a difference. Meanwhile LISP flavors languish because of their "alien" syntax.
Your dishwasher makes no autonomous decisions. AI takes training data and uses algorithms to make choices. Aware of the protocols of ethics, it can reject those choices. Without ethics, it will aim for global maxima and victory in zero sum games.

So ... no.
Tesla will produce in China? Interesting they're finally going that route.
The article that sparked this discussion was about murders. In that context suicide is a red herring.
I've never been to New York and Boston, so I cannot compare.

I've been multiple times to San Francisco and Seattle though, which I still consider to be first-tier US cities and their overall infrastructure* is certainly no match for Western EU's first-tier cities.

IMHO, one area where US infrastructure is markedly superior is the financial infrastructure (availability of capital, legal system) which is on the intangible side of things.

* Roads, Rail, Power Grid, Water Grid, Fiber networks, Public transport, Schools, Hospitals, Police, Fire Departments
In job interviews, 100% of respondents willing to stretch the truth, study finds
Windows 10 Update KB4482887 Released with Performance Fix for Spectre Bug
Let them in
As someone who does not stay away from the Rust community, my experience is that r/Rust is persistently inclusive when it comes to other languages:

https://www.reddit.com/r/rust/comments/a1ffb4/should_i_learn...

https://www.reddit.com/r/rust/comments/acpidm/should_i_start...

https://www.reddit.com/r/rust/comments/afk6mi/starting_a_new...

https://www.reddit.com/r/rust/comments/arndm5/does_rust_work...

https://www.reddit.com/r/rust/comments/an11l9/webdevelopemen...

https://www.reddit.com/r/rust/comments/6pg4y8/learning_rust_...

https://www.reddit.com/r/rust/comments/777spr/would_you_reco...

https://www.reddit.com/r/rust/comments/70ajv1/im_getting_int...

https://www.reddit.com/r/rust/comments/arhuv8/i_feel_like_ru...
The question that always comes to mind whenever testing is discussed is "how do you know the test code is itself free of bugs?"

I distinctively remember once posing that question in a meeting about testing, and a manager replying --- seriously --- with "then perhaps the test code should itself have tests." Someone else must've come up with that before too, because (at a different job) I've also worked on a codebase where a surprising number of tests were basically testing the function of another test.
And the management team is...all MBAs :)
Wayland McWayface (a tutorial compositor) on the JVM using jextract
Tell Me: WHO exactly does this role report to?

What’s their track record? Do they have true management experience and domain expertise? -

Ultimately, it’s the leadership and people on the team that make a job interesting.
Is this a regular commute for large parts of the World?
(Disclaimer: I don't work in operational modeling)

NOAA just upgraded last year to a system that hits 8.4 petaflops, which is about the same as the European system, and the Japanese and UK systems are fairly similar.

More computing power would absolutely help the NOAA models (primarily GFS) increase resolution, improve the data assimilation method that generates the initial conditions, and increase the number of ensembles run. The GFS lags the European model in all of these areas. It would especially help increase the number of ensembles, since that is an embarrassingly parallel problem. However, NOAA also needs more researchers and funding. For example, model configuration changes not only need to be developed, but also tested to ensure that there aren't unexpected regressions in forecast skill. And, for example, the Europeans have put a lot of research and development into their data assimilation method, and it's one of the reasons they tend to outperform other models.
Probably the same guy reused it a hundred times on a hundred different bitcoin exchanges that all got hacked. (tongue in cheek I hope)
> something that will be gone in a couple of years

I suspect jQuery and it's ecosystem will themselves become irrelevant and eventually (effectively) abandoned. The (at the time compelling) rationale of abstracting away different browser behaviour has become less and less necessary, and what I would see as the other advantage of using jQuery - like easier access to behaviours like animation, $ajax - less relevant.

$ajax supports async/await, yes - https://petetasker.com/using-async-await-jquerys-ajax/ - but why would I not want to just use the fetch apis? https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API (ignoring browser compatibility, which is becoming the norm)
What you're pointing out is exactly what the article misses: firearms are not the only tool used in homicides.

Negative effects on society from homicide are because of the violent death, not because of the mechanism.
I tried to do something like this years ago by scraping websites in a particular niche. I decided that I wanted to count a book any time it was mentioned -- not just when it was linked to. As a junior-level programmer, however, it was a problem I couldn't solve.

How do you determine whether someone using the word "mindset" is talking about the book by the same name, or just using the word?
Drugs and illegal aliens go north - cash and guns/ammunition go south
Companies like Google, Facebook etc. don't pay taxes in Poland by claiming expenses in Ireland/Holland. Thus they are "at loss" in Poland. The revenue tax would allow no tax avoidance due to that.
Turing thought the same same way about programming. For example, he didn't see any point in programming languages.

Basically nobody saw at the beginning that actual computer programming could be very difficult task. You just design algorithms in abstract and some clerk inputs them into the computer in machine language.

"As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs." – Maurice Wilkes, designer of EDSAC, on programming, 1949

ps. & edit:

Similar thing happened with AI. Dartmouth Workshop in 1956 was the beginning of systematic AI research. Tt was thought that there could be significant progress in in few months and at least during the next year in things like natural language understanding. McCarthy, Minsky, Shannon, etc. had to first discover how hard problems really were.
Good for me, I must made about 500,000 from moving Rails to other more modern stacks... I'll learn Kubernetes just as it dies off and start moving people's shit to whatever's next.
Understanding Throttle and Debounce
I named 4 different organizations that think that reusability is important beyond earth orbit.

Also, saying "If you don't want to see that point I can't really help that" is not going to result in a good conversation.
> history of racism

US is one of the least racist - up to and including freeing slaves.

https://www.washingtonpost.com/news/worldviews/wp/2013/05/15...
> Why? The manager says so.

That attitude is the quickest way to lose my respect.
Sorry for that. Downloading the sample datasets could indeed be unexpected. I'll clarify this by adding a hint.
Try it, then try drinking only one type of better alcohol. Compare how you feel the next day. That should say a lot. It's rather common knowledge that is not proven scientifically.

There has been a lot of talk about it for years in many sport/gym related communities. Those people know how to observe their bodies and reaction.
Herding Cats with Scala
> Bugs are correlated with lines of code and TDD forces writing more code so how can it reduce bug counts? If the test code has no bugs then just write the rest of the code in the same style

Nobody has pointed out the fault in this reasoning yet, so I will.

The linear relationship lines-of-code vs. total-bug-count is based on independence of bug introduction in different parts of the code. That is, introducing a bug in line 10000 is more-or-less independent of adding line 20000. For product code that is arguably the case, but adding test code into the mix, this basic assumption doesn't just not hold, but it's turned upside down.

Test code is not customer-visible, but only dev-visible, with the sole purpose of finding bugs. Thus, adding test code to a code base decreases the average probability of a bug for lines of product code. More formally, if you have N lines of product code and thus c * N bugs for some fraction c, then adding M lines of test code does not increase the number of customer-visible bugs to c * (N + M). Instead, it reduces that number to c' * N with c'<c and the difference being caused by your test coverage. (A 100% test coverage, i.e., an exhaustive test without bugs or, equivalently, a formal verification, would bring c' to 0.) Sure, the M lines of test code may well have bugs on their own, but that only increases c' slightly while keeping it below c, and more importantly, those test bugs are not customer-visible. They only annoy developers.

I agree with the rest of the post though.
I don't know why you got downvoted, because what you said makes sense.

Unfortunately, it seems that when you touch people's belief, facts become fake news.

No weapons mean no idiots able to kill dozens of people for no reason at all.

It's insane to even have to explain that weapons just have the potential to kill and don't serve any other purpose.
>>A report on gun trafficking between the US and Mexico revealed that almost 90% of the guns recovered and identified from Mexican crime scenes can be traced back to firearm dealers in the neighbouring country.

Do you really think that cartels would be gunless if USA outlaws guns tomorrow? They need guns to win and protect their tens of billion dollar business. They can't sue in court if you don't pay for the 1450 kilos so they use guns. They'd get them, and the dollar difference would not even raise the coke price.
I don't know why Tesla fans ignore that Chevy and Nissan are already big in the pure EV market at mass market prices, and almost every manufacturer had a plug-in hybrid offering for in-town electric-only and gas for long trips.
Lots of people are anti democratic. Democracy is pretty bad. Look at the state of the world. But there’s a difference between being anti-democratic and pushing a clearly even worse government design as if it has observably more merit.
The Prototype of the Sinclair ZX Spectrum
Huh? I mean if you average top line BMWs with Yarises then maybe. What you have to look at is the average size of a car loan. That is probably a much bette indicator of how much people can afford to spend on a vehicle.
Are you saying you tried to come up with a counterexample but couldn't or are you saying that I shouldn't make this claim without one?
Ask HN: What Is a Good Toolset for Serveless Development?
We use AWS Lambda quite a lot in our tooling for various things and whilst I can definitely see that it solves a few problems associated with the traditional 'server hosted code' (infinite scaling / portability etc) I have never found developing the lambda functions particularly fun.

We currently use Cloud9 as it seems to have a decent deployment capability built into it for Lambda, however I am aware that this isn't exactly portable and I have found that the response is different when deployed via AWS API Gateway than through the in built testing tools.

What development environments are people using to develop larger serverless deployments?
Is everyone using serverless.com/framework/?
Is there something better?
Before today, I'd only heard the S3X was the plan.
For those you might need to define and defend your stance a bit more carefully. but is that really unfair?
I'm actually worried about when they do hit the lower priced market. One company doesn't have to satisfy everyone. Tesla has done a great job at satisfying the luxury/mid-to-high market.

I can't think of a company that does well across market segments from 20k to 100k, and I wouldn't expect them to.
been unemployed for about a year now. it's tough. everyone wants a fucking unicorn with photographic memory.
It is for the world as envisioned by SV product managers, as seen in their marketing slide decks.
Or maybe he stole the funds dreaming to make more, but only to get crushed as the market crashed, and now went into the hiding, as an earlier poster suggested. It's also possible that he just absconded with all the money though.
Why? Both things can be true. Firearms could cause an increase in both homicides and suicides.
There are societies that drink a lot of alcohol and live long lives by following local "rules" about drinking. People in those societies live long lives.

So I disagree.

A good way to test it - do it yourself. You will see a noticeable difference. Go in the evening after the gym. Hydrate yourself through the day and you will see a huge difference in performance.

There is quite a lot of talk about it in sports/gym circles for many years.
> Why can't Mexico perform the basic state function of protecting its citizens from organized violence?

The basic state function is to protect citizens from unorganized violence.

Fending off organized violence (other than from the state itself) is a goal, but it is frequently not achieved and often not attempted because it's so unrealistic. If Germany really wanted Luxembourg, it would take it, and Luxembourg wouldn't be able to stop it.
My first job I wrote c++ for a win32 desktop app. I hated unit testing. My workflow was write the code, compile it, trigger the scenario, step through the code, write some unit tests after I knew it worked. It was the expectation on my team to write UTs so I did it. Fast forward to a different team I learned from a co-worker how UTs can help you influence your design. If you find yourself doing a ton of frustrating work to set up your UT scenarios there's probably a way of fixing the design to be less coupled that would allow you to test the code better.
Now I think of UTs more as a way to help me understand how the design of my code is working and I get some extra validation out of it as well.
Counterpoint: car prices should be required to estimate annual upkeep and insurance costs next to the sticker price. Tesla is cherry picking here, but having this data known to consumers would be a positive.
Eminent domain is still eminent domain. If anything, it seems to be less restricted than it used to be.