Readit News logoReadit News
hugginn commented on Swedish Tesla strike goes international as Norwegian and Danish unions join in   theregister.com/2023/12/0... · Posted by u/rntn
judge2020 · 2 years ago
> Does IF Metall already represent all of Tesla's employees? Does that mean there are no active Tesla services in Sweden during the strike?

From what I understand they initiated action on behalf of Tesla's workers and did not need to represent all or most of those employees to initiate the strike.

hugginn · 2 years ago
Yeah, the whole "voting for union membership" is foreign to Sweden, but in some industries membership is a rule rather than an exception. At some point, when there are enough union members at a company, unions tend to start working towards "collective agreements".
hugginn commented on Advent of Code 2023 is nigh   adventofcode.com/2023/... · Posted by u/i13e
bryancoxwell · 2 years ago
I think I’d like to try this year’s in a language I haven’t touched before. What languages should I consider if I want something paradigmatically different from Go, Python, etc?
hugginn · 2 years ago
APL, BQN, and Uiua all make me feel dumb, until you get something working. Suddenly I expect to find my phd in the mail.

Prolog is pretty different from the mainstream.

I would also like to try to be way too fancy about parsing aoc data at some point. That example of a CSV parser in four lines blows my mind. Not really because of the number of lines, but just the whole type system.

I'm doing it in uiua, and I don't expect to last long to be honest.

hugginn commented on Ask HN: Why don't smartphones encourage programming like early 80s computers?    · Posted by u/amichail
danuker · 3 years ago
I'd argue that a mobile phone is not an adequate platform for coding. The touchscreen and keyboard layouts make it difficult to type needed symbols, distracting from the problem at hand.

Coding requires deep thought, but phones are optimized for moving around rather than sitting in one place and thinking. As such, use cases like maps, calendars, communication and alarms get priority.

The reason people buy a phone is to communicate and get around. And manufacturers cater to those needs.

hugginn · 3 years ago
I would like to challenge you a little. Most programming languages are all designed around an environment where typing is relatively easy and quick. Keyboards allow you to input so much quicker than phone screens.

However, the phone has the pro that you can have any arbitrary keyboard layout. In that case I think that perhaps APL might be pretty well suited. Perhaps we should design languages around the idea that they should be used on phonescreens, where we don't need to restrict the character set to ASCI?

I have an APL program and I like using it basically like a calculator, but I imagine one could write full programs on a phone, if we did some tweaking to the interface.

hugginn commented on EU Commission doesn't understand what's written in its own chat control bill   mullvad.net/en/blog/2023/... · Posted by u/rc00
tick_tock_tick · 3 years ago
> Private communication is private and absolutely nobody else's business. It's a crime to open somebody's mail.

I thought we were talking in the context of the EU? It's not a crime for them if the government is doing it (or asking for it). They don't have rights like that.

hugginn · 3 years ago
It's definitely illegal to open letters not addressed to you in Sweden. I'm not sure what makes you think we don't have rights like that. I think an issue here might be that a lot of jurisdictions have privacy laws specific to post, and the law system hasn't been able to keep up with the technological development.
hugginn commented on Show HN: Generate styled web pages with just Python   pyvibe.com/... · Posted by u/zainhoda
zainhoda · 3 years ago
Exactly! The use cases I've been hearing about are:

- You're a data analyst and you did some work in a Jupyter Notebook and now you need to give it a front-end so that other people at your company can view/interact with what you've built

- There's a Python library that's runnable as a command-line tool or importable but you want to give it a front-end

hugginn · 3 years ago
I work with data and keep having the first use case, and it's pretty common in my company. So far we're using Streamlit and Rshiny (bilingual data org). We're not really happy with Streamlit, since it's pretty easy to grow out of its pretty single minded way of working.

I'll definitely be checking this out!

hugginn commented on Pandas 2.0 and the Arrow revolution   datapythonista.me/blog/... · Posted by u/ZeroCool2u
mavam · 3 years ago
Why does this use dot-based chaining as opposed to standard dplyr piping?
hugginn · 3 years ago
Looks like it tries to make a dplyr-like experience for python, not replace dplyr in R.
hugginn commented on OpenTTD 13.0 Released   openttd.org/news/2023/02/... · Posted by u/jandeboevrie
billfruit · 3 years ago
Some years ago I tried it and found that it is quite easy to reach a state where there is too much clashflow, post that there isn't much of a further challenge? Is that still the case?

Railroad tycoon 3 for example had sort of dynamic elements that influence gameplay like the historical drop in rail passenger traffic in 20th century, and important choice of diesel vs electric, and of letting other companies run trains on your tracks etc? Does OpenTTD presently offer similar challenges?

hugginn · 3 years ago
It's still the same, I enjoy the system building more than anything. I did see a stream that inspired me. DDRJake did one where he started out with a small number of cities in a very large map, so that to expand he had to build the cities as well. He had a couple of sub-conditions:

1. all cities need to be connected to each others (for this to be interesting you also need to turn on that passengers can have destinations farther away than just next town), and 2. industries that spawn too far away from a town must be destroyed (because industry spawns randomly across the map and then is coupled to a town)

I don't know if that would be enough for you, but definitely puts an extra strain on the economy, but in the end, I mostly enjoy trying to handle the pax stuff.

hugginn commented on Nightdrive   incoherency.co.uk/blog/st... · Posted by u/GeorgeHahn
Jamie9912 · 3 years ago
What do you mean Swedish except for the traffic direction??
hugginn · 3 years ago
Depends on where you are of course, but reminds me of approaching Stockholm, just before it gets so thick that people start loitering in the left lane. Perhaps Salem, if traffic isn't too heavy.
hugginn commented on Nightdrive   incoherency.co.uk/blog/st... · Posted by u/GeorgeHahn
masswerk · 3 years ago
BTW, while we may think that driving is a universal thing, I instantly found it amazing how North American this is. From the integrated indicators, to cars passing on your right, to the road lights and even how the road undulates. Having said that, great project!

Edit: Well I got this entirely wrong and missed that this was meant to be lefthand traffic. (I caught a segment that looked more like there was an independent road passing an interstate crossing a city, rather than being opposite lanes.)

hugginn · 3 years ago
Isn't this left hand traffic though? As in, not what you'd find in America? It feels very Swedish to me, except for the traffic direction.
hugginn commented on My Road to Lisp (2007)   peter.michaux.ca/articles... · Posted by u/AlexeyBrin
betwixthewires · 4 years ago
I don't have quite the experience with programming languages this guy has, but I've found myself enthralled with functional programming as well. Lisp is really cool, I'm really interested in Scheme in particular, and beyond that Haskell, Erlang and R (I like math). I don't know where this is taking me but it feels exciting.
hugginn · 4 years ago
I feel the same. If you want to dig even deeper, I find the array languages extremely fascinating. Look at APL for instance. I'm really excited about it coming to android, as it's terse enough to work well on phones, especially since phones can handle any arbitrary keyboard layout.

u/hugginn

KarmaCake day10August 31, 2022View Original