Replies

This profile is from a federated server and may be incomplete. Browse more on the original instance.

winterschon, to FreeBSD
@winterschon@hachyderm.io avatar

common linux-user FUD on FreeBSD forums:

> "modern wifi doesn't work!"
> "it won't run a desktop"

reality: user doesn't want to read docs/man/apropos

here's a Thinkpad X1 Nano:

  • KDE Plasma6 on FreeBSD 14.0R-p6
  • Intel AX201 wifi (basic wpa-supplicant params)
  • external travel monitor: plug-n-play, it just works

time required: 20 minutes of relaxed leisurely morning coffee sipping

haskman,
@haskman@functional.cafe avatar

@winterschon I installed Neon on a P14s and everything worked out of the box including WiFi, power management, the printer, and the fingerprint reader. Fantastic experience

Aleenaa, to news
@Aleenaa@india.goonj.xyz avatar

Biden attacked countries like Indian, Russia and China and called them 'Xenophobic'. It is problematic!

The White House said that the United States is a country of immigrants while none of the countries mentioned by Biden welcome immigrants.

https://www.hindustantimes.com/world-news/white-house-defends-bidens-statement-calling-india-china-russia-and-japan-xenophobic-101714736700479.html

@mastodonindians

haskman,
@haskman@functional.cafe avatar

@TruthSandwich @Aleenaa @mastodonindians Look at India's record so far, I implore you. Do you know how many refugees live in India? People that other countries expelled as a group and India took in?

haskman,
@haskman@functional.cafe avatar

@TruthSandwich @Aleenaa @mastodonindians How many people are currently in the queue for permanent US residency? What is their wait time like?

haskman, to javascript
@haskman@functional.cafe avatar

Since the backend post (https://www.moonbitlang.com/blog/js-support) is trending, I thought I'd compare backend optimizer (https://github.com/aristanetworks/purescript-backend-optimizer) output to see how it fares. The results were pretty good!

With basically this PureScript code -

run = fromArray  
 >>> flatMapF (fromArray <<< _.members)  
 >>> filterF _.gender  
 >>> mapF (\x -> min 100 (x.score + 5))  
 >>> mapF grade  
 >>> filterF (_ == 'A')  
 >>> foldF (\_ x -> x+1) 0  

the benchmark results are as follows. PureScript is roughly 6x faster than plain JS, and 6x slower than Moonbit output ( -

┌─────────┬──────────────┬─────────────┬────────────────────┬──────────┬─────────┐  
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │  
├─────────┼──────────────┼─────────────┼────────────────────┼──────────┼─────────┤  
│ 0 │ 'Moonbit' │ '34,67,542' │ 288.38869989829305 │ '±0.06%' │ 1733772 │  
│ 1 │ 'Plain Js' │ '74,816' │ 13365.983827421464 │ '±0.54%' │ 37409 │  
│ 2 │ 'Kotlin Js' │ '1,90,241' │ 5256.474017304151 │ '±0.38%' │ 95121 │  
│ 3 │ 'PureScript' │ '4,99,456' │ 2002.1768597161156 │ '±0.70%' │ 249729 │  
└─────────┴──────────────┴─────────────┴────────────────────┴──────────┴─────────┘  

haskman,
@haskman@functional.cafe avatar
haskman,
@haskman@functional.cafe avatar

A great example of how cool PureScript backend optimizer is - The PureScript code makes multiple map and filter calls and also calls into two functions with complicated logic. The generated output shows that the PS code was aggressively inlined into a tiny bit of JS code -

on the left : on the right

The tiny bit of JS code that was generated for the above PS code

18+ tokyo_0, to mastodonindians

India election question: What does Congress mean by "freedom of personal laws"?

I'm drawing on translated materials here—I don't know what was said in the original Hindi and it seems possible that what's been said is being misrepresented in some way.

From what I am able to see, though, it seems like an odd idea to campaign on—it's hard to see strong arguments for law not applied equally to all. Is there something I'm missing?

@mastodonindians

18+ haskman,
@haskman@functional.cafe avatar

@tokyo_0 @mastodonindians It can all be explained by the fact that Congress has no idea what people want

haskman,
@haskman@functional.cafe avatar

@tokyo_0 I generally don't try to engage with wild personal accusations because it just encourages more such behavior. @drupler If you are angry and lashing out at a random stranger on the internet, the most charitable interpretation I can form is that you are looking to feel better about having done your part in educating the "ignorant masses" who have made what you consider "mistakes".

Not only are you wrong on every count in this instance, that ironically also makes you a part of the problem you are trying to solve. For example, check my profile and try to gauge my political leanings. Then perhaps reconsider your behavior and your usage of labels for people you haven't bothered to know at all.

abnv, to FunctionalProgramming
@abnv@fantastic.earth avatar
haskman,
@haskman@functional.cafe avatar

@kosmikus @abnv I like to call Rust an honorary functional programming language. Specifically because its strong static types, immutable variables by default, and tracked mutability, makes it familiar for Haskellers

haskman,
@haskman@functional.cafe avatar

@feld @abnv no.. on the original post I had added a caption of "not taking questions at this time" for a reason 😄

haskman,
@haskman@functional.cafe avatar

@feld @abnv Okay, let me try to explain my thinking a bit -

A caveat - if I were to make this chart today, I would swap the positions of Erlang and Rust.

Keeping that in mind, I made this chart so that each axis broadly makes sense. Lawful languages tend to stick to rules and the only surprises are usually how much of a stickler for rules they are. Chaotic languages on the other hand, love their quirks / special cases. "Good" languages are usually languages with academic backgrounds, whereas "Evil" languages sacrifice some ideals for practicality.

With those definitions, the alignment for each language broadly makes sense to me. Lisp for example, is an academic language, yet a hackers tool, quirky, yet very regular. Hence true neutral.

haskman, to apple
@haskman@functional.cafe avatar

The web app is incredibly buggy. They don't have a client and the web app doesn't let me listen to stuff. So basically Linux is unsupported 😔

haskman,
@haskman@functional.cafe avatar

@infektor I looked at it and v1 seemed to be deprecated, and like you said, v2 is proprietary sadly

chris__martin, (edited ) to random
@chris__martin@functional.cafe avatar

In a hypothetical global government, do you think it's important for India's and China's interests to be represented more strongly than other nations?

When a genocide occurs, should the diminished population subsequently have less pull in government?

haskman,
@haskman@functional.cafe avatar

@chris__martin my personal take on questions of this kind is - when in doubt support the marginalized and the underdogs

BoydStephenSmithJr, to haskell
@BoydStephenSmithJr@hachyderm.io avatar

My director is looking for "a good haskeller that is looking for work". Let me know if that is you, and introduce yourself to me so I can tell my director I know you.

I'll gladly help you skill up on our stack by answering questions so that I have another person working on the backlog.

haskman,
@haskman@functional.cafe avatar

@BoydStephenSmithJr Which company?

haskman, to Dragonlance
@haskman@functional.cafe avatar

Look at the freaking #guide rates at #FatehpurSikri. Is this #India really?

#India #Tourism #UttarPradesh

haskman,
@haskman@functional.cafe avatar

@loke No, for all apparently

haskman,
@haskman@functional.cafe avatar

@loke yeah, it would be prohibitive for many locals. The guide at the Taj Mahal only charged us INR 500, so this was also high in comparison (Fatehpur Sikri is less crowded and less touristy and hence easier for guides).

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines